Segfault in wayland with chrome and mpv
Affected version
- Fedora Silverblue 35.20220212.0
- gnome-shell-41.3-1.fc35.x86_64
- Wayland
- Chrome flatpak 98.0.4758.80-1
- mpv flatpak 0.34.1
Bug summary
Segfault crash when I exit mpv
Steps to reproduce
- Log into desktop with wayland.
- Run chrome (from flatpak) with wayland ozone backend.
- Run mpv with -vo=gpu --gpu-context=wayland.
- Close mpv (press q).
What happened
Crash
What did you expect to happen
No crash, mpv window closes.
Relevant logs, screenshots, screencasts etc.
I'm having a bit of trouble getting the full trace since Silverblue doesn't have gdb installed in the base system, and I can't get the package versions quite right in a toolbox. The not-full trace is:
#0 0x00007f37c171f6ed meta_window_wayland_configure (libmutter-9.so.0 + 0x1476ed)
#1 0x00007f37c2417c7f g_closure_invoke (libgobject-2.0.so.0 + 0x13c7f)
#2 0x00007f37c2434126 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x30126)
#3 0x00007f37c24359ea g_signal_emit_valist (libgobject-2.0.so.0 + 0x319ea)
#4 0x00007f37c2435c03 g_signal_emit (libgobject-2.0.so.0 + 0x31c03)
#5 0x00007f37c241f304 g_object_dispatch_properties_changed (libgobject-2.0.so.0 + 0x1b304)
#6 0x00007f37c2424eba g_object_notify_by_pspec (libgobject-2.0.so.0 + 0x20eba)
#7 0x00007f37c16bf509 meta_window_update_appears_focused (libmutter-9.so.0 + 0xe7509)
#8 0x00007f37c169a2c0 meta_display_update_focus_window (libmutter-9.so.0 + 0xc22c0)
#9 0x00007f37c169a39c meta_display_set_input_focus (libmutter-9.so.0 + 0xc239c)
#10 0x00007f37c16c5462 meta_window_focus (libmutter-9.so.0 + 0xed462)
#11 0x00007f37c16c662e mouse_mode_focus (libmutter-9.so.0 + 0xee62e)
#12 0x00007f37c16c689b meta_window_handle_enter (libmutter-9.so.0 + 0xee89b)
#13 0x00007f37c170d4ec meta_wayland_pointer_set_focus (libmutter-9.so.0 + 0x1354ec)
#14 0x00007f37c16a5f1b event_callback.lto_priv.0 (libmutter-9.so.0 + 0xcdf1b)
#15 0x00007f37c18847a5 _clutter_event_process_filters (libmutter-clutter-9.so.0 + 0x6b7a5)
#16 0x00007f37c189efbd _clutter_process_event (libmutter-clutter-9.so.0 + 0x85fbd)
#17 0x00007f37c189fc98 clutter_stage_update_device (libmutter-clutter-9.so.0 + 0x86c98)
#18 0x00007f37c2417c7f g_closure_invoke (libgobject-2.0.so.0 + 0x13c7f)
#19 0x00007f37c2434126 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x30126)
#20 0x00007f37c24359ea g_signal_emit_valist (libgobject-2.0.so.0 + 0x319ea)
#21 0x00007f37c2435c03 g_signal_emit (libgobject-2.0.so.0 + 0x31c03)
#22 0x00007f37c241f304 g_object_dispatch_properties_changed (libgobject-2.0.so.0 + 0x1b304)
#23 0x00007f37c2424eba g_object_notify_by_pspec (libgobject-2.0.so.0 + 0x20eba)
#24 0x00007f37c16fde7f meta_wayland_actor_surface_dispose (libmutter-9.so.0 + 0x125e7f)
#25 0x00007f37c2424bc4 g_object_unref (libgobject-2.0.so.0 + 0x20bc4)
#26 0x00007f37c171314c wl_surface_destructor.lto_priv.0 (libmutter-9.so.0 + 0x13b14c)
#27 0x00007f37c10070cf destroy_resource (libwayland-server.so.0 + 0xc0cf)
#28 0x00007f37c10077f3 wl_client_destroy (libwayland-server.so.0 + 0xc7f3)
#29 0x00007f37c1007e60 wl_client_connection_data (libwayland-server.so.0 + 0xce60)
#30 0x00007f37c100721a wl_event_loop_dispatch (libwayland-server.so.0 + 0xc21a)
#31 0x00007f37c16fcfbb wayland_event_source_dispatch.lto_priv.0 (libmutter-9.so.0 + 0x124fbb)
#32 0x00007f37c231e05f g_main_context_dispatch (libglib-2.0.so.0 + 0x5505f)
#33 0x00007f37c23732a8 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa2a8)
#34 0x00007f37c231d773 g_main_loop_run (libglib-2.0.so.0 + 0x54773)
#35 0x00007f37c16aa0f9 meta_context_run_main_loop (libmutter-9.so.0 + 0xd20f9)
#36 0x0000559388f7cdd3 main (gnome-shell + 0x2dd3)
#37 0x00007f37c13de560 __libc_start_call_main (libc.so.6 + 0x2d560)
#38 0x00007f37c13de60c __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d60c)
#39 0x0000559388f7d045 _start (gnome-shell + 0x3045)
I'll keep trying and attach a fuller trace if I can.