Crash in [@ vcruntime140.dll | mozilla::AudioData::MoveableData]
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | + | fixed |
People
(Reporter: calixte, Assigned: jya)
References
(Blocks 1 open bug)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(4 files)
This bug is for crash report bp-f3f7bb10-034a-4f66-b9f4-d42800190225.
Top 10 frames of crashing thread:
0 vcruntime140.dll vcruntime140.dll@0xc517
1 xul.dll mozilla::AudioData::MoveableData dom/media/MediaData.cpp:154
2 xul.dll void mozilla::AudioSink::NotifyAudioNeeded dom/media/mediasink/AudioSink.cpp:419
3 xul.dll nsresult mozilla::AudioSink::Init dom/media/mediasink/AudioSink.cpp:84
4 xul.dll mozilla::AudioSinkWrapper::Start dom/media/mediasink/AudioSinkWrapper.cpp:170
5 xul.dll nsresult mozilla::VideoSink::Start dom/media/mediasink/VideoSink.cpp:190
6 xul.dll nsresult mozilla::MediaDecoderStateMachine::StartMediaSink dom/media/MediaDecoderStateMachine.cpp:3204
7 xul.dll void mozilla::MediaDecoderStateMachine::MaybeStartPlayback dom/media/MediaDecoderStateMachine.cpp:2851
8 xul.dll void mozilla::MediaDecoderStateMachine::DecodingState::Step dom/media/MediaDecoderStateMachine.cpp:2337
9 xul.dll nsresult mozilla::detail::RunnableMethodImpl< xpcom/threads/nsThreadUtils.h:1171
There is 1 crash in nightly 67 with buildid 20190225014816. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1524890.
[1] https://hg.mozilla.org/mozilla-central/rev?node=08fd6ddd88e4
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
The assertions were unneeded as the test above covered the case.
Depends on D21171
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D21172
Assignee | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Backed out for bustages on Assertions.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/63242317442cedd9c5407b6fe5734c61036cb452
Push link: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=65870fec6eea2103719af73c7369d5242250ecdb
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=230484423&repo=autoland&lineNumber=24208
There were also AArch64 build failures.
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=230484421&repo=autoland&lineNumber=2062
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
Interesting compilation error which has nothing to do with the code.
We replaced:
MOZ_ASSERT(aStart <= aEnd), with MOZ_DIAGNOSTIC_ASSERT(aStart <= aEnd)
However, above we had: mStart(std::forward<StartArg>(aStart)) so if aStart was a rvalue it could have been moved giving an undefined behaviour. Thanks to :gerald for spotting it.
Interestingly, it make gcc go cookoo.
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 9•6 years ago
|
||
bugherder |
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Adding the AudioData::SetTrimWindow signature, hoping to find the root cause of all those crashes with today's build
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 12•6 years ago
|
||
bugherder |
Comment 13•6 years ago
•
|
||
Tracking for 67 as this is supposed to fix bug 1530278 which is a top crasher.
Updated•6 years ago
|
Reporter | ||
Comment 14•6 years ago
|
||
:jya, here is a crash report:
https://crash-stats.mozilla.com/report/index/26303278-e26a-4318-aae2-9d8720190227
where the the moz_crash_reason is MOZ_RELEASE_ASSERT(mStart <= mEnd) (Invalid Interval).
Reporter | ||
Comment 15•6 years ago
|
||
Same moz_crash_reason, but different crash signature:
https://crash-stats.mozilla.com/report/index/b653bab3-0a4c-4a11-8136-6ac2d0190227
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 18•6 years ago
|
||
(In reply to Calixte Denizet (:calixte) from comment #15)
Same moz_crash_reason, but different crash signature:
https://crash-stats.mozilla.com/report/index/b653bab3-0a4c-4a11-8136-6ac2d0190227
this one will be fixed by bug 1531201
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 20•6 years ago
|
||
Marking it as fixed.
Leaving the DIAGNOSTIC_ASSERT as they are not showing up following bug 1531201 and bug 1531241
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Description
•