Closed
Bug 1149814
Opened 10 years ago
Closed 9 years ago
Mac OS X Kernel Panic
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: andrysco, Unassigned, NeedInfo)
References
Details
(Keywords: crash, sec-vector, Whiteboard: Apple bug #20557141)
Attachments
(5 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150306140302
Steps to reproduce:
We ran a fuzz testing tool that simultaneously plays hundreds of MP4 video files using the video tag.
Source code on github: https://github.com/marcandrysco/CSE227-Project
Actual results:
Mac OS X kernel panic.
Expected results:
No kernel panic.
Reporter | ||
Updated•10 years ago
|
OS: Linux → Mac OS X
Comment 1•10 years ago
|
||
Can you provide more info (dumps etc.) from the kernel panic? Have you reported this to Apple?
Flags: needinfo?(andrysco)
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
I just added the 5 kernel dumps we were able to collect. As you'll see, it varies between a page fault and a general protection fault, but always in Apple's video decoder process. Furthermore, the kernel panic doesn't happen until we have at least 400 or so corrupted MP4s playing simultaneously, so we suspect there may be a race condition involved.
We have not submitted a bug report to Apple yet, as we weren't able to trigger the panic from any other browser.
Updated•10 years ago
|
Component: Untriaged → Video/Audio
Flags: needinfo?(ajones)
Product: Firefox → Core
Updated•10 years ago
|
Flags: needinfo?(andrysco)
Updated•10 years ago
|
Flags: needinfo?(ajones)
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 10•10 years ago
|
||
Anthony: why does this block the MSE bug? The linked fuzzer doesn't appear to use MediaSource in any way.
Flags: needinfo?(ajones)
Comment 11•10 years ago
|
||
Marc: do you have any clues which video(s) were being played when you got the kernel panics?
Flags: needinfo?(andrysco)
Comment 12•10 years ago
|
||
(In reply to Daniel Veditz [:dveditz] from comment #10)
> Anthony: why does this block the MSE bug? The linked fuzzer doesn't appear
> to use MediaSource in any way.
The blocking MSE flag is used to track bugs that do/could break MSE.
Flags: needinfo?(ajones)
Comment 13•10 years ago
|
||
Marc, can you file a bug with Apple regardless? Even if it turns out to be something we can address in Firefox, the fact that it happens in Apple's video decoder process would be something that would concern them.
Comment 14•10 years ago
|
||
I've filed a bug with Apple (#20557141, but I'm guessing it won't be publicly visible).
I'm not convinced there's a specific video that causes the panic, rather it appears to be a race condition. We initially got the panic after loading a page with around 1000 MP4s playing. I tried to narrow down the source by playing one video at a time, but could not reproduce the panic. Then I tried adding videos to the page incrementally, and was able to reproduce the panic consistently once about 420 videos were playing simultaneously (the selection of videos did not seem to matter).
Updated•10 years ago
|
Comment 15•10 years ago
|
||
Jean-Yves, do you think this kernel panic is related to the VideoToolbox crash in bug 1187103 (fixed by bug 1061525)?
Comment 16•10 years ago
|
||
could be... it's hard to say really.
the symptoms are extremely different so while it's certainly a bug in Apple's VideoToolbox ; I doubt it's the same.
Flags: needinfo?(jyavenard)
Updated•9 years ago
|
Group: core-security → media-core-security
Comment 17•9 years ago
|
||
Not an MSE issue ; and I'm assuming the problem with the RGBA VT bug which we now avoid
Updated•9 years ago
|
Group: media-core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•