Closed Bug 1849662 Opened 1 year ago Closed 11 months ago

ThreadSanitizer: data race [@ SizeTo] vs. [@ nsWindow::GetTitlebarRect]

Categories

(Core :: Widget: Gtk, defect)

Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox118 --- wontfix
firefox123 --- wontfix
firefox124 --- fixed
firefox125 --- fixed

People

(Reporter: tsmith, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: csectype-race)

Found while using m-c 20230821-bc597f54f9cf (--enable-thread-sanitizer)

STR:

  • Resize window (click and drag corner)
WARNING: ThreadSanitizer: data race (pid=70170)
  Write of size 4 at 0x7b60001ee50c by main thread:
    #0 SizeTo /builds/worker/workspace/obj-build/dist/include/mozilla/gfx/BaseRect.h:310:11 (libxul.so+0x8787339) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #1 nsWindow::MaybeDispatchResized() /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:513:13 (libxul.so+0x8787339)
    #2 nsWindow::OnExposeEvent(_cairo*) /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:3757:3 (libxul.so+0x87a5244) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #3 draw_window_of_widget(_GtkWidget*, _GdkWindow*, _cairo*) /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:7904:15 (libxul.so+0x87bab36) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #4 expose_event_cb(_GtkWidget*, _cairo*) /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:7912:3 (libxul.so+0x87b7a19) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #5 <null> <null> (libgtk-3.so.0+0x3e5b76) (BuildId: 9a340345f5e200f42140f3cb4bacb407e91843f8)
    #6 DoProcessNextNativeEvent /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:131:17 (libxul.so+0x873d242) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #7 nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool) /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:250:19 (libxul.so+0x873d242)
    #8 non-virtual thunk to nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool) /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp (libxul.so+0x873d5f7) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #9 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1114:10 (libxul.so+0x3e0e711) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #10 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3e151f6) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #11 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x4912e5e) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #12 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x488cf68) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #13 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x488cf68)
    #14 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x488cf68)
    #15 nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:148:27 (libxul.so+0x873ce33) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #16 nsAppStartup::Run() /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:295:30 (libxul.so+0xa8abd72) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #17 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5673:22 (libxul.so+0xa9eb954) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #18 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5874:8 (libxul.so+0xa9ec59e) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #19 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5930:21 (libxul.so+0xa9ecc71) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #20 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xa9fbd62) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #21 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x142785) (BuildId: 01dfce1c3d10cb07d3b3d256703c56072e4c0b69)
    #22 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x142785)

  Previous read of size 4 at 0x7b60001ee50c by thread T43:
    #0 nsWindow::GetTitlebarRect() /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:7123:44 (libxul.so+0x87b9e81) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #1 mozilla::widget::GtkCompositorWidget::GetTransparentRegion() /builds/worker/checkouts/gecko/widget/gtk/GtkCompositorWidget.cpp:153:19 (libxul.so+0x87e04bc) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #2 mozilla::wr::RenderCompositorSWGL::AllocateMappedBuffer(mozilla::wr::Box2D<int, mozilla::wr::DevicePixel> const*, unsigned long) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderCompositorSWGL.cpp:155:42 (libxul.so+0x52cb6c6) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #3 mozilla::wr::RenderCompositorSWGL::StartCompositing(mozilla::wr::ColorF, mozilla::wr::Box2D<int, mozilla::wr::DevicePixel> const*, unsigned long, mozilla::wr::Box2D<int, mozilla::wr::DevicePixel> const*, unsigned long) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderCompositorSWGL.cpp:193:8 (libxul.so+0x52cc303) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #4 wr_compositor_start_compositing /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderCompositor.cpp:112:15 (libxul.so+0x52bf868) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #5 _$LT$webrender_bindings..bindings..WrCompositor$u20$as$u20$webrender..composite..Compositor$GT$::start_compositing::h1e78a070571e7155 /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:1383:13 (libxul.so+0xce51c42) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #6 _$LT$webrender..compositor..sw_compositor..SwCompositor$u20$as$u20$webrender..composite..Compositor$GT$::start_compositing::hf15e3edc8a922399 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/compositor/sw_compositor.rs:1435:9 (libxul.so+0xca89c48) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #7 webrender::renderer::_$LT$impl$u20$webrender..composite..CompositeState$GT$::composite_native::hc2d68a399fb086a6 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:6016:9 (libxul.so+0xcde1bbd) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #8 webrender::renderer::Renderer::draw_frame::h7f5a9ef0443d29e4 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:4604:17 (libxul.so+0xcde1bbd)
    #9 webrender::renderer::Renderer::render_impl::hd19228169503a072 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1523:17 (libxul.so+0xcdc6298) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #10 webrender::renderer::Renderer::render::h9fb82f3aa84961b1 /builds/worker/checkouts/gecko/gfx/wr/webrender/src/renderer/mod.rs:1240:30 (libxul.so+0xce477fa) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #11 wr_renderer_render /builds/worker/checkouts/gecko/gfx/webrender_bindings/src/bindings.rs:619:11 (libxul.so+0xce477fa)
    #12 mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, bool*, mozilla::wr::RendererStats*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RendererOGL.cpp:190:19 (libxul.so+0x52d82cf) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #13 mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, bool*, mozilla::wr::RendererStats*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RendererOGL.cpp:190:19 (libxul.so+0x52d82cf) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #14 mozilla::wr::RenderThread::UpdateAndRender(mozilla::wr::WrWindowId, mozilla::layers::BaseTransactionId<mozilla::VsyncIdType> const&, mozilla::TimeStamp const&, bool, mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>> const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char>> const&, bool*) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:781:31 (libxul.so+0x52d7131) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #15 mozilla::wr::RenderThread::HandleFrameOneDocInner(mozilla::wr::WrWindowId, bool, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:624:3 (libxul.so+0x52d6953) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #16 mozilla::wr::RenderThread::HandleFrameOneDoc(mozilla::wr::WrWindowId, bool, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:573:3 (libxul.so+0x52d5dd8) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #17 WrNotifierEvent_HandleNewFrameReady /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:534:3 (libxul.so+0x52d5a99) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #18 mozilla::wr::RenderThread::HandleWrNotifierEvents(mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:496:9 (libxul.so+0x52d5a99)
    #19 operator()<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId> &> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1164:18 (libxul.so+0x52e3acb) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #20 __invoke_impl<void, (lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1163:9), StoreCopyPassByConstLRef<mozilla::wr::WrWindowId> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:60:14 (libxul.so+0x52e3acb)
    #21 __invoke<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1163:9), StoreCopyPassByConstLRef<mozilla::wr::WrWindowId> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 (libxul.so+0x52e3acb)
    #22 __apply_impl<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1163:9), std::tuple<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId> > &, 0UL> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1678:14 (libxul.so+0x52e3acb)
    #23 apply<(lambda at /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1163:9), std::tuple<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId> > &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1687:14 (libxul.so+0x52e3acb)
    #24 apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1162:12 (libxul.so+0x52e3acb)
    #25 mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1213:13 (libxul.so+0x52e3acb)
    #26 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x3e0ee3c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #27 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3e151f6) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #28 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5 (libxul.so+0x4913aa9) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #29 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x488cf68) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #30 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x488cf68)
    #31 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x488cf68)
    #32 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10 (libxul.so+0x3e0a8b9) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #33 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4de89) (BuildId: ac5b7609f0c36fa43bb9e877db48c8c56eb2bf13)

  Location is heap block of size 1016 at 0x7b60001ee400 allocated by main thread:
    #0 malloc /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:692:5 (firefox-bin+0xb7ebc) (BuildId: 01dfce1c3d10cb07d3b3d256703c56072e4c0b69)
    #1 moz_xmalloc /builds/worker/checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15 (firefox-bin+0x144718) (BuildId: 01dfce1c3d10cb07d3b3d256703c56072e4c0b69)
    #2 operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10 (libxul.so+0x87be704) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #3 nsIWidget::CreateTopLevelWindow() /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:9486:32 (libxul.so+0x87be704)
    #4 mozilla::AppWindow::Initialize(nsIAppWindow*, nsIAppWindow*, int, int, bool, mozilla::widget::InitData&) /builds/worker/checkouts/gecko/xpfe/appshell/AppWindow.cpp:188:15 (libxul.so+0xa39f30c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #5 nsAppShellService::JustCreateTopWindow(nsIAppWindow*, nsIURI*, unsigned int, int, int, bool, mozilla::AppWindow**) /builds/worker/checkouts/gecko/xpfe/appshell/nsAppShellService.cpp:672:15 (libxul.so+0xa3af8e4) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #6 nsAppShellService::CreateTopLevelWindow(nsIAppWindow*, nsIURI*, unsigned int, int, int, nsIAppWindow**) /builds/worker/checkouts/gecko/xpfe/appshell/nsAppShellService.cpp:178:8 (libxul.so+0xa3b0019) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #7 nsAppStartup::CreateChromeWindow(nsIWebBrowserChrome*, unsigned int, nsIOpenWindowInfo*, bool*, nsIWebBrowserChrome**) /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:756:15 (libxul.so+0xa8ad153) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #8 non-virtual thunk to nsAppStartup::CreateChromeWindow(nsIWebBrowserChrome*, unsigned int, nsIOpenWindowInfo*, bool*, nsIWebBrowserChrome**) /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp (libxul.so+0xa8ad30f) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #9 nsWindowWatcher::CreateChromeWindow(nsIWebBrowserChrome*, unsigned int, nsIOpenWindowInfo*, nsIWebBrowserChrome**) /builds/worker/checkouts/gecko/toolkit/components/windowwatcher/nsWindowWatcher.cpp:439:33 (libxul.so+0xa9700e5) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #10 nsWindowWatcher::OpenWindowInternal(mozIDOMWindowProxy*, nsTSubstring<char> const&, nsTSubstring<char> const&, nsTSubstring<char> const&, bool, bool, bool, nsIArray*, bool, bool, bool, nsPIWindowWatcher::PrintKind, nsDocShellLoadState*, mozilla::dom::BrowsingContext**) /builds/worker/checkouts/gecko/toolkit/components/windowwatcher/nsWindowWatcher.cpp:1046:12 (libxul.so+0xa96f5ef) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #11 nsWindowWatcher::OpenWindow(mozIDOMWindowProxy*, nsTSubstring<char> const&, nsTSubstring<char> const&, nsTSubstring<char> const&, nsISupports*, mozIDOMWindowProxy**) /builds/worker/checkouts/gecko/toolkit/components/windowwatcher/nsWindowWatcher.cpp:295:3 (libxul.so+0xa96c294) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #12 NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101 (libxul.so+0x3e3b705) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #13 XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:966:10 (libxul.so+0x4a9e5d0) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #14 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486:13 (libxul.so+0xab880d9) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #15 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:580:12 (libxul.so+0xab880d9)
    #16 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xab98a3c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #17 CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:652:10 (libxul.so+0xab98a3c)
    #18 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3395:16 (libxul.so+0xab98a3c)
    #19 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 (libxul.so+0xab8773c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #20 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 (libxul.so+0xab8773c)
    #21 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 (libxul.so+0xab881a9) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #22 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xab88d67) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #23 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:679:8 (libxul.so+0xab88d67)
    #24 JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:55:10 (libxul.so+0xac2a9c3) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #25 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:918:17 (libxul.so+0x4a945a4) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #26 PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 (libxul.so+0x3e3c6b7) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #27 SharedStub xptcstubs_x86_64_linux.cpp (libxul.so+0x3e3ba02) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #28 nsCommandLine::EnumerateHandlers(nsresult (*)(nsICommandLineHandler*, nsICommandLine*, void*), void*) /builds/worker/checkouts/gecko/toolkit/components/commandlines/nsCommandLine.cpp:462:10 (libxul.so+0xa711c30) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #29 nsCommandLine::Run() /builds/worker/checkouts/gecko/toolkit/components/commandlines/nsCommandLine.cpp:517:8 (libxul.so+0xa712311) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #30 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5577:21 (libxul.so+0xa9eb569) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #31 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5874:8 (libxul.so+0xa9ec59e) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #32 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5930:21 (libxul.so+0xa9ecc71) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #33 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xa9fbd62) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #34 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x142785) (BuildId: 01dfce1c3d10cb07d3b3d256703c56072e4c0b69)
    #35 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x142785)

  Thread T43 'Renderer' (tid=70222, running) created by main thread at:
    #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1048:3 (firefox-bin+0xb9beb) (BuildId: 01dfce1c3d10cb07d3b3d256703c56072e4c0b69)
    #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x4509e) (BuildId: ac5b7609f0c36fa43bb9e877db48c8c56eb2bf13)
    #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x3a124) (BuildId: ac5b7609f0c36fa43bb9e877db48c8c56eb2bf13)
    #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:634:18 (libxul.so+0x3e0c185) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:550:12 (libxul.so+0x3e13e02) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 (libxul.so+0x3e1c7f6) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #6 NS_NewNamedThread<9UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:76:10 (libxul.so+0x52d22cf) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #7 mozilla::wr::RenderThread::Start(unsigned int) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:122:17 (libxul.so+0x52d22cf)
    #8 gfxPlatform::InitLayersIPC() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:1317:7 (libxul.so+0x514392f) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #9 gfxPlatform::Init() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:974:3 (libxul.so+0x514118f) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #10 GetPlatform /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:464:5 (libxul.so+0x514354c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #11 gfxPlatform::InitializeCMS() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:2109:9 (libxul.so+0x514354c)
    #12 EnsureCMSInitialized /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:968:7 (libxul.so+0x876c75a) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #13 GetCMSMode /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:519:5 (libxul.so+0x876c75a)
    #14 nsXPLookAndFeel::GetUncachedColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:985:9 (libxul.so+0x876c75a)
    #15 nsXPLookAndFeel::GetColorValue(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins, unsigned int&) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:965:17 (libxul.so+0x876c32c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #16 mozilla::LookAndFeel::GetColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1409:47 (libxul.so+0x876e736) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #17 Color /builds/worker/workspace/obj-build/dist/include/mozilla/LookAndFeel.h:422:12 (libxul.so+0x8722d5b) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #18 GetAccentColor /builds/worker/checkouts/gecko/widget/ThemeColors.cpp:91:7 (libxul.so+0x8722d5b)
    #19 mozilla::widget::ThemeColors::RecomputeAccentColors() /builds/worker/checkouts/gecko/widget/ThemeColors.cpp:195:20 (libxul.so+0x8722d5b)
    #20 mozilla::widget::Theme::LookAndFeelChanged() /builds/worker/checkouts/gecko/widget/Theme.cpp:183:3 (libxul.so+0x8722b67) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #21 mozilla::widget::Theme::Init() /builds/worker/checkouts/gecko/widget/Theme.cpp:172:3 (libxul.so+0x8722b0a) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #22 nsXPLookAndFeel::GetInstance() /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:398:3 (libxul.so+0x876b239) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #23 mozilla::LookAndFeel::GetThemeInfo(nsTSubstring<char>&) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1522:3 (libxul.so+0x876ecd5) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #24 nsSystemInfo::Init() /builds/worker/checkouts/gecko/xpcom/base/nsSystemInfo.cpp:1088:5 (libxul.so+0x3d40201) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #25 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:11062:7 (libxul.so+0x3dc728f) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #26 mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:12964:10 (libxul.so+0x3dd0d8a) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #27 CreateInstance /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:188:46 (libxul.so+0x3ddb987) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #28 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:982:17 (libxul.so+0x3ddb987)
    #29 nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:1072:10 (libxul.so+0x3ddbf13) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #30 mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:13106:50 (libxul.so+0x3dd1cf8) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #31 assign_from_helper /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:897:7 (libxul.so+0x4a770ff) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #32 nsCOMPtr /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:533:5 (libxul.so+0x4a770ff)
    #33 GetServiceImpl /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:83:32 (libxul.so+0x4a770ff)
    #34 GetService /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:130:8 (libxul.so+0x4a770ff)
    #35 xpc::Services_Resolve(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, bool*) /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:153:25 (libxul.so+0x4a770ff)
    #36 CallResolveOp /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:681:8 (libxul.so+0xad40334) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #37 NativeLookupOwnPropertyInline<(js::AllowGC)1, (js::LookupResolveMode)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:793:14 (libxul.so+0xad40334)
    #38 NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2227:10 (libxul.so+0xad40334)
    #39 js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2275:10 (libxul.so+0xad40334)
    #40 GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:117:10 (libxul.so+0xaba849b) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #41 GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:124:10 (libxul.so+0xaba849b)
    #42 js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:4787:10 (libxul.so+0xaba849b)
    #43 GetPropertyOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:245:10 (libxul.so+0xab9504d) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #44 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3050:12 (libxul.so+0xab9504d)
    #45 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 (libxul.so+0xab8773c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #46 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 (libxul.so+0xab8773c)
    #47 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 (libxul.so+0xab881a9) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #48 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xab88d67) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #49 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:679:8 (libxul.so+0xab88d67)
    #50 js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:801:10 (libxul.so+0xab89a4f) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #51 CallGetter /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2068:12 (libxul.so+0xad40901) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #52 GetExistingProperty<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2096:12 (libxul.so+0xad40901)
    #53 NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2244:14 (libxul.so+0xad40901)
    #54 js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2275:10 (libxul.so+0xad40901)
    #55 GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:117:10 (libxul.so+0xaba849b) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #56 GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:124:10 (libxul.so+0xaba849b)
    #57 js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:4787:10 (libxul.so+0xaba849b)
    #58 GetPropertyOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:245:10 (libxul.so+0xab9504d) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #59 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3050:12 (libxul.so+0xab9504d)
    #60 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 (libxul.so+0xab8773c) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #61 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 (libxul.so+0xab8773c)
    #62 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 (libxul.so+0xab881a9) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #63 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xab88d67) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #64 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:679:8 (libxul.so+0xab88d67)
    #65 JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:55:10 (libxul.so+0xac2a9c3) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #66 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:918:17 (libxul.so+0x4a945a4) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #67 PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 (libxul.so+0x3e3c6b7) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #68 SharedStub xptcstubs_x86_64_linux.cpp (libxul.so+0x3e3ba02) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #69 nsXREDirProvider::DoStartup() /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:830:11 (libxul.so+0xa9fa9b5) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #70 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5418:18 (libxul.so+0xa9eb2e9) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #71 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5874:8 (libxul.so+0xa9ec59e) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #72 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5930:21 (libxul.so+0xa9ecc71) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #73 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xa9fbd62) (BuildId: d3415e74b390171db614de2655e0e55e1baa0ea9)
    #74 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x142785) (BuildId: 01dfce1c3d10cb07d3b3d256703c56072e4c0b69)
    #75 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x142785)
Flags: needinfo?(stransky)
Blocks: tsan
Flags: needinfo?(stransky)
See Also: → 1880323
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.