Closed Bug 1022479 Opened 10 years ago Closed 10 years ago

MediaSource - Crash while seeking video

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ajones, Assigned: cajbir)

References

(Blocks 1 open bug, )

Details

Steps to reproduce:

1. Enable media.mediasource.enable pref in about:config
2. Navigate to http://www.youtube.com/watch?v=cpOEO2gUekE
3. Check Stats for Nerds
       Mime Type:   video/webm; codecs="vp9"
       DASH:        yes
4. Seek back and forth for a while


Expected results:

Video will seek normally.


Actual results:

Eventual crash.


Assertion failure: 0 == rv, at /home/ajones/src/mozilla-central/nsprpub/pr/src/pthreads/ptsynch.c:340

Program received signal SIGABRT, Aborted.
0x00007ffff701ef79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff701ef79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff7022388 in __GI_abort () at abort.c:89
#2  0x00007ffff6b9e346 in PR_Assert (s=s@entry=0x7ffff6bbf2e6 "0 == rv", file=file@entry=0x7ffff6bc23c8 "/home/ajones/src/mozilla-central/nsprpub/pr/src/pthreads/ptsynch.c", ln=ln@entry=340)
    at /home/ajones/src/mozilla-central/nsprpub/pr/src/io/prlog.c:554
#3  0x00007ffff6bb2485 in PR_DestroyCondVar (cvar=0x3d26fe0) at /home/ajones/src/mozilla-central/nsprpub/pr/src/pthreads/ptsynch.c:340
#4  0x00007ffff221244e in ~CondVar (this=0x3d27480, __in_chrg=<optimized out>) at ../../../dist/include/mozilla/CondVar.h:60
#5  ~Monitor (this=0x3d27468, __in_chrg=<optimized out>) at ../../../dist/include/mozilla/Monitor.h:33
#6  ~MediaSource (this=0x3d273f0, __in_chrg=<optimized out>) at /home/ajones/src/mozilla-central/content/media/mediasource/MediaSource.h:45
#7  mozilla::dom::MediaSource::~MediaSource (this=0x3d273f0, __in_chrg=<optimized out>) at /home/ajones/src/mozilla-central/content/media/mediasource/MediaSource.h:45
#8  0x00007ffff1c3d802 in mozilla::DOMEventTargetHelper::DeleteCycleCollectable (this=<optimized out>) at /home/ajones/src/mozilla-central/dom/events/DOMEventTargetHelper.cpp:75
#9  0x00007ffff1428b76 in mozilla::DOMEventTargetHelper::cycleCollection::DeleteCycleCollectable (this=<optimized out>, p=0x3d273f0) at ../../dist/include/mozilla/DOMEventTargetHelper.h:60
#10 0x00007ffff073ec53 in SnowWhiteKiller::~SnowWhiteKiller (this=0x7fffffffc4a0, __in_chrg=<optimized out>) at /home/ajones/src/mozilla-central/xpcom/base/nsCycleCollector.cpp:2611
#11 0x00007ffff0735b05 in nsCycleCollector::FreeSnowWhite (this=0x56d2e0, aUntilNoSWInPurpleBuffer=aUntilNoSWInPurpleBuffer@entry=false) at /home/ajones/src/mozilla-central/xpcom/base/nsCycleCollector.cpp:2777
#12 0x00007ffff0736d9a in nsCycleCollector_doDeferredDeletion () at /home/ajones/src/mozilla-central/xpcom/base/nsCycleCollector.cpp:4108
#13 0x00007ffff1a54cce in AsyncFreeSnowWhite::Run (this=0x7124a0) at /home/ajones/src/mozilla-central/js/xpconnect/src/XPCJSRuntime.cpp:212
#14 0x00007ffff0798807 in nsThread::ProcessNextEvent (this=0x5391b0, aMayWait=<optimized out>, aResult=0x7fffffffc5ef) at /home/ajones/src/mozilla-central/xpcom/threads/nsThread.cpp:766
#15 0x00007ffff0706ace in NS_ProcessNextEvent (thread=<optimized out>, mayWait=<optimized out>) at /home/ajones/src/mozilla-central/xpcom/glue/nsThreadUtils.cpp:263
#16 0x00007ffff0b470e8 in mozilla::ipc::MessagePump::Run (this=0x4667e0, aDelegate=0x538550) at /home/ajones/src/mozilla-central/ipc/glue/MessagePump.cpp:95
#17 0x00007ffff0b1468c in MessageLoop::RunInternal (this=this@entry=0x538550) at /home/ajones/src/mozilla-central/ipc/chromium/src/base/message_loop.cc:229
#18 0x00007ffff0b14707 in RunHandler (this=0x538550) at /home/ajones/src/mozilla-central/ipc/chromium/src/base/message_loop.cc:222
#19 MessageLoop::Run (this=0x538550) at /home/ajones/src/mozilla-central/ipc/chromium/src/base/message_loop.cc:196
#20 0x00007ffff1988c37 in nsBaseAppShell::Run (this=0x8a6e80) at /home/ajones/src/mozilla-central/widget/xpwidgets/nsBaseAppShell.cpp:164
#21 0x00007ffff2ca9e69 in nsAppStartup::Run (this=0x902f50) at /home/ajones/src/mozilla-central/toolkit/components/startup/nsAppStartup.cpp:278
#22 0x00007ffff2be78e5 in XREMain::XRE_mainRun (this=this@entry=0x7fffffffc950) at /home/ajones/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:4012
#23 0x00007ffff2be91b7 in XREMain::XRE_main (this=this@entry=0x7fffffffc950, argc=argc@entry=3, argv=argv@entry=0x7fffffffde68, aAppData=aAppData@entry=0x7fffffffcb60)
    at /home/ajones/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:4083
#24 0x00007ffff2be9570 in XRE_main (argc=3, argv=0x7fffffffde68, aAppData=0x7fffffffcb60, aFlags=<optimized out>) at /home/ajones/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:4297
#25 0x0000000000403a3c in do_main (argc=argc@entry=3, argv=argv@entry=0x7fffffffde68, xreDirectory=0x41f010) at /home/ajones/src/mozilla-central/browser/app/nsBrowserApp.cpp:282
#26 0x0000000000403b56 in main (argc=3, argv=0x7fffffffde68) at /home/ajones/src/mozilla-central/browser/app/nsBrowserApp.cpp:643
Assignee: nobody → cajbir.bugzilla
Blocks: MSE, 1000686
Blocks: 1056440
No longer blocks: 1000686
The patch in bug 1040563 might fix this.  kft, can you reproduce this easily?
No. I don't have a way to reproduce it other than the steps above.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.