Closed Bug 1268528 Opened 8 years ago Closed 8 years ago

crash in shutdownhang | libsystem_kernel.dylib@0x16db6

Categories

(Toolkit :: Startup and Profile System, defect)

Unspecified
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox48 --- affected
firefox49 --- affected
firefox-esr45 --- affected
firefox50 --- affected
firefox51 --- affected

People

(Reporter: impossibus, Unassigned)

References

Details

(Keywords: crash, topcrash-mac)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-a4eb9044-474c-43aa-89ba-d46bc2160428.
=============================================================

I started seeing this on April 25th every time I restart Nightly to apply an update.
The crash doesn't touch any app update code so moving component
Component: Application Update → Startup and Profile System
Stephen, heads up for a mac crasher in case you can help
Flags: needinfo?(spohl.mozilla.bugs)
Looks like all the crashes occur on OSX 10.11.4 or above. Maja, is it possible that you updated your OS around April 25th?q
Flags: needinfo?(spohl.mozilla.bugs) → needinfo?(mjzffr)
System logs say that I updated to OSX 10.11.4 on March 22nd. 

Nearby updates: only update on April 25th is JDK 8 Update 91, a few hours before this crash first occurred. Flash got updated on April 22nd.
Flags: needinfo?(mjzffr)
In this report[1], thread 0 is busy in |gfxPlatform::ShutdownLayersIPC()|[2] because the compositor shutdown doesn't appear to be finished yet[3]. The watchdog thread (thread 50) eventually thinks that shutdown is dead and crashes the process[4]. This matches up with other reports that say that shutdown takes a really long time, and Firefox eventually crashes.

Benoit, would you know how to proceed here?

[1] https://crash-stats.mozilla.com/report/index/a4eb9044-474c-43aa-89ba-d46bc2160428#allthreads
[2] https://hg.mozilla.org/mozilla-central/annotate/ab0044bfa1df/xpcom/build/XPCOMInit.cpp#l872
[3] https://hg.mozilla.org/mozilla-central/annotate/ab0044bfa1df/gfx/layers/ipc/CompositorBridgeParent.cpp#l649
[4] https://hg.mozilla.org/mozilla-central/annotate/ab0044bfa1df/toolkit/components/terminator/nsTerminator.cpp#l158
Flags: needinfo?(bgirard)
Timing is pretty close with bug 1268528 landing.
Bas et al. have been looking at shutdown.  Bas, not sure if this adds more information to the bug you're tracking already, but in case it does, here you go.
Flags: needinfo?(bgirard) → needinfo?(bas)
(In reply to Ryan VanderMeulen [:RyanVM] from comment #6)
> Timing is pretty close with bug 1268528 landing.

Did you mean to refer to a different bug?
Flags: needinfo?(ryanvm)
hah, bug 1262898
Flags: needinfo?(ryanvm)
(In reply to Milan Sreckovic [:milan] from comment #7)
> Bas et al. have been looking at shutdown.  Bas, not sure if this adds more
> information to the bug you're tracking already, but in case it does, here
> you go.

This is another 'something's keeping the child process alive but who knows what' kind of crash. As long as we're not gathering the stack traces for the child process before this point it's hard to say for sure. The main bug for this is 1264694 first, after that we might still have some with this signature that we'll need to address, but we'll see.
Flags: needinfo?(bas)
No more shutdown crashes for me as of today. (For Nightly "built from https://hg.mozilla.org/mozilla-central/rev/4d63dde701b47b8661ab7990f197b6b60e543839")

I will reopen if I see it again.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
This has just happened for me when restarting with an update https://crash-stats.mozilla.com/report/index/83c07e86-f6f5-4d43-a62c-278f62160619
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Possible dupe: bug 1272614.
Comment 13 points to this being a duplicate of bug 1272614. There is no info here that would differentiate it from bug 1272614, so let's track progress there.
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → DUPLICATE
Closing this as WORKSFORME instead of DUPLICATE since this bug wasn't initially related to app update. Progress regarding the issue reported in comment 13 is still tracked in bug 1272614.
Resolution: DUPLICATE → WORKSFORME
Crash volume for signature 'shutdownhang | libsystem_kernel.dylib@0x16db6':
 - nightly (version 51): 7 crashes from 2016-08-01.
 - aurora  (version 50): 46 crashes from 2016-08-01.
 - beta    (version 49): 178 crashes from 2016-08-02.
 - release (version 48): 549 crashes from 2016-07-25.
 - esr     (version 45): 741 crashes from 2016-05-02.

Crash volume on the last weeks (Week N is from 08-22 to 08-28):
            W. N-1  W. N-2  W. N-3
 - nightly       3       0       3
 - aurora       17      20       1
 - beta         58      64      24
 - release     173     141      79
 - esr          76      67      58

Affected platform: Mac OS X

Crash rank on the last 7 days:
           Browser     Content   Plugin
 - nightly #386
 - aurora  #76
 - beta    #278
 - release #105
 - esr     #132
You need to log in before you can comment on or make changes to this bug.