Crash under Sway WM (Wayland)
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: eular.frank, Unassigned)
References
(Blocks 1 open bug)
Details
Crash Data
This happens under Sway WM, triggered by right clicking: the drop-menu is always flickering and sometimes Firefox crashes.
Crash report: https://crash-stats.mozilla.org/report/index/3cdab189-9c7d-4b4b-baef-bc2580230826
Reason: SIGSEGV / SEGV_MAPERR
Top 10 frames of crashing thread:
0 libgdk-3.so.0 _gdk_wayland_shm_surface_get_wl_buffer gdk/wayland/gdkdisplay-wayland.c:1434
1 libgdk-3.so.0 gdk_wayland_window_ensure_cairo_surface gdk/wayland/gdkwindow-wayland.c:994
2 libgdk-3.so.0 gdk_window_impl_wayland_begin_paint gdk/wayland/gdkwindow-wayland.c:1033
3 libgdk-3.so.0 gdk_window_begin_paint_internal gdk/gdkwindow.c:2954
3 libgdk-3.so.0 gdk_window_begin_paint_internal gdk/gdkwindow.c:2930
4 libgdk-3.so.0 gdk_window_begin_draw_frame gdk/gdkwindow.c:3257
5 libgtk-3.so.0 gtk_widget_render gtk/gtkwidget.c:17591
6 libgtk-3.so.0 gtk_main_do_event gtk/gtkmain.c:1844
6 libgtk-3.so.0 gtk_main_do_event gtk/gtkmain.c:1691
7 libgdk-3.so.0 _gdk_event_emit gdk/gdkevents.c:73
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
Crash report https://crash-stats.mozilla.org/report/index/c93a1cf4-f033-4afb-9697-e68fe0230826 should also be relevant
Comment 3•1 year ago
|
||
Can you try different compositor please?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_different_Wayland_compositor
Thanks.
Updated•1 year ago
|
Comment 4•1 year ago
|
||
The bug has a crash signature, thus the bug will be considered confirmed.
Reporter | ||
Comment 5•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)
Can you try different compositor please?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_different_Wayland_compositor
Thanks.
I tried that weeks ago, but I did not succeed to do that, and I do not have spare time since then. However, I can provide more information (under Sway WM):
- This is not producible on every webpage, and it also depends on where the right-click is performed. Let me restrict to a special situation to produce it: https://packages.debian.org/search?keywords=firefox-esr by right-clicking anywhere on the line "You have searched for packages that names contain firefox-esr in all suites, all sections, and all architectures. Found 100 matching packages."
- This is producible in Firefox 102 ESR under the Troubleshooting mode;
- This is not producible in Firefox 115 ESR under the Troubleshooting mode;
- This is producible (not in 100% fashion, but oftentimes) in Firefox 115 ESR with three extensions installed: Flagfox, Simple Translate, and Video DownloadHelper.
Reporter | ||
Comment 6•1 year ago
|
||
Forgot to add relevant crash reports for Firefox 115 ESR:
https://crash-stats.mozilla.org/report/index/f80d0508-9004-4702-a024-a815e0230924
https://crash-stats.mozilla.org/report/index/8e361812-a2e0-4763-baab-fb0680230924
https://crash-stats.mozilla.org/report/index/ea056e40-864a-4a16-9718-fe9150230924
https://crash-stats.mozilla.org/report/index/ff9b6b4e-1490-46e8-93a2-2085b0230924
https://crash-stats.mozilla.org/report/index/804cb855-07a7-43ea-b978-b8a0f0230924
https://crash-stats.mozilla.org/report/index/bdffd840-72bf-40a9-958d-d62060230924
https://crash-stats.mozilla.org/report/index/2734e576-4014-4625-938e-7c3f20230924
https://crash-stats.mozilla.org/report/index/d9f54e3d-cdda-4835-9b06-4e1da0230924
Reporter | ||
Comment 7•1 year ago
|
||
Now I see that I should set WAYLAND_DISPLAY
to be wayland-0
for the nested mutter, since sway
uses wayland-1
. This issue does not seem to be producible under mutter --xwayland
.
Comment 8•1 year ago
|
||
Can you please try latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Thanks!
Reporter | ||
Comment 9•1 year ago
|
||
Yes, it is reproducible under the latest nightly https://crash-stats.mozilla.org/report/index/05106b49-2f8b-4652-af6d-a59b60231013 with three extensions installed: Flagfox, Simple Translate, and Video DownloadHelper. Triggered by right-clicking the search bar on https://www.google.com
Reporter | ||
Comment 10•1 year ago
|
||
This seems to be a bug of sway. I upgrade sway to 1.8.1 from Debian Testing, and the issue seems to go away. Close this bug.
Description
•