Crash in [@ mozilla::detail::nsTStringLengthStorage<T>::operator unsigned long long]
Categories
(Core :: Audio/Video: GMP, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox113 | --- | unaffected |
| firefox114 | --- | wontfix |
| firefox115 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
Crash report: https://crash-stats.mozilla.org/report/index/e90faf20-0257-4c87-a6ce-f52a30230509
Reason: EXCEPTION_ACCESS_VIOLATION_READ
Top 10 frames of crashing thread:
0 xul.dll mozilla::detail::nsTStringLengthStorage<char>::operator unsigned long long const xpcom/string/nsTStringRepr.h:93
0 xul.dll mozilla::detail::nsTStringRepr<char>::EqualsASCII const xpcom/string/nsTStringRepr.cpp:83
1 xul.dll mozilla::detail::nsTStringRepr<char>::EqualsLiteral const xpcom/string/nsTStringRepr.h:278
1 xul.dll mozilla::GMPVideoDecoder::Decode dom/media/platforms/agnostic/gmp/GMPVideoDecoder.cpp:375
2 xul.dll mozilla::MediaDataDecoderProxy::Decode::<lambda_19>::operator const dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp:31
2 xul.dll mozilla::detail::ProxyFunctionRunnable<`lambda at /builds/worker/checkouts/gecko/dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp:30:46', mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, 1> >::Run xpcom/threads/MozPromise.h:1696
3 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1233
4 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:479
4 xul.dll mozilla::ipc::MessagePumpForNonMainThreads::Run ipc/glue/MessagePump.cpp:300
5 xul.dll MessageLoop::RunInternal ipc/chromium/src/base/message_loop.cc:369
| Assignee | ||
Comment 1•2 years ago
|
||
When the GMP process crashes, we may still attempt to deref a null
pointer for the underlying IPDL object in the content process before we
finish shutting down the decoder.
This patch fixes the crash by checking for the null pointer, but also
now caches the plugin type as an enum for use elsewhere in the code.
This minimizes checking the display name of the plugin everywhere to
guess the plugin properties.
| Assignee | ||
Comment 3•2 years ago
|
||
Marking 114 as affected because I will be requesting uplift. In theory users are unaffected because we disable the plugin decoder by default, but popular Linux distros enable it and will potentially hit this crash if/when the GMP process crashes.
Comment 4•2 years ago
|
||
Backed out on devs request
Backout link: https://hg.mozilla.org/integration/autoland/rev/30e32f80088d8bcdea4c59047bd437d72aa81b47
Comment 6•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
The patch landed in nightly and beta is affected.
:aosmond, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox114towontfix.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Description
•