-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Hi,
I'm trying to test the GTK4 version of the panel, but get the following crash:
#0 0x00007ffff77717e4 in Gio::SimpleAction::set_state(Glib::VariantBase const&) () from /usr/lib/libgiomm-2.68.so.1
#1 0x00005555555ef029 in WayfireToplevel::impl::set_classes (this=0x5555559955c0, state=0)
at ../src/panel/widgets/window-list/toplevel.cpp:459
#2 0x00005555555ef4aa in WayfireToplevel::impl::set_state (this=0x5555559955c0, state=0)
at ../src/panel/widgets/window-list/toplevel.cpp:476
#3 0x00005555555ec8c0 in WayfireToplevel::impl::impl (this=0x5555559955c0, window_list=0x555555eb39b0,
handle=0x7fffdc2964a0) at ../src/panel/widgets/window-list/toplevel.cpp:71
#4 0x00005555555ea7c3 in WayfireToplevel::WayfireToplevel (this=0x555555861d40, window_list=0x555555eb39b0,
handle=0x7fffdc2964a0) at ../src/panel/widgets/window-list/toplevel.cpp:517
#5 0x00005555555e67dc in WayfireWindowList::handle_new_toplevel (this=0x555555eb39b0, handle=0x7fffdc2964a0)
at ../src/panel/widgets/window-list/window-list.cpp:193
#6 0x00005555555e5df4 in handle_manager_toplevel (data=0x555555eb39b0, manager=0x555555ebccb0, toplevel=0x7fffdc2964a0)
at ../src/panel/widgets/window-list/window-list.cpp:15
#7 0x00007ffff569eac6 in ?? () from /usr/lib/libffi.so.8
#8 0x00007ffff569b76b in ?? () from /usr/lib/libffi.so.8
#9 0x00007ffff569e06e in ffi_call () from /usr/lib/libffi.so.8
#10 0x00007ffff7f0148d in ?? () from /usr/lib/libwayland-client.so.0
#11 0x00007ffff7f022e9 in ?? () from /usr/lib/libwayland-client.so.0
#12 0x00007ffff7f026f3 in wl_display_dispatch_queue_pending () from /usr/lib/libwayland-client.so.0
#13 0x00007ffff716722b in ?? () from /usr/lib/libgtk-4.so.1
#14 0x00007ffff7162393 in ?? () from /usr/lib/libgtk-4.so.1
#15 0x00007ffff7506f8d in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff7508657 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff7508865 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007ffff6912756 in g_application_run () from /usr/lib/libgio-2.0.so.0
#19 0x000055555565a163 in WayfireShellApp::run (this=0x5555557b7650, argc=1, argv=0x7fffffffe678)
at ../src/util/wf-shell-app.cpp:315
#20 0x0000555555592e81 in WayfirePanelApp::create (argc=1, argv=0x7fffffffe678) at ../src/panel/panel.cpp:410
#21 0x000055555559302f in main (argc=1, argv=0x7fffffffe678) at ../src/panel/panel.cpp:419
The call at src/panel/widgets/window-list/toplevel.cpp:459 that causes the crash is the following:
minimize_action->set_state(Glib::wrap(g_variant_new_boolean(false)));
However, this seems to be a null reference:
(gdb) print minimize_action
$2 = std::shared_ptr<Gio::SimpleAction> (empty) = {get() = 0x0}
Which is weird given that minimize_action is set in the constructor (line 85). Maybe the problem is that the listener is added before this? (line 58)
I'm using the latest master (6920bbe) on Arch Linux with a recent version of Wayfire (0.11)
Metadata
Metadata
Assignees
Labels
No labels