Crash in [@ RtlAcquireSRWLockExclusive | mozilla::MozPromise<T>::Private::Resolve<T>]
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: aryx, Assigned: padenot)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr102+
|
Details | Review |
~400 shutdown crashes from ~300 Windows installations of Firefox 102.0 + 102.0.1
Crash report: https://crash-stats.mozilla.org/report/index/5b88fa01-ced0-4233-960f-ea2280220711
Reason: EXCEPTION_ACCESS_VIOLATION_WRITE
Top 10 frames of crashing thread:
0 ntdll.dll RtlAcquireSRWLockExclusive
1 xul.dll mozilla::MozPromise<bool, nsresult, 0>::Private::Resolve<bool> xpcom/threads/MozPromise.h:1210
2 xul.dll mozilla::AudioSinkWrapper::GetPosition dom/media/mediasink/AudioSinkWrapper.cpp:110
3 xul.dll mozilla::VideoSink::SetPlaying dom/media/mediasink/VideoSink.cpp:200
4 xul.dll mozilla::MediaDecoderStateMachine::CompletedState::Step dom/media/MediaDecoderStateMachine.cpp:2069
5 xul.dll mozilla::MediaDecoderStateMachine::RunStateMachine dom/media/MediaDecoderStateMachine.cpp:3583
6 xul.dll mozilla::detail::RunnableMethodImpl<HTMLContentSink*, void xpcom/threads/nsThreadUtils.h:1200
7 xul.dll mozilla::AutoTaskDispatcher::TaskGroupRunnable::Run xpcom/threads/TaskDispatcher.h:230
8 xul.dll mozilla::TaskQueue::Runner::Run xpcom/threads/TaskQueue.cpp:259
9 xul.dll nsThreadPool::Run xpcom/threads/nsThreadPool.cpp:310
Assignee | ||
Comment 1•2 years ago
|
||
We want to switch this to a ResolveIfExists most probably.
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
:padenot do you think this will be fixed in the 103 cycle or will need to wait until 104.
The final 103 beta builds tomorrow EOD, was wondering if we'll get a beta uplift request before then.
The patch looks like a simple fix but it's not reviewed, were you hoping to land it in central soon?
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9c3388d86aa3 Account for the fact that the ended promise might already have been resolved in GetPosition, during shutdown. r=ng
Comment 5•2 years ago
|
||
bugherder |
Assignee | ||
Comment 6•2 years ago
|
||
Comment on attachment 9285089 [details]
Bug 1779036 - Account for the fact that the ended promise might already have been resolved in GetPosition, during shutdown. r?alwu
Beta/Release Uplift Approval Request
- User impact if declined: Shutdown crash
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a trivial fix with the cause being clear.
- String changes made/needed:
- Is Android affected?: Yes
Comment 7•2 years ago
|
||
Comment on attachment 9285089 [details]
Bug 1779036 - Account for the fact that the ended promise might already have been resolved in GetPosition, during shutdown. r?alwu
We are out of the beta cycle and mozilla-beta was merged to mozilla-release. Morphing this into a release uplift request.
Comment 8•2 years ago
|
||
The patch landed in nightly and beta is affected.
:padenot, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox103
towontfix
.
For more information, please visit auto_nag documentation.
Comment 9•2 years ago
|
||
Clearing the ni - There is already a pending uplift request for 103 (release instead of beta)
Comment 10•2 years ago
|
||
Comment on attachment 9285089 [details]
Bug 1779036 - Account for the fact that the ended promise might already have been resolved in GetPosition, during shutdown. r?alwu
Approved for 103.0.1, thanks.
Comment 11•2 years ago
|
||
bugherder uplift |
Comment 12•2 years ago
|
||
Please nominate this for ESR102 approval when you get a chance.
Reporter | ||
Comment 13•2 years ago
|
||
Nico, can you take care of the ESR102 uplift request?
Assignee | ||
Comment 14•2 years ago
|
||
Comment on attachment 9285089 [details]
Bug 1779036 - Account for the fact that the ended promise might already have been resolved in GetPosition, during shutdown. r?alwu
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This fixes a crash and is a trivial fix.
- User impact if declined: Crashes.
- Fix Landed on Version: 103 and up
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This really is a trivial fix and it's been confirmed for some time that it fixes the crash (including on current release).
Comment 16•2 years ago
|
||
Comment on attachment 9285089 [details]
Bug 1779036 - Account for the fact that the ended promise might already have been resolved in GetPosition, during shutdown. r?alwu
Approved for 102.3esr.
Comment 17•2 years ago
|
||
bugherder uplift |
Description
•