Open
Bug 1745805
Opened 3 years ago
Updated 3 years ago
ThreadSanitizer: data race [@mozilla::gfx::SourceSurfaceSharedData::CloseHandleInternal vs @MakeCurrent]
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox97 | --- | affected |
People
(Reporter: tsmith, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: csectype-race)
This is seen frequently during startup. I am running m-c 20211213-0afa754df085 on Ubuntu 20.04 in a VM.
WARNING: ThreadSanitizer: data race (pid=166219)
Write of size 8 at 0x7ba0000004f0 by main thread (mutexes: write M1123502026603024184):
#0 close /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1733:3 (firefox+0x5e003)
#1 mozilla::detail::FileHandleDeleter::operator()(mozilla::detail::FileHandleHelper) src/mfbt/UniquePtrExtensions.cpp:28:10 (firefox+0x194958)
#2 reset /builds/worker/workspace/obj-build/dist/include/mozilla/UniquePtr.h:305:7 (libxul.so+0x187b0cc)
#3 operator= /builds/worker/workspace/obj-build/dist/include/mozilla/UniquePtr.h:275:5 (libxul.so+0x187b0cc)
#4 base::SharedMemory::Close(bool) src/ipc/chromium/src/base/shared_memory_posix.cc:545:16 (libxul.so+0x187b0cc)
#5 CloseHandle /builds/worker/workspace/obj-build/dist/include/mozilla/ipc/SharedMemoryBasic_chromium.h:55:55 (libxul.so+0x2351f63)
#6 mozilla::gfx::SourceSurfaceSharedData::CloseHandleInternal() src/gfx/layers/SourceSurfaceSharedData.cpp:225:11 (libxul.so+0x2351f63)
#7 UnlockHandle /builds/worker/workspace/obj-build/dist/include/mozilla/layers/SourceSurfaceSharedData.h:310:5 (libxul.so+0x244b459)
#8 ~HandleLock /builds/worker/workspace/obj-build/dist/include/mozilla/layers/SourceSurfaceSharedData.h:288:31 (libxul.so+0x244b459)
#9 mozilla::layers::SharedSurfacesChild::ShareInternal(mozilla::gfx::SourceSurfaceSharedData*, mozilla::layers::SharedSurfacesChild::SharedUserData**) src/gfx/layers/ipc/SharedSurfacesChild.cpp:250:1 (libxul.so+0x244b459)
#10 mozilla::layers::SharedSurfacesChild::Share(mozilla::gfx::SourceSurfaceSharedData*) src/gfx/layers/ipc/SharedSurfacesChild.cpp:282:3 (libxul.so+0x244bb24)
#11 mozilla::gfx::SourceSurfaceSharedData::Init(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, int, mozilla::gfx::SurfaceFormat, bool) src/gfx/layers/SourceSurfaceSharedData.cpp:163:5 (libxul.so+0x2351c34)
#12 mozilla::image::AllocateBufferForImage(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::SurfaceFormat, bool) src/image/imgFrame.cpp:64:17 (libxul.so+0x26961a8)
#13 mozilla::image::imgFrame::InitWithDrawable(gfxDrawable*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::SurfaceFormat, mozilla::gfx::SamplingFilter, unsigned int, mozilla::gfx::BackendType) src/image/imgFrame.cpp:315:19 (libxul.so+0x269657b)
#14 mozilla::image::VectorImage::GetImageProvider(mozilla::WindowRenderer*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::Maybe<mozilla::SVGImageContext> const&, mozilla::Maybe<mozilla::image::ImageIntRegion> const&, unsigned int, mozilla::image::WebRenderImageProvider**) src/image/VectorImage.cpp:882:26 (libxul.so+0x26880a3)
#15 nsImageBoxFrame::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, mozilla::layers::StackingContextHelper const&, mozilla::layers::RenderRootStateManager*, mozilla::nsDisplayItem*, nsPoint, unsigned int) src/layout/xul/nsImageBoxFrame.cpp:434:15 (libxul.so+0x56fe4ba)
#16 mozilla::nsDisplayXULImage::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, mozilla::layers::StackingContextHelper const&, mozilla::layers::RenderRootStateManager*, mozilla::nsDisplayListBuilder*) src/layout/xul/nsImageBoxFrame.cpp:540:38 (libxul.so+0x56fe86c)
#17 mozilla::layers::WebRenderCommandBuilder::CreateWebRenderCommands(mozilla::nsDisplayItem*, mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, mozilla::layers::StackingContextHelper const&, mozilla::nsDisplayListBuilder*) src/gfx/layers/wr/WebRenderCommandBuilder.cpp:1655:41 (libxul.so+0x24bcc48)
#18 mozilla::layers::WebRenderCommandBuilder::CreateWebRenderCommandsFromDisplayList(mozilla::nsDisplayList*, mozilla::nsDisplayItem*, mozilla::nsDisplayListBuilder*, mozilla::layers::StackingContextHelper const&, mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, bool) src/gfx/layers/wr/WebRenderCommandBuilder.cpp:1815:7 (libxul.so+0x24bbe99)
#19 mozilla::nsDisplayOpacity::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, mozilla::layers::StackingContextHelper const&, mozilla::layers::RenderRootStateManager*, mozilla::nsDisplayListBuilder*) src/layout/painting/nsDisplayList.cpp:5006:30 (libxul.so+0x57faacd)
#20 mozilla::layers::WebRenderCommandBuilder::CreateWebRenderCommands(mozilla::nsDisplayItem*, mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, mozilla::layers::StackingContextHelper const&, mozilla::nsDisplayListBuilder*) src/gfx/layers/wr/WebRenderCommandBuilder.cpp:1655:41 (libxul.so+0x24bcc48)
#21 mozilla::layers::WebRenderCommandBuilder::CreateWebRenderCommandsFromDisplayList(mozilla::nsDisplayList*, mozilla::nsDisplayItem*, mozilla::nsDisplayListBuilder*, mozilla::layers::StackingContextHelper const&, mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, bool) src/gfx/layers/wr/WebRenderCommandBuilder.cpp:1815:7 (libxul.so+0x24bbe99)
#22 mozilla::layers::WebRenderCommandBuilder::BuildWebRenderCommands(mozilla::wr::DisplayListBuilder&, mozilla::wr::IpcResourceUpdateQueue&, mozilla::nsDisplayList*, mozilla::nsDisplayListBuilder*, mozilla::layers::WebRenderScrollData&, WrFiltersHolder&&) src/gfx/layers/wr/WebRenderCommandBuilder.cpp:1576:5 (libxul.so+0x24ba648)
#23 mozilla::layers::WebRenderLayerManager::EndTransactionWithoutLayer(mozilla::nsDisplayList*, mozilla::nsDisplayListBuilder*, WrFiltersHolder&&, mozilla::layers::WebRenderBackgroundData*, double) src/gfx/layers/wr/WebRenderLayerManager.cpp:362:30 (libxul.so+0x24c8e3d)
#24 mozilla::nsDisplayList::PaintRoot(mozilla::nsDisplayListBuilder*, gfxContext*, unsigned int, mozilla::Maybe<double>) src/layout/painting/nsDisplayList.cpp:2230:18 (libxul.so+0x57e69e8)
#25 nsLayoutUtils::PaintFrame(gfxContext*, nsIFrame*, nsRegion const&, unsigned int, mozilla::nsDisplayListBuilderMode, nsLayoutUtils::PaintFrameFlags) src/layout/base/nsLayoutUtils.cpp:3431:9 (libxul.so+0x541fc93)
#26 mozilla::PresShell::PaintInternal(nsView*, mozilla::PaintInternalFlags) src/layout/base/PresShell.cpp:6450:5 (libxul.so+0x539f687)
#27 mozilla::PresShell::PaintAndRequestComposite(nsView*, mozilla::PaintFlags) src/layout/base/PresShell.cpp:6321:3 (libxul.so+0x539ef54)
#28 nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) src/view/nsViewManager.cpp:440:18 (libxul.so+0x4ff2dac)
#29 nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) src/view/nsViewManager.cpp:375:22 (libxul.so+0x4ff285a)
#30 nsViewManager::ProcessPendingUpdates() src/view/nsViewManager.cpp:948:5 (libxul.so+0x4ff4209)
#31 nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsRefreshDriver::IsExtraTick) src/layout/base/nsRefreshDriver.cpp:2543:11 (libxul.so+0x535529f)
#32 TickDriver src/layout/base/nsRefreshDriver.cpp:351:13 (libxul.so+0x535d6f9)
#33 mozilla::RefreshDriverTimer::TickRefreshDrivers(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&) src/layout/base/nsRefreshDriver.cpp:329:7 (libxul.so+0x535d6f9)
#34 mozilla::RefreshDriverTimer::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:345:5 (libxul.so+0x535d4f6)
#35 mozilla::VsyncRefreshDriverTimer::RunRefreshDrivers(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:783:5 (libxul.so+0x535d2de)
#36 mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:706:16 (libxul.so+0x535cc07)
#37 mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyParentProcessVsync() src/layout/base/nsRefreshDriver.cpp:623:7 (libxul.so+0x535c4e0)
#38 mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::ParentProcessVsyncNotifier::Run() src/layout/base/nsRefreshDriver.cpp:513:20 (libxul.so+0x535b088)
#39 mozilla::RunnableTask::Run() src/xpcom/threads/TaskController.cpp:468:16 (libxul.so+0xf915c7)
#40 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) src/xpcom/threads/TaskController.cpp:771:26 (libxul.so+0xf6ca2d)
#41 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) src/xpcom/threads/TaskController.cpp:607:15 (libxul.so+0xf6b106)
#42 mozilla::TaskController::ProcessPendingMTTask(bool) src/xpcom/threads/TaskController.cpp:391:36 (libxul.so+0xf6b3e2)
#43 operator() src/xpcom/threads/TaskController.cpp:124:37 (libxul.so+0xf95327)
#44 mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() src/xpcom/threads/nsThreadUtils.h:531:5 (libxul.so+0xf95327)
#45 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1183:16 (libxul.so+0xf7f2e3)
#46 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:467:10 (libxul.so+0xf86032)
#47 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x18f797d)
#48 RunInternal src/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x1871c3c)
#49 RunHandler src/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x1871c3c)
#50 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x1871c3c)
#51 nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27 (libxul.so+0x5047ac6)
#52 nsAppStartup::Run() src/toolkit/components/startup/nsAppStartup.cpp:295:30 (libxul.so+0x6f226e8)
#53 XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:5310:22 (libxul.so+0x703f4df)
#54 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5495:8 (libxul.so+0x7040366)
#55 XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5554:21 (libxul.so+0x7040934)
#56 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x704b282)
#57 do_main src/browser/app/nsBrowserApp.cpp:225:22 (firefox+0xcf494)
#58 main src/browser/app/nsBrowserApp.cpp:395:16 (firefox+0xcf494)
Previous read of size 8 at 0x7ba0000004f0 by thread T25 (mutexes: write M818383461085939464):
#0 mmap /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:7385:3 (firefox+0x87b03)
#1 xshmfence_map_shm <null> (libxshmfence.so.1+0xb0e)
#2 MakeCurrent src/gfx/gl/GLContext.cpp:2436:8 (libxul.so+0x22e0509)
#3 mozilla::gl::GLContextEGL::SetEGLSurfaceOverride(void*) src/gfx/gl/GLContextProviderEGL.cpp:449:24 (libxul.so+0x22e0509)
#4 mozilla::wr::RenderCompositorEGL::MakeCurrent() src/gfx/webrender_bindings/RenderCompositorEGL.cpp:204:8 (libxul.so+0x261dde2)
#5 mozilla::wr::RenderCompositorEGL::Resume() src/gfx/webrender_bindings/RenderCompositorEGL.cpp:187:7 (libxul.so+0x261d9c6)
#6 Resume src/gfx/webrender_bindings/RendererOGL.cpp:282:50 (libxul.so+0x26314b3)
#7 mozilla::wr::RenderThread::Resume(mozilla::wr::WrWindowId) src/gfx/webrender_bindings/RenderThread.cpp:592:20 (libxul.so+0x26314b3)
#8 mozilla::wr::WebRenderAPI::Resume()::ResumeEvent::Run(mozilla::wr::RenderThread&, mozilla::wr::WrWindowId) src/gfx/webrender_bindings/WebRenderAPI.cpp:620:32 (libxul.so+0x2649e47)
#9 mozilla::wr::RenderThread::RunEvent(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >) src/gfx/webrender_bindings/RenderThread.cpp:441:11 (libxul.so+0x26307ca)
#10 applyImpl<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >), StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>, StoreCopyPassByRRef<mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> > > , 0UL, 1UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1147:12 (libxul.so+0x263ba13)
#11 apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1153:12 (libxul.so+0x263ba13)
#12 mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >&&>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1200:13 (libxul.so+0x263ba13)
#13 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1177:16 (libxul.so+0xf7f503)
#14 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:467:10 (libxul.so+0xf86032)
#15 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:330:5 (libxul.so+0x18f8588)
#16 RunInternal src/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x1871c3c)
#17 RunHandler src/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x1871c3c)
#18 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x1871c3c)
#19 nsThread::ThreadFunc(void*) src/xpcom/threads/nsThread.cpp:391:10 (libxul.so+0xf7b5f5)
#20 _pt_root src/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x44fbd)
Location is file descriptor 79 created by main thread at:
[failed to restore the stack]
Mutex M1123502026603024184 is already destroyed.
Mutex M818383461085939464 is already destroyed.
Thread T25 'Renderer' (tid=166257, running) created by main thread at:
#0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:977:3 (firefox+0x5919d)
#1 _PR_CreateThread src/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x3c1a5)
#2 PR_CreateThread src/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x30cf5)
#3 nsThread::Init(nsTSubstring<char> const&) src/xpcom/threads/nsThread.cpp:615:18 (libxul.so+0xf7cc45)
#4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) src/xpcom/threads/nsThreadManager.cpp:581:12 (libxul.so+0xf851a8)
#5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, unsigned int) src/xpcom/threads/nsThreadUtils.cpp:163:57 (libxul.so+0xf8cf64)
#6 NS_NewNamedThread<9UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:74:10 (libxul.so+0x262c2fe)
#7 mozilla::wr::RenderThread::Start() src/gfx/webrender_bindings/RenderThread.cpp:92:17 (libxul.so+0x262c2fe)
#8 InitLayersIPC src/gfx/thebes/gfxPlatform.cpp:1290:7 (libxul.so+0x24fd29a)
#9 gfxPlatform::Init() src/gfx/thebes/gfxPlatform.cpp:956:3 (libxul.so+0x24fd29a)
#10 GetPlatform src/gfx/thebes/gfxPlatform.cpp:466:5 (libxul.so+0x24fe677)
#11 gfxPlatform::InitializeCMS() src/gfx/thebes/gfxPlatform.cpp:2083:9 (libxul.so+0x24fe677)
#12 EnsureCMSInitialized /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:952:7 (libxul.so+0x50761be)
#13 GetCMSMode /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:521:5 (libxul.so+0x50761be)
#14 nsXPLookAndFeel::GetColorValue(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins, unsigned int&) src/widget/nsXPLookAndFeel.cpp:867:9 (libxul.so+0x50761be)
#15 mozilla::LookAndFeel::GetColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) src/widget/nsXPLookAndFeel.cpp:1202:47 (libxul.so+0x5077996)
#16 Color /builds/worker/workspace/obj-build/dist/include/mozilla/LookAndFeel.h:450:12 (libxul.so+0x503eae8)
#17 ThemedAccentColor src/widget/ThemeColors.cpp:89:37 (libxul.so+0x503eae8)
#18 mozilla::widget::ThemeColors::RecomputeAccentColors() src/widget/ThemeColors.cpp:170:20 (libxul.so+0x503eae8)
#19 LookAndFeelChanged src/widget/nsNativeBasicTheme.cpp:123:3 (libxul.so+0x5052ec2)
#20 nsNativeBasicTheme::Init() src/widget/nsNativeBasicTheme.cpp:112:3 (libxul.so+0x5052ec2)
#21 nsXPLookAndFeel::GetInstance() src/widget/nsXPLookAndFeel.cpp:359:3 (libxul.so+0x507529c)
#22 mozilla::LookAndFeel::GetThemeInfo(nsTSubstring<char>&) src/widget/nsXPLookAndFeel.cpp:1319:3 (libxul.so+0x5077e88)
#23 nsSystemInfo::Init() src/xpcom/base/nsSystemInfo.cpp:1047:5 (libxul.so+0xebb5bd)
#24 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsISupports*, nsID const&, void**) /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:9175:7 (libxul.so+0xf45ab2)
#25 mozilla::xpcom::StaticModule::CreateInstance(nsISupports*, nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:12163:10 (libxul.so+0xf3dfb3)
#26 CreateInstance src/xpcom/components/nsComponentManager.cpp:177:46 (libxul.so+0xf55318)
#27 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::MonitorAutoLock>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) src/xpcom/components/nsComponentManager.cpp:1276:17 (libxul.so+0xf55318)
#28 nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) src/xpcom/components/nsComponentManager.cpp:1366:10 (libxul.so+0xf558b0)
#29 mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:12282:50 (libxul.so+0xf481da)
#30 nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&) src/xpcom/base/nsCOMPtr.cpp:109:7 (libxul.so+0xe932af)
#31 nsCOMPtr /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:999:5 (libxul.so+0x1f4cbb5)
#32 GetServiceImpl src/js/xpconnect/src/JSServices.cpp:84:32 (libxul.so+0x1f4cbb5)
#33 GetService src/js/xpconnect/src/JSServices.cpp:131:8 (libxul.so+0x1f4cbb5)
#34 xpc::Services_Resolve(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, bool*) src/js/xpconnect/src/JSServices.cpp:154:25 (libxul.so+0x1f4cbb5)
#35 CallResolveOp src/js/src/vm/NativeObject-inl.h:634:8 (libxul.so+0x741db5a)
#36 NativeLookupOwnPropertyInline<js::CanGC, js::LookupResolveMode::CheckResolve> src/js/src/vm/NativeObject-inl.h:751:14 (libxul.so+0x741db5a)
#37 NativeGetPropertyInline<js::CanGC> src/js/src/vm/NativeObject.cpp:2116:10 (libxul.so+0x741db5a)
#38 js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) src/js/src/vm/NativeObject.cpp:2164:10 (libxul.so+0x741db5a)
#39 GetProperty src/js/src/vm/ObjectOperations-inl.h:115:10 (libxul.so+0x7183e4f)
#40 GetProperty src/js/src/vm/ObjectOperations-inl.h:122:10 (libxul.so+0x7183e4f)
#41 js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) src/js/src/vm/Interpreter.cpp:4552:10 (libxul.so+0x7183e4f)
#42 GetPropertyOperation src/js/src/vm/Interpreter.cpp:204:10 (libxul.so+0x71719a5)
#43 Interpret(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:2907:12 (libxul.so+0x71719a5)
#44 js::RunScript(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:357:13 (libxul.so+0x7168a26)
#45 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) src/js/src/vm/Interpreter.cpp:507:13 (libxul.so+0x717f3d9)
#46 InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) src/js/src/vm/Interpreter.cpp:535:10 (libxul.so+0x718028e)
#47 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) src/js/src/vm/Interpreter.cpp:552:8 (libxul.so+0x718036a)
#48 JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) src/js/src/vm/CallAndConstruct.cpp:53:10 (libxul.so+0x72b00a1)
#49 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) src/js/xpconnect/src/XPCWrappedJSClass.cpp:973:17 (libxul.so+0x1f68fea)
#50 PrepareAndDispatch src/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 (libxul.so+0xfaea33)
#51 SharedStub xptcstubs_x86_64_linux.cpp (libxul.so+0xfadd72)
#52 nsXREDirProvider::DoStartup() src/toolkit/xre/nsXREDirProvider.cpp:978:11 (libxul.so+0x7050c4e)
#53 XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:5045:18 (libxul.so+0x703ef35)
#54 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5495:8 (libxul.so+0x7040366)
#55 XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5554:21 (libxul.so+0x7040934)
#56 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x704b282)
#57 do_main src/browser/app/nsBrowserApp.cpp:225:22 (firefox+0xcf494)
#58 main src/browser/app/nsBrowserApp.cpp:395:16 (firefox+0xcf494)
Comment 1•3 years ago
|
||
Could bug 1743551 be related?
Comment 2•3 years ago
|
||
(In reply to Darkspirit from comment #1)
Could bug 1743551 be related?
Not related, but this looks like a fairly strange race between the EGL code and the shmem code...
Comment 3•3 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(jmathies)
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•