Closed Bug 1676452 Opened 4 years ago Closed 1 month ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:286:27 in get

Categories

(Core :: WebRTC, defect)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=321312843&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/G5xRn7X2R-CcNiCR3i69Gw/runs/0/artifacts/public/logs/live_backing.log


[task 2020-11-10T14:43:41.682Z] 14:43:41     INFO - TEST-START | dom/media/test/test_seek_promise_bug1344357.html
[task 2020-11-10T14:43:43.179Z] 14:43:43     INFO - GECKO(1537) | JavaScript error: resource://gre/actors/AudioPlaybackParent.jsm, line 20: TypeError: browser is null
[task 2020-11-10T14:43:43.186Z] 14:43:43     INFO - GECKO(1537) | JavaScript error: resource://gre/actors/AudioPlaybackParent.jsm, line 20: TypeError: browser is null
[task 2020-11-10T14:43:44.002Z] 14:43:44     INFO - GECKO(1537) | JavaScript error: resource://gre/actors/AudioPlaybackParent.jsm, line 20: TypeError: browser is null
[task 2020-11-10T14:43:44.751Z] 14:43:44     INFO - GECKO(1537) | JavaScript error: resource://gre/actors/AudioPlaybackParent.jsm, line 20: TypeError: browser is null
[task 2020-11-10T14:43:46.108Z] 14:43:46     INFO - GECKO(1537) | ==================
[task 2020-11-10T14:43:46.108Z] 14:43:46     INFO - GECKO(1537) | WARNING: ThreadSanitizer: data race (pid=1668)
[task 2020-11-10T14:43:46.108Z] 14:43:46     INFO - GECKO(1537) |   Read of size 8 at 0x7b640002b518 by thread T17:
[task 2020-11-10T14:43:46.108Z] 14:43:46     INFO - GECKO(1537) |     #0 get /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:286:27 (libxul.so+0x1e8d1d7)
[task 2020-11-10T14:43:46.109Z] 14:43:46     INFO - GECKO(1537) |     #1 operator mozilla::layers::SyncObjectClient * /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:299:12 (libxul.so+0x1e8d1d7)
[task 2020-11-10T14:43:46.109Z] 14:43:46     INFO - GECKO(1537) |     #2 GetSyncObject /builds/worker/workspace/obj-build/dist/include/mozilla/layers/KnowsCompositor.h:64:46 (libxul.so+0x1e8d1d7)
[task 2020-11-10T14:43:46.109Z] 14:43:46     INFO - GECKO(1537) |     #3 mozilla::layers::ImageClientSingle::UpdateImage(mozilla::layers::ImageContainer*, unsigned int) /builds/worker/checkouts/gecko/gfx/layers/client/ImageClient.cpp:247:45 (libxul.so+0x1e8d1d7)
[task 2020-11-10T14:43:46.111Z] 14:43:46     INFO - GECKO(1537) |     #4 mozilla::layers::ImageBridgeChild::UpdateImageClient(RefPtr<mozilla::layers::ImageContainer>) /builds/worker/checkouts/gecko/gfx/layers/ipc/ImageBridgeChild.cpp:338:11 (libxul.so+0x1f311cc)
[task 2020-11-10T14:43:46.112Z] 14:43:46     INFO - GECKO(1537) |     #5 __invoke_impl<void, void (mozilla::layers::ImageBridgeChild::*const &)(RefPtr<mozilla::layers::ImageContainer>), RefPtr<mozilla::layers::ImageBridgeChild> &, RefPtr<mozilla::layers::ImageContainer> > /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/invoke.h:73:14 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.112Z] 14:43:46     INFO - GECKO(1537) |     #6 __invoke<void (mozilla::layers::ImageBridgeChild::*const &)(RefPtr<mozilla::layers::ImageContainer>), RefPtr<mozilla::layers::ImageBridgeChild> &, RefPtr<mozilla::layers::ImageContainer> > /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/invoke.h:95:14 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.114Z] 14:43:46     INFO - GECKO(1537) |     #7 operator()<RefPtr<mozilla::layers::ImageBridgeChild> &, RefPtr<mozilla::layers::ImageContainer> > /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/functional:175:11 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.114Z] 14:43:46     INFO - GECKO(1537) |     #8 __invoke_impl<void, std::_Mem_fn<void (mozilla::layers::ImageBridgeChild::*)(RefPtr<mozilla::layers::ImageContainer>)>, RefPtr<mozilla::layers::ImageBridgeChild> &, RefPtr<mozilla::layers::ImageContainer> > /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/invoke.h:60:14 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.116Z] 14:43:46     INFO - GECKO(1537) |     #9 __invoke<std::_Mem_fn<void (mozilla::layers::ImageBridgeChild::*)(RefPtr<mozilla::layers::ImageContainer>)>, RefPtr<mozilla::layers::ImageBridgeChild> &, RefPtr<mozilla::layers::ImageContainer> > /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/invoke.h:95:14 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.117Z] 14:43:46     INFO - GECKO(1537) |     #10 __apply_impl<std::_Mem_fn<void (mozilla::layers::ImageBridgeChild::*)(RefPtr<mozilla::layers::ImageContainer>)>, std::tuple<RefPtr<mozilla::layers::ImageBridgeChild> &, RefPtr<mozilla::layers::ImageContainer> >, 0, 1> /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/tuple:1662:14 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.118Z] 14:43:46     INFO - GECKO(1537) |     #11 apply<std::_Mem_fn<void (mozilla::layers::ImageBridgeChild::*)(RefPtr<mozilla::layers::ImageContainer>)>, std::tuple<RefPtr<mozilla::layers::ImageBridgeChild> &, RefPtr<mozilla::layers::ImageContainer> > > /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/tuple:1671:14 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.122Z] 14:43:46     INFO - GECKO(1537) |     #12 mozilla::runnable_args_memfn<RefPtr<mozilla::layers::ImageBridgeChild>, void (mozilla::layers::ImageBridgeChild::*)(RefPtr<mozilla::layers::ImageContainer>), RefPtr<mozilla::layers::ImageContainer> >::RunInternal() /builds/worker/workspace/obj-build/dist/include/transport/runnable_utils.h:121:5 (libxul.so+0x1f51f65)
[task 2020-11-10T14:43:46.122Z] 14:43:46     INFO - GECKO(1537) |     #13 mozilla::detail::runnable_args_base<(mozilla::detail::RunnableResult)0>::Run() /builds/worker/checkouts/gecko/dom/media/webrtc/transport/runnable_utils.h:41:5 (libxul.so+0x134211e)
[task 2020-11-10T14:43:46.122Z] 14:43:46     INFO - GECKO(1537) |     #14 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1197:14 (libxul.so+0xb0c4e9)
[task 2020-11-10T14:43:46.122Z] 14:43:46     INFO - GECKO(1537) |     #15 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:513:10 (libxul.so+0xb117b2)
[task 2020-11-10T14:43:46.122Z] 14:43:46     INFO - GECKO(1537) |     #16 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:332:5 (libxul.so+0x13c2728)
[task 2020-11-10T14:43:46.122Z] 14:43:46     INFO - GECKO(1537) |     #17 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:334:10 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.122Z] 14:43:46     INFO - GECKO(1537) |     #18 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:327:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.123Z] 14:43:46     INFO - GECKO(1537) |     #19 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:309:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.123Z] 14:43:46     INFO - GECKO(1537) |     #20 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:442:10 (libxul.so+0xb09181)
[task 2020-11-10T14:43:46.123Z] 14:43:46     INFO - GECKO(1537) |     #21 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4500b)
[task 2020-11-10T14:43:46.126Z] 14:43:46     INFO - GECKO(1537) |   Previous write of size 8 at 0x7b640002b518 by main thread:
[task 2020-11-10T14:43:46.127Z] 14:43:46     INFO - GECKO(1537) |     [failed to restore the stack]
[task 2020-11-10T14:43:46.127Z] 14:43:46     INFO - GECKO(1537) |   Location is heap block of size 1032 at 0x7b640002b200 allocated by main thread:
[task 2020-11-10T14:43:46.127Z] 14:43:46     INFO - GECKO(1537) |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:652:5 (firefox+0x54e4c)
[task 2020-11-10T14:43:46.128Z] 14:43:46     INFO - GECKO(1537) |     #1 moz_xmalloc /builds/worker/checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15 (firefox+0xcedc8)
[task 2020-11-10T14:43:46.128Z] 14:43:46     INFO - GECKO(1537) |     #2 operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10 (libxul.so+0x1f3198c)
[task 2020-11-10T14:43:46.129Z] 14:43:46     INFO - GECKO(1537) |     #3 mozilla::layers::ImageBridgeChild::InitForContent(mozilla::ipc::Endpoint<mozilla::layers::PImageBridgeChild>&&, unsigned int) /builds/worker/checkouts/gecko/gfx/layers/ipc/ImageBridgeChild.cpp:429:36 (libxul.so+0x1f3198c)
[task 2020-11-10T14:43:46.129Z] 14:43:46     INFO - GECKO(1537) |     #4 mozilla::dom::ContentChild::RecvInitRendering(mozilla::ipc::Endpoint<mozilla::layers::PCompositorManagerChild>&&, mozilla::ipc::Endpoint<mozilla::layers::PImageBridgeChild>&&, mozilla::ipc::Endpoint<mozilla::gfx::PVRManagerChild>&&, mozilla::ipc::Endpoint<mozilla::PRemoteDecoderManagerChild>&&, nsTArray<unsigned int>&&) /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp:1474:8 (libxul.so+0x4369f96)
[task 2020-11-10T14:43:46.129Z] 14:43:46     INFO - GECKO(1537) |     #5 mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PContentChild.cpp:8973:56 (libxul.so+0x14bf229)
[task 2020-11-10T14:43:46.137Z] 14:43:46     INFO - GECKO(1537) |     #6 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2150:25 (libxul.so+0x13be64b)
[task 2020-11-10T14:43:46.137Z] 14:43:46     INFO - GECKO(1537) |     #7 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2074:9 (libxul.so+0x13bcbbc)
[task 2020-11-10T14:43:46.137Z] 14:43:46     INFO - GECKO(1537) |     #8 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1922:3 (libxul.so+0x13bd79a)
[task 2020-11-10T14:43:46.138Z] 14:43:46     INFO - GECKO(1537) |     #9 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1953:13 (libxul.so+0x13bdc21)
[task 2020-11-10T14:43:46.138Z] 14:43:46     INFO - GECKO(1537) |     #10 mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:450:16 (libxul.so+0xaf9247)
[task 2020-11-10T14:43:46.138Z] 14:43:46     INFO - GECKO(1537) |     #11 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:720:26 (libxul.so+0xaf72f0)
[task 2020-11-10T14:43:46.139Z] 14:43:46     INFO - GECKO(1537) |     #12 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:579:15 (libxul.so+0xaf5f56)
[task 2020-11-10T14:43:46.139Z] 14:43:46     INFO - GECKO(1537) |     #13 mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:373:36 (libxul.so+0xaf61f4)
[task 2020-11-10T14:43:46.139Z] 14:43:46     INFO - GECKO(1537) |     #14 operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:120:37 (libxul.so+0xafc0a4)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #15 mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_3>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:577:5 (libxul.so+0xafc0a4)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #16 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1197:14 (libxul.so+0xb0c2bc)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #17 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:513:10 (libxul.so+0xb117b2)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #18 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:87:21 (libxul.so+0x13c1cad)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #19 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:270:30 (libxul.so+0x13c25cb)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #20 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:334:10 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #21 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:327:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #22 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:309:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #23 nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:137:27 (libxul.so+0x4801903)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #24 XRE_RunAppShell() /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:913:20 (libxul.so+0x6413749)
[task 2020-11-10T14:43:46.149Z] 14:43:46     INFO - GECKO(1537) |     #25 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:237:9 (libxul.so+0x13c257a)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #26 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:334:10 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #27 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:327:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #28 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:309:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #29 XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:744:34 (libxul.so+0x64134c2)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #30 mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:67:12 (libxul.so+0x641b1c2)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #31 content_process_main /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28 (firefox+0xc78e2)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #32 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:304:18 (firefox+0xc78e2)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |   Thread T17 'ImageBridgeChld' (tid=1690, running) created by main thread at:
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966:3 (firefox+0x5667b)
[task 2020-11-10T14:43:46.150Z] 14:43:46     INFO - GECKO(1537) |     #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x3c203)
[task 2020-11-10T14:43:46.155Z] 14:43:46     INFO - GECKO(1537) |     #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x30b52)
[task 2020-11-10T14:43:46.155Z] 14:43:46     INFO - GECKO(1537) |     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:659:8 (libxul.so+0xb0a4d7)
[task 2020-11-10T14:43:46.155Z] 14:43:46     INFO - GECKO(1537) |     #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:640:12 (libxul.so+0xb10c0a)
[task 2020-11-10T14:43:46.155Z] 14:43:46     INFO - GECKO(1537) |     #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:161:57 (libxul.so+0xb16827)
[task 2020-11-10T14:43:46.156Z] 14:43:46     INFO - GECKO(1537) |     #6 NS_NewNamedThread<16> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:85:10 (libxul.so+0x1f32096)
[task 2020-11-10T14:43:46.156Z] 14:43:46     INFO - GECKO(1537) |     #7 mozilla::layers::ImageBridgeChild::InitForContent(mozilla::ipc::Endpoint<mozilla::layers::PImageBridgeChild>&&, unsigned int) /builds/worker/checkouts/gecko/gfx/layers/ipc/ImageBridgeChild.cpp:423:19 (libxul.so+0x1f32096)
[task 2020-11-10T14:43:46.156Z] 14:43:46     INFO - GECKO(1537) |     #8 mozilla::dom::ContentChild::RecvInitRendering(mozilla::ipc::Endpoint<mozilla::layers::PCompositorManagerChild>&&, mozilla::ipc::Endpoint<mozilla::layers::PImageBridgeChild>&&, mozilla::ipc::Endpoint<mozilla::gfx::PVRManagerChild>&&, mozilla::ipc::Endpoint<mozilla::PRemoteDecoderManagerChild>&&, nsTArray<unsigned int>&&) /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp:1474:8 (libxul.so+0x4369f96)
[task 2020-11-10T14:43:46.157Z] 14:43:46     INFO - GECKO(1537) |     #9 mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PContentChild.cpp:8973:56 (libxul.so+0x14bf229)
[task 2020-11-10T14:43:46.157Z] 14:43:46     INFO - GECKO(1537) |     #10 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2150:25 (libxul.so+0x13be64b)
[task 2020-11-10T14:43:46.157Z] 14:43:46     INFO - GECKO(1537) |     #11 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2074:9 (libxul.so+0x13bcbbc)
[task 2020-11-10T14:43:46.157Z] 14:43:46     INFO - GECKO(1537) |     #12 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1922:3 (libxul.so+0x13bd79a)
[task 2020-11-10T14:43:46.158Z] 14:43:46     INFO - GECKO(1537) |     #13 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1953:13 (libxul.so+0x13bdc21)
[task 2020-11-10T14:43:46.158Z] 14:43:46     INFO - GECKO(1537) |     #14 mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:450:16 (libxul.so+0xaf9247)
[task 2020-11-10T14:43:46.158Z] 14:43:46     INFO - GECKO(1537) |     #15 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:720:26 (libxul.so+0xaf72f0)
[task 2020-11-10T14:43:46.158Z] 14:43:46     INFO - GECKO(1537) |     #16 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:579:15 (libxul.so+0xaf5f56)
[task 2020-11-10T14:43:46.159Z] 14:43:46     INFO - GECKO(1537) |     #17 mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:373:36 (libxul.so+0xaf61f4)
[task 2020-11-10T14:43:46.159Z] 14:43:46     INFO - GECKO(1537) |     #18 operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:120:37 (libxul.so+0xafc0a4)
[task 2020-11-10T14:43:46.159Z] 14:43:46     INFO - GECKO(1537) |     #19 mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_3>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:577:5 (libxul.so+0xafc0a4)
[task 2020-11-10T14:43:46.160Z] 14:43:46     INFO - GECKO(1537) |     #20 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1197:14 (libxul.so+0xb0c2bc)
[task 2020-11-10T14:43:46.160Z] 14:43:46     INFO - GECKO(1537) |     #21 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:513:10 (libxul.so+0xb117b2)
[task 2020-11-10T14:43:46.160Z] 14:43:46     INFO - GECKO(1537) |     #22 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:87:21 (libxul.so+0x13c1cad)
[task 2020-11-10T14:43:46.160Z] 14:43:46     INFO - GECKO(1537) |     #23 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:270:30 (libxul.so+0x13c25cb)
[task 2020-11-10T14:43:46.162Z] 14:43:46     INFO - GECKO(1537) |     #24 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:334:10 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.162Z] 14:43:46     INFO - GECKO(1537) |     #25 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:327:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.162Z] 14:43:46     INFO - GECKO(1537) |     #26 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:309:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.162Z] 14:43:46     INFO - GECKO(1537) |     #27 nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:137:27 (libxul.so+0x4801903)
[task 2020-11-10T14:43:46.163Z] 14:43:46     INFO - GECKO(1537) |     #28 XRE_RunAppShell() /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:913:20 (libxul.so+0x6413749)
[task 2020-11-10T14:43:46.163Z] 14:43:46     INFO - GECKO(1537) |     #29 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:237:9 (libxul.so+0x13c257a)
[task 2020-11-10T14:43:46.165Z] 14:43:46     INFO - GECKO(1537) |     #30 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:334:10 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.165Z] 14:43:46     INFO - GECKO(1537) |     #31 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:327:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.165Z] 14:43:46     INFO - GECKO(1537) |     #32 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:309:3 (libxul.so+0x1358b9c)
[task 2020-11-10T14:43:46.166Z] 14:43:46     INFO - GECKO(1537) |     #33 XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:744:34 (libxul.so+0x64134c2)
[task 2020-11-10T14:43:46.166Z] 14:43:46     INFO - GECKO(1537) |     #34 mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:67:12 (libxul.so+0x641b1c2)
[task 2020-11-10T14:43:46.166Z] 14:43:46     INFO - GECKO(1537) |     #35 content_process_main /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28 (firefox+0xc78e2)
[task 2020-11-10T14:43:46.167Z] 14:43:46     INFO - GECKO(1537) |     #36 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:304:18 (firefox+0xc78e2)
[task 2020-11-10T14:43:46.167Z] 14:43:46     INFO - GECKO(1537) | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:286:27 in get```

The race is on KnowsCompositor::mSyncObject

Component: Audio/Video → Graphics
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1809672

There have been 31 total failures in the last 7 days, recent failure log.
Affected platforms are:

  • linux1804-64-tsan-qr
[task 2023-02-08T22:48:59.310Z] 22:48:59     INFO - GECKO(4386) |   Thread T149 'ScreenC~eThread' (tid=4857, running) created by thread T94 at:
[task 2023-02-08T22:48:59.310Z] 22:48:59     INFO - GECKO(4386) |     #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1022:3 (firefox-bin+0xb3c1d) (BuildId: 9025807c7cf9c05bbb82b492bdde394ba260caf1)
[task 2023-02-08T22:48:59.311Z] 22:48:59     INFO - GECKO(4386) |     #1 rtc::PlatformThread::SpawnThread(std::function<void ()>, absl::string_view, rtc::ThreadAttributes, bool) /builds/worker/checkouts/gecko/third_party/libwebrtc/rtc_base/platform_thread.cc:215:3 (libxul.so+0xb49758e) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.312Z] 22:48:59     INFO - GECKO(4386) |     #2 rtc::PlatformThread::SpawnJoinable(std::function<void ()>, absl::string_view, rtc::ThreadAttributes) /builds/worker/checkouts/gecko/third_party/libwebrtc/rtc_base/platform_thread.cc:138:10 (libxul.so+0xb4972f5) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.312Z] 22:48:59     INFO - GECKO(4386) |     #3 webrtc::DesktopCaptureImpl::LazyInitCaptureThread() /builds/worker/checkouts/gecko/dom/media/systemservices/video_engine/desktop_capture_impl.cc:591:45 (libxul.so+0x81e3fdc) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.313Z] 22:48:59     INFO - GECKO(4386) |     #4 StartCapture /builds/worker/checkouts/gecko/dom/media/systemservices/video_engine/desktop_capture_impl.cc:615:3 (libxul.so+0x81e4269) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.314Z] 22:48:59     INFO - GECKO(4386) |     #5 non-virtual thunk to webrtc::DesktopCaptureImpl::StartCapture(webrtc::VideoCaptureCapability const&) /builds/worker/checkouts/gecko/dom/media/systemservices/video_engine/desktop_capture_impl.cc (libxul.so+0x81e4269)
[task 2023-02-08T22:48:59.315Z] 22:48:59     INFO - GECKO(4386) |     #6 operator() /builds/worker/checkouts/gecko/dom/media/systemservices/CamerasParent.cpp:943:41 (libxul.so+0x81f3564) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.316Z] 22:48:59     INFO - GECKO(4386) |     #7 std::_Function_handler<void (mozilla::camera::VideoEngine::CaptureEntry&), mozilla::camera::CamerasParent::RecvStartCapture(mozilla::camera::CaptureEngine const&, int const&, mozilla::camera::VideoCaptureCapability const&)::$_10::operator()() const::'lambda'(mozilla::camera::VideoEngine::CaptureEntry&)>::_M_invoke(std::_Any_data const&, mozilla::camera::VideoEngine::CaptureEntry&) /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_function.h:316:2 (libxul.so+0x81f3564)
[task 2023-02-08T22:48:59.317Z] 22:48:59     INFO - GECKO(4386) |     #8 operator() /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_function.h:706:14 (libxul.so+0x81f295b) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.318Z] 22:48:59     INFO - GECKO(4386) |     #9 WithEntry /builds/worker/checkouts/gecko/dom/media/systemservices/VideoEngine.cpp:222:3 (libxul.so+0x81f295b)
[task 2023-02-08T22:48:59.319Z] 22:48:59     INFO - GECKO(4386) |     #10 operator() /builds/worker/checkouts/gecko/dom/media/systemservices/CamerasParent.cpp:856:35 (libxul.so+0x81f295b)
[task 2023-02-08T22:48:59.320Z] 22:48:59     INFO - GECKO(4386) |     #11 mozilla::media::LambdaRunnable<mozilla::camera::CamerasParent::RecvStartCapture(mozilla::camera::CaptureEngine const&, int const&, mozilla::camera::VideoCaptureCapability const&)::$_10>::Run() /builds/worker/workspace/obj-build/dist/include/mozilla/media/MediaUtils.h:77:27 (libxul.so+0x81f295b)
[task 2023-02-08T22:48:59.321Z] 22:48:59     INFO - GECKO(4386) |     #12 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1219:16 (libxul.so+0x42b1eb8) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.321Z] 22:48:59     INFO - GECKO(4386) |     #13 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:477:10 (libxul.so+0x42b8746) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.322Z] 22:48:59     INFO - GECKO(4386) |     #14 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5 (libxul.so+0x4fd0ab8) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.323Z] 22:48:59     INFO - GECKO(4386) |     #15 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:381:10 (libxul.so+0x4ee6547) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.325Z] 22:48:59     INFO - GECKO(4386) |     #16 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:374:3 (libxul.so+0x4ee6547)
[task 2023-02-08T22:48:59.325Z] 22:48:59     INFO - GECKO(4386) |     #17 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:356:3 (libxul.so+0x4ee6547)
[task 2023-02-08T22:48:59.326Z] 22:48:59     INFO - GECKO(4386) |     #18 base::Thread::ThreadMain() /builds/worker/checkouts/gecko/ipc/chromium/src/base/thread.cc:187:16 (libxul.so+0x4f07d72) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.327Z] 22:48:59     INFO - GECKO(4386) |     #19 ThreadFunc(void*) /builds/worker/checkouts/gecko/ipc/chromium/src/base/platform_thread_posix.cc:40:13 (libxul.so+0x4ef2d9e) (BuildId: 0e4415bdfd4b7c4ac82e23ae2300ebd61e30f391)
[task 2023-02-08T22:48:59.329Z] 22:48:59     INFO - GECKO(4386) | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:286:27 in get
[task 2023-02-08T22:48:59.330Z] 22:48:59     INFO - GECKO(4386) | ==================
[task 2023-02-08T22:48:59.373Z] 22:48:59     INFO - GECKO(4386) | Exiting due to channel error.
Flags: needinfo?(bhood)

Tim, how's your Linux-fu? This seems to involve a lot of "Image" stops on the stack.

Flags: needinfo?(bhood) → needinfo?(tnikkel)

The stack in the first comment no longer seems to be happening. The new stack that is happening is quite different. They all seem to go through webrtc::DesktopCaptureImpl::LazyInitCaptureThread so I think this belongs in webrtc.

Component: Graphics → WebRTC
Flags: needinfo?(tnikkel)
Severity: normal → S3
See Also: → 1901135
Status: REOPENED → RESOLVED
Closed: 3 years ago1 month ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.