Crashes when unplugging drawing tablet (GTK3/Wayland/Firefox)
Steps to reproduce
- Plug in drawing tablet
- Open firefox
- Prox-in above firefox window
- Switch to different gnome-shell workspace
- prox-in there
- unplug drawing tablet
Version information
Firefox 123.0 flatpak
Backtrace
automatically generated report: https://crash-stats.mozilla.org/report/index/e40798ae-a19c-4663-a8b8-9835c0240220#tab-details
| 0 | libglib-2.0.so.0 | g_list_remove | /usr/lib/debug/source/components/glib.bst/glib/glist.c:598 | context |
|-----|-------------------------|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|---------|
| 1 | libgdk-3.so.0 | tablet_pad_handle_removed | /usr/lib/debug/source/components/gtk3.bst/gdk/wayland/gdkdevice-wayland.c:4578 | cfi |
| 2 | libffi.so.8 | ffi_call_unix64 | /usr/lib/debug/source/components/libffi.bst/src/x86/unix64.S:104 | cfi |
| 3 | libffi.so.8 | ffi_call_int | /usr/lib/debug/source/components/libffi.bst/src/x86/ffi64.c:673 | cfi |
| 4 | libffi.so.8 | ffi_call | /usr/lib/debug/source/components/libffi.bst/src/x86/ffi64.c:710 | cfi |
| 5 | libwayland-client.so.0 | wl_closure_invoke | /usr/lib/debug/source/components/wayland.bst/src/connection.c:1025 | cfi |
| 6 | libwayland-client.so.0 | dispatch_event | /usr/lib/debug/source/components/wayland.bst/src/wayland-client.c:1631 | cfi |
| 7 | libwayland-client.so.0 | dispatch_queue | /usr/lib/debug/source/components/wayland.bst/src/wayland-client.c:1777 | inlined |
| 7 | libwayland-client.so.0 | wl_display_dispatch_queue_pending | /usr/lib/debug/source/components/wayland.bst/src/wayland-client.c:2019 | cfi |
| 8 | libgdk-3.so.0 | _gdk_wayland_display_queue_events | /usr/lib/debug/source/components/gtk3.bst/gdk/wayland/gdkeventsource.c:201 | cfi |
| 9 | libgdk-3.so.0 | gdk_display_get_event | /usr/lib/debug/source/components/gtk3.bst/gdk/gdkdisplay.c:442 | cfi |
| 10 | libgdk-3.so.0 | gdk_event_source_dispatch | /usr/lib/debug/source/components/gtk3.bst/gdk/wayland/gdkeventsource.c:120 | cfi |
| 11 | libglib-2.0.so.0 | g_main_dispatch | /usr/lib/debug/source/components/glib.bst/glib/gmain.c:3460 | inlined |
| 11 | libglib-2.0.so.0 | g_main_context_dispatch | /usr/lib/debug/source/components/glib.bst/glib/gmain.c:4200 | cfi |
| 12 | libglib-2.0.so.0 | g_main_context_iterate | /usr/lib/debug/source/components/glib.bst/glib/gmain.c:4276 | cfi |
| 13 | libglib-2.0.so.0 | g_main_context_iteration | /usr/lib/debug/source/components/glib.bst/glib/gmain.c:4343 | cfi |
| 14 | libxul.so | nsAppShell::ProcessNextNativeEvent(bool) | widget/gtk/nsAppShell.cpp:492 | inlined |
| 14 | libxul.so | nsBaseAppShell::DoProcessNextNativeEvent(bool) | widget/nsBaseAppShell.cpp:131 | inlined |
| 14 | libxul.so | nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool) | widget/nsBaseAppShell.cpp:267 | inlined |
| 14 | libxul.so | {virtual override thunk({offset(-8)}, nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool))} | widget/nsBaseAppShell.cpp:0 | inlined |
| 14 | libxul.so | nsThread::ProcessNextEvent(bool, bool*) | xpcom/threads/nsThread.cpp:1114 | inlined |
| 14 | libxul.so | NS_ProcessNextEvent(nsIThread*, bool) | xpcom/threads/nsThreadUtils.cpp:480 | cfi |
| 15 | libxul.so | mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) | ipc/glue/MessagePump.cpp:107 | cfi |
| 16 | libxul.so | MessageLoop::RunInternal() | ipc/chromium/src/base/message_loop.cc:370 | inlined |
| 16 | libxul.so | MessageLoop::RunHandler() | ipc/chromium/src/base/message_loop.cc:363 | inlined |
| 16 | libxul.so | MessageLoop::Run() | ipc/chromium/src/base/message_loop.cc:345 | inlined |
| 16 | libxul.so | nsBaseAppShell::Run() | widget/nsBaseAppShell.cpp:148 | cfi |
| 17 | libxul.so | nsAppShell::Run() | widget/gtk/nsAppShell.cpp:470 | cfi |
| 18 | libxul.so | nsAppStartup::Run() | toolkit/components/startup/nsAppStartup.cpp:296 | cfi |
| 19 | libxul.so | XREMain::XRE_mainRun() | toolkit/xre/nsAppRunner.cpp:5709 | cfi |
| 20 | libxul.so | XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) | toolkit/xre/nsAppRunner.cpp:5918 | cfi |
| 21 | libxul.so | XRE_main(int, char**, mozilla::BootstrapConfig const&) | toolkit/xre/nsAppRunner.cpp:5974 | cfi |
| 22 | firefox-bin | do_main(int, char**, char**) | browser/app/nsBrowserApp.cpp:227 | inlined |
| 22 | firefox-bin | main | browser/app/nsBrowserApp.cpp:445 | cfi |
| 23 | libc.so.6 | __libc_start_call_main | /usr/lib/debug/source/bootstrap/glibc.bst/sysdeps/nptl/libc_start_call_main.h:58 | cfi |
| 24 | libc.so.6 | __libc_start_main@@GLIBC_2.34 | /usr/lib/debug/source/bootstrap/glibc.bst/csu/libc-start.c:360 | cfi |
| 25 | firefox-bin | _start | | cfi |
downstream bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1881446
this bug was already reported in gtk, but closed: #2748 (closed)
Edited by RocketRide