Bug 2476951 - [abrt] Crash when closing session manager with failed session open
Summary: [abrt] Crash when closing session manager with failed session open
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: 44
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:5ac51869e20878d5ed45c30f5b8...
: 2479600 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-13 07:57 UTC by Ivan Tsenov
Modified: 2026-05-19 01:51 UTC (History)
5 users (show)

Fixed In Version: gnome-software-50.2-1.fc44
Clone Of:
Environment:
Last Closed: 2026-05-13 14:27:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.49 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: maps (82.37 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: limits (1.29 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: environ (1.82 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: open_fds (7.56 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: mountinfo (4.43 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: os_info (699 bytes, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: cpuinfo (3.66 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: core_backtrace (86.42 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: exploitable (81 bytes, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: dso_list (16.26 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: var_log_messages (280 bytes, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details
File: backtrace (162.00 KB, text/plain)
2026-05-13 07:57 UTC, Ivan Tsenov
no flags Details

Description Ivan Tsenov 2026-05-13 07:57:05 UTC
Version-Release number of selected component:
gnome-software-50.1-4.fc44

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         gnome-software killed by SIGSEGV
journald_cursor: s=a392840d2e3a4d728008382a929a235c;i=9ebbcb;b=3f3301f327c8412d98348d8a8682a549;m=1360f5f6;t=651ae43b2a28d;x=f9e8e31fd47b7243
executable:     /usr/bin/gnome-software
cmdline:        /usr/bin/gnome-software --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/gnome-software.service
rootdir:        /
uid:            1000
kernel:         7.0.4-200.fc44.x86_64
package:        gnome-software-50.1-4.fc44
runlevel:       /bin/sh: line 1: runlevel: command not found
backtrace_rating: 4
crash_function: g_variant_is_trusted

Truncated backtrace:
Thread no. 1 (11 frames)
 #0 g_variant_is_trusted at ../glib/gvariant-core.c:844
 #1 g_variant_builder_add_value at ../glib/gvariant.c:3605
 #3 g_variant_valist_new at ../glib/gvariant.c:5369
 #4 g_variant_new_va at ../glib/gvariant.c:5545
 #5 g_variant_new at ../glib/gvariant.c:5480
 #6 gs_dnf5_session_manager_call_close_session at plugins/dnf5/gs-dnf5-generated.c:10311
 #7 gs_dnf5_close_session_real at ../plugins/dnf5/gs-plugin-dnf5.c:788
 #8 gs_dnf5_close_session at ../plugins/dnf5/gs-plugin-dnf5.c:1036
 #9 gs_dnf5_check_key_source_thread at ../plugins/dnf5/gs-plugin-dnf5.c:1657
 #10 g_thread_proxy at ../glib/gthread.c:893
 #12 __clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78


Potential duplicate: bug 1512330

Comment 1 Ivan Tsenov 2026-05-13 07:57:08 UTC
Created attachment 2140940 [details]
File: proc_pid_status

Comment 2 Ivan Tsenov 2026-05-13 07:57:10 UTC
Created attachment 2140941 [details]
File: maps

Comment 3 Ivan Tsenov 2026-05-13 07:57:11 UTC
Created attachment 2140942 [details]
File: limits

Comment 4 Ivan Tsenov 2026-05-13 07:57:13 UTC
Created attachment 2140943 [details]
File: environ

Comment 5 Ivan Tsenov 2026-05-13 07:57:14 UTC
Created attachment 2140944 [details]
File: open_fds

Comment 6 Ivan Tsenov 2026-05-13 07:57:15 UTC
Created attachment 2140945 [details]
File: mountinfo

Comment 7 Ivan Tsenov 2026-05-13 07:57:17 UTC
Created attachment 2140946 [details]
File: os_info

Comment 8 Ivan Tsenov 2026-05-13 07:57:18 UTC
Created attachment 2140947 [details]
File: cpuinfo

Comment 9 Ivan Tsenov 2026-05-13 07:57:20 UTC
Created attachment 2140948 [details]
File: core_backtrace

Comment 10 Ivan Tsenov 2026-05-13 07:57:21 UTC
Created attachment 2140949 [details]
File: exploitable

Comment 11 Ivan Tsenov 2026-05-13 07:57:22 UTC
Created attachment 2140950 [details]
File: dso_list

Comment 12 Ivan Tsenov 2026-05-13 07:57:24 UTC
Created attachment 2140951 [details]
File: var_log_messages

Comment 13 Ivan Tsenov 2026-05-13 07:57:25 UTC
Created attachment 2140952 [details]
File: backtrace

Comment 14 Milan Crha 2026-05-13 08:32:46 UTC
Thanks for a bug report. It looks like it failed to open a session for some reason, possibly due to too many had been opened already, but the code failed to reflect the error properly to the caller, in a way the caller expects that. It will be fixed in the next gnome-software update.

I see in the backtrace that there are plenty of threads trying to figure out whether one or more of the configured repo keys are safe to be confirmed. No idea why they had got stuck, but seeing there that many of them is suspicious.

Do you have configured many custom repositories, which have enabled repo_gpgcheck=1, and whose gpgkey=file://..., please? You can see them in `/etc/yum.repos.d/`.

Comment 15 Ivan Tsenov 2026-05-13 09:09:20 UTC
This happened during upgrade from Fedora 43 to 44, maybe this is why so many threads...

This is my repo list:
-rw-r--r--. 1 root   root    325 Apr 24 09:02 1password.repo
-rw-r--r--  1 root   root    364 Sep 22  2024 _copr:copr.fedorainfracloud.org:kwizart:fedy.repo
-rw-r--r--. 1 root   root    376 Jul 20  2024 _copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
-rw-r--r--  1 root   root    236 Jul 24  2025 cuda-fedora42.repo
-rw-r--r--  1 root   root   1919 Aug 12  2024 docker-ce.repo
-rw-r--r--. 1 root   root   1101 Sep 10  2024 fedora-cisco-openh264.repo
-rw-r--r--. 1 root   root   1239 Sep 10  2024 fedora.repo
-rw-r--r--. 1 root   root   1286 Apr  1 03:00 fedora-updates.repo
-rw-r--r--. 1 root   root   1364 Sep 10  2024 fedora-updates-testing.repo
-rw-r--r--. 1 root   root    199 Jul 20  2024 google-chrome.repo
-rw-r--r--  1 root   root    156 Apr 16 21:28 netbird.repo
-rw-r--r--  1 root   root    597 May 14  2025 nvidia-container-toolkit.repo
-rw-r--r--  1 root   root    646 Sep 10  2024 opentofu.repo
-rw-rw-r--. 1 root   root    205 May 15  2024 pgadmin4.repo
-rw-r--r--  1 root   root    104 Nov 19  2024 repo.nordvpn.com_yum_nordvpn_centos_x86_64.repo
-rw-r--r--  1 root   root   1248 Apr 22 03:00 rpmfusion-free.repo
-rw-r--r--  1 root   root   1264 Apr 22 03:00 rpmfusion-free-updates.repo
-rw-r--r--  1 root   root   1324 Apr 22 03:00 rpmfusion-free-updates-testing.repo
-rw-r--r--. 1 root   root   1487 Jul 20  2024 rpmfusion-nonfree-nvidia-driver.repo
-rw-r--r--. 1 root   root   1391 Jul 20  2024 rpmfusion-nonfree-steam.repo
-rw-r--r--  1 root   root    161 Feb 28  2025 vivaldi-fedora.repo

Only 1 has repo_gpgcheck=1 and gpgkey=file:// :    
- pgadmin4.repo: gpgkey=file:///etc/pki/rpm-gpg/PGADMIN_PKG_KEY

And 3 more have repo_gpgcheck=1, but no gpgkey=file:// :  
- opentofu.repo
- nvidia-container-toolkit.repo
- netbird.repo


Best,
Ivan

Comment 16 Milan Crha 2026-05-13 12:01:17 UTC
Are those 4 repos public sources, please? I guess at least the pgamin4.repo comes from a package (rpm), maybe? I'd like to try with them. I've one for cursor, but it's only one and it does not reference the repo key by the file://..., thus it's like one of the other three you have.

Comment 17 Ivan Tsenov 2026-05-13 12:46:03 UTC
pgadmin4.repo  comes from this rpm https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
Inside there are two files, the .repo file and the PGADMIN_PKG_KEY file

NVIDIA repo comes from here https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo

And opentofu.repo and netbird.repo  are created buy a shell script installer.

All of the repos are public, if I'm understanding correctly.

Comment 18 Milan Crha 2026-05-13 14:27:21 UTC
Thank you. I tried with them and I could reproduce the crash. Then I verified a fix I used at [1] worked, it avoided the crash.

A workaround is to use repo_gpgcheck=0 in the /etc/yum.repos.d/pgadmin4.repo file. If you'd like to have an early test build instead, then I can build it in koji for you.

[1] https://gitlab.gnome.org/mcrha/gnome-software/-/commit/d2e9f371bbdc4ed705d4c0ea964a7920eba2593b

Comment 19 Ivan Tsenov 2026-05-13 15:49:18 UTC
I'm happy I could help.

I'll just disable the check. There is no need of a test build, I think.

Best,
Ivan

Comment 20 Milan Crha 2026-05-14 08:18:03 UTC
Okay, thank you.

Comment 21 Milan Crha 2026-05-18 16:16:57 UTC
*** Bug 2479600 has been marked as a duplicate of this bug. ***

Comment 22 Paul DeStefano 2026-05-19 01:21:16 UTC
Just started Gnome Software and clicked on the Updates tab.  It spun for a long time, and then crashed.


reporter:       libreport-2.17.15
cgroup:         0::/user.slice/user-13013.slice/user/app.slice/gnome-software.service
journald_cursor: s=9326cb40d2134d7197ef17a678529923;i=3af9ba2;b=0cf8398ffcc447d5a4db86113213b3ef;m=88bf2e0fb4;t=652214b6ac174;x=ff6b6b2d5eda4c3f
cmdline:        /usr/bin/gnome-software --gapplication-service
package:        gnome-software-50.1-4.fc44
crash_function: g_variant_is_trusted
type:           CCpp
backtrace_rating: 4
comment:        Just started Gnome Software and clicked on the Updates tab.  It spun for a long time, and then crashed.
uid:            13013
executable:     /usr/bin/gnome-software
reason:         gnome-software killed by SIGSEGV
rootdir:        /
kernel:         7.0.4-200.fc44.x86_64

Comment 23 Paul DeStefano 2026-05-19 01:51:09 UTC
I just started Gnome Software after reboot.  Completely clean boot.


reporter:       libreport-2.17.15
cgroup:         0::/user.slice/user-13013.slice/user/app.slice/gnome-software.service
journald_cursor: s=9326cb40d2134d7197ef17a678529923;i=3affd08;b=ca223b57156644a0a37e7bebf133ce4f;m=41770e8;t=65221e13f360a;x=ad1f30ed4bb8aa63
cmdline:        /usr/bin/gnome-software --gapplication-service
package:        gnome-software-50.1-4.fc44
crash_function: g_variant_is_trusted
type:           CCpp
backtrace_rating: 4
comment:        I just started Gnome Software after reboot.  Completely clean boot.
uid:            13013
executable:     /usr/bin/gnome-software
reason:         gnome-software killed by SIGSEGV
rootdir:        /
kernel:         7.0.8-200.fc44.x86_64


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