Description of problem: udisksd crashes on udisks2 service restart or system shutdown Version-Release number of selected component (if applicable): udisks2-2.9.4-5.fc37.x86_64 How reproducible: Always Steps to Reproduce: 1. Run "systemctl restart udisks2.service" Actual results: GNU gdb (GDB) Fedora Linux 12.1-6.fc37 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/libexec/udisks2/udisksd... Reading symbols from /usr/lib/debug/usr/libexec/udisks2/udisksd-2.9.4-5.fc37.x86_64.debug... [New LWP 2332] [New LWP 2333] [New LWP 2335] This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.fedoraproject.org/ Enable debuginfod for this session? (y or [n]) n Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/libexec/udisks2/udisksd'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7fb9aec632c0 (LWP 2332))] Missing separate debuginfos, use: dnf debuginfo-install cryptsetup-libs-2.5.0-1.fc37.x86_64 device-mapper-libs-1.02.175-9.fc37.x86_64 gmp-6.2.1-3.fc37.x86_64 gpgme-1.17.0-4.fc37.x86_64 json-c-0.16-3.fc37.x86_64 kmod-libs-30-2.fc37.x86_64 libacl-2.3.1-4.fc37.x86_64 libargon2-20190702-1.fc37.x86_64 libassuan-2.5.5-5.fc37.x86_64 libatasmart-0.19-23.fc37.x86_64 libattr-2.5.1-5.fc37.x86_64 libblkid-2.38.1-1.fc37.x86_64 libblockdev-2.28-2.fc37.x86_64 libblockdev-crypto-2.28-2.fc37.x86_64 libblockdev-fs-2.28-2.fc37.x86_64 libblockdev-loop-2.28-2.fc37.x86_64 libblockdev-part-2.28-2.fc37.x86_64 libblockdev-swap-2.28-2.fc37.x86_64 libblockdev-utils-2.28-2.fc37.x86_64 libcap-2.48-5.fc37.x86_64 libffi-3.4.2-9.fc37.x86_64 libgcc-12.2.1-4.fc37.x86_64 libgpg-error-1.45-2.fc37.x86_64 libgudev-237-3.fc37.x86_64 libmount-2.38.1-1.fc37.x86_64 libuuid-2.38.1-1.fc37.x86_64 libzstd-1.5.2-3.fc37.x86_64 lz4-libs-1.9.3-5.fc37.x86_64 nss-3.85.0-1.fc37.x86_64 nss-util-3.85.0-1.fc37.x86_64 openssl-libs-3.0.5-3.fc37.x86_64 parted-3.5-6.fc37.x86_64 pcre2-10.40-1.fc37.1.x86_64 polkit-libs-121-4.fc37.x86_64 systemd-libs-251.10-588.fc37.x86_64 volume_key-libs-0.3.12-17.fc37.x86_64 xz-libs-5.2.5-10.fc37.x86_64 zlib-1.2.12-5.fc37.x86_64 (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007fb9af061ee3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007fb9af011aa6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007fb9aeffb7fc in __GI_abort () at abort.c:79 #4 0x00007fb9af1f1ef8 in g_assertion_message (domain=<optimized out>, file=0x7fb9af4d4735 "../gio/gresource.c", line=<optimized out>, func=<optimized out>, message=<optimized out>) at ../glib/gtestutils.c:3256 #5 0x00007fb9af2528ae in g_assertion_message_expr (domain=domain@entry=0x7fb9af4c06e7 "GLib-GIO", file=file@entry=0x7fb9af4d4735 "../gio/gresource.c", line=line@entry=1451, func=func@entry=0x7fb9af4d4c20 <__func__.0.lto_priv.63> "g_static_resource_fini", expr=expr@entry=0x7fb9af4d3eb8 "g_atomic_int_get (&resource->ref_count) >= 2") at ../glib/gtestutils.c:3282 #6 0x00007fb9af405956 in g_static_resource_fini (static_resource=0x55ea999881a0 <static_resource.lto_priv>) at ../gio/gresource.c:1451 #7 0x00007fb9af80ba9e in _dl_fini () at dl-fini.c:142 #8 0x00007fb9af0140e5 in __run_exit_handlers (status=0, listp=0x7fb9af1a8840 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:113 #9 0x00007fb9af014260 in __GI_exit (status=<optimized out>) at exit.c:143 #10 0x00007fb9aeffc517 in __libc_start_call_main (main=main@entry=0x55ea999292c0 <main>, argc=argc@entry=1, argv=argv@entry=0x7ffc71113458) at ../sysdeps/nptl/libc_start_call_main.h:74 #11 0x00007fb9aeffc5c9 in __libc_start_main_impl (main=0x55ea999292c0 <main>, argc=1, argv=0x7ffc71113458, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc71113448) at ../csu/libc-start.c:381 #12 0x000055ea999296e5 in _start () (gdb) bt full #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 tid = <optimized out> ret = 0 pd = <optimized out> old_mask = {__val = {11}} ret = <optimized out> #1 0x00007fb9af061ee3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 No locals. #2 0x00007fb9af011aa6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 ret = <optimized out> #3 0x00007fb9aeffb7fc in __GI_abort () at abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {140435483973837, 94466112179616, 140435484104343, 94466112310272, 14109195200626688, 94466112344432, 10216922981455904768, 140722205437792, 18446744073709551248, 11, 140435484905576, 140435486754613, 140722205437904, 140435490329280, 140435482149699, 140435486755872}}, sa_flags = -1693331088, sa_restorer = 0x7fb9af4c06e7} #4 0x00007fb9af1f1ef8 in g_assertion_message (domain=<optimized out>, file=0x7fb9af4d4735 "../gio/gresource.c", line=<optimized out>, func=<optimized out>, message=<optimized out>) at ../glib/gtestutils.c:3256 lstr = "1451\000\177\000\000\200\231\000\244\271\177\000\000\344\231\000\244\271\177\000\000\000\000\000\000\000\000\000" s = 0x55ea9b11d170 "m%\251\372\274\177" #5 0x00007fb9af2528ae in g_assertion_message_expr (domain=domain@entry=0x7fb9af4c06e7 "GLib-GIO", file=file@entry=0x7fb9af4d4735 "../gio/gresource.c", line=line@entry=1451, func=func@entry=0x7fb9af4d4c20 <__func__.0.lto_priv.63> "g_static_resource_fini", expr=expr@entry=0x7fb9af4d3eb8 "g_atomic_int_get (&resource->ref_count) >= 2") at ../glib/gtestutils.c:3282 s = 0x55ea9b114c00 "assertion failed: (g_atomic_int_get (&resource->ref_count) >= 2)" #6 0x00007fb9af405956 in g_static_resource_fini (static_resource=0x55ea999881a0 <static_resource.lto_priv>) at ../gio/gresource.c:1451 resource = 0x55ea9b1104b0 __func__ = "g_static_resource_fini" #7 0x00007fb9af80ba9e in _dl_fini () at dl-fini.c:142 array = 0x55ea99985290 i = <optimized out> l = 0x7fb9af83d2c0 maps = 0x7ffc71113080 i = 0 l = <optimized out> nmaps = <optimized out> nloaded = <optimized out> ns = 0 do_audit = <optimized out> __PRETTY_FUNCTION__ = "_dl_fini" #8 0x00007fb9af0140e5 in __run_exit_handlers (status=0, listp=0x7fb9af1a8840 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:113 atfct = <optimized out> onfct = <optimized out> cxafct = <optimized out> arg = 0x0 f = <optimized out> new_exitfn_called = <optimized out> cur = 0x7fb9af1aa300 <initial> #9 0x00007fb9af014260 in __GI_exit (status=<optimized out>) at exit.c:143 No locals. #10 0x00007fb9aeffc517 in __libc_start_call_main (main=main@entry=0x55ea999292c0 <main>, argc=argc@entry=1, argv=argv@entry=0x7ffc71113458) at ../sysdeps/nptl/libc_start_call_main.h:74 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140722205439064, 5984230376006362398, 0, 140722205439080, 94466087604880, 140435490324480, -5983977752316599010, -6017059594348780258}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffc71113458, 0x1}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1896952920}}} not_first_call = <optimized out> #11 0x00007fb9aeffc5c9 in __libc_start_main_impl (main=0x55ea999292c0 <main>, argc=1, argv=0x7ffc71113458, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc71113448) at ../csu/libc-start.c:381 No locals. #12 0x000055ea999296e5 in _start () No symbol table info available.
FEDORA-2023-228e38a731 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-228e38a731
Will there be a F37 udisk2 update? F37 scratch build fixed crash for me https://koji.fedoraproject.org/koji/taskinfo?taskID=102752866
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.
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.