Crash on startup if fullscreen enabled.
The System Monitor crashes if it tries to make its window fullscreen on startup.
Manually changing the window to fullscreen after that does not crash it.
Using the dconf-editor to set the maximized
property of the System Monitor to false allows it to start again.
Compiling it with the line setting the window to fullscreen commented out also works.
Relevant version info:
OS: Fedora 39 Beta
Tested GSM Versions: fd83b766 and 175fdd5b
Libgtop: c7be3497440804179b7e3095cc24f5ec7a3a970d
Libadwaita: 1.4.0
GTK4: 4.12.3
Not sure what else could be relevant, so feel free to ask for other versions
gdb backtrace:
Click to expand
#0 0x00000000004918ec in cb_main_window_suspended(GtkWindow*, gboolean, GsmApplication*) (surface=0x768aa0 [AdwApplicationWindow], suspended=7846320, app=0x792a80) at ../src/interface.cpp:764
#1 0x00007ffff7ed652a in g_closure_invoke (closure=0xea2030, return_value=0x0, n_param_values=2, param_values=0x7fffffffce20, invocation_hint=0x7fffffffcd70) at ../gobject/gclosure.c:832
#2 0x00007ffff7f04fec in signal_emit_unlocked_R.isra.0
(node=node@entry=0x7fffffffcf10, detail=detail@entry=1830, instance=instance@entry=0x768aa0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffce20) at ../gobject/gsignal.c:3980
#3 0x00007ffff7ef5d59 in signal_emit_valist_unlocked (instance=instance@entry=0x768aa0, signal_id=signal_id@entry=1, detail=detail@entry=1830, var_args=var_args@entry=0x7fffffffd080) at ../gobject/gsignal.c:3612
#4 0x00007ffff7ef5f91 in g_signal_emit_valist (instance=0x768aa0, signal_id=1, detail=1830, var_args=var_args@entry=0x7fffffffd080) at ../gobject/gsignal.c:3355
#5 0x00007ffff7ef6053 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3675
#6 0x00007ffff7ee16f4 in g_object_dispatch_properties_changed (object=0x768aa0 [AdwApplicationWindow], n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1427
#7 0x00007ffff7ee4ca7 in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0x768aa0 [AdwApplicationWindow]) at ../gobject/gobject.c:1551
#8 g_object_notify_by_pspec (object=object@entry=0x768aa0 [AdwApplicationWindow], pspec=<optimized out>) at ../gobject/gobject.c:1657
#9 0x00007ffff7289bad in surface_state_changed (widget=0x768aa0 [AdwApplicationWindow]) at ../gtk/gtkwindow.c:4728
#10 0x00007ffff7ed652a in g_closure_invoke (closure=0x14e55a0, return_value=0x0, n_param_values=2, param_values=0x7fffffffd3f0, invocation_hint=0x7fffffffd340) at ../gobject/gclosure.c:832
#11 0x00007ffff7f04fec in signal_emit_unlocked_R.isra.0
(node=node@entry=0x7fffffffd4e0, detail=detail@entry=1737, instance=instance@entry=0xee8b90, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffd3f0) at ../gobject/gsignal.c:3980
#12 0x00007ffff7ef5d59 in signal_emit_valist_unlocked (instance=instance@entry=0xee8b90, signal_id=signal_id@entry=1, detail=detail@entry=1737, var_args=var_args@entry=0x7fffffffd650) at ../gobject/gsignal.c:3612
#13 0x00007ffff7ef5f91 in g_signal_emit_valist (instance=0xee8b90, signal_id=1, detail=1737, var_args=var_args@entry=0x7fffffffd650) at ../gobject/gsignal.c:3355
#14 0x00007ffff7ef6053 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3675
#15 0x00007ffff7ee16f4 in g_object_dispatch_properties_changed (object=0xee8b90 [GdkWaylandToplevel], n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1427
#16 0x00007ffff7ee7f5f in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0xee8b90 [GdkWaylandToplevel]) at ../gobject/gobject.c:1551
#17 g_object_notify (property_name=0x7ffff7551272 "state", object=0xee8b90 [GdkWaylandToplevel]) at ../gobject/gobject.c:1601
#18 g_object_notify (object=object@entry=0xee8b90 [GdkWaylandToplevel], property_name=property_name@entry=0x7ffff7551272 "state") at ../gobject/gobject.c:1578
#19 0x00007ffff744d467 in gdk_surface_set_state
(new_state=(GDK_TOPLEVEL_STATE_MAXIMIZED | GDK_TOPLEVEL_STATE_TILED | GDK_TOPLEVEL_STATE_TOP_TILED | GDK_TOPLEVEL_STATE_RIGHT_TILED | GDK_TOPLEVEL_STATE_BOTTOM_TILED | GDK_TOPLEVEL_STATE_LEFT_TILED | GDK_TOPLEVEL_STATE_SUSPENDED), surface=0xee8b90 [GdkWaylandToplevel]) at ../gdk/gdksurface.c:2669
#20 gdk_surface_set_state
(surface=0xee8b90 [GdkWaylandToplevel], new_state=(GDK_TOPLEVEL_STATE_MAXIMIZED | GDK_TOPLEVEL_STATE_TILED | GDK_TOPLEVEL_STATE_TOP_TILED | GDK_TOPLEVEL_STATE_RIGHT_TILED | GDK_TOPLEVEL_STATE_BOTTOM_TILED | GDK_TOPLEVEL_STATE_LEFT_TILED | GDK_TOPLEVEL_STATE_SUSPENDED)) at ../gdk/gdksurface.c:2648
#21 0x00007ffff73f8934 in gdk_synthesize_surface_state (set_flags=<optimized out>, unset_flags=<optimized out>, surface=0xee8b90 [GdkWaylandToplevel]) at ../gdk/gdksurface.c:2680
#22 gdk_surface_apply_state_change (surface=0xee8b90 [GdkWaylandToplevel]) at ../gdk/gdksurface.c:2701
#23 gdk_surface_apply_state_change (surface=0xee8b90 [GdkWaylandToplevel]) at ../gdk/gdksurface.c:2696
gdb log with all thread backtrace: gdb.log