Bug 2237012 - [abrt] gnome-software: g_value_object_collect_value(): gnome-software killed by SIGSEGV
Summary: [abrt] gnome-software: g_value_object_collect_value(): gnome-software killed ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:84a28a0e71ad56e3ae420e1334a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-02 20:01 UTC by Gwen Lg
Modified: 2023-09-04 09:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-04 09:46:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.46 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: maps (3.89 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: limits (1.29 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: open_fds (8.59 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: os_info (734 bytes, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: cpuinfo (3.28 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: core_backtrace (63.54 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: exploitable (117 bytes, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: dso_list (169 bytes, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: var_log_messages (939 bytes, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: backtrace (126.45 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: mountinfo (2.48 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details
File: environ (1.57 KB, text/plain)
2023-09-02 20:01 UTC, Gwen Lg
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gnome-software issues 2325 0 None opened Crash under gs-updates-section.c:_reboot_failed_cb() 2023-09-04 09:46:12 UTC

Description Gwen Lg 2023-09-02 20:01:10 UTC
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

Comment 1 Gwen Lg 2023-09-02 20:01:13 UTC
Created attachment 1986740 [details]
File: proc_pid_status

Comment 2 Gwen Lg 2023-09-02 20:01:14 UTC
Created attachment 1986741 [details]
File: maps

Comment 3 Gwen Lg 2023-09-02 20:01:15 UTC
Created attachment 1986742 [details]
File: limits

Comment 4 Gwen Lg 2023-09-02 20:01:17 UTC
Created attachment 1986743 [details]
File: open_fds

Comment 5 Gwen Lg 2023-09-02 20:01:18 UTC
Created attachment 1986744 [details]
File: os_info

Comment 6 Gwen Lg 2023-09-02 20:01:19 UTC
Created attachment 1986745 [details]
File: cpuinfo

Comment 7 Gwen Lg 2023-09-02 20:01:21 UTC
Created attachment 1986746 [details]
File: core_backtrace

Comment 8 Gwen Lg 2023-09-02 20:01:22 UTC
Created attachment 1986747 [details]
File: exploitable

Comment 9 Gwen Lg 2023-09-02 20:01:23 UTC
Created attachment 1986748 [details]
File: dso_list

Comment 10 Gwen Lg 2023-09-02 20:01:25 UTC
Created attachment 1986749 [details]
File: var_log_messages

Comment 11 Gwen Lg 2023-09-02 20:01:26 UTC
Created attachment 1986750 [details]
File: backtrace

Comment 12 Gwen Lg 2023-09-02 20:01:28 UTC
Created attachment 1986751 [details]
File: mountinfo

Comment 13 Gwen Lg 2023-09-02 20:01:29 UTC
Created attachment 1986752 [details]
File: environ

Comment 14 Milan Crha 2023-09-04 09:46:12 UTC
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


Note You need to log in before you can comment on or make changes to this bug.