New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 641725 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 7
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

A relatively simple extension crashes every now and then

Project Member Reported by phistuck@gmail.com, Aug 28 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce the problem:
Have the browser open for weeks and let the extension do its thing. Interact with it a bit.

What is the expected behavior?
No crashes.

What went wrong?
It crashes sometimes.

Crashed report ID: Nope, they are not generated for extension process crashes. See issue 147118 :(

How much crashed? Just one tab

Is it a problem with a plugin? No 

Did this work before? N/A 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0

The extension creates a non-focused tab that shows the Google Group moderation queue page for chromium-dev every ten minutes (unless the counter is not 0). When clicked, it moves the tab to the current window and focuses on it.
The crash happens when it does its thing in the background, not when I interact with it.
 
Google-Groups-Moderation-Queue-Polling.zip
1.7 KB Download
Cc: tkonch...@chromium.org
Labels: Needs-Feedback
Could you please provide the crash ID from chrome://crashes for further investigation.

Comment 2 by phistuck@gmail.com, Aug 30 2016

Please, read the report -
Crashed report ID: Nope, they are not generated for extension process crashes. See issue 147118 :(
Components: Platform>Extensions
Status: Untriaged (was: Unconfirmed)
Labels: -Needs-Feedback
Cc: rdevlin....@chromium.org
Status: Available (was: Untriaged)
Hmm, it's possible this might be Issue 642794 (browser process decides to terminate renderer due to getting a "bad" message from it).

phistuck - does this extension use executeScript? If so, it would be interesting to see if you could do something like wrap calls to executeScript with some code to write out a log entry (in localstorage/chrome.storage.local/indexeddb etc.) both before and after the executeScript call. What we might expect to see if this indeed is Issue 642794 is a log message telling us an executeScript call was about to be made but without a corresponding log message telling us the call finished. 



Comment 6 by phistuck@gmail.com, Sep 2 2016

> does this extension use executeScript?
The extension code is attached to this issue (comment 0).
Anyway, I do not use executeScript. I use a simple content script.

I've confirmed that, at least on mac, we do indeed generate crash reports for extensions that crash due to things like segfaults, CHECKs, etc (I had some trouble getting an official build on Linux, but unofficial builds seem to confirm -- I'll see if I can't check Windows next).  But this seems in line with the thinking that this isn't the renderer process crashing so much as Chrome killing it, which doesn't generate a report (in the same way that killing an extension process through the Chrome task manager doesn't).

phistuck, can you do me a favor and next time this happens, check out chrome:histograms and see if you have an entry for "Extensions.BadMessageFunctionName", and, if so, what the values are?  If we are just killing the function, it would hopefully end up there.

Comment 8 by phistuck@gmail.com, Sep 3 2016

I will upgrade to Chrome 53 and hope this never happens again. If it does, I will report back with the histogram data.

Comment 9 by phistuck@gmail.com, Sep 14 2016

I am sorry for the late response.

Since I updated to Chrome 53, I believe this has happened more consistently. I usually hibernate (in the Windows-shutdown-mode sense) the machine daily. I think the extension crashed every time I turned the computer on (and Chrome was running when I hibernated) since I updated Chrome.

I do not see an entry for Extensions.BadMessageFunctionName, unfortunately.
Since updating to Chrome 54 (a week or two?), it only happened once.
Project Member

Comment 11 by sheriffbot@chromium.org, Nov 2 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
phistuck, are you still able to reproduce this? The last report is more than two years old.
Status: WontFix (was: Untriaged)
It was so long ago I had a hard time remembering this even happened in the first place. Anyway, it has not reproduced for a long, long time.

Sign in to add a comment