Closed Bug 1889291 Opened 2 years ago Closed 2 years ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/xpcom/string/nsTStringRepr.h:93:59 in operator unsigned long | single tracking bug

Categories

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

defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox124 --- wontfix
firefox125 --- wontfix
firefox126 + fixed

People

(Reporter: intermittent-bug-filer, Assigned: alwu)

References

Details

(5 keywords, Whiteboard: [adv-main126+r])

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


[task 2024-04-03T02:41:23.829Z] 02:41:23     INFO - TEST-START | dom/media/test/test_mediarecorder_record_downsize_resolution.html
[task 2024-04-03T02:41:25.226Z] 02:41:25     INFO - GECKO(3288) | ==================
[task 2024-04-03T02:41:25.227Z] 02:41:25     INFO - GECKO(3288) | WARNING: ThreadSanitizer: data race (pid=3431)
[task 2024-04-03T02:41:25.228Z] 02:41:25     INFO - GECKO(3288) |   Read of size 4 at 0x7b1c0007c0a0 by thread T95:
[task 2024-04-03T02:41:25.229Z] 02:41:25     INFO - GECKO(3288) |     #0 operator unsigned long /builds/worker/checkouts/gecko/xpcom/string/nsTStringRepr.h:93:59 (libxul.so+0x30ab4a4) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.236Z] 02:41:25     INFO - GECKO(3288) |     #1 nsTSubstring<char>::Assign(nsTSubstring<char> const&, std::nothrow_t const&) /builds/worker/checkouts/gecko/xpcom/string/nsTSubstring.cpp:498:8 (libxul.so+0x30ab4a4)
[task 2024-04-03T02:41:25.237Z] 02:41:25     INFO - GECKO(3288) |     #2 nsTSubstring<char>::Assign(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/string/nsTSubstring.cpp:483:8 (libxul.so+0x30ab0c5) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.238Z] 02:41:25     INFO - GECKO(3288) |     #3 nsTString /builds/worker/workspace/obj-build/dist/include/nsTString.h:91:11 (libxul.so+0x699fe13) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.239Z] 02:41:25     INFO - GECKO(3288) |     #4 mozilla::RemoteMediaDataDecoder::GetDescriptionName() const /builds/worker/checkouts/gecko/dom/media/ipc/RemoteMediaDataDecoder.cpp:152:10 (libxul.so+0x699fe13)
[task 2024-04-03T02:41:25.240Z] 02:41:25     INFO - GECKO(3288) |     #5 mozilla::MediaChangeMonitor::GetDescriptionName() const /builds/worker/checkouts/gecko/dom/media/platforms/wrappers/MediaChangeMonitor.h:45:24 (libxul.so+0x6b591d2) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.241Z] 02:41:25     INFO - GECKO(3288) |     #6 mozilla::MediaDataDecoderProxy::GetDescriptionName() const /builds/worker/checkouts/gecko/dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp:100:25 (libxul.so+0x6b58b14) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.242Z] 02:41:25     INFO - GECKO(3288) |     #7 mozilla::AllocationWrapper::GetDescriptionName() const /builds/worker/checkouts/gecko/dom/media/platforms/AllocationPolicy.h:147:22 (libxul.so+0x6b32804) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.243Z] 02:41:25     INFO - GECKO(3288) |     #8 mozilla::MediaFormatReader::GetDebugInfo(mozilla::dom::MediaFormatReaderDebugInfo&) /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:3357:59 (libxul.so+0x66b4027) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.243Z] 02:41:25     INFO - GECKO(3288) |     #9 mozilla::MediaFormatReader::RequestDebugInfo(mozilla::dom::MediaFormatReaderDebugInfo&) /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:3275:3 (libxul.so+0x6663302) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.244Z] 02:41:25     INFO - GECKO(3288) |     #10 operator() /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:3272:33 (libxul.so+0x6788f9a) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.245Z] 02:41:25     INFO - GECKO(3288) |     #11 mozilla::detail::ProxyFunctionRunnable<mozilla::MediaFormatReader::RequestDebugInfo(mozilla::dom::MediaFormatReaderDebugInfo&)::$_0, mozilla::MozPromise<bool, nsresult, true>>::Run() /builds/worker/workspace/obj-build/dist/include/mozilla/MozPromise.h:1811:29 (libxul.so+0x6788f9a)
[task 2024-04-03T02:41:25.246Z] 02:41:25     INFO - GECKO(3288) |     #12 mozilla::AutoTaskDispatcher::TaskGroupRunnable::Run() /builds/worker/workspace/obj-build/dist/include/mozilla/TaskDispatcher.h:230:35 (libxul.so+0x31e9b53) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.247Z] 02:41:25     INFO - GECKO(3288) |     #13 mozilla::TaskQueue::Runner::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskQueue.cpp:257:20 (libxul.so+0x31df5e3) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.248Z] 02:41:25     INFO - GECKO(3288) |     #14 nsThreadPool::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadPool.cpp:341:14 (libxul.so+0x3209a7f) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.248Z] 02:41:25     INFO - GECKO(3288) |     #15 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x3200c7e) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.249Z] 02:41:25     INFO - GECKO(3288) |     #16 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3207214) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.250Z] 02:41:25     INFO - GECKO(3288) |     #17 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x3d2d71e) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.253Z] 02:41:25     INFO - GECKO(3288) |     #18 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x3ca1bf8) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.254Z] 02:41:25     INFO - GECKO(3288) |     #19 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x3ca1bf8)
[task 2024-04-03T02:41:25.255Z] 02:41:25     INFO - GECKO(3288) |     #20 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x3ca1bf8)
[task 2024-04-03T02:41:25.256Z] 02:41:25     INFO - GECKO(3288) |     #21 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:370:10 (libxul.so+0x31fc503) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.256Z] 02:41:25     INFO - GECKO(3288) |     #22 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4ba79) (BuildId: 4ddf1981e2fd45744d5f21c299b5cb77d2ea276e)
[task 2024-04-03T02:41:25.257Z] 02:41:25     INFO - GECKO(3288) |   Previous write of size 4 at 0x7b1c0007c0a0 by thread T11:
<...>
[task 2024-04-03T02:41:25.376Z] 02:41:25     INFO - GECKO(3288) |   Thread T11 'RemVidChild' (tid=3452, running) created by main thread at:
[task 2024-04-03T02:41:25.380Z] 02:41:25     INFO - GECKO(3288) |     #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1020:3 (firefox-bin+0xc5a0b) (BuildId: d8072925ae98cb299677126e2e923cb8095b5a40)
[task 2024-04-03T02:41:25.384Z] 02:41:25     INFO - GECKO(3288) |     #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x42cee) (BuildId: 4ddf1981e2fd45744d5f21c299b5cb77d2ea276e)
[task 2024-04-03T02:41:25.385Z] 02:41:25     INFO - GECKO(3288) |     #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x37f84) (BuildId: 4ddf1981e2fd45744d5f21c299b5cb77d2ea276e)
[task 2024-04-03T02:41:25.386Z] 02:41:25     INFO - GECKO(3288) |     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:620:20 (libxul.so+0x31fdca7) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.387Z] 02:41:25     INFO - GECKO(3288) |     #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:598:22 (libxul.so+0x3205d4d) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.389Z] 02:41:25     INFO - GECKO(3288) |     #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 (libxul.so+0x320ea03) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.390Z] 02:41:25     INFO - GECKO(3288) |     #6 NS_NewNamedThread<12UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:76:10 (libxul.so+0x697daa3) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.391Z] 02:41:25     INFO - GECKO(3288) |     #7 mozilla::RemoteDecoderManagerChild::Init() /builds/worker/checkouts/gecko/dom/media/ipc/RemoteDecoderManagerChild.cpp:110:19 (libxul.so+0x697daa3)
[task 2024-04-03T02:41:25.398Z] 02:41:25     INFO - GECKO(3288) |     #8 mozilla::dom::ContentChild::InitXPCOM(mozilla::dom::XPCOMInitData&&, mozilla::dom::ipc::StructuredCloneData const&, bool) /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp:1426:3 (libxul.so+0x754b634) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.399Z] 02:41:25     INFO - GECKO(3288) |     #9 mozilla::dom::ContentChild::RecvSetXPCOMProcessAttributes(mozilla::dom::XPCOMInitData&&, mozilla::dom::ipc::StructuredCloneData const&, mozilla::widget::FullLookAndFeel&&, mozilla::dom::SystemFontList&&, mozilla::Maybe<mozilla::UniquePtr<int, mozilla::detail::FileHandleDeleter>>&&, unsigned long const&, nsTArray<mozilla::UniquePtr<int, mozilla::detail::FileHandleDeleter>>&&, bool const&) /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp:682:3 (libxul.so+0x754adde) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.400Z] 02:41:25     INFO - GECKO(3288) |     #10 mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PContentChild.cpp:11376:80 (libxul.so+0x76ce8dd) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.401Z] 02:41:25     INFO - GECKO(3288) |     #11 mozilla::dom::ContentChild::OnMessageReceived(IPC::Message const&) /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp:3710:25 (libxul.so+0x7558130) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.403Z] 02:41:25     INFO - GECKO(3288) |     #12 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1818:25 (libxul.so+0x3d28b4f) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.404Z] 02:41:25     INFO - GECKO(3288) |     #13 mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message>>) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1737:9 (libxul.so+0x3d27238) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.405Z] 02:41:25     INFO - GECKO(3288) |     #14 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1530:3 (libxul.so+0x3d27843) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.406Z] 02:41:25     INFO - GECKO(3288) |     #15 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1628:14 (libxul.so+0x3d28187) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.406Z] 02:41:25     INFO - GECKO(3288) |     #16 mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:578:16 (libxul.so+0x31e8902) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.407Z] 02:41:25     INFO - GECKO(3288) |     #17 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:905:26 (libxul.so+0x31dd3ce) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.408Z] 02:41:25     INFO - GECKO(3288) |     #18 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:728:15 (libxul.so+0x31dbbf6) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.414Z] 02:41:25     INFO - GECKO(3288) |     #19 mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:514:36 (libxul.so+0x31dbf2f) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.415Z] 02:41:25     INFO - GECKO(3288) |     #20 operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:232:37 (libxul.so+0x31ebba4) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.416Z] 02:41:25     INFO - GECKO(3288) |     #21 mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:548:5 (libxul.so+0x31ebba4)
[task 2024-04-03T02:41:25.417Z] 02:41:25     INFO - GECKO(3288) |     #22 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1199:16 (libxul.so+0x3200a68) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.418Z] 02:41:25     INFO - GECKO(3288) |     #23 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3207214) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.419Z] 02:41:25     INFO - GECKO(3288) |     #24 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x3d2cb8e) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.420Z] 02:41:25     INFO - GECKO(3288) |     #25 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:268:30 (libxul.so+0x3d2d65b) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.421Z] 02:41:25     INFO - GECKO(3288) |     #26 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x3ca1bf8) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.422Z] 02:41:25     INFO - GECKO(3288) |     #27 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x3ca1bf8)
[task 2024-04-03T02:41:25.423Z] 02:41:25     INFO - GECKO(3288) |     #28 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x3ca1bf8)
[task 2024-04-03T02:41:25.424Z] 02:41:25     INFO - GECKO(3288) |     #29 nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:148:27 (libxul.so+0x7d50e33) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.425Z] 02:41:25     INFO - GECKO(3288) |     #30 nsAppShell::Run() /builds/worker/checkouts/gecko/widget/gtk/nsAppShell.cpp:470:33 (libxul.so+0x7e424fc) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.428Z] 02:41:25     INFO - GECKO(3288) |     #31 XRE_RunAppShell() /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:712:20 (libxul.so+0x9cc0d3f) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.431Z] 02:41:25     INFO - GECKO(3288) |     #32 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:235:9 (libxul.so+0x3d2d60a) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.432Z] 02:41:25     INFO - GECKO(3288) |     #33 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x3ca1bf8) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.433Z] 02:41:25     INFO - GECKO(3288) |     #34 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x3ca1bf8)
[task 2024-04-03T02:41:25.434Z] 02:41:25     INFO - GECKO(3288) |     #35 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x3ca1bf8)
[task 2024-04-03T02:41:25.436Z] 02:41:25     INFO - GECKO(3288) |     #36 XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:647:34 (libxul.so+0x9cc0a4d) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.437Z] 02:41:25     INFO - GECKO(3288) |     #37 mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:67:12 (libxul.so+0x9ccccf2) (BuildId: 59118ef82951a0dc8db854b6fd8be1b9ddf1a4fa)
[task 2024-04-03T02:41:25.438Z] 02:41:25     INFO - GECKO(3288) |     #38 content_process_main /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:57:28 (firefox-bin+0x14e8c2) (BuildId: d8072925ae98cb299677126e2e923cb8095b5a40)
[task 2024-04-03T02:41:25.438Z] 02:41:25     INFO - GECKO(3288) |     #39 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:375:18 (firefox-bin+0x14e8c2)
[task 2024-04-03T02:41:25.439Z] 02:41:25     INFO - GECKO(3288) | SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/xpcom/string/nsTStringRepr.h:93:59 in operator unsigned long
[task 2024-04-03T02:41:25.440Z] 02:41:25     INFO - GECKO(3288) | ==================
[task 2024-04-03T02:41:25.650Z] 02:41:25    ERROR - GECKO(3288) | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2024-04-03T02:41:29.280Z] 02:41:29     INFO - GECKO(3288) | 1712112089279	Marionette	TRACE	Received observer notification quit-application
[task 2024-04-03T02:41:29.282Z] 02:41:29     INFO - GECKO(3288) | 1712112089280	Marionette	INFO	Stopped listening on port 2828
[task 2024-04-03T02:41:29.290Z] 02:41:29     INFO - GECKO(3288) | 1712112089289	Marionette	DEBUG	Marionette stopped listening
[task 2024-04-03T02:41:29.535Z] 02:41:29     INFO - GECKO(3288) | [Parent 3288, IPC I/O Parent] WARNING: process 3431 exited on signal 6: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:335
[task 2024-04-03T02:41:33.512Z] 02:41:33     INFO - TEST-INFO | Main app process: exit 245
[task 2024-04-03T02:41:33.512Z] 02:41:33     INFO - Buffered messages logged at 02:41:24
[task 2024-04-03T02:41:33.513Z] 02:41:33     INFO - Drawing color 255,0,0,1
[task 2024-04-03T02:41:33.514Z] 02:41:33     INFO - TEST-PASS | dom/media/test/test_mediarecorder_record_downsize_resolution.html | Media recorder stream = canvas stream at the beginning of recording 
[task 2024-04-03T02:41:33.515Z] 02:41:33     INFO - TEST-PASS | dom/media/test/test_mediarecorder_record_downsize_resolution.html | Media recorder started 
[task 2024-04-03T02:41:33.516Z] 02:41:33     INFO - onstart fired successfully
[task 2024-04-03T02:41:33.517Z] 02:41:33     INFO - Drawing color 0,0,255,1
[task 2024-04-03T02:41:33.517Z] 02:41:33     INFO - Drawing color 255,0,0,1
[task 2024-04-03T02:41:33.518Z] 02:41:33     INFO - Got 'dataavailable' event
[task 2024-04-03T02:41:33.519Z] 02:41:33     INFO - TEST-PASS | dom/media/test/test_mediarecorder_record_downsize_resolution.html | On dataavailable event blob is undefined 
[task 2024-04-03T02:41:33.521Z] 02:41:33     INFO - Got 'stop' event
[task 2024-04-03T02:41:33.521Z] 02:41:33     INFO - TEST-PASS | dom/media/test/test_mediarecorder_record_downsize_resolution.html | Expected 1 dataavailable event 
[task 2024-04-03T02:41:33.522Z] 02:41:33     INFO - TEST-PASS | dom/media/test/test_mediarecorder_record_downsize_resolution.html | Should have gotten a data blob 
[task 2024-04-03T02:41:33.522Z] 02:41:33     INFO - Waiting for video recorded-video to match [255,0,0,255] - red (Should become red)
[task 2024-04-03T02:41:33.531Z] 02:41:33     INFO - TEST-PASS | dom/media/test/test_mediarecorder_record_downsize_resolution.html | 1st resize event original width 
[task 2024-04-03T02:41:33.531Z] 02:41:33     INFO - TEST-PASS | dom/media/test/test_mediarecorder_record_downsize_resolution.html | 1st resize event original height  
[task 2024-04-03T02:41:33.532Z] 02:41:33     INFO - Buffered messages finished
[task 2024-04-03T02:41:33.532Z] 02:41:33     INFO - runtests.py | Application ran for: 0:01:28.807690
Group: core-security → media-core-security
Component: String → Audio/Video: Playback

Race between RemoteMediaDataDecoder::GetDescriptionName() and setting mDescription in the lambda in RemoteMediaDataDecoder::Init()

I marked this sec-moderate, but we've had it twice in two days so it would be good if somebody could fix this.

Duplicate of this bug: 1889592
See Also: → 1889595

I'm guessing this and the other bug are a regression, given that we've gone from zero of them to at least 3 instances within a few days.

alwu, would you have any thoughts here?

Severity: -- → N/A
Flags: needinfo?(alwu)
See Also: → 1890147

[Tracking Requested - why for this release]: It looks like there's some kind of regression in media initialization showing up in automation. This could cause crashes and security problems. I'm not sure what the cause is.

There are several similar bugs for this, and I don't think they should be sec bugs. I will handle them in bug 1644383.

Flags: needinfo?(alwu)

Per comment6, close this bug. Also, This won't cause crash and security problem because those potential race happens on the interface that isn't expose to the web, it's only available on our chrome-privilege code.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Assignee: nobody → alwu
Group: media-core-security → core-security-release
Depends on: 1644383
Target Milestone: --- → 126 Branch
QA Whiteboard: [post-critsmash-triage]
Flags: qe-verify-
Whiteboard: [adv-main126+r]
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.