Closed Bug 651950 Opened 15 years ago Closed 15 years ago

Assertions & crashes when full-screening Air Mozilla

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 645773

People

(Reporter: dholbert, Unassigned)

References

()

Details

(Keywords: assertion, crash, crashreportid, Whiteboard: [sg:critical?])

Attachments

(2 files)

STEPS TO REPRODUCE: 1. Visit Air Mozilla (while a presentation / meeting is streaming, I think -- I'm guessing this has to do with live-streamed content, rather than static videos) 2. Right-click the video, and hit 'F' key (for fullscreen) 3. Hit escape. 4. Repeat steps 2 & 3. Pause & unpause video as desired. ACTUAL RESULTS: The following assertions and warnings: ###!!! ASSERTION: Active seekable media should have end time: '(!HasVideo() && !HasAudio()) || !mSeekable || mEndTime != -1', file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/nsBuiltinDecoderStateMachine.cpp, line 1085 ###!!! ASSERTION: Seekable media should have duration: '!mSeekable || GetDuration() != -1', file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/nsBuiltinDecoderStateMachine.cpp, line 1086 ###!!! ASSERTION: Can only seek in range [0,duration]: 'mSeekTime >= mStartTime && mSeekTime <= mEndTime', file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/nsBuiltinDecoderStateMachine.cpp, line 904 ###!!! ASSERTION: Should know end time by now: 'mEndTime != -1', file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/nsBuiltinDecoderStateMachine.cpp, line 908 ###!!! ASSERTION: Guess must be before range end: 'guess < endOffset', file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/ogg/nsOggReader.cpp, line 1546 WARNING: NS_ENSURE_TRUE(ret == 0) failed: file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/ogg/nsOggReader.cpp, line 1431 WARNING: NS_ENSURE_TRUE(res != PAGE_SYNC_ERROR) failed: file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/ogg/nsOggReader.cpp, line 1562 WARNING: NS_ENSURE_SUCCESS(res, res) failed with result 0x80004005: file /scratch/work/builds/mozilla-central/mozilla-central.10-07-16.00-54/mozilla/content/media/ogg/nsOggReader.cpp, line 1370 ... followed by a crash with a backtrace that doesn't seem at all related to Ogg. (which scares me - I wonder if we're overwriting random memory?) Backtrace attached. This crashed my opt build, too. (I had comments about possibly being related to AdBlock Plus in some of the crash reports -- but it doesn't seem to be required, because I was able to crash my debug build without any addons) Crash reports: bp-b0d332b1-691d-4726-b02e-c4e9e2110421 bp-a5b4ce0d-17f0-4118-b06c-de75a2110421 bp-7fa28b48-a4cc-4529-9112-6fd172110421 bp-f01b3b57-7256-4960-8907-2e08c2110421
Note that the crash reports are all in different places, and 3/4 of them have no mention of video in their stacks. (all but bp-a5b4ce0d-17f0-4118-b06c-de75a2110421) This reinforces this fear of mine from comment 0: > (which scares me - I wonder if we're overwriting random memory?)
(In reply to comment #0) > STEPS TO REPRODUCE: > 1. Visit Air Mozilla (while a presentation / meeting is streaming, I think -- > I'm guessing this has to do with live-streamed content, rather than static > videos) I say this because I was unable to reproduce comment 0's assertions & crashes with static videos[1][2] in both my nightly & debug builds. [1] http://tinyvid.tv/show/q31g9htvwjdh [2] http://lachy.id.au/dev/markup/examples/video/001.html
(plus the assertions seem to be stream-related; missing end time & duration)
All of the crash reports are null-derefs, mercifully. Tentatively marking this as [sg:critical?], though, based on comment 1 & the assertions' implication that we might be reading and/or writing outside of the range that we expect.
Whiteboard: [sg:critical?]
Just hit this again, in my nightly build ( bp-841410ee-e883-490f-a34d-ec6662110421 ) as well as in my debug build, this time from directly viewing the stream ( http://icecast.mozilla.org/stream.ogg ) rather than viewing it embedded on airmoz. In my debug build, this time, the only assertions & warnings I got before the crash were: > ###!!! ASSERTION: Guess must be before range end: 'guess < endOffset' > WARNING: NS_ENSURE_TRUE(ret == 0) failed > WARNING: NS_ENSURE_TRUE(res != PAGE_SYNC_ERROR) failed > WARNING: NS_ENSURE_SUCCESS(res, res) (These are the same final 4 lines of pre-crash output from comment 0 -- but I didn't get the earlier stuff from comment 0.)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: