Crash in [@ AsyncShutdownTimeout | profile-change-teardown | Extension shutdown: pictureinpicture@mozilla.org ]
Categories
(Toolkit :: Video/Audio Controls, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | affected |
firefox89 | --- | affected |
firefox90 | --- | affected |
People
(Reporter: aryx, Unassigned)
Details
(Keywords: crash)
Crash Data
Crash new in Firefox 88.0, 37 affected installations reported for Windows and Linux so far.
Crash report: https://crash-stats.mozilla.org/report/index/48326ca5-1ee3-4037-8595-de4d80210420
MOZ_CRASH Reason: MOZ_CRASH()
Top 10 frames of crashing thread:
0 mozglue.dll mozalloc_abort memory/mozalloc/mozalloc_abort.cpp:33
1 xul.dll NS_DebugBreak xpcom/base/nsDebugImpl.cpp:435
2 xul.dll nsDebugImpl::Abort xpcom/base/nsDebugImpl.cpp:134
3 xul.dll XPTC__InvokebyIndex
4 @0x1b2074ef
5 xul.dll trunc
6 xul.dll static XPCWrappedNative::CallMethod js/xpconnect/src/XPCWrappedNative.cpp:1142
7 xul.dll XPC_WN_CallMethod js/xpconnect/src/XPCWrappedNativeJSOps.cpp:925
8 xul.dll js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:520
9 xul.dll Interpret js/src/vm/Interpreter.cpp:3244
Comment 1•4 years ago
|
||
Gabriele, how can we get more info for these crashes? It looks like JS code from PiP (maybe?) is calling into some API that is calling MOZ_CRASH
but provides no info. The stacks don't help narrow down where this API lives. :-(
Comment 2•4 years ago
|
||
From what I can tell an async shutdown blocker was inserted here and it is causing the AsyncShutdown machinery to crash on shutdown because we're exceeding the specified timeout (the crash is happening here).
Comment 3•4 years ago
|
||
Hey robwu, do you think this is a problem in the bundled pictureinpicture WebExtension, or is it more likely this is an issue within the WebExtension platform layer that's trying and failing to shut down?
Comment 4•4 years ago
|
||
This new crash signature appears because pip became its own add-on in bug 1690076.
It's not specific to the pictureinpicture extension, it also happens to other built-in extensions.
Compare crashes in 87.0 (when pip was part of webcompat@mozilla.org
) with 88.0 (when pip became pictureinpicture@mozilla.org
), the crash rates are similar (more than half of the crashes are related to built-in add-ons, not because there's something wrong with them, but because they're almost everywhere):
- 87.0: https://crash-stats.mozilla.org/search/?signature=~AsyncShutdownTimeout%20%7C%20profile-change-teardown%20%7C%20Extension%20shutdown%3A&async_shutdown_timeout=~asyncEmitManifestEntry%28%5C%5C%5C%22background%5C%5C%5C%22%29&product=Firefox&version=87.0&date=%3E%3D2021-01-29T16%3A55%3A00.000Z&date=%3C2021-04-29T16%3A55%3A00.000Z&_facets=signature&_sort=-date&_columns=date&_columns=version&_columns=build_id&_columns=async_shutdown_timeout#facet-signature
- 88.0: https://crash-stats.mozilla.org/search/?signature=~AsyncShutdownTimeout%20%7C%20profile-change-teardown%20%7C%20Extension%20shutdown%3A&async_shutdown_timeout=~asyncEmitManifestEntry%28%5C%5C%5C%22background%5C%5C%5C%22%29&product=Firefox&version=88.0&date=%3E%3D2021-01-29T16%3A53%3A00.000Z&date=%3C2021-04-29T16%3A53%3A00.000Z&_facets=signature&_sort=-date&_columns=date&_columns=version&_columns=build_id&_columns=async_shutdown_timeout#facet-signature
Description
•