Crash when starting under labwc and weston
xfce4-panel 4.19.5git- 96c52077 (Xfce 4.18)
labwc 0.8.0
weston 14.0.0
I did not manage to test it under wayfire 0.9.0-c4236d6 (Oct 17 2024) branch master (xfce4-panel starting under X11).
The stacktrace below is for xfce4-panel under labwc but the error with weston appears the same.
(xfce4-panel:2991822): GLib-GObject-CRITICAL **: 21:35:46.855: specified instance size for type 'XfwSeatWayland' is smaller than the parent type's 'XfwSeat' instance size
(xfce4-panel:2991822): GLib-CRITICAL **: 21:35:46.856: g_once_init_leave: assertion 'result != 0' failed
(xfce4-panel:2991822): GLib-GObject-CRITICAL **: 21:35:46.856: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Thread 1 "xfce4-panel" received signal SIGSEGV, Segmentation fault.
0x00007ffff7ec6621 in _xfw_seat_wayland_new (screen=screen@entry=0x555555619ff0, wl_seat=0x5555557aae90) at xfw-seat-wayland.c:84 84 seat->screen = XFW_SCREEN_WAYLAND(screen);
(gdb) bt
#0 0x00007ffff7ec6621 in _xfw_seat_wayland_new (screen=screen@entry=0x555555619ff0, wl_seat=0x5555557aae90) at xfw-seat-wayland.c:84
#1 0x00007ffff7ec6112 in registry_global (data=0x555555619ff0, registry=0x5555558a4330, id=12, interface=0x5555557490d0 "wl_seat", version=9) at xfw-screen-wayland.c:320
#2 registry_global (data=0x555555619ff0, registry=0x5555558a4330, id=12, interface=0x5555557490d0 "wl_seat", version=9) at xfw-screen-wayland.c:309
#3 0x00007ffff6a0a596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#4 0x00007ffff6a0700e in ffi_call_int (cif=cif@entry=0x7fffffffc490, fn=, rvalue=, avalue=, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#5 0x00007ffff6a09bd3 in ffi_call (cif=cif@entry=0x7fffffffc490, fn=, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fffffffc560) at ../src/x86/ffi64.c:710
#6 0x00007ffff7d5b8b0 in wl_closure_invoke (closure=closure@entry=0x555555748ff0, target=, target@entry=0x5555558a4330, opcode=opcode@entry=0, data=, flags=1) at ../wayland-1.23.1/src/connection.c:1228
#7 0x00007ffff7d5c139 in dispatch_event (display=display@entry=0x5555555e0440, queue=queue@entry=0x5555555e0538) at ../wayland-1.23.1/src/wayland-client.c:1674
#8 0x00007ffff7d5c553 in dispatch_queue (display=0x5555555e0440, queue=0x5555555e0538) at ../wayland-1.23.1/src/wayland-client.c:1820
#9 wl_display_dispatch_queue_pending (display=display@entry=0x5555555e0440, queue=queue@entry=0x5555555e0538) at ../wayland-1.23.1/src/wayland-client.c:2062
#10 0x00007ffff7d5e1c4 in wl_display_dispatch_queue (display=, queue=) at ../wayland-1.23.1/src/wayland-client.c:2038
#11 0x00007ffff7d5f4cc in wl_display_roundtrip_queue (display=0x5555555e0440, queue=0x5555555e0538) at ../wayland-1.23.1/src/wayland-client.c:1448
#12 0x00007ffff7d5f521 in wl_display_roundtrip (display=) at ../wayland-1.23.1/src/wayland-client.c:1477
#13 0x00007ffff7ec5ea3 in xfw_screen_wayland_constructed (obj=0x555555619ff0) at xfw-screen-wayland.c:134
#14 0x00007ffff6f707fa in ??? () at /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff6f7297b in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff6f72d30 in g_object_new () at /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff7eb789b in xfw_screen_get (gdk_screen=0x5555555e7b20) at xfw-screen.c:592
#18 IA__xfw_screen_get_default () at xfw-screen.c:622
#19 0x0000555555589e30 in panel_window_screen_changed (widget=0x5555556dd140, previous_screen=) at panel-window.c:1957
#20 0x0000555555589fc6 in panel_window_init (window=0x5555556dd140) at panel-window.c:698
#21 0x00007ffff6f8b849 in g_type_create_instance () at /usr/lib/libgobject-2.0.so.0
#22 0x00007ffff6f70685 in ??? () at /usr/lib/libgobject-2.0.so.0
#23 0x00007ffff6f7297b in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0
#24 0x00007ffff6f72d30 in g_object_new () at /usr/lib/libgobject-2.0.so.0
#25 0x000055555558a59a in panel_window_new (screen=0x5555555e7b20, screen@entry=0x0, id=id@entry=0, autohide_block=0) at panel-window.c:4002
#26 0x000055555556fa96 in panel_application_new_window (application=application@entry=0x55555572db00, screen=screen@entry=0x0, panel_id=panel_id@entry=0, new_window=new_window@entry=0) at panel-application.c:1568
#27 0x000055555556fdde in panel_application_load_real (application=application@entry=0x55555572db00) at panel-application.c:448
#28 0x00005555555701b8 in panel_application_load (application=0x55555572db00, disable_wm_check=) at panel-application.c:1291
#29 0x000055555556de6e in panel_dbus_name_acquired (connection=, name=, user_data=) at main.c:208
#30 0x00007ffff7203bed in ??? () at /usr/lib/libgio-2.0.so.0
#31 0x00007ffff7203e1a in ??? () at /usr/lib/libgio-2.0.so.0
#32 0x00007ffff71fba39 in ??? () at /usr/lib/libgio-2.0.so.0
#33 0x00007ffff7009299 in ??? () at /usr/lib/libglib-2.0.so.0
#34 0x00007ffff706bec7 in ??? () at /usr/lib/libglib-2.0.so.0
#35 0x00007ffff7009fa7 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#36 0x00007ffff75e4ebf in gtk_main () at /usr/lib/libgtk-3.so.0
#37 0x000055555556a330 in main (argc=, argv=) at main.c:378
Edited by Gaël Bonithon