Closed
Bug 487659
Opened 17 years ago
Closed 17 years ago
"ASSERTION: Zero playback rate not allowed"
Categories
(Core :: Audio/Video, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: roc)
References
()
Details
(Keywords: assertion, crash, verified1.9.1)
Attachments
(1 file)
|
780 bytes,
patch
|
cajbir
:
review+
roc
:
approval1.9.1+
|
Details | Diff | Splinter Review |
I'm hitting this fairly often, but I don't have a testcase :(
###!!! ASSERTION: Zero playback rate not allowed: 'aBytesPerSecond > 0', file /Users/jruderman/central/content/media/video/src/nsMediaCache.cpp, line 1598
nsMediaCacheStream::SetPlaybackRate(unsigned int) (nsUnicharUtils.cpp:)
nsMediaChannelStream::SetPlaybackRate(unsigned int) (nsUnicharUtils.cpp:)
nsOggDecoder::UpdatePlaybackRate() (nsUnicharUtils.cpp:)
nsOggDecodeStateMachine::NextFrame() (nsUnicharUtils.cpp:)
nsOggDecodeStateMachine::Run() (nsUnicharUtils.cpp:)
nsThread::ProcessNextEvent(int, int*) (pldhash.c:)
NS_ProcessNextEvent_P(nsIThread*, int) (pldhash.c:)
nsThread::ThreadFunc(void*) (pldhash.c:)
_pt_root (/Users/jruderman/central/nsprpub/pr/src/md/unix/os_Darwin.s:47)
_pthread_start (/usr/lib/libSystem.B.dylib)
thread_start (/usr/lib/libSystem.B.dylib)
| Reporter | ||
Comment 1•17 years ago
|
||
This is causing divide-by-zero crashes in nsMediaCache::PredictNextUse (fairly frequently in fuzz-testing).
Keywords: crash
Comment 2•17 years ago
|
||
also reproduced here : http://a23.video2.blip.tv/2510001112030/Framasoft-subtitles911.ogg
###!!! ASSERTION: Zero playback rate not allowed: 'aBytesPerSecond > 0', file c:/work/mozilla/builds/1.9.1/mozilla/content/media/video/src/nsMediaCache.cpp, line 1602
gklayout!nsMediaChannelStream::SetPlaybackRate+0x0000000000000016 (c:\work\mozilla\builds\1.9.1\mozilla\content\media\video\src\nsmediastream.cpp, line 560)
gklayout!nsOggDecoder::UpdatePlaybackRate+0x0000000000000096 (c:\work\mozilla\builds\1.9.1\mozilla\content\media\video\src\nsoggdecoder.cpp, line 1736)
gklayout!nsOggDecodeStateMachine::NextFrame+0x0000000000000207 (c:\work\mozilla\builds\1.9.1\mozilla\content\media\video\src\nsoggdecoder.cpp, line 562)
gklayout!nsOggDecodeStateMachine::Run+0x0000000000000341 (c:\work\mozilla\builds\1.9.1\mozilla\content\media\video\src\nsoggdecoder.cpp, line 970)
xpcom_core!nsThread::ProcessNextEvent+0x00000000000001FA (c:\work\mozilla\builds\1.9.1\mozilla\xpcom\threads\nsthread.cpp, line 511)
xpcom_core!NS_ProcessNextEvent_P+0x0000000000000053 (c:\work\mozilla\builds\1.9.1\mozilla\firefox-debug\xpcom\build\nsthreadutils.cpp, line 227)
xpcom_core!nsThread::ThreadFunc+0x00000000000000CE (c:\work\mozilla\builds\1.9.1\mozilla\xpcom\threads\nsthread.cpp, line 254)
nspr4!_PR_NativeRunThread+0x00000000000000DB (c:\work\mozilla\builds\1.9.1\mozilla\nsprpub\pr\src\threads\combined\pruthr.c, line 426)
nspr4!pr_root+0x0000000000000019 (c:\work\mozilla\builds\1.9.1\mozilla\nsprpub\pr\src\md\windows\w95thred.c, line 122)
MSVCR80D!beginthreadex+0x0000000000000221
MSVCR80D!beginthreadex+0x00000000000001C7
kernel32!GetModuleFileNameA+0x00000000000001BA
OS: Mac OS X → All
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → roc
Flags: wanted1.9.1+
| Assignee | ||
Comment 3•17 years ago
|
||
I can't reproduce it with that file, but I can see that there is nothing preventing us from getting an extremely low or zero rate here. This will prevent that.
Attachment #378025 -
Flags: review?(chris.double)
| Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs review]
Updated•17 years ago
|
Attachment #378025 -
Flags: review?(chris.double) → review+
| Assignee | ||
Comment 4•17 years ago
|
||
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [needs review] → [needs 191 landing]
| Assignee | ||
Updated•17 years ago
|
Attachment #378025 -
Flags: approval1.9.1+
| Assignee | ||
Comment 5•17 years ago
|
||
Keywords: fixed1.9.1
Whiteboard: [needs 191 landing]
Comment 6•17 years ago
|
||
verified FIXED on debug builds:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090629 Minefield/3.6a1pre ID:20090629082126
and
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090629 Shiretoko/3.5pre ID:20090629082025
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•