Closed Bug 1755150 Opened 4 years ago Closed 2 years ago

Intermittent Assertion failure: aId == std::this_thread::get_id(), at /builds/worker/workspace/obj-build/dist/include/mozilla/SPSCQueue.h:371

Categories

(Core :: Audio/Video: Playback, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, intermittent-failure)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=367682806&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EYj8yGHeSVeIuVHhz1Yqxw/runs/0/artifacts/public/logs/live_backing.log


[task 2022-02-12T20:29:47.097Z] 20:29:47     INFO - GECKO(6252) | Assertion failure: aId == std::this_thread::get_id(), at /builds/worker/workspace/obj-build/dist/include/mozilla/SPSCQueue.h:371
[task 2022-02-12T20:29:47.098Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.099Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.100Z] 20:29:47     INFO - GECKO(6252) | [Child 5612: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 23838111400 == 0 [pid = 5612] [id = 5] [url = about:blank]
[task 2022-02-12T20:29:47.107Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.118Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.127Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.137Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.148Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.157Z] 20:29:47     INFO - GECKO(6252) | [Child 3340, AudioIPC Client Callback] WARNING: Underrun when popping samples from audiosink ring buffer.: file /builds/worker/checkouts/gecko/dom/media/mediasink/AudioSink.cpp:232
[task 2022-02-12T20:29:47.169Z] 20:29:47     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2022-02-12T20:29:57.338Z] 20:29:57     INFO - GECKO(6252) | #01: mozilla::SPSCRingBufferBase<float>::Enqueue(float*, int) [mfbt/SPSCQueue.h:152]
[task 2022-02-12T20:29:57.338Z] 20:29:57     INFO - GECKO(6252) | #02: mozilla::AudioSink::PushProcessedAudio(mozilla::AudioData*) [dom/media/mediasink/AudioSink.cpp:437]
[task 2022-02-12T20:29:57.339Z] 20:29:57     INFO - GECKO(6252) | #03: mozilla::AudioSink::NotifyAudioNeeded() [dom/media/mediasink/AudioSink.cpp:414]
[task 2022-02-12T20:29:57.339Z] 20:29:57     INFO - GECKO(6252) | #04: mozilla::detail::ListenerImpl<mozilla::AbstractThread,`lambda at /builds/worker/workspace/obj-build/dist/include/MediaEventSource.h:403:37',RefPtr<mozilla::AudioData> >::ApplyWithArgs(RefPtr<mozilla::AudioData>&&) [dom/media/MediaEventSource.h:237]
[task 2022-02-12T20:29:57.340Z] 20:29:57     INFO - GECKO(6252) | #05: mozilla::detail::RunnableMethodImpl<mozilla::detail::Listener<RefPtr<mozilla::AudioData> > *,void (mozilla::detail::Listener<RefPtr<mozilla::AudioData> >::*)(RefPtr<mozilla::AudioData> &&),1,mozilla::RunnableKind::Standard,RefPtr<mozilla::AudioData> &&>::Run() [xpcom/threads/nsThreadUtils.h:1203]
[task 2022-02-12T20:29:57.341Z] 20:29:57     INFO - GECKO(6252) | #06: mozilla::AutoTaskDispatcher::TaskGroupRunnable::Run() [xpcom/threads/TaskDispatcher.h:233]
[task 2022-02-12T20:29:57.341Z] 20:29:57     INFO - GECKO(6252) | #07: mozilla::TaskQueue::Runner::Run() [xpcom/threads/TaskQueue.cpp:213]
[task 2022-02-12T20:29:57.341Z] 20:29:57     INFO - GECKO(6252) | #08: nsThreadPool::Run() [xpcom/threads/nsThreadPool.cpp:308]
[task 2022-02-12T20:29:57.341Z] 20:29:57     INFO - GECKO(6252) | #09: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1165]
[task 2022-02-12T20:29:57.342Z] 20:29:57     INFO - GECKO(6252) | #10: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:467]
[task 2022-02-12T20:29:57.342Z] 20:29:57     INFO - GECKO(6252) | #11: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:301]
[task 2022-02-12T20:29:57.343Z] 20:29:57     INFO - GECKO(6252) | #12: MessageLoop::RunHandler() [ipc/chromium/src/base/message_loop.cc:325]
[task 2022-02-12T20:29:57.343Z] 20:29:57     INFO - GECKO(6252) | #13: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:307]
[task 2022-02-12T20:29:57.344Z] 20:29:57     INFO - GECKO(6252) | #14: static nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:389]
[task 2022-02-12T20:29:57.541Z] 20:29:57     INFO - GECKO(6252) | #15: PR_NativeRunThread(void*) [nsprpub/pr/src/threads/combined/pruthr.c:408]
[task 2022-02-12T20:29:57.542Z] 20:29:57     INFO - GECKO(6252) | #16: pr_root(void*) [nsprpub/pr/src/md/windows/w95thred.c:140]
[task 2022-02-12T20:29:57.545Z] 20:29:57     INFO -  fix-stacks: error: failed to read debug info file `ucrtbase.pdb` for `C:\Windows\System32\ucrtbase.dll`
[task 2022-02-12T20:29:57.545Z] 20:29:57     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2022-02-12T20:29:57.545Z] 20:29:57     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2022-02-12T20:29:57.545Z] 20:29:57     INFO - GECKO(6252) | #17: configthreadlocale [C:\Windows\System32\ucrtbase.dll + 0x21bb2]
[task 2022-02-12T20:29:57.548Z] 20:29:57     INFO -  fix-stacks: error: failed to read debug info file `wkernel32.pdb` for `C:\Windows\System32\KERNEL32.DLL`
[task 2022-02-12T20:29:57.549Z] 20:29:57     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2022-02-12T20:29:57.549Z] 20:29:57     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2022-02-12T20:29:57.550Z] 20:29:57     INFO - GECKO(6252) | #18: BaseThreadInitThunk [C:\Windows\System32\KERNEL32.DLL + 0x17034]
[task 2022-02-12T20:29:57.606Z] 20:29:57     INFO - GECKO(6252) | #19: patched_BaseThreadInitThunk(int, void*, void*) [toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp:572]
[task 2022-02-12T20:29:57.616Z] 20:29:57     INFO -  fix-stacks: error: failed to read debug info file `wntdll.pdb` for `C:\Windows\SYSTEM32\ntdll.dll`
[task 2022-02-12T20:29:57.616Z] 20:29:57     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2022-02-12T20:29:57.616Z] 20:29:57     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2022-02-12T20:29:57.617Z] 20:29:57     INFO - GECKO(6252) | #20: RtlUserThreadStart [C:\Windows\SYSTEM32\ntdll.dll + 0x52651]

This queue function is being called from AudioSink::PushProcessedAudio(). This is a possible regression from bug 1754006, which just landed and touched AudioSink.cpp.

Component: MFBT → Audio/Video: Playback
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago → 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago → 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago → 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.