Bug 2276704

Summary: [abrt] gnome-software: g_malloc(): gnome-software killed by SIGABRT
Product: [Fedora] Fedora Reporter: pchmykh
Component: gnome-softwareAssignee: Milan Crha <mcrha>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: gnome-sig, mcrha, pchmykh, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8b3880c5bc5d138d36c223056f21d0945888a2d
Whiteboard: abrt_hash:03fdf22c66a77d9ce700e5d13e3703794a53197d;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-24 06:58:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: dso_list
none
File: var_log_messages
none
File: backtrace none

Description pchmykh 2024-04-23 19:19:29 UTC
Description of problem:
upgraded to Fedora 40 from Fedora 39, fully upgraded 39 and rebooted before, and got this crash just after first F40 boot.

Version-Release number of selected component:
gnome-software-46.0-1.fc40

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         gnome-software killed by SIGABRT
journald_cursor: s=07e396a5d5ee45368c14edfae33053d4;i=39fd9e;b=ffe44ae28c0341ba9fa83500fee13ef3;m=14dc45e;t=616c8517d6eed;x=ae90ab39fd27406d
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-2560.scope
rootdir:        /
uid:            1000
kernel:         6.8.7-300.fc40.x86_64
package:        gnome-software-46.0-1.fc40
runlevel:       N 5
comment:        upgraded to Fedora 40 from Fedora 39, fully upgraded 39 and rebooted before, and got this crash just after first F40 boot.
backtrace_rating: 4
crash_function: g_malloc

Truncated backtrace:
Thread no. 1 (23 frames)
 #9 g_malloc at ../glib/gmem.c:100
 #10 g_slice_alloc at ../glib/gslice.c:193
 #11 ptr_array_new at ../glib/garray.c:1133
 #12 g_ptr_array_new_with_free_func at ../glib/garray.c:1616
 #13 as_component_init at ../src/as-component.c:433
 #14 g_type_create_instance at ../gobject/gtype.c:1951
 #15 g_object_new_internal at ../gobject/gobject.c:2603
 #17 g_object_new_with_properties at ../gobject/gobject.c:2766
 #19 as_component_new at ../src/as-component.c:6873
 #20 gs_appstream_load_desktop_cb at ../lib/gs-appstream.c:2246
 #21 xb_builder_source_get_istream at ../src/xb-builder-source.c:488
 #22 xb_builder_compile_source at ../src/xb-builder.c:233
 #23 xb_builder_compile at ../src/xb-builder.c:822
 #24 gs_appstream_gather_merge_data at ../lib/gs-appstream.c:2859
 #25 gs_appstream_add_data_merge_fixup at ../lib/gs-appstream.c:3096
 #26 gs_flatpak_rescan_appstream_store at ../plugins/flatpak/gs-flatpak.c:1175
 #27 gs_flatpak_refresh_appstream at ../plugins/flatpak/gs-flatpak.c:1506
 #28 gs_flatpak_refresh at ../plugins/flatpak/gs-flatpak.c:2214
 #29 refresh_metadata_thread_cb at ../plugins/flatpak/gs-plugin-flatpak.c:535
 #30 gs_worker_thread_run_queue at ../lib/gs-worker-thread.c:223
 #31 thread_cb at ../lib/gs-worker-thread.c:238
 #32 g_thread_proxy at ../glib/gthread.c:835
 #34 clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Comment 1 pchmykh 2024-04-23 19:19:33 UTC
Created attachment 2028563 [details]
File: proc_pid_status

Comment 2 pchmykh 2024-04-23 19:19:34 UTC
Created attachment 2028564 [details]
File: maps

Comment 3 pchmykh 2024-04-23 19:19:36 UTC
Created attachment 2028565 [details]
File: limits

Comment 4 pchmykh 2024-04-23 19:19:37 UTC
Created attachment 2028566 [details]
File: environ

Comment 5 pchmykh 2024-04-23 19:19:38 UTC
Created attachment 2028567 [details]
File: open_fds

Comment 6 pchmykh 2024-04-23 19:19:39 UTC
Created attachment 2028568 [details]
File: mountinfo

Comment 7 pchmykh 2024-04-23 19:19:41 UTC
Created attachment 2028569 [details]
File: os_info

Comment 8 pchmykh 2024-04-23 19:19:42 UTC
Created attachment 2028570 [details]
File: cpuinfo

Comment 9 pchmykh 2024-04-23 19:19:44 UTC
Created attachment 2028571 [details]
File: core_backtrace

Comment 10 pchmykh 2024-04-23 19:19:45 UTC
Created attachment 2028572 [details]
File: dso_list

Comment 11 pchmykh 2024-04-23 19:19:47 UTC
Created attachment 2028573 [details]
File: var_log_messages

Comment 12 pchmykh 2024-04-23 19:19:48 UTC
Created attachment 2028574 [details]
File: backtrace

Comment 13 Milan Crha 2024-04-24 06:58:56 UTC
Thanks for a bug report. This particular one had been reported already, thus I'm marking it as a duplicate.

*** This bug has been marked as a duplicate of bug 2272232 ***