The crash happens when one tries to terminate a running program with restart style "immediately". (xfce4-session-settings:10954): GLib-CRITICAL **: 14:27:10.057: g_variant_builder_end: assertion 'ensure_valid_builder (builder)' failed (xfce4-session-settings:10954): GLib-CRITICAL **: 14:27:10.057: g_variant_get_type: assertion 'value != NULL' failed (xfce4-session-settings:10954): GLib-CRITICAL **: 14:27:10.057: g_variant_type_is_array: assertion 'g_variant_type_check (type)' failed (xfce4-session-settings:10954): GLib-CRITICAL **: 14:27:10.057: g_variant_get_type_string: assertion 'value != NULL' failed (xfce4-session-settings:10954): GLib-ERROR **: 14:27:10.057: g_variant_new: expected array GVariantBuilder but the built value has type '(null)'
Created attachment 8591 trace.log
Created attachment 8599 diff After adapting the code changes from commit 38a881 to the part which triggers the crash I can now terminate the selected program. https://git.xfce.org/xfce/xfce4-session/commit/settings/session-editor.c?id=38a8819834264020c5de6c628c8d402dc11e58dd
Theo Linkspfeifer referenced this bugreport in commit 5f7d120c9646beeb0bcfad2b306f8f3ce81752ad settings: Fix crash when terminating programs (Bug #15489) https://git.xfce.org/xfce/xfce4-session/commit?id=5f7d120c9646beeb0bcfad2b306f8f3ce81752ad
Thanks for reporting and fixing the bug!
*** Bug 15701 has been marked as a duplicate of this bug. ***