Closed
Bug 1034977
Opened 10 years ago
Closed 10 years ago
Crash in mozalloc_abort(char const* const) | NS_DebugBreak | nsDebugImpl::Abort(char const*, int) with AsyncShutdownTimer "Sqlite.jsm Waiting for connections to close"
Categories
(Firefox Health Report Graveyard :: Client: Desktop, defect)
Firefox Health Report Graveyard
Client: Desktop
Tracking
(firefox32 fixed, firefox33 fixed)
RESOLVED
FIXED
Firefox 33
People
(Reporter: u279076, Assigned: Yoric)
References
(Blocks 1 open bug, )
Details
(Keywords: crash)
Attachments
(2 files, 1 obsolete file)
1.87 KB,
patch
|
gps
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
893 bytes,
patch
|
Yoric
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
See also bug 944873 comment 51.
1. Load https://crash-stats.mozilla.com/report/list?signature=mozalloc_abort%28char%20const*%20const%29%20|%20NS_DebugBreak%20|%20nsDebugImpl%3A%3AAbort%28char%20const*%2C%20int%29#tab-reports
2. Click "Change columns in this table" or scroll to the bottom of the page
3. Select "AsyncShutdownTimeout" from the "Available columns" list
4. Click ">>" to add it to the list of "Chosen columns"
5. Click "Save and Reload"
6. Find in page "Sqlite.jsm Waiting for connections to close"
As near as I can tell this has only been reported once so far:
https://crash-stats.mozilla.com/report/index/0e49ffb0-9749-4c93-82bc-8a89f2140627
Unfortunately, I don't know a good way to query crashstats to filter out only the crashes with this AsyncShutdownTimer message so I cannot be certain about the volume.
Assignee | ||
Comment 1•10 years ago
|
||
I suspect that this single crash was actually caused by a misbehaving add-on. Waiting for bug 1034726 and more signatures.
Assignee | ||
Comment 2•10 years ago
|
||
Actually, there are 133 of these crashes on Nightly, 138 on Aurora, none on Beta. We need to investigate quickly.
Severity: normal → major
Assignee | ||
Comment 3•10 years ago
|
||
Instrumenting the shutdown to find out what's wrong. It would be really good if we could get this fixed in Aurora before the uplift (next week, iirc).
Assignee: nobody → dteller
Attachment #8451603 -
Flags: review?(mak77)
Attachment #8451603 -
Flags: review?(gps)
Assignee | ||
Comment 4•10 years ago
|
||
I may have found the issue. This does not remove the need for the other patch, which should prove useful in case there is more than one issue or in case we have misbehaving clients, but I hope that this fixes the topcrasher in Aurora and Nightly.
Self-reviewing given that 1/ it's a typo fix; 2/ none of the other reviewers are available at the moment.
Attachment #8451651 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [leave open]
Assignee | ||
Comment 6•10 years ago
|
||
Same typo, but fixing on the other side. Still only 5 chars, still self-reviewing.
Try: https://tbpl.mozilla.org/?tree=Try&rev=6e7abb2f9336
Attachment #8451651 -
Attachment is obsolete: true
Attachment #8451700 -
Flags: review+
Comment 7•10 years ago
|
||
Comment on attachment 8451603 [details] [diff] [review]
More logging for Sqlite AsyncShutdown
Review of attachment 8451603 [details] [diff] [review]:
-----------------------------------------------------------------
I didn't realize you could log extra state like this. That's pretty cool.
Also, I just glanced at AsyncShutdown.jsm for the first time. It's brilliant. I can't wait for us to apply the same concepts to startup as well. Lazy service initialization FTW!
Attachment #8451603 -
Flags: review?(mak77)
Attachment #8451603 -
Flags: review?(gps)
Attachment #8451603 -
Flags: review+
Comment 8•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/9a75a4fe32ac
https://hg.mozilla.org/integration/fx-team/rev/7f9ae5ccdaef
Keywords: checkin-needed
Whiteboard: [leave open] → [leave open][fixed-in-fx-team]
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8451700 [details] [diff] [review]
1. Fixing fatal typo in Sqlite.jsm, v2
Approval Request Comment
[Feature/regressing bug #]: bug 1028887
[User impact if declined]: unpredictable shutdown freeze/crashes
[Describe test coverage new/current, TBPL]: This is just a typo fix. Just landed on m-c.
[Risks and why]: None.
[String/UUID change made/needed]: None.
Attachment #8451700 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8451603 [details] [diff] [review]
More logging for Sqlite AsyncShutdown
Approval Request Comment
[Feature/regressing bug #]: Bug 1028887.
[User impact if declined]: This patch introduces logging that should help us fix unpredictable shutdown freeze/crash if the other patch is not sufficient.
[Describe test coverage new/current, TBPL]: Just landed on m-c.
[Risks and why]: This patch just adds logging.
[String/UUID change made/needed]: None.
Attachment #8451603 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #7)
> Comment on attachment 8451603 [details] [diff] [review]
> More logging for Sqlite AsyncShutdown
>
> Review of attachment 8451603 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I didn't realize you could log extra state like this. That's pretty cool.
>
> Also, I just glanced at AsyncShutdown.jsm for the first time. It's
> brilliant. I can't wait for us to apply the same concepts to startup as
> well. Lazy service initialization FTW!
Thanks :)
Comment 12•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9a75a4fe32ac
https://hg.mozilla.org/mozilla-central/rev/7f9ae5ccdaef
Whiteboard: [leave open][fixed-in-fx-team] → [leave open]
Comment 13•10 years ago
|
||
Comment on attachment 8451603 [details] [diff] [review]
More logging for Sqlite AsyncShutdown
We want logging. Approved!
Attachment #8451603 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Attachment #8451700 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Updated•10 years ago
|
Comment 14•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/a3dce4eedb9a
Looks like the typo fix was for code that doesn't live on Aurora, so I didn't land that patch. The other one required some rebasing, so please take a look to make sure everything's OK with what landed.
Assignee | ||
Comment 15•10 years ago
|
||
This looks good, thanks.
Apparently, according to http://yoric.github.io/are-we-shutting-down-yet-/&sample_size=500#Sqlite.jsm%20shutdown%20blocker, we do not have recent occurrences of the bug. Marking as fixed.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [leave open]
Updated•10 years ago
|
Updated•6 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•