Closed
Bug 1194933
Opened 10 years ago
Closed 9 years ago
ASan: SEGV in FastConvertYUVToRGB32Row
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox43 | --- | affected |
People
(Reporter: tsmith, Unassigned)
References
Details
(4 keywords, Whiteboard: [gfx-noted])
Attachments
(6 files)
No description provided.
Reporter | ||
Comment 1•10 years ago
|
||
Updated•10 years ago
|
Keywords: csectype-wildptr,
sec-high
Updated•10 years ago
|
Component: Audio/Video: Playback → Graphics: Layers
Comment 2•10 years ago
|
||
To be clear - the workflow is to try and play back the above webm movie on Ubuntu, and this error happens.
Comment 3•10 years ago
|
||
I tried loading this in a Linux ASAN build, and I get no crash. I just see a message: "Video can't be played because the file is corrupt." Same behavior on a regular build as well.
So more information would be nice... What version of Firefox did this happen on for you? Does this happen on nightly?
Flags: needinfo?(twsmith)
Reporter | ||
Comment 4•10 years ago
|
||
I am seeing this on nightly (Linux ASan). The latest build I tried was from ~12 hours ago.
Flags: needinfo?(twsmith)
Comment 5•10 years ago
|
||
(In reply to Lee Salzman [:eihrul] from comment #3)
> I tried loading this in a Linux ASAN build, and I get no crash. I just see a
> message: "Video can't be played because the file is corrupt." Same behavior
> on a regular build as well.
I get the same result (video can't be played) with 2015-08-25's linux64 debug asan nightly on Debian Stretch.
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to Andrew Comminos [:acomminos] from comment #5)
> (In reply to Lee Salzman [:eihrul] from comment #3)
> > I tried loading this in a Linux ASAN build, and I get no crash. I just see a
> > message: "Video can't be played because the file is corrupt." Same behavior
> > on a regular build as well.
>
> I get the same result (video can't be played) with 2015-08-25's linux64
> debug asan nightly on Debian Stretch.
I was seeing this fairly frequently with my fuzzer. I'll update the ff build and post an update when I get some fresh results.
Flags: needinfo?(twsmith)
I tried to reproduce this on Fedora 22 (all updates installed) with today's ASAN Linux64 Nightly and it does not reproduce for me.
Tyson, does this replicate outside of your fuzzer (ie. if you try to load the video manually)? If so, are there steps beyond just opening the webm file in Firefox that trigger this bug? All I get is an error stating the video is corrupt. If this only reproduces in your fuzzer we'll likely need access to it to regress this further. Alternatively I'd be happy to provide instructions so you could regress this locally.
In addition, can you please let me know your specific system configuration? It'd be useful to know exactly which version of Ubuntu you're using, your Desktop Environment and version, as well as any changes you've made to the default system configuration. At this point it might also help to have a copy of your about:support page attached to this bug.
Thanks
Reporter | ||
Comment 8•10 years ago
|
||
Reporter | ||
Comment 9•10 years ago
|
||
(In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #7)
> Tyson, does this replicate outside of your fuzzer (ie. if you try to load
> the video manually)?
No. This issue seems to have a race component to it :(
> In addition, can you please let me know your specific system configuration?
Ubuntu 14.04.3 Desktop (and Server using xvfb on other fuzzing boxes)
> At this point it might also help to have a
> copy of your about:support page attached to this bug.
Attached.
At the moment I see this issue every 10 minutes or so. I'd be willing to try other builds if anyone has any suggestions.
Flags: needinfo?(twsmith)
Reporter | ||
Updated•10 years ago
|
Blocks: fuzzing-webm
Reporter | ||
Comment 10•10 years ago
|
||
Could bug 1197935 be related to this issue?
Updated•10 years ago
|
Group: core-security → gfx-core-security
Updated•10 years ago
|
Whiteboard: [gfx-noted]
Comment 12•10 years ago
|
||
The duped bug has some more specific steps to reproduce this. Maybe somebody can try to take a look again? (FWIW, this seems to involve the same pref as bug 1203763, but I don't know if that means it is related.)
Flags: needinfo?(lsalzman)
Comment 13•10 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #12)
> The duped bug has some more specific steps to reproduce this. Maybe somebody
> can try to take a look again? (FWIW, this seems to involve the same pref as
> bug 1203763, but I don't know if that means it is related.)
I tried reproducing again, but still no luck.
Flags: needinfo?(lsalzman)
Reporter | ||
Comment 14•10 years ago
|
||
I updated to a new firefox build and put some fuzzers on this. I'll see what comes up in the next 24h or so.
Flags: needinfo?(twsmith)
Reporter | ||
Comment 15•10 years ago
|
||
I let the fuzzers run over the weekend and I have not seen this issue.
Flags: needinfo?(twsmith)
Reporter | ||
Comment 16•10 years ago
|
||
I was able to find an invalid read with valgrind that looks like it may be related.
Reporter | ||
Comment 17•10 years ago
|
||
Comment 18•10 years ago
|
||
Anything we can tell from the stack that would let us get a version built for Tyson to try and get us more information, if this is still not locally reproducible?
Flags: needinfo?(lsalzman)
Comment 19•10 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #18)
> Anything we can tell from the stack that would let us get a version built
> for Tyson to try and get us more information, if this is still not locally
> reproducible?
The stack just points into the same big uncommented block of assembly. You could hypothetically try disabling the SSE support in ConvertYCbCrToRGB32 to see if it is just a bug in the assembly code itself and the unaccelerated code is fine, or if it is a deeper issue that exists in both paths.
It would take a bit to digest what the assembly is doing there, so would be better to verify that the problem is specifically in the assembly first.
Flags: needinfo?(lsalzman)
Reporter | ||
Comment 20•9 years ago
|
||
This one looks a little different. Figured I'd add it just in case.
Comment 21•9 years ago
|
||
Tyson, can you still reproduce these issues? Maybe this should be closed as incomplete and new bugs filed for new test cases? Thanks.
Flags: needinfo?(twsmith)
Reporter | ||
Comment 22•9 years ago
|
||
I will close this and log anything that pops up.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(twsmith)
Resolution: --- → WORKSFORME
Updated•9 years ago
|
Group: gfx-core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•