Closed Bug 1943837 Opened 17 days ago Closed 7 days ago

Intermittent MOZ_CRASH(mozilla::detail::MutexImpl::~MutexImpl: pthread_mutex_destroy failed) [@ mozilla::detail::MutexImpl::~MutexImpl] | single tracking bug

Categories

(Core :: Widget: Gtk, defect, P2)

defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox135 --- unaffected
firefox136 --- unaffected
firefox137 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(4 keywords)

Crash Data

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


[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - PROCESS-CRASH | MOZ_CRASH(mozilla::detail::MutexImpl::~MutexImpl: pthread_mutex_destroy failed) [@ mozilla::detail::MutexImpl::~MutexImpl] | browser/components/translations/tests/browser/browser_translations_select_panel_translation_failure_on_retranslate.js 
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - Process type: main
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - Process pid: 3029
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - Mozilla crash reason: MOZ_CRASH(mozilla::detail::MutexImpl::~MutexImpl: pthread_mutex_destroy failed)
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - Crash dump filename: /tmp/tmp3gn_pn6z.mozrunner/minidumps/11cdbda7-9e5d-9c2f-d00b-b131cdb91365.dmp
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - Operating system: Linux
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO -                   6.5.0-1025-gcp #27~22.04.1-Ubuntu SMP Tue Jul 16 23:03:39 UTC 2024
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - CPU: amd64
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO -      family 6 model 85 stepping 7
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO -      4 CPUs
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - Linux Ubuntu 22.04 - jammy (Ubuntu 22.04.4 LTS)
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - 
[task 2025-01-26T13:39:38.377Z] 13:39:38     INFO - Crash reason:  SIGSEGV / SEGV_MAPERR
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - Crash address: 0x0000000000000000
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - Crashing instruction: `mov dword [0x0], 0x5a`
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - Memory accessed by instruction:
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -   0. Address: 0x0000000000000000
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      Size: 4
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      Access type: Write
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - No instruction pointer update by instruction
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - Process uptime: not available
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - 
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - Linux memory map count: 3327
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - 
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO - Thread 25 Renderer (crashed) - tid: 3029
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -  0  firefox-bin!mozilla::detail::MutexImpl::~MutexImpl() [Mutex_posix.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 88 + 0x0]
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      rax = 0x0000653703cd0fbd    rdx = 0x0000000000000000
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      rcx = 0x0000000000000001    rbx = 0x0000000000000010
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      rsi = 0x000074dd24f32d20    rdi = 0x000074dd4081ca60
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      rbp = 0x000074dd308b5620    rsp = 0x000074dd24f352f0
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -       r8 = 0x000000000000005e     r9 = 0x000000007fffffff
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      r10 = 0x0000000000000000    r11 = 0x0000000000000293
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      r12 = 0x000074dd24f35418    r13 = 0x0000000000000164
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      r14 = 0x00000164000001c7    r15 = 0x000074dd24f353c8
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      rip = 0x0000653703d47cbf
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -     Found by: given as instruction pointer in context
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -  1  libxul.so!mozilla::widget::WaylandBufferSHM::~WaylandBufferSHM() [WaylandBuffer.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 293 + 0x8]
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      rbx = 0x000074dceb58c970    rbp = 0x000074dd308b5620
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      rsp = 0x000074dd24f35300    r12 = 0x000074dd24f35418
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      r13 = 0x0000000000000164    r14 = 0x00000164000001c7
[task 2025-01-26T13:39:38.378Z] 13:39:38     INFO -      r15 = 0x000074dd24f353c8    rip = 0x000074dd382df6c9
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  2  libxul.so!mozilla::widget::WaylandBuffer::Release() [WaylandBuffer.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 47]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  3  libxul.so!mozilla::RefPtrTraits<mozilla::widget::WaylandBuffer>::Release(mozilla::widget::WaylandBuffer*) [RefPtr.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 49]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  4  libxul.so!RefPtr<mozilla::widget::WaylandBuffer>::ConstRemovingRefPtrTraits<mozilla::widget::WaylandBuffer>::Release(mozilla::widget::WaylandBuffer*) [RefPtr.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 409]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  5  libxul.so!RefPtr<mozilla::widget::WaylandBuffer>::assign_assuming_AddRef(mozilla::widget::WaylandBuffer*) [RefPtr.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 68]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  6  libxul.so!RefPtr<mozilla::widget::WaylandBuffer>::operator=<mozilla::widget::WaylandBuffer, void>(RefPtr<mozilla::widget::WaylandBuffer>&&) [RefPtr.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 228]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  7  libxul.so!mozilla::widget::WaylandSurface::AttachLocked(mozilla::widget::WaylandSurfaceLock&, RefPtr<mozilla::widget::WaylandBuffer>) [WaylandSurface.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 1120 + 0x29]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      rbx = 0x000074dd2525b200    rbp = 0x000074dd308b5620
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      rsp = 0x000074dd24f35310    r12 = 0x000074dd24f35418
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      r13 = 0x0000000000000164    r14 = 0x00000164000001c7
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      r15 = 0x000074dd24f353c8    rip = 0x000074dd382e48f3
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  8  libxul.so!mozilla::widget::WindowSurfaceWaylandMB::Commit(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&, mozilla::gfx::IntRegionTyped<mozilla::LayoutDevicePixel> const&) [WindowSurfaceWaylandMultiBuffer.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 312 + 0xa]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      rbx = 0x000074dcec317980    rbp = 0x0000000000000001
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      rsp = 0x000074dd24f353c0    r12 = 0x000074dd24f353c8
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      r13 = 0x00000164000001c7    r14 = 0x000074dd2525b200
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      r15 = 0x000074dd0aacd730    rip = 0x000074dd382ea19b
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -  9  libxul.so!mozilla::widget::WindowSurfaceWaylandMB::Commit(mozilla::gfx::IntRegionTyped<mozilla::LayoutDevicePixel> const&) [WindowSurfaceWaylandMultiBuffer.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 266 + 0xa]
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      rbx = 0x000074dd0aacd730    rbp = 0x0000000000000001
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      rsp = 0x000074dd24f35470    r12 = 0x000074dcf5c24870
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      r13 = 0x00000164000001c7    r14 = 0x000074dcec317980
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -      r15 = 0x000074dcec317990    rip = 0x000074dd382e9e32
[task 2025-01-26T13:39:38.379Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO - 10  libxul.so!mozilla::widget::WindowSurfaceProvider::EndRemoteDrawingInRegion(mozilla::gfx::DrawTarget*, mozilla::gfx::IntRegionTyped<mozilla::LayoutDevicePixel> const&) [WindowSurfaceProvider.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 236 + 0x8]
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rbx = 0x000074dce8c0a668    rbp = 0x0000000000000001
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rsp = 0x000074dd24f35490    r12 = 0x000074dcf5c24870
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      r13 = 0x00000164000001c7    r14 = 0x000074dd0aacd730
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      r15 = 0x000074dce8c0a660    rip = 0x000074dd382ebc24
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO - 11  libxul.so!mozilla::wr::RenderCompositorSWGL::CommitMappedBuffer(bool) [RenderCompositorSWGL.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 246 + 0xc]
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rbx = 0x000074dd0aacd700    rbp = 0x0000000000000001
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rsp = 0x000074dd24f354f0    r12 = 0x000074dcf5c24870
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      r13 = 0x00000164000001c7    r14 = 0x000074dd0aacd730
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      r15 = 0x00000000a71fab01    rip = 0x000074dd35fab18b
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO - 12  libxul.so!mozilla::wr::RenderCompositorSWGL::EndFrame(nsTArray<mozilla::wr::Box2D<int, mozilla::wr::DevicePixel> > const&) [RenderCompositorSWGL.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 262 + 0x9]
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rbx = 0x0000000000000007    rbp = 0x000074dcf0b74940
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rsp = 0x000074dd24f35590    r12 = 0x000074dcf5c24870
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      r13 = 0x00000164000001c7    r14 = 0x000074dd0aacd700
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      r15 = 0x00000000a71fab01    rip = 0x000074dd35faae3c
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO - 13  libxul.so!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*) [RendererOGL.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 227]
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO - 14  libxul.so!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&, mozilla::wr::RendererStats*, bool*) [RenderThread.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 851 + 0x1a0]
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rbx = 0x000074dcf5c248b0    rbp = 0x000074dcf0b74940
[task 2025-01-26T13:39:38.380Z] 13:39:38     INFO -      rsp = 0x000074dd24f355b0    r12 = 0x000074dcf5c24870
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      r13 = 0x00000164000001c7    r14 = 0x0000000000000000
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      r15 = 0x00000000a71fab01    rip = 0x000074dd35fb4612
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 15  libxul.so!mozilla::wr::RenderThread::HandleFrameOneDocInner(mozilla::wr::WrWindowId, bool, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) [RenderThread.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 666 + 0x1e]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      rbx = 0x00000000000001f7    rbp = 0x000074dd24f35770
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      rsp = 0x000074dd24f356d0    r12 = 0x000000695df5e225
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      r13 = 0x000074dd24f35768    r14 = 0x000074dd4053fd00
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      r15 = 0x7fffffffffffffff    rip = 0x000074dd35fb3bf0
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 16  libxul.so!mozilla::wr::RenderThread::HandleFrameOneDoc(mozilla::wr::WrWindowId, bool, bool, mozilla::Maybe<mozilla::wr::FramePublishId>) [RenderThread.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 613]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 17  libxul.so!mozilla::wr::RenderThread::WrNotifierEvent_HandleNewFrameReady(mozilla::wr::WrWindowId, bool, mozilla::wr::FramePublishId) [RenderThread.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 574]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 18  libxul.so!mozilla::wr::RenderThread::HandleWrNotifierEvents(mozilla::wr::WrWindowId) [RenderThread.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 536 + 0x24]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      rbx = 0x000074dd4053fd00    rbp = 0x000074dcf35d9ec0
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      rsp = 0x000074dd24f357e0    r12 = 0x000074dcf35d9ed0
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      r13 = 0x000074dcf35d9ef0    r14 = 0x00000000000001f7
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -      r15 = 0x000074dd02c4e240    rip = 0x000074dd35fb350f
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 19  libxul.so!mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}::operator()<StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild>&>(StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild>&) const [nsThreadUtils.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 1085]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 20  libxul.so!std::__invoke_impl<nsresult, mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild>&>(std::__invoke_other, mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild>&) [invoke.h : 60]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 21  libxul.so!std::__invoke<mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild>&>(mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild>&) [invoke.h : 95]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 22  libxul.so!std::__apply_impl<mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, std::tuple<StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild> >&, (unsigned long)0>(mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, std::tuple<StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild> >&, std::integer_sequence<unsigned long, ((unsigned long)0)...>) [tuple : 1678]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 23  libxul.so!std::apply<mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, std::tuple<StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild> >&>(mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*))::{lambda(auto:1&&)#1}, std::tuple<StoreRefPtrPassByPtr<mozilla::net::HttpChannelChild> >&) [tuple : 1687]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 24  libxul.so!mozilla::detail::RunnableMethodArguments<RefPtr<mozilla::net::HttpChannelChild> >::apply<mozilla::net::HttpBackgroundChannelChild, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)>(mozilla::net::HttpBackgroundChannelChild*, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*)) [nsThreadUtils.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 1083]
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.381Z] 13:39:38     INFO - 25  libxul.so!mozilla::detail::RunnableMethodImpl<RefPtr<mozilla::net::HttpBackgroundChannelChild>, nsresult (mozilla::net::HttpBackgroundChannelChild::*)(mozilla::net::HttpChannelChild*), true, (mozilla::RunnableKind)0, RefPtr<mozilla::net::HttpChannelChild> >::Run() [nsThreadUtils.h:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 1134 + 0xf]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      rbx = 0x000074dd269ad280    rbp = 0x0000000000000000
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      rsp = 0x000074dd24f35840    r12 = 0x00000000ffffffff
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      r13 = 0x000074dd3432f7a0    r14 = 0x0000000000000000
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      r15 = 0x000074dcf66f2b50    rip = 0x000074dd343a36c0
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO - 26  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 1153]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO - 27  libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 480 + 0x434]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      rbx = 0x000074dd269ad280    rbp = 0x0000000000000000
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      rsp = 0x000074dd24f35850    r12 = 0x00000000ffffffff
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      r13 = 0x000074dd3432f7a0    r14 = 0x0000000000000000
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      r15 = 0x000074dcf66f2b50    rip = 0x000074dd3432b51e
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO - 28  libxul.so!mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [MessagePump.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 329 + 0xc]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      rbx = 0x000074dd2550fcc0    rbp = 0x0000000000000000
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      rsp = 0x000074dd24f35a80    r12 = 0x000074dd2550fce0
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      r13 = 0x0000000000000000    r14 = 0x000074dd24f35b18
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      r15 = 0x000074dd269ad280    rip = 0x000074dd343306b2
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO - 29  libxul.so!MessageLoop::RunInternal() [message_loop.cc:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 369]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO - 30  libxul.so!MessageLoop::RunHandler() [message_loop.cc:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 362]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO - 31  libxul.so!MessageLoop::Run() [message_loop.cc:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 344]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -     Found by: inlining
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO - 32  libxul.so!nsThread::ThreadFunc(void*) [nsThread.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 366 + 0x41]
[task 2025-01-26T13:39:38.382Z] 13:39:38     INFO -      rbx = 0x000074dd2e519d80    rbp = 0x0000000000000008
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rsp = 0x000074dd24f35b00    r12 = 0x000074dd40c67388
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r13 = 0x0000000000000002    r14 = 0x000074dd24f35b00
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r15 = 0x000074dd4051d900    rip = 0x000074dd3432ff0b
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO - 33  libnspr4.so!_pt_root [ptthread.c:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 191 + 0x6]
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rbx = 0x000074dd25558700    rbp = 0x0000000000000002
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rsp = 0x000074dd24f35d00    r12 = 0x000074dd40c67388
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r13 = 0x0000000000000002    r14 = 0x000074dd24f36640
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r15 = 0x000074dd4051d900    rip = 0x000074dd40c43bdf
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO - 34  firefox-bin!set_alt_signal_stack_and_start(PthreadCreateParams*) [pthread_create_interposer.cpp:94b1a5309ee40c20c74120f92086aa3ce01fc0b5 : 81 + 0x5]
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rbx = 0x000074dd25558700    rbp = 0x0000000000000000
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rsp = 0x000074dd24f35d50    r12 = 0x000074dd40c43a50
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r13 = 0x0000000000000002    r14 = 0x000074dd25649000
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r15 = 0x000074dd24f35d80    rip = 0x0000653703d0bbe0
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO - 35  libc.so.6!start_thread [pthread_create.c : 442 + 0x11]
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rbx = 0x000074dd24f36640    rbp = 0x0000000000000000
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rsp = 0x000074dd24f35e20    r12 = 0x000074dd24f36640
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r13 = 0x0000000000000002    r14 = 0x000074dd406947d0
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r15 = 0x00007fff287959f0    rip = 0x000074dd40694ac3
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO - 36  libc.so.6!__clone3 + 0x2f
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rbx = 0x00007fff28795890    rbp = 0x0000000000000000
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      rsp = 0x000074dd24f35ec0    r12 = 0x000074dd24f36640
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r13 = 0x0000000000000002    r14 = 0x000074dd406947d0
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -      r15 = 0x00007fff287959f0    rip = 0x000074dd40726850
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO -     Found by: call frame info
[task 2025-01-26T13:39:38.383Z] 13:39:38     INFO - 

It's interesting, will look at it.

Flags: needinfo?(stransky)
Blocks: wayland
Flags: needinfo?(stransky)
Priority: -- → P2

Looks like we're assigning new buffer while the recently attached one is released prematurely.

Martin on Matrix mentionned this may be related to the kernel bug I've filed upstream (ubuntu) at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2095100. Unfortunately, I could not get a 6.13rc kernel to boot due to SecureBoot and their lack of signature, and the mess it is to sign in that case.

I don't think it's a kernel bug - we used wl_buffers wrongly. Should be fixed by backout now.

(In reply to Martin Stránský [:stransky] (ni? me) from comment #5)

I don't think it's a kernel bug - we used wl_buffers wrongly. Should be fixed by backout now.

My issue has been there since upgrading to 24.10 (and its newer kernel vs 24.04), so if we are triggering this, then I dont get how a fix (we backed out) of a few days ago can explain.

(In reply to :gerard-majax from comment #6)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #5)

I don't think it's a kernel bug - we used wl_buffers wrongly. Should be fixed by backout now.

My issue has been there since upgrading to 24.10 (and its newer kernel vs 24.04), so if we are triggering this, then I dont get how a fix (we backed out) of a few days ago can explain.

There's a race condition between wl_buffer release/detach. I hope to address it correctly at Bug 1942232.

Set release status flags based on info from the regressing bug 1942232

Should be fixed by Bug 1942232 backout.

Status: NEW → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.