Description of problem: Crash after cancelling a "apply update reboot" because of the same user logged in console tty. Version-Release number of selected component: gnome-software-44.4-1.fc38 Additional info: reporter: libreport-2.17.11 type: CCpp reason: gnome-software killed by SIGSEGV journald_cursor: s=b8a883156d95444492f1a6e6449e6168;i=228f37;b=82a922096a5e4f858eddba681aec29fa;m=14c17e7d1e;t=60465a9cf1a28;x=6e9740e52fe446e1 executable: /usr/bin/gnome-software cmdline: /usr/bin/gnome-software --gapplication-service cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-235698.scope rootdir: / uid: 1000 kernel: 6.4.12-200.fc38.x86_64 package: gnome-software-44.4-1.fc38 runlevel: N 5 backtrace_rating: 4 crash_function: g_value_object_collect_value comment: Crash after cancelling a "apply update reboot" because of the same user logged in console tty. Truncated backtrace: Thread no. 1 (15 frames) #0 g_value_object_collect_value at ../gobject/gobject.c:4441 #1 g_object_new_valist at ../gobject/gobject.c:2571 #3 _reboot_failed_cb at ../src/gs-updates-section.c:271 #4 g_task_return_now at ../gio/gtask.c:1309 #5 g_task_return at ../gio/gtask.c:1378 #7 g_task_return_error at ../gio/gtask.c:1988 #8 gs_utils_invoke_reboot_ready3_cb at /usr/include/glib-2.0/glib/gmem.h:233 #9 g_task_return_now at ../gio/gtask.c:1309 #10 g_task_return at ../gio/gtask.c:1378 #12 g_dbus_connection_call_done at ../gio/gdbusconnection.c:5885 #13 g_task_return_now at ../gio/gtask.c:1309 #14 complete_in_idle_cb at ../gio/gtask.c:1323 #18 g_main_context_iterate.isra.0 at ../glib/gmain.c:4276 #19 g_main_context_iteration at ../glib/gmain.c:4343 #20 g_application_run at ../gio/gapplication.c:2573
Created attachment 1986740 [details] File: proc_pid_status
Created attachment 1986741 [details] File: maps
Created attachment 1986742 [details] File: limits
Created attachment 1986743 [details] File: open_fds
Created attachment 1986744 [details] File: os_info
Created attachment 1986745 [details] File: cpuinfo
Created attachment 1986746 [details] File: core_backtrace
Created attachment 1986747 [details] File: exploitable
Created attachment 1986748 [details] File: dso_list
Created attachment 1986749 [details] File: var_log_messages
Created attachment 1986750 [details] File: backtrace
Created attachment 1986751 [details] File: mountinfo
Created attachment 1986752 [details] File: environ
Thanks for a bug report. I guess from the backtrace that the GsUpdatesSection instance passed to the callback had been freed before the callback had been called, which could cause several issues. I moved this upstream as [1]. Please see it for any further updates. [1] https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2325