New issue
Advanced search Search tips

Issue 918467 link

Starred by 3 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Aw, Snap! error in Chrome 32 bit on screen which load data from indexeddb.

Reported by ranasarm...@gmail.com, Jan 2

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
I have implement service worker and indexed Db in website. On Screen Load, get data from indexed db. On Screen load, Chrome 32 bit throw error Aw, Snap!. While working fine in chrome 64 bit version.

What is the expected behavior?
Load screen

What went wrong?
Aw snap Error

Did this work before? N/A 

Chrome version: 71.0.3578.98 32 bit  Channel: stable
OS Version: 7
Flash Version:
 
Labels: Needs-Triage-M71
Cc: vamshi.kommuri@chromium.org
Components: -Blink Blink>Storage>IndexedDB
Labels: Triaged-ET Needs-Feedback
Thanks for filing the issue!

@Reporter: Could you please share a sample test file/URL which helps us to triage this further in a better way.
Sir I use event.request.formData() in Service worker. In 32 bit 70.0.3538.110 Chrome it throw error due to which Aw Snap error occus. But working fine in 64 bit chrome version
Project Member

Comment 4 by sheriffbot@chromium.org, Jan 3

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: phanindra.mandapaka@chromium.org
Labels: Needs-Feedback
Tried to reproduce the issue on reported chrome version 71.0.3578.98 using Windows 10 and 7. Attaching screen-cast for reference.
Steps: 
-----
1. Launched reported chrome 
2. Opened Devtools > Console > entered event.request.formData() as per screencast 
3. Opened Devtools > Application > Service worker 
As we have not observed Aw snap error 

@Reporter: Could you please check the attached screencast and let know if we missed anything from our end and if possible provide screencast for better understanding the issue.

Thanks.!
918467.mp4
1.4 MB View Download
Observed same behavior on Chrome 32 bit using Windows 10 and 7.

@Reporter: Could you please share a sample test file/URL to reproduce the issue and if possible provide screencast for better understanding of the issue.

Thanks.!
System throw sanp error on  statement 
"event.request.clone().formData().then(function (formdata) {"
in 32 bit chrome. Following code is provided.


self.addEventListener("fetch", function (event) {


    if (event.request.method != "POST") {


    } else {
       
event.respondWith(
   event.request.clone().formData().then(function (formdata) {
       return new Promise(function (resolve, reject) {
                        getAllGrnFromOffline(function (Data) {
                            resolve(new Response(JSON.stringify({ Records: Data, Result: "OK", TotalRecordCount: "10" }), {
headers: { 'Content-Type': 'application/json' }
                            }));
                        });
                    })
});
)
        return;
    }


});
Project Member

Comment 8 by sheriffbot@chromium.org, Jan 9

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
Can you please provide a stand-alone repro case, and attempt to minimize the reproduction? e.g. delete parts of the code until you have the smallest sample that still demonstrates the problem. 

There's no indication of what the getAllGrnFromOffline() function might be doing, for example. It's not possible to tell if this issue is related to the service worker, form data, or other code.

Also, following the "aw, snap", please visit chrome://crashes and include the uploaded crash ID

Sign in to add a comment