SIGSEGV / SEGV_MAPERR in [@ moz_container_wayland_frame_callback_handler]
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: q23456yuiop, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Crash Data
Attachments
(4 files, 1 obsolete file)
Maybe Fission related. (DOMFissionEnabled=1)
Crash report: https://crash-stats.mozilla.org/report/index/2b46ba87-3b33-4dae-9210-166e00220301
MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(wl_container->surface) (Should have surface if we're ready to draw)
Top 10 frames of crashing thread:
0 libxul.so moz_container_wayland_frame_callback_handler widget/gtk/MozContainerWayland.cpp:252
1 libxul.so RunnableFunction<void ipc/chromium/src/base/task.h:324
2 libxul.so mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:770
3 libxul.so NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:467
4 libxul.so mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:85
5 libxul.so MessageLoop::Run ipc/chromium/src/base/message_loop.cc:306
6 libxul.so nsBaseAppShell::Run widget/nsBaseAppShell.cpp:137
7 libxul.so nsAppStartup::Run toolkit/components/startup/nsAppStartup.cpp:295
8 libxul.so XREMain::XRE_mainRun toolkit/xre/nsAppRunner.cpp:5731
9 libxul.so XREMain::XRE_main toolkit/xre/nsAppRunner.cpp:5916
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Reporter | ||
Comment 2•3 years ago
|
||
My environment is sway 1.7 with wlroots 0.15.1. Could this be somehow related?
![]() |
||
Comment 3•3 years ago
|
||
Martin, could you take a look at this? See also bug 1744800.
Assignee | ||
Comment 4•3 years ago
|
||
Do you know how that happens? If so, can you try to reproduce it with MOZ_LOG="Widget:5 WidgetPopup:5" env variable and attach the log here?
Thanks.
Reporter | ||
Comment 5•3 years ago
|
||
Reporter | ||
Comment 6•3 years ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #4)
Do you know how that happens? If so, can you try to reproduce it with MOZ_LOG="Widget:5 WidgetPopup:5" env variable and attach the log here?
Thanks.
I'm not sure how this happens but the log is attached.
Reporter | ||
Comment 7•3 years ago
|
||
See this instead as the old log wasn't one that ended with a crash.
Assignee | ||
Comment 8•3 years ago
|
||
Thanks, that explains it. Please run again with MOZ_LOG="Widget:5 WidgetPopup:5 WidgetWayland:5" and attach the log here when it crashes.
Thanks.
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Comment 9•3 years ago
|
||
Comment 10•3 years ago
|
||
I had the same crash on KDE Wayland (5.24.3), so I guess this isn't specific to Sway. It happened when I closed a tab with a left-click on the X button, but I can't reproduce it. If anyone knows how to reproduce it, please post it here.
Comment 12•3 years ago
|
||
Just repro'd on Ubuntu 21.10 running GNOME3: https://crash-stats.mozilla.org/report/index/2f7aeb8d-b20a-4f7b-8367-617d10220314
Happened while I was switching tabs?
Comment 13•3 years ago
|
||
repro'd again, while I inadvertantly dragged a tab nowhere. I can't repro after restarting browser.
Martin, can we make that block wayland rather than wayland-sway? it's definitively NOT related to sway.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 14•3 years ago
|
||
I think the sequence is:
-
moz_container_wayland_map_event -> moz_container_wayland_surface_create_locked() where wl_container->commit_to_parent is true
so we call NS_DispatchToCurrentThread(moz_container_wayland_frame_callback_handler()) -
moz_container_wayland_unmap, wl_container->surface is set to null
-
moz_container_wayland_frame_callback_handler() is called from NS_DispatchToCurrentThread
Assignee | ||
Comment 15•3 years ago
|
||
Updated•3 years ago
|
Comment 16•3 years ago
|
||
Comment 18•3 years ago
|
||
bugherder |
Assignee | ||
Comment 19•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 20•3 years ago
|
||
Comment 21•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•