pure mutter 3.32 crash when connecting wayland application
Step to reproduce:
- ubuntu 19.04 beta(with mutter 3.32) or ubuntu 18.10(mutter 3.30)
- disable gnome: systemctl set-default multi-user.target
- start just mutter --display-server --wayland --no-x11
- start test application glmark2-wayland
mutter crash bt:
#0 meta_x11_error_trap_push (x11_display=0x0) at ../src/x11/meta-x11-errors.c:52
#1 0x00007ff49dbce5ce in meta_window_wayland_new (display=0x55c6e346c000, surface=surface@entry=0x55c6e3159150)
at ../src/wayland/meta-window-wayland.c:664
#2 0x00007ff49dbc97a1 in create_wl_shell_surface_window (surface=0x55c6e3159150) at ../src/wayland/meta-wayland-wl-shell.c:483
#3 0x00007ff49af0f81e in ffi_call_unix64 () from /lib/x86_64-linux-gnu/libffi.so.6
#4 0x00007ff49af0f1ef in ffi_call () from /lib/x86_64-linux-gnu/libffi.so.6
#5 0x00007ff49d95b8fd in ?? () from /lib/x86_64-linux-gnu/libwayland-server.so.0
#6 0x00007ff49d958379 in ?? () from /lib/x86_64-linux-gnu/libwayland-server.so.0
#7 0x00007ff49d959942 in wl_event_loop_dispatch () from /lib/x86_64-linux-gnu/libwayland-server.so.0
#8 0x00007ff49dbaf557 in wayland_event_source_dispatch (base=<optimized out>, callback=<optimized out>, data=<optimized out>)
at ../src/wayland/meta-wayland.c:91
#9 0x00007ff49da0eaae in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ff49da0ed48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ff49da0f042 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ff49db772fc in meta_run () at ../src/core/main.c:683
#13 0x000055c6e21fead5 in main (argc=<optimized out>, argv=<optimized out>) at ../src/core/mutter.c:84
all fine on ubuntu 18.04 with mutter 3.28.3
Edited by Michal Lazo