Assertion failure: NS_IsMainThread(), at /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:8933
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox-esr115 | --- | unaffected |
| firefox117 | --- | unaffected |
| firefox118 | --- | unaffected |
| firefox119 | --- | fixed |
People
(Reporter: tsmith, Assigned: stransky)
References
(Regression)
Details
(Keywords: assertion, pernosco, regression)
Attachments
(1 file)
|
5.46 KB,
text/plain
|
Details |
Startup failure found with m-c 20230829-bd540bacea2e.
Assertion failure: NS_IsMainThread(), at /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:8933
#0 0x7f246de407a5 in nsWindow::GdkCeiledScaleFactor() /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:8933:3
#1 0x7f246de4f95c in FractionalScaleFactor /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:8980:10
#2 0x7f246de4f95c in nsWindow::GetNativeData(unsigned int) /builds/worker/checkouts/gecko/widget/gtk/nsWindow.cpp:3433:25
#3 0x7f246de7befc in mozilla::widget::GtkCompositorWidget::GetEGLNativeWindow() /builds/worker/checkouts/gecko/widget/gtk/GtkCompositorWidget.cpp:123:44
#4 0x7f2469a00c2a in mozilla::gl::GLContextEGL::CreateEGLSurfaceForCompositorWidget(mozilla::widget::CompositorWidget*, void*) /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:362:7
#5 0x7f2469f746da in mozilla::wr::RenderCompositorEGL::CreateEGLSurface() /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderCompositorEGL.cpp:58:13
#6 0x7f2469f757fd in mozilla::wr::RenderCompositorEGL::Resume() /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderCompositorEGL.cpp:199:19
#7 0x7f2469f88ef6 in Resume /builds/worker/checkouts/gecko/gfx/webrender_bindings/RendererOGL.cpp:294:50
#8 0x7f2469f88ef6 in mozilla::wr::RenderThread::Resume(mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:863:28
#9 0x7f2469f9e723 in mozilla::wr::WebRenderAPI::Resume()::ResumeEvent::Run(mozilla::wr::RenderThread&, mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/WebRenderAPI.cpp:714:32
#10 0x7f2469f85aaf in mozilla::wr::RenderThread::RunEvent(mozilla::wr::WrWindowId, mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent>>) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:692:11
#11 0x7f2469f85375 in WrNotifierEvent_HandleExternalEvent /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:542:3
#12 0x7f2469f85375 in mozilla::wr::RenderThread::HandleWrNotifierEvents(mozilla::wr::WrWindowId) /builds/worker/checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:501:9
#13 0x7f2469f92bba in operator()<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId> &> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1164:18
#14 0x7f2469f92bba in __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
#15 0x7f2469f92bba in __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
#16 0x7f2469f92bba in __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
#17 0x7f2469f92bba in 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
#18 0x7f2469f92bba in apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1162:12
#19 0x7f2469f92bba in 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
#20 0x7f24687b389d in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16
#21 0x7f24687ba63d in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10
#22 0x7f24694672a5 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5
#23 0x7f246937fc41 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3
#24 0x7f246937fc41 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3
#25 0x7f24687aef26 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10
#26 0x7f247d0709ef in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
#27 0x7f247ca94b42 in start_thread nptl/pthread_create.c:442:8
#28 0x7f247cb269ff misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
It's because you have gfx.webrender.compositor enabled on Wayland which is not supported.
| Assignee | ||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Crashes for me, even with gfx.webrender.compositor == false and gfx.webrender.compositor.force-enabled == false
| Assignee | ||
Comment 4•2 years ago
|
||
(In reply to msirringhaus from comment #3)
Crashes for me, even with
gfx.webrender.compositor == falseandgfx.webrender.compositor.force-enabled == false
Then please attach a ID of the crash:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_Mozilla_crash_reporter
Thanks.
Comment 5•2 years ago
|
||
I can repro as well, but it's on a debug build only of course.
Comment 6•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Reporter | ||
Comment 7•2 years ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #1)
It's because you have gfx.webrender.compositor enabled on Wayland which is not supported.
This happens with a clean profile.
| Reporter | ||
Comment 8•2 years ago
|
||
A Pernosco session is available here: https://pernos.co/debug/FOwlswuKKQsJvj6BnBS4Eg/index.html
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•