Assertion failure: aRate != 0 (Can't create an AudioData with a sample-rate of 0.), at /dom/media/MediaData.cpp:57
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: truber, Assigned: az)
References
Details
(Keywords: assertion, testcase)
Attachments
(4 files)
The attached testcase crashes on mozilla-central revision 20240430-0c6cd807867d.
For detailed crash information, see attachment.
To reproduce the issue, you can run the testcase through the "MediaDataDecoder.VP9" gtest. Example STR:
- Change into objdir/dist/bin of your Firefox build
- Place attached testcase into objdir, keep the name "vp9cake.webm"
- Run: GTEST_FILTER=MediaDataDecoder.VP9 MOZ_RUN_GTEST=1 ./firefox -unittest
| Reporter | ||
Comment 1•2 years ago
|
||
| Reporter | ||
Comment 2•2 years ago
|
||
Comment 4•2 years ago
|
||
Ashley, see https://pernos.co/debug/mkUhOa9hyFjtTKz0sLFU1w/index.html#f{m[DM4,By9k_,t[Fg,BFz9_,f{e[DAk,SEk_,s{aeDY4YAAA,bAZM,uHRKZ3A,oHRhhLw___/, the if statement to reject the rate is comparing floats, and then we're casting it to integer at the line the trace is at, can you harmonize this?
I think we always want a rate that is zero to error out here. It's not going to be problematic (because it is going to cause an error later in the pipeline), but it's always good to catch errors early.
| Assignee | ||
Comment 5•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Comment 6•2 years ago
|
||
Comment 8•2 years ago
|
||
Backed out for causing mda assertion failures dist/include/mozilla/Casting.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/b4635d543cea0cc95ce356c7a7f28308a878a310
Comment 10•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c2d0399cc295
https://hg.mozilla.org/mozilla-central/rev/66547247ad95
Updated•2 years ago
|
Updated•2 years ago
|
Description
•