Clearkey plugin crashes
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: yuvanmichaelvivenzi, Assigned: pehrsons)
References
(Blocks 1 open bug)
Details
Crash Data
Attachments
(3 external files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Steps to reproduce:
Play a video on https://www.pw.live/
Actual results:
Clearkey plugin crashes everytime you try to play a video from there.
The videos played fine before. I didn't update firefox. I'm on the latest stable version. Worked fine yesterday, but now today even after restarting a couple of times. and reinstalling, it's still the same.
Expected results:
The video should have played normally like yesterday.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Do you have any crash reports related to this in about:crashes?
| Reporter | ||
Comment 3•2 years ago
|
||
I do, two of them when I tried it twice. Neither of them got submitted when I clicked Submit a Crash Report. Now they do in about:crashes
| Reporter | ||
Comment 4•2 years ago
|
||
| Reporter | ||
Comment 5•2 years ago
|
||
| Reporter | ||
Comment 6•2 years ago
|
||
| Reporter | ||
Comment 7•2 years ago
|
||
It works fine in the stable build and nightly build downloaded from firefox's website. But not on the Arch Linux pre-built binary installed from pacman. I think the problem is with this specific binary. Even with troubleshooting mode it doesn't work.
| Reporter | ||
Comment 8•2 years ago
|
||
https://crash-stats.mozilla.org/report/index/b1a1729a-1722-4cc5-be8d-569bd0240726
I just updated firefox to 128.0.3-1 I believe. The release notes are still being prepared as of 7:30 PM, 26/07/24 IST. So it's pretty new. I reinstalled a couple of times. Deleted all files regarding gmp and gmp-clearkey and reinstalled all plugins from firefox. It still doesn't work. Something still makes me feel like there is something wrong with the arch build. The issue must be brought to the notice of the build maintainer for arch. "Generic Linux" firefox builds from mozilla's website work as expected even on arch. Just "Arch Linux specific build." "Mozilla Firefox for Arch Linux".
Comment 9•2 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 10•2 years ago
|
||
Hello, I would like someone to at least try to tell me something here. Or should I go and post over Arch Linux forums instead?. No one other than your bot is doing anything over here for the past few weeks.
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Appears to be a platform level crash related to memory use. Might be best to post over there.
Updated•2 years ago
|
| Reporter | ||
Comment 12•2 years ago
|
||
Reinstalled arch with firefox a month ago and it works since. Might have been a Arch Linux issue that got fixed
| Reporter | ||
Updated•2 years ago
|
Comment 13•1 year ago
|
||
This is a result of Arch building with stdlib assertions enabled (-D_GLIBCXX_ASSERTIONS), so it's probably a failing vector bounds check in ClearKeyDecryptor::Decrypt.
According to a downstream report, Fedora is affected as well, so cc :stransky.
Unfortunately, we don't have a way of reproducing this without an account on pw.live.
| Reporter | ||
Comment 14•1 year ago
|
||
That's weird, I haven't been using the site in a while. But on the latest arch build, FireFox 132.0.2, It DOES NOT work, having a webpage reload loop. But on Zen Browser which is based on 132.0.1, It WORKS, idk why.
Updated•1 year ago
|
| Assignee | ||
Comment 15•1 year ago
|
||
Assuming https://crash-stats.mozilla.org/report/index/173bf796-4d58-4309-9197-7efd80250122 is of the same crash, then this is due to undefined behavior accessing the first element in a vector of size 0 (aBufferSize is 0). I'll put up a patch.
| Assignee | ||
Comment 16•1 year ago
|
||
Without the early exit, we allocate an empty std::vector which we may try to
access the first element on, leading to a crash.
Comment 17•1 year ago
|
||
| Assignee | ||
Comment 18•1 year ago
|
||
AFAICT this goes way back.
Comment 19•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
| Assignee | ||
Comment 20•1 year ago
|
||
Without the early exit, we allocate an empty std::vector which we may try to
access the first element on, leading to a crash.
Original Revision: https://phabricator.services.mozilla.com/D235309
Updated•1 year ago
|
| Assignee | ||
Comment 21•1 year ago
|
||
Without the early exit, we allocate an empty std::vector which we may try to
access the first element on, leading to a crash.
Original Revision: https://phabricator.services.mozilla.com/D235309
Updated•1 year ago
|
Updated•1 year ago
|
Comment 22•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 23•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Description
•