Closed Bug 1155596 Opened 10 years ago Closed 9 years ago

Assertion failure: aFailureHandling == DontAssertDispatchSuccess || ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))), at dom/media/MediaTaskQueue.h:88

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox40 --- affected

People

(Reporter: jya, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file log.txt
This happened while the EME clearkey demo was playing and I entered another URL (to a mp4 html5 element this time). As the mediasource was closing in the log I had: 2064163584[100498070]: SourceBufferList(11ee4d380)::DispatchSimpleEvent: Dispatch event 'removesourcebuffer' 2064163584[100498070]: SourceBufferList(11edcc1a0)::DispatchSimpleEvent: Dispatch event 'removesourcebuffer' [85693] WARNING: CDM returned incorrect number of decrypted bytes: file /Users/jyavenard/Work/Mozilla/mozilla-central/dom/media/eme/CDMProxy.cpp, line 691 [85693] WARNING: CDM returned decode failure GMPErr=13: file /Users/jyavenard/Work/Mozilla/mozilla-central/dom/media/eme/CDMProxy.cpp, line 706 Assertion failure: aFailureHandling == DontAssertDispatchSuccess || ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))), at /Users/jyavenard/Work/Mozilla/mozilla-central/dom/media/MediaTaskQueue.h:88 2064163584[100498070]: Unlinking VideoDecodeAcceleration framework. 2064163584[100498070]: Unlinking VideoToolbox framework. 2064163584[100498070]: Unlinking CoreMedia framework. #01: mozilla::MediaTaskQueue::Dispatch(already_AddRefed<nsIRunnable>, mozilla::AbstractThread::DispatchFailureHandling)[/Users/jyavenard/Work/Mozilla/mozilla-central/obj-ff-dbg/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2ed2d2f] 2064163584[100498070]: ResolveRunnable::Run() [this=11f6cfca0] backtrace: (lldb) bt * thread #36: tid = 0x918a5a, 0x0000000106c51d33 XUL`mozilla::MediaTaskQueue::Dispatch(this=0x00000001386ca580, aRunnable=(mRawPtr = 0x0000000000000000), aFailureHandling=AssertDispatchSuccess) + 227 at MediaTaskQueue.h:88, name = 'GMPThread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000106c51d33 XUL`mozilla::MediaTaskQueue::Dispatch(this=0x00000001386ca580, aRunnable=(mRawPtr = 0x0000000000000000), aFailureHandling=AssertDispatchSuccess) + 227 at MediaTaskQueue.h:88 frame #1: 0x0000000106bee61d XUL`mozilla::MediaTaskQueue::Dispatch(this=0x00000001386ca580, aRunnable=<unavailable>, aFailureHandling=AssertDispatchSuccess) + 109 at MediaTaskQueue.h:48 * frame #2: 0x0000000106e72f5e XUL`mozilla::CDMProxy::DecryptJob::PostResult(this=0x000000012a98c480, aResult=GMPAbortedErr, aDecryptedData=0x0000000120090908) + 638 at CDMProxy.cpp:709 frame #3: 0x0000000106e71763 XUL`mozilla::CDMProxy::DecryptJob::PostResult(this=0x000000012a98c480, aResult=GMPAbortedErr) + 51 at CDMProxy.cpp:684 frame #4: 0x0000000106e72bb2 XUL`mozilla::CDMProxy::gmp_Decrypt(this=0x0000000130cc5b00, aJob=nsRefPtr<mozilla::CDMProxy::DecryptJob> at 0x00000001200909d8) + 146 at CDMProxy.cpp:643 frame #5: 0x0000000106e87234 XUL`void nsRunnableMethodArguments<nsRefPtr<mozilla::CDMProxy::DecryptJob> >::apply<mozilla::CDMProxy, void (this=0x000000012aa2f630, o=0x0000000130cc5b00, m=0x0000000106e72b20)(nsRefPtr<mozilla::CDMProxy::DecryptJob>)>(mozilla::CDMProxy*, void (mozilla::CDMProxy::*)(nsRefPtr<mozilla::CDMProxy::DecryptJob>)) + 164 at nsThreadUtils.h:615 frame #6: 0x0000000106e86f5c XUL`nsRunnableMethodImpl<void (mozilla::CDMProxy::*)(nsRefPtr<mozilla::CDMProxy::DecryptJob>), true, nsRefPtr<mozilla::CDMProxy::DecryptJob> >::Run(this=0x000000012aa2f600) + 140 at nsThreadUtils.h:809 frame #7: 0x0000000103f06b3a XUL`nsThread::ProcessNextEvent(this=0x000000011ee90e40, aMayWait=false, aResult=0x0000000120090c5e) + 2042 at nsThread.cpp:866 frame #8: 0x0000000103f61d97 XUL`NS_ProcessNextEvent(aThread=0x000000011ee90e40, aMayWait=false) + 151 at nsThreadUtils.cpp:265 frame #9: 0x0000000104597040 XUL`mozilla::ipc::MessagePumpForNonMainThreads::Run(this=0x000000011ef3ee80, aDelegate=0x000000010042bca0) + 656 at MessagePump.cpp:339 frame #10: 0x000000010450a7d5 XUL`MessageLoop::RunInternal(this=0x000000010042bca0) + 117 at message_loop.cc:233 frame #11: 0x000000010450a6e5 XUL`MessageLoop::RunHandler(this=0x000000010042bca0) + 21 at message_loop.cc:226 frame #12: 0x000000010450a68d XUL`MessageLoop::Run(this=0x000000010042bca0) + 45 at message_loop.cc:200 frame #13: 0x0000000103f050a9 XUL`nsThread::ThreadFunc(aArg=0x000000011ee90e40) + 329 at nsThread.cpp:364 frame #14: 0x0000000103b6d8b1 libnss3.dylib`_pt_root(arg=0x000000011edc5080) + 449 at ptthread.c:212 frame #15: 0x00007fff95e19268 libsystem_pthread.dylib`_pthread_body + 131 frame #16: 0x00007fff95e191e5 libsystem_pthread.dylib`_pthread_start + 176 frame #17: 0x00007fff95e1741d libsystem_pthread.dylib`thread_start + 13 (lldb) full log attached. I can't reproduce it.
never seen it again, assuming its gone
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: