Bug 2217294

Summary: udisks2 generates a coredump on shutdown or reboot
Product: [Fedora] Fedora Reporter: Eric Elena <eelena>
Component: udisks2Assignee: Tomáš Bžatek <tbzatek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: gnome-sig, tbzatek, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: udisks2-2.9.4-7.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-01 01:45:35 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:

Description Eric Elena 2023-06-26 01:31:09 UTC
udisks2 generates a coredump when I shutdown or reboot my laptop.

# journalctl -u udisks2 -b 1
Jun 26 09:33:30 eelena.remote systemd[1]: Stopping udisks2.service - Disk Manager...
Jun 26 09:33:30 eelena.remote udisksd[1360]: udisks daemon version 2.9.4 exiting
Jun 26 09:33:30 eelena.remote udisksd[1360]: **
Jun 26 09:33:30 eelena.remote udisksd[1360]: GLib-GIO:ERROR:../gio/gresource.c:1451:g_static_resource_fini: assertion failed: (g_atomic_int_get (&resource->ref_count) >= 2)
Jun 26 09:33:30 eelena.remote udisksd[1360]: Bail out! GLib-GIO:ERROR:../gio/gresource.c:1451:g_static_resource_fini: assertion failed: (g_atomic_int_get (&resource->ref_count) >= 2)
Jun 26 09:33:30 eelena.remote systemd[1]: udisks2.service: Main process exited, code=dumped, status=6/ABRT
Jun 26 09:33:30 eelena.remote systemd[1]: udisks2.service: Failed with result 'core-dump'.
Jun 26 09:33:30 eelena.remote systemd[1]: Stopped udisks2.service - Disk Manager.

# dnf list installed udisks2
Installed Packages
udisks2.x86_64                       2.9.4-6.fc38                        @fedora

Issue has already been reported upstream https://github.com/storaged-project/udisks/issues/1024
The fix https://github.com/storaged-project/udisks/pull/926 that will be available in the 2.10 branch

Is there any plans to backport the fix to the 2.9 branch in Fedora? ABRT displays a notification every time I boot my laptop because of this.

Reproducible: Always

Steps to Reproduce:
Reboot/shutdown the OS.
Actual Results:  
udisks2 crashes when it is stopped and generates a coredump. ABRT notifies about an issue on the next boot.

Expected Results:  
udisks2 stops cleanly.

Comment 1 Fedora Update System 2023-06-29 12:27:50 UTC
FEDORA-2023-228e38a731 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-228e38a731

Comment 2 Fedora Update System 2023-06-30 01:39:58 UTC
FEDORA-2023-228e38a731 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-228e38a731`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-228e38a731

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2023-07-01 01:45:35 UTC
FEDORA-2023-228e38a731 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.