Open Bug 2031885 Opened 7 months ago Updated 2 months ago

Assertion failure: IsOnMessageLoopThread(), at /builds/worker/checkouts/gecko/dom/media/gmp/ChromiumCDMChild.cpp:40

Categories

(Core :: Audio/Video: GMP, defect)

defect

Tracking

()

Tracking Status
firefox151 --- affected

People

(Reporter: tsmith, Unassigned, NeedInfo)

References

(Blocks 1 open bug, )

Details

(Keywords: assertion, pernosco)

Found with m-c 20260220-d46c04335970 (--enable-debug)

This was found by visiting a live website with a debug build.

STR:

  • Launch browser and visit site

This issue was triggered by visiting http://www.sling.com/. A Pernosco session is available here: https://pernos.co/debug/Zzgqy5bala_-bcg7XaRdmQ/index.html

Assertion failure: IsOnMessageLoopThread(), at /builds/worker/checkouts/gecko/dom/media/gmp/ChromiumCDMChild.cpp:40

0|0|libxul.so|mozilla::gmp::ChromiumCDMChild::TimerExpired(void*)|git:github.com/mozilla-firefox/firefox:dom/media/gmp/ChromiumCDMChild.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|40|0x9d
0|1|libxul.so|mozilla::gmp::GMPRunnable::Run()|git:github.com/mozilla-firefox/firefox:dom/media/gmp/GMPPlatform.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|50|0x12
0|2|libxul.so|mozilla::gmp::ProcessPendingGmpEvents()|git:github.com/mozilla-firefox/firefox:dom/media/gmp/GMPPlatform.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|160|0xd2
0|3|libxul.so|RunnableFunction<void (*)(), std::tuple<> >::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/task.h:7b08fa00f500ed877b16983a6a77d2c852aad1d0|194|0xe
0|4|libxul.so|mozilla::RunnableTask::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|721|0x17
0|5|libxul.so|mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|1360|0x5b4
0|6|libxul.so|mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|1183|0x57
0|7|libxul.so|mozilla::TaskController::ProcessPendingMTTask(bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|657|0x65
0|8|libxul.so|mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.h:7b08fa00f500ed877b16983a6a77d2c852aad1d0|549|0x16
0|9|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|1181|0x5ca
0|10|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|467|0x4f
0|11|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|85|0xc0
0|12|libxul.so|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:7b08fa00f500ed877b16983a6a77d2c852aad1d0|348|0x61
0|13|libxul.so|nsBaseAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/nsBaseAppShell.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|152|0x28
0|14|libxul.so|nsAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/gtk/nsAppShell.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|555|0x114
0|15|libxul.so|XRE_RunAppShell()|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsEmbedFunctions.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|652|0x6b
0|16|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|235|0x3c
0|17|libxul.so|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:7b08fa00f500ed877b16983a6a77d2c852aad1d0|348|0x61
0|18|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsEmbedFunctions.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|590|0x938
0|19|firefox-bin|main|git:github.com/mozilla-firefox/firefox:browser/app/nsBrowserApp.cpp:7b08fa00f500ed877b16983a6a77d2c852aad1d0|467|0x21c

Bug 2027161 restructured this code, so this exact stack is no longer possible, and the underlying issue is possibly fixed too. ni? Andrew to double check.

Flags: needinfo?(aosmond)

The Pernosco session was created with m-c 20260414-facf11f6cdea.

I think the assert is somehow wrong because pernosco says it happened on the main thread (the thread I expect).

Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.