Bug 2272028 - [abrt] gnome-software: refine_thread_cb(): gnome-software killed by SIGSEGV
Summary: [abrt] gnome-software: refine_thread_cb(): gnome-software killed by SIGSEGV
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: 40
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:648de37d8adae35423fe65ac8e9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-28 09:23 UTC by Lars Martin hambro
Modified: 2024-05-03 05:55 UTC (History)
4 users (show)

Fixed In Version: gnome-software-46.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-28 15:14:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.49 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: maps (3.96 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: limits (1.29 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: environ (1.64 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: open_fds (7.16 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: mountinfo (3.07 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: os_info (756 bytes, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: cpuinfo (3.02 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: core_backtrace (58.58 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: exploitable (85 bytes, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: dso_list (185 bytes, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: var_log_messages (477 bytes, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details
File: backtrace (164.72 KB, text/plain)
2024-03-28 09:23 UTC, Lars Martin hambro
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gnome-software merge_requests 1931 0 None opened gs-plugin-appstream: Add missing silo read locker 2024-03-28 15:14:15 UTC
GNOME Gitlab GNOME gnome-software merge_requests 1992 0 None opened gs-plugin-appstream: Fix a crash when no appstream data is found 2024-04-30 11:28:25 UTC

Description Lars Martin hambro 2024-03-28 09:23:21 UTC
Description of problem:
Upgrade to fedora 40 beta try to update and install app.

Version-Release number of selected component:
gnome-software-46~beta-1.fc40

Additional info:
reporter:       libreport-2.17.14
type:           CCpp
reason:         gnome-software killed by SIGSEGV
journald_cursor: s=89ed5ef03fdd4715b4780968cd3fc9f7;i=11f3;b=6d587b1ab3a24d14b0eec3d8902ecb6d;m=1958d1b5;t=614b4f14137a2;x=55527e6fc3036dee
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-2851.scope
rootdir:        /
uid:            1000
kernel:         6.8.0-0.rc6.49.fc40.x86_64
package:        gnome-software-46~beta-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: refine_thread_cb
comment:        Upgrade to fedora 40 beta try to update and install app.

Truncated backtrace:
Thread no. 1 (5 frames)
 #0 refine_thread_cb at ../plugins/core/gs-plugin-appstream.c:1133
 #1 gs_worker_thread_run_queue at ../lib/gs-worker-thread.c:223
 #2 thread_cb at ../lib/gs-worker-thread.c:238
 #3 g_thread_proxy at ../glib/gthread.c:835
 #5 clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Comment 1 Lars Martin hambro 2024-03-28 09:23:24 UTC
Created attachment 2023976 [details]
File: proc_pid_status

Comment 2 Lars Martin hambro 2024-03-28 09:23:26 UTC
Created attachment 2023977 [details]
File: maps

Comment 3 Lars Martin hambro 2024-03-28 09:23:27 UTC
Created attachment 2023978 [details]
File: limits

Comment 4 Lars Martin hambro 2024-03-28 09:23:28 UTC
Created attachment 2023979 [details]
File: environ

Comment 5 Lars Martin hambro 2024-03-28 09:23:30 UTC
Created attachment 2023980 [details]
File: open_fds

Comment 6 Lars Martin hambro 2024-03-28 09:23:31 UTC
Created attachment 2023981 [details]
File: mountinfo

Comment 7 Lars Martin hambro 2024-03-28 09:23:32 UTC
Created attachment 2023982 [details]
File: os_info

Comment 8 Lars Martin hambro 2024-03-28 09:23:34 UTC
Created attachment 2023983 [details]
File: cpuinfo

Comment 9 Lars Martin hambro 2024-03-28 09:23:35 UTC
Created attachment 2023984 [details]
File: core_backtrace

Comment 10 Lars Martin hambro 2024-03-28 09:23:36 UTC
Created attachment 2023985 [details]
File: exploitable

Comment 11 Lars Martin hambro 2024-03-28 09:23:38 UTC
Created attachment 2023986 [details]
File: dso_list

Comment 12 Lars Martin hambro 2024-03-28 09:23:39 UTC
Created attachment 2023987 [details]
File: var_log_messages

Comment 13 Lars Martin hambro 2024-03-28 09:23:40 UTC
Created attachment 2023988 [details]
File: backtrace

Comment 14 Milan Crha 2024-03-28 15:14:16 UTC
Thanks for a bug report. I think I see where the problem is. I proposed a change upstream [1]. I'm closing this in favour of it. This will be merged for the 46.1 (I hope).

[1] https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/1931

Comment 15 com.bakadex 2024-04-07 23:28:20 UTC
I was uninstalling an application from the store (Gnome Store), but the application was open.
This caused the crash.


reporter:       libreport-2.17.15
type:           CCpp
reason:         gnome-software killed by SIGSEGV
journald_cursor: s=5c066b6367ba454ab3189ab647889ba4;i=2137f;b=6d4d1f9018e84cafad2c473c71fdb3e1;m=12abe5e74;t=61589f54862b6;x=66698448114228d9
executable:     /usr/bin/gnome-software
cmdline:        /usr/bin/gnome-software --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-flatpak-com.visualstudio.code-2722.scope
rootdir:        /
uid:            1000
kernel:         6.8.4-300.fc40.x86_64
package:        gnome-software-46.0-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: refine_thread_cb

Comment 16 Nicholas La Roux 2024-04-24 09:12:31 UTC
I searched for an app using GNOME desktop search and click into that to load the app in Software which lead to Software freezing on the screen it was currently open to.


reporter:       libreport-2.17.15
type:           CCpp
reason:         gnome-software killed by SIGSEGV
journald_cursor: s=de801baf5c40424ab3ffbede005dcd8f;i=11a288e;b=f2a2484389ea4fe1ad92a1a4fd658b7f;m=3a3c05df;t=616d3de4db0ef;x=b4297ff2243db220
executable:     /usr/bin/gnome-software
cmdline:        /usr/bin/gnome-software --gapplication-service
rootdir:        /
uid:            1000
kernel:         6.8.7-300.fc40.x86_64
package:        gnome-software-46.0-2.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: refine_thread_cb
comment:        I searched for an app using GNOME desktop search and click into that to load the app in Software which lead to Software freezing on the screen it was currently open to.

Comment 17 Milan Crha 2024-04-30 05:27:47 UTC
The bug #2277914 has the upstream change from the above, but it's still crashing. I noticed the var_log_messages mentions:

> No AppStream data, try 'make install-sample-data' in data/

Do you have appstream-data package installed?

Comment 18 Milan Crha 2024-04-30 11:28:25 UTC
I opened [2] with a fix, this time hopefully for sure.

[2] https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/1992

Comment 19 Fabio Valentini 2024-04-30 11:45:56 UTC
Crash happened at login.


reporter:       libreport-2.17.15
type:           CCpp
reason:         gnome-software killed by SIGSEGV
journald_cursor: s=9e595290e96c41329ea737c781651ba0;i=902be2;b=3459eedbfa824bcfa5318e9f981a979c;m=558c5b5;t=6174e00ae3346;x=8a1c6835128d487f
executable:     /usr/bin/gnome-software
cmdline:        /usr/bin/gnome-software --gapplication-service
rootdir:        /
uid:            1000
kernel:         6.8.8-300.fc40.x86_64
package:        gnome-software-46.1-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: refine_thread_cb
comment:        Crash happened at login.

Comment 20 Aaron Hussey-Lloyd 2024-05-02 04:05:29 UTC
Crash as Software Centre was started, window didn't even appear before crash.


reporter:       libreport-2.17.15
type:           CCpp
reason:         gnome-software killed by SIGSEGV
journald_cursor: s=cb58828f70dc4743869bb798b58fd6bc;i=ed1e;b=c89648b7b613410b91a628ffe664c5fd;m=5c243f8e9;t=61770a875cbb8;x=6aaa0489484fbc70
executable:     /usr/bin/gnome-software
cmdline:        /usr/bin/gnome-software --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-flatpak-org.gnome.Evolution-73715.scope
rootdir:        /
uid:            1000
kernel:         6.8.7-300.fc40.x86_64
package:        gnome-software-46.1-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: refine_thread_cb
comment:        Crash as Software Centre was started, window didn't even appear before crash.

Comment 21 Adam Williamson 2024-05-03 05:55:18 UTC
Seems to have happened in the background, I wasn't intentionally doing anything with Software at the time.


reporter:       libreport-2.17.15
type:           CCpp
reason:         gnome-software killed by SIGSEGV
journald_cursor: s=c084f17ab3dd4fbc991ae18b63732b2d;i=b622b3;b=e9e96d980f5142a0b77e74e894356d2b;m=11b1940cb2;t=6156f63a8aae2;x=3c389f1c3d0a6127
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-3386.scope
rootdir:        /
uid:            1000
kernel:         6.8.4-300.fc40.x86_64
package:        gnome-software-46.0-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: refine_thread_cb
comment:        Seems to have happened in the background, I wasn't intentionally doing anything with Software at the time.


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