Closed Bug 1712186 Opened 3 years ago Closed 3 years ago

Intermittent SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so+0x665852)

Categories

(Core :: Graphics, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1601600

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=340336064&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bHP5Hs00QFSkkIjD6BpP8Q/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bHP5Hs00QFSkkIjD6BpP8Q/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2021-05-20T17:21:04.802Z] 17:21:04     INFO - ==================
[task 2021-05-20T17:21:04.803Z] 17:21:04     INFO - WARNING: ThreadSanitizer: data race (pid=4970)
[task 2021-05-20T17:21:04.804Z] 17:21:04     INFO -   Read of size 8 at 0x7bcc000edc40 by thread T30 (mutexes: write M431918197804436192):
[task 2021-05-20T17:21:04.805Z] 17:21:04     INFO -     #0 memcpy /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:810:5 (firefox+0x618be)
[task 2021-05-20T17:21:04.806Z] 17:21:04     INFO -     #1 <null> <null> (swrast_dri.so+0x665852)
[task 2021-05-20T17:21:04.807Z] 17:21:04     INFO -     #2 TexImage2DHelper /builds/worker/checkouts/gecko/gfx/gl/GLUploadHelpers.cpp:322:9 (libxul.so+0x1e0bc47)
[task 2021-05-20T17:21:04.808Z] 17:21:04     INFO -     #3 mozilla::gl::UploadImageDataToTexture(mozilla::gl::GLContext*, unsigned char*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, int, mozilla::gfx::SurfaceFormat, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, unsigned int, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, unsigned long*, bool, unsigned int, unsigned int) /builds/worker/checkouts/gecko/gfx/gl/GLUploadHelpers.cpp:448:5 (libxul.so+0x1e0bc47)
[task 2021-05-20T17:21:04.808Z] 17:21:04     INFO -     #4 mozilla::gl::UploadSurfaceToTexture(mozilla::gl::GLContext*, mozilla::gfx::DataSourceSurface*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, unsigned int, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, unsigned long*, bool, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits> const&, unsigned int, unsigned int) /builds/worker/checkouts/gecko/gfx/gl/GLUploadHelpers.cpp:495:10 (libxul.so+0x1e0943d)
[task 2021-05-20T17:21:04.808Z] 17:21:04     INFO -     #5 mozilla::gl::BasicTextureImage::DirectUpdate(mozilla::gfx::DataSourceSurface*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits> const&) /builds/worker/checkouts/gecko/gfx/gl/GLTextureImage.cpp:127:20 (libxul.so+0x1e090ed)
[task 2021-05-20T17:21:04.808Z] 17:21:04     INFO -     #6 mozilla::gl::TextureImage::UpdateFromDataSource(mozilla::gfx::DataSourceSurface*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const*, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits> const*) /builds/worker/checkouts/gecko/gfx/gl/GLTextureImage.cpp:75:10 (libxul.so+0x1e085f9)
[task 2021-05-20T17:21:04.809Z] 17:21:04     INFO -     #7 mozilla::layers::TextureImageTextureSourceOGL::Update(mozilla::gfx::DataSourceSurface*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits>*, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits>*) /builds/worker/checkouts/gecko/gfx/layers/opengl/TextureHostOGL.cpp:216:21 (libxul.so+0x1f229f4)
[task 2021-05-20T17:21:04.809Z] 17:21:04     INFO -     #8 mozilla::layers::BufferTextureHost::Upload(mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits>*) /builds/worker/checkouts/gecko/gfx/layers/composite/TextureHost.cpp:1177:24 (libxul.so+0x20ae857)
[task 2021-05-20T17:21:04.809Z] 17:21:04     INFO -     #9 MaybeUpload /builds/worker/checkouts/gecko/gfx/layers/composite/TextureHost.cpp:1046:8 (libxul.so+0x20ac000)
[task 2021-05-20T17:21:04.809Z] 17:21:04     INFO -     #10 mozilla::layers::BufferTextureHost::UpdatedInternal(mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const*) /builds/worker/checkouts/gecko/gfx/layers/composite/TextureHost.cpp:601:9 (libxul.so+0x20ac000)
[task 2021-05-20T17:21:04.809Z] 17:21:04     INFO -     #11 mozilla::layers::TextureHost::Updated(mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const*) /builds/worker/checkouts/gecko/gfx/layers/composite/TextureHost.cpp:536:3 (libxul.so+0x20ab895)
[task 2021-05-20T17:21:04.809Z] 17:21:04     INFO -     #12 mozilla::layers::ContentHostSingleBuffered::UpdateThebes(mozilla::layers::ThebesBufferData const&, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&) /builds/worker/checkouts/gecko/gfx/layers/composite/ContentHost.cpp:371:26 (libxul.so+0x2078167)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #13 mozilla::layers::CompositableParentManager::ReceiveCompositableUpdate(mozilla::layers::CompositableOperationDetail const&, mozilla::NotNull<mozilla::layers::CompositableHost*>) /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositableTransactionParent.cpp:104:27 (libxul.so+0x20c8b3f)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #14 ReceiveCompositableUpdate /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositableTransactionParent.cpp:74:10 (libxul.so+0x20f7ffb)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #15 mozilla::layers::LayerTransactionParent::RecvUpdate(mozilla::layers::TransactionInfo const&) /builds/worker/checkouts/gecko/gfx/layers/ipc/LayerTransactionParent.cpp:438:10 (libxul.so+0x20f7ffb)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #16 mozilla::layers::PLayerTransactionParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PLayerTransactionParent.cpp:132:66 (libxul.so+0x1741e9e)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #17 mozilla::layers::PCompositorManagerParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PCompositorManagerParent.cpp:200:32 (libxul.so+0x159dd74)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #18 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2155:25 (libxul.so+0x14a8261)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #19 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2079:9 (libxul.so+0x14a65e5)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #20 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1924:3 (libxul.so+0x14a71ea)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #21 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1955:13 (libxul.so+0x14a77f1)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #22 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1153:16 (libxul.so+0xbdcddf)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #23 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:548:10 (libxul.so+0xbe3a82)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #24 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5 (libxul.so+0x14ac6c8)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #25 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:335:10 (libxul.so+0x1435d1c)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #26 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:328:3 (libxul.so+0x1435d1c)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #27 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:310:3 (libxul.so+0x1435d1c)
[task 2021-05-20T17:21:04.820Z] 17:21:04     INFO -     #28 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:395:10 (libxul.so+0xbd9488)
[task 2021-05-20T17:21:04.822Z] 17:21:04     INFO -     #29 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x44c06)
[task 2021-05-20T17:21:04.823Z] 17:21:04     INFO -   Previous write of size 8 at 0x7bcc000edc40 by main thread:
[task 2021-05-20T17:21:04.824Z] 17:21:04     INFO -     [failed to restore the stack]
[task 2021-05-20T17:21:04.825Z] 17:21:04     INFO -   Location is heap block of size 112640 at 0x7bcc000e0000 allocated by main thread:
[task 2021-05-20T17:21:04.825Z] 17:21:04     INFO -     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:651:5 (firefox+0x55fbb)
[task 2021-05-20T17:21:04.826Z] 17:21:04     INFO -     #1 operator new[] /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:47:10 (libxul.so+0x1e87085)
[task 2021-05-20T17:21:04.826Z] 17:21:04     INFO -     #2 mozilla::layers::MemoryTextureData::Create(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, mozilla::gfx::SurfaceFormat, mozilla::gfx::BackendType, mozilla::layers::LayersBackend, mozilla::layers::TextureFlags, mozilla::layers::TextureAllocationFlags, mozilla::ipc::IShmemAllocator*) /builds/worker/checkouts/gecko/gfx/layers/BufferTexture.cpp:469:18 (libxul.so+0x1e87085)
[task 2021-05-20T17:21:04.827Z] 17:21:04     INFO -     #3 mozilla::layers::MemoryTextureData::CreateSimilar(mozilla::layers::LayersIPCChannel*, mozilla::layers::LayersBackend, mozilla::layers::TextureFlags, mozilla::layers::TextureAllocationFlags) const /builds/worker/checkouts/gecko/gfx/layers/BufferTexture.cpp:495:10 (libxul.so+0x1e89493)
[task 2021-05-20T17:21:04.828Z] 17:21:04     INFO -     #4 mozilla::layers::TextureClient::CreateSimilar(mozilla::layers::LayersBackend, mozilla::layers::TextureFlags, mozilla::layers::TextureAllocationFlags) const /builds/worker/checkouts/gecko/gfx/layers/client/TextureClient.cpp:815:14 (libxul.so+0x1e565e5)
[task 2021-05-20T17:21:04.830Z] 17:21:04     INFO -     #5 mozilla::layers::ContentClientRemoteBuffer::CreateBufferInternal(mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::SurfaceFormat, mozilla::layers::TextureFlags) /builds/worker/checkouts/gecko/gfx/layers/client/ContentClient.cpp:671:24 (libxul.so+0x204d6c4)
[task 2021-05-20T17:21:04.830Z] 17:21:04     INFO -     #6 mozilla::layers::ContentClientRemoteBuffer::CreateBuffer(gfxContentType, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, unsigned int) /builds/worker/checkouts/gecko/gfx/layers/client/ContentClient.cpp:636:7 (libxul.so+0x204d4d8)
[task 2021-05-20T17:21:04.831Z] 17:21:04     INFO -     #7 mozilla::layers::ContentClient::BeginPaint(mozilla::layers::PaintedLayer*, unsigned int) /builds/worker/checkouts/gecko/gfx/layers/client/ContentClient.cpp:237:9 (libxul.so+0x204a835)
[task 2021-05-20T17:21:04.831Z] 17:21:04     INFO -     #8 mozilla::layers::ClientPaintedLayer::RenderLayerWithReadback(mozilla::layers::ReadbackProcessor*) /builds/worker/checkouts/gecko/gfx/layers/client/ClientPaintedLayer.cpp:132:38 (libxul.so+0x20443cf)
[task 2021-05-20T17:21:04.832Z] 17:21:04     INFO -     #9 non-virtual thunk to mozilla::layers::ClientPaintedLayer::RenderLayerWithReadback(mozilla::layers::ReadbackProcessor*) /builds/worker/checkouts/gecko/gfx/layers/client/ClientPaintedLayer.cpp (libxul.so+0x2044c88)
[task 2021-05-20T17:21:04.833Z] 17:21:04     INFO -     #10 mozilla::layers::ClientContainerLayer::RenderLayer() /builds/worker/checkouts/gecko/gfx/layers/client/ClientContainerLayer.h:53:29 (libxul.so+0x205fd87)
[task 2021-05-20T17:21:04.834Z] 17:21:04     INFO -     #11 non-virtual thunk to mozilla::layers::ClientContainerLayer::RenderLayer() /builds/worker/checkouts/gecko/gfx/layers/client/ClientContainerLayer.h (libxul.so+0x205ffec)
[task 2021-05-20T17:21:04.836Z] 17:21:04     INFO -     #12 mozilla::layers::ClientLayerManager::EndTransactionInternal(void (*)(mozilla::layers::PaintedLayer*, gfxContext*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::layers::DrawRegionClip, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) /builds/worker/checkouts/gecko/gfx/layers/client/ClientLayerManager.cpp:340:13 (libxul.so+0x2040812)
[task 2021-05-20T17:21:04.837Z] 17:21:04     INFO -     #13 mozilla::layers::ClientLayerManager::EndTransaction(void (*)(mozilla::layers::PaintedLayer*, gfxContext*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::layers::DrawRegionClip, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) /builds/worker/checkouts/gecko/gfx/layers/client/ClientLayerManager.cpp:396:3 (libxul.so+0x2040e2e)
[task 2021-05-20T17:21:04.837Z] 17:21:04     INFO -     #14 nsDisplayList::PaintRoot(nsDisplayListBuilder*, gfxContext*, unsigned int, mozilla::Maybe<double>) /builds/worker/checkouts/gecko/layout/painting/nsDisplayList.cpp:2630:19 (libxul.so+0x531b11e)
[task 2021-05-20T17:21:04.838Z] 17:21:04     INFO -     #15 nsLayoutUtils::PaintFrame(gfxContext*, nsIFrame*, nsRegion const&, unsigned int, nsDisplayListBuilderMode, nsLayoutUtils::PaintFrameFlags) /builds/worker/checkouts/gecko/layout/base/nsLayoutUtils.cpp:3492:45 (libxul.so+0x4f2812d)
[task 2021-05-20T17:21:04.839Z] 17:21:04     INFO -     #16 mozilla::PresShell::Paint(nsView*, nsRegion const&, mozilla::PaintFlags) /builds/worker/checkouts/gecko/layout/base/PresShell.cpp:6402:5 (libxul.so+0x4ea3e77)
[task 2021-05-20T17:21:04.840Z] 17:21:04     INFO -     #17 nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) /builds/worker/checkouts/gecko/view/nsViewManager.cpp:459:18 (libxul.so+0x4b1e7c6)
[task 2021-05-20T17:21:04.841Z] 17:21:04     INFO -     #18 nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) /builds/worker/checkouts/gecko/view/nsViewManager.cpp:394:22 (libxul.so+0x4b1e24a)
[task 2021-05-20T17:21:04.841Z] 17:21:04     INFO -     #19 nsViewManager::ProcessPendingUpdates() /builds/worker/checkouts/gecko/view/nsViewManager.cpp:972:5 (libxul.so+0x4b1fafd)
[task 2021-05-20T17:21:04.842Z] 17:21:04     INFO -     #20 nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsRefreshDriver::IsExtraTick) /builds/worker/checkouts/gecko/layout/base/nsRefreshDriver.cpp:2431:11 (libxul.so+0x4e5a561)
[task 2021-05-20T17:21:04.843Z] 17:21:04     INFO -     #21 operator() /builds/worker/checkouts/gecko/layout/base/nsRefreshDriver.cpp:1521:25 (libxul.so+0x4e69bf7)
[task 2021-05-20T17:21:04.844Z] 17:21:04     INFO -     #22 mozilla::detail::RunnableFunction<nsRefreshDriver::EnsureTimerStarted(nsRefreshDriver::EnsureTimerStartedFlags)::$_1>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:534:5 (libxul.so+0x4e69bf7)
[task 2021-05-20T17:21:04.844Z] 17:21:04     INFO -     #23 mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:482:16 (libxul.so+0xbeeeb7)
[task 2021-05-20T17:21:04.845Z] 17:21:04     INFO -     #24 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:766:26 (libxul.so+0xbcbe5a)
[task 2021-05-20T17:21:04.845Z] 17:21:04     INFO -     #25 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:621:15 (libxul.so+0xbca5e2)
[task 2021-05-20T17:21:04.846Z] 17:21:04     INFO -     #26 mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:405:36 (libxul.so+0xbca784)
[task 2021-05-20T17:21:04.847Z] 17:21:04     INFO -     #27 operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:138:37 (libxul.so+0xbf2da7)
[task 2021-05-20T17:21:04.848Z] 17:21:04     INFO -     #28 mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:534:5 (libxul.so+0xbf2da7)
[task 2021-05-20T17:21:04.848Z] 17:21:04     INFO -     #29 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1159:16 (libxul.so+0xbdcb00)
[task 2021-05-20T17:21:04.849Z] 17:21:04     INFO -     #30 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:548:10 (libxul.so+0xbe3a82)
[task 2021-05-20T17:21:04.850Z] 17:21:04     INFO -     #31 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x14abacd)
[task 2021-05-20T17:21:04.850Z] 17:21:04     INFO -     #32 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:335:10 (libxul.so+0x1435d1c)
[task 2021-05-20T17:21:04.851Z] 17:21:04     INFO -     #33 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:328:3 (libxul.so+0x1435d1c)
[task 2021-05-20T17:21:04.851Z] 17:21:04     INFO -     #34 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:310:3 (libxul.so+0x1435d1c)
[task 2021-05-20T17:21:04.852Z] 17:21:04     INFO -     #35 nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:137:27 (libxul.so+0x4b6ea76)
[task 2021-05-20T17:21:04.852Z] 17:21:04     INFO -     #36 nsAppStartup::Run() /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:273:30 (libxul.so+0x68cf478)
[task 2021-05-20T17:21:04.854Z] 17:21:04     INFO -     #37 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5239:22 (libxul.so+0x69ea9fa)
[task 2021-05-20T17:21:04.855Z] 17:21:04     INFO -     #38 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5437:8 (libxul.so+0x69eb747)
[task 2021-05-20T17:21:04.855Z] 17:21:04     INFO -     #39 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5496:21 (libxul.so+0x69ebce4)
[task 2021-05-20T17:21:04.856Z] 17:21:04     INFO -     #40 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x69f62a2)
[task 2021-05-20T17:21:04.857Z] 17:21:04     INFO -     #41 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:224:22 (firefox+0xca6e0)
[task 2021-05-20T17:21:04.858Z] 17:21:04     INFO -     #42 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:351:16 (firefox+0xca6e0)
[task 2021-05-20T17:21:04.858Z] 17:21:04     INFO -   Mutex M431918197804436192 is already destroyed.
[task 2021-05-20T17:21:04.859Z] 17:21:04     INFO -   Thread T30 'Compositor' (tid=5012, running) created by main thread at:
[task 2021-05-20T17:21:04.860Z] 17:21:04     INFO -     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:965:3 (firefox+0x577eb)
[task 2021-05-20T17:21:04.860Z] 17:21:04     INFO -     #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x3be33)
[task 2021-05-20T17:21:04.860Z] 17:21:04     INFO -     #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x30915)
[task 2021-05-20T17:21:04.861Z] 17:21:04     INFO -     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:613:18 (libxul.so+0xbda7f2)
[task 2021-05-20T17:21:04.862Z] 17:21:04     INFO -     #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:574:12 (libxul.so+0xbe290a)
[task 2021-05-20T17:21:04.863Z] 17:21:04     INFO -     #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:169:57 (libxul.so+0xbea734)
[task 2021-05-20T17:21:04.863Z] 17:21:04     INFO -     #6 NS_NewNamedThread<11> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:74:10 (libxul.so+0x20e4b2e)
[task 2021-05-20T17:21:04.864Z] 17:21:04     INFO -     #7 mozilla::layers::CompositorThreadHolder::CreateCompositorThread() /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositorThread.cpp:55:17 (libxul.so+0x20e4b2e)
[task 2021-05-20T17:21:04.865Z] 17:21:04     INFO -     #8 CompositorThreadHolder /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositorThread.cpp:39:25 (libxul.so+0x20e4d7a)
[task 2021-05-20T17:21:04.866Z] 17:21:04     INFO -     #9 mozilla::layers::CompositorThreadHolder::Start() /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositorThread.cpp:94:33 (libxul.so+0x20e4d7a)
[task 2021-05-20T17:21:04.866Z] 17:21:04     INFO -     #10 gfxPlatform::InitLayersIPC() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:1329:5 (libxul.so+0x212ce8a)
[task 2021-05-20T17:21:04.867Z] 17:21:04     INFO -     #11 gfxPlatform::Init() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:965:3 (libxul.so+0x212af9d)
[task 2021-05-20T17:21:04.868Z] 17:21:04     INFO -     #12 gfxPlatform::GetPlatform() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:481:5 (libxul.so+0x2129fd0)
[task 2021-05-20T17:21:04.868Z] 17:21:04     INFO -     #13 mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&) /builds/worker/checkouts/gecko/widget/GfxInfoBase.cpp:1781:25 (libxul.so+0x4b4e607)
[task 2021-05-20T17:21:04.869Z] 17:21:04     INFO -     #14 NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101 (libxul.so+0xc08355)
[task 2021-05-20T17:21:04.869Z] 17:21:04     INFO -     #15 GetAttribute /builds/worker/checkouts/gecko/js/xpconnect/src/xpcprivate.h:1460:12 (libxul.so+0x1aae56f)
[task 2021-05-20T17:21:04.869Z] 17:21:04     INFO -     #16 XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:965:10 (libxul.so+0x1aae56f)
[task 2021-05-20T17:21:04.870Z] 17:21:04     INFO -     #17 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:427:13 (libxul.so+0x6b23294)
[task 2021-05-20T17:21:04.871Z] 17:21:04     INFO -     #18 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:512:12 (libxul.so+0x6b23294)
[task 2021-05-20T17:21:04.872Z] 17:21:04     INFO -     #19 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:572:10 (libxul.so+0x6b24583)
[task 2021-05-20T17:21:04.873Z] 17:21:04     INFO -     #20 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:589:8 (libxul.so+0x6b24583)
[task 2021-05-20T17:21:04.873Z] 17:21:04     INFO -     #21 js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:714:10 (libxul.so+0x6b255e5)
[task 2021-05-20T17:21:04.874Z] 17:21:04     INFO -     #22 CallGetter /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2089:12 (libxul.so+0x6dc025f)
[task 2021-05-20T17:21:04.875Z] 17:21:04     INFO -     #23 GetExistingProperty<js::CanGC> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2117:12 (libxul.so+0x6dc025f)
[task 2021-05-20T17:21:04.875Z] 17:21:04     INFO -     #24 NativeGetPropertyInline<js::CanGC> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2262:14 (libxul.so+0x6dc025f)
[task 2021-05-20T17:21:04.877Z] 17:21:04     INFO -     #25 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:2293:10 (libxul.so+0x6dc025f)
[task 2021-05-20T17:21:04.878Z] 17:21:04     INFO -     #26 GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:116:10 (libxul.so+0x6b17677)
[task 2021-05-20T17:21:04.880Z] 17:21:04     INFO -     #27 GetObjectElementOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter-inl.h:418:10 (libxul.so+0x6b17677)
[task 2021-05-20T17:21:04.883Z] 17:21:04     INFO -     #28 GetElementOperationWithStackIndex /builds/worker/checkouts/gecko/js/src/vm/Interpreter-inl.h:504:10 (libxul.so+0x6b17677)
[task 2021-05-20T17:21:04.885Z] 17:21:04     INFO -     #29 Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3041:12 (libxul.so+0x6b17677)
[task 2021-05-20T17:21:04.886Z] 17:21:04     INFO -     #30 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:396:13 (libxul.so+0x6b0c51c)
[task 2021-05-20T17:21:04.888Z] 17:21:04     INFO -     #31 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:544:13 (libxul.so+0x6b23af1)
[task 2021-05-20T17:21:04.889Z] 17:21:04     INFO -     #32 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:572:10 (libxul.so+0x6b24583)
[task 2021-05-20T17:21:04.891Z] 17:21:04     INFO -     #33 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:589:8 (libxul.so+0x6b24583)
[task 2021-05-20T17:21:04.892Z] 17:21:04     INFO -     #34 JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:2733:10 (libxul.so+0x6fc6f29)
[task 2021-05-20T17:21:04.894Z] 17:21:04     INFO -     #35 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:971:17 (libxul.so+0x1aa52b9)
[task 2021-05-20T17:21:04.895Z] 17:21:04     INFO -     #36 PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 (libxul.so+0xc09331)
[task 2021-05-20T17:21:04.896Z] 17:21:04     INFO -     #37 SharedStub <null> (libxul.so+0xc08692)
[task 2021-05-20T17:21:04.898Z] 17:21:04     INFO -     #38 nsXREDirProvider::DoStartup() /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:982:11 (libxul.so+0x69fba54)
[task 2021-05-20T17:21:04.899Z] 17:21:04     INFO -     #39 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4988:18 (libxul.so+0x69ea3df)
[task 2021-05-20T17:21:04.900Z] 17:21:04     INFO -     #40 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5437:8 (libxul.so+0x69eb747)
[task 2021-05-20T17:21:04.902Z] 17:21:04     INFO -     #41 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5496:21 (libxul.so+0x69ebce4)
[task 2021-05-20T17:21:04.903Z] 17:21:04     INFO -     #42 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x69f62a2)
[task 2021-05-20T17:21:04.904Z] 17:21:04     INFO -     #43 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:224:22 (firefox+0xca6e0)
[task 2021-05-20T17:21:04.906Z] 17:21:04     INFO -     #44 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:351:16 (firefox+0xca6e0)
[task 2021-05-20T17:21:04.907Z] 17:21:04     INFO - SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so+0x665852)
[task 2021-05-20T17:21:04.908Z] 17:21:04     INFO - ==================```
Group: firefox-core-security
Blocks: tsan
Group: firefox-core-security → gfx-core-security
Component: Untriaged → Graphics
Product: Firefox → Core

This is probably relatively benign given it's texture data. It also might be miscategorized because one of the stacks is missing. Maybe we would make more progress if we were able to recover that from another instance of the intermittent.

Attached file tsan_stack.txt

We have seen something similar while fuzzing. Does this look the same?

Yeah, the read stack does match on that.

See Also: → 1601600
Group: gfx-core-security
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: