Closed
Bug 1247041
Opened 9 years ago
Closed 9 years ago
This video SIGSEGVs firefox
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla47
People
(Reporter: nagisa, Assigned: jya)
References
Details
Attachments
(3 files)
7.62 MB,
video/mp4
|
Details | |
58 bytes,
text/x-review-board-request
|
ajones
:
review+
ritu
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta-
|
Details |
1.35 KB,
patch
|
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Playing the attached video will reliably SIGSEGV firefox, it looks like somewhere inside ffmpeg. ffplay and mpv (uses ffmpeg) do not suffer from this. I’ll add the backtrace and stdout in next comment (*goes to sigsegv the browser more*).
Reporter | ||
Comment 1•9 years ago
|
||
The output:
[h264 @ 0x7f37a9daa800] get_format() cannot be called after ff_thread_finish_setup()
[h264 @ 0x7f37a9daa800] get_format() cannot be called after ff_thread_finish_setup()
[h264 @ 0x7f37a9daa800] decode_slice_header error
Assertion !h->setup_finished failed at libavcodec/h264_slice.c:1168
Redirecting call to abort() to mozalloc_abort
fish: “firefox” terminated by signal SIGSEGV (Address boundary error)
The stacktrace is uninteresting (no debug symbols)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(jyavenard)
Assignee | ||
Comment 2•9 years ago
|
||
Which version of libavcodec do you have installed?
Reporter | ||
Comment 3•9 years ago
|
||
$ pacman -Qs libavcodec
local/ffmpeg 1:2.8.6-2
Complete solution to record, convert and stream audio and video
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(jyavenard)
Reporter | ||
Comment 4•9 years ago
|
||
(Oh, I realize I cleared out the needinfo which wasn’t for me, but since you needinfo-d yourself, I assume you meant to needinfo me.
Reporter | ||
Comment 5•9 years ago
|
||
ffmpeg --version reports this:
libavcodec 56. 60.100 / 56. 60.100
Assignee | ||
Comment 7•9 years ago
|
||
Requesting YUV420P causes crashes with some version of FFmpeg.
Review commit: https://reviewboard.mozilla.org/r/34293/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/34293/
Attachment #8717752 -
Flags: review?(ajones)
Assignee | ||
Comment 8•9 years ago
|
||
[Tracking Requested - why for this release]: In bug 1233340 we added support for some YUVJ420P (12bppp YUV420) however this causes crashing with some version of FFmpeg.
status-firefox44:
--- → unaffected
status-firefox46:
--- → affected
status-firefox47:
--- → affected
tracking-firefox45:
--- → ?
Assignee | ||
Comment 9•9 years ago
|
||
Anthony, I tested with LibAV 0.8 up to FFmpeg master ; on both linux and mac. this new method works fine with bug 1233340 and this video.
Interestingly, I had copied the PixelFormat method of LibAV, and assigning PIX_FMT_YUV420P is what they do when it's YUVJ420P
Assignee | ||
Updated•9 years ago
|
status-firefox45:
--- → affected
Assignee | ||
Updated•9 years ago
|
Priority: -- → P1
Comment 10•9 years ago
|
||
Firefox 44 is affected too.
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8717752 [details]
MozReview Request: Bug 1247041: [ffmpeg] Request YUVJ420P format explicitly. r?kentuckyfriedtakahe
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/34293/diff/1-2/
Assignee | ||
Comment 12•9 years ago
|
||
sorry, I was playing with mozreview..
Comment on attachment 8717752 [details]
MozReview Request: Bug 1247041: [ffmpeg] Request YUVJ420P format explicitly. r?kentuckyfriedtakahe
https://reviewboard.mozilla.org/r/34293/#review31523
Attachment #8717752 -
Flags: review?(ajones) → review+
Comment 14•9 years ago
|
||
Comment 16•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Assignee | ||
Comment 17•9 years ago
|
||
Comment on attachment 8717752 [details]
MozReview Request: Bug 1247041: [ffmpeg] Request YUVJ420P format explicitly. r?kentuckyfriedtakahe
Approval Request Comment
[Feature/regressing bug #]:1247041
[User impact if declined]: Crashes
[Describe test coverage new/current, TreeHerder]: In central, manual test.
[Risks and why]: Low, the patch is simple and it was verified against all versions of LibAV and FFmpeg
[String/UUID change made/needed]: none
Patch will not port to beta it requires a small modification.
Will provide it soon
Attachment #8717752 -
Flags: approval-mozilla-beta?
Attachment #8717752 -
Flags: approval-mozilla-aurora?
Comment on attachment 8717752 [details]
MozReview Request: Bug 1247041: [ffmpeg] Request YUVJ420P format explicitly. r?kentuckyfriedtakahe
Fixes a video playback issue (crash), seems like a simple fix. Let's uplift to Aurora46.
Attachment #8717752 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 19•9 years ago
|
||
bugherder uplift |
Comment 20•9 years ago
|
||
This missed beta 7. Do you have an eta for the beta-rebased patch? Thanks
Flags: needinfo?(jyavenard)
Assignee | ||
Comment 21•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #20)
> This missed beta 7. Do you have an eta for the beta-rebased patch? Thanks
Oh... miscommunication here, as the beta uplift hadn't been approved, I didn't look into it (it will take me two minutes to make the change)
Flags: needinfo?(jyavenard)
Assignee | ||
Comment 22•9 years ago
|
||
Patch for beta
Assignee | ||
Comment 23•9 years ago
|
||
Sylvestre. Now that the patch for beta is available, will you allow this on?
Flags: needinfo?(sledru)
Comment 24•9 years ago
|
||
Comment on attachment 8721101 [details] [diff] [review]
[ffmpeg] Request YUVJ420P format explicitly. r=kentuckyfriedtakahe, a=sylvestre
[Triage Comment]
Yes, should be in 45 beta 9
Flags: needinfo?(sledru)
Attachment #8721101 -
Flags: approval-mozilla-beta+
Updated•9 years ago
|
Attachment #8717752 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Comment 25•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•