You are not logged in.

#1 2022-10-29 08:41:20

xdegaye
Member
Registered: 2013-12-05
Posts: 15

random udisksd crash after last upgrade

udisks2 version: 2.9.4-1

udisks2 dependencies upgraded in the last pacman upgrade on 2022-10-14:
  libblockdev (2.27-1 -> 2.28-1)
  gobject-introspection-runtime (1.72.0-1 -> 1.74.0-1)

Here is the gdb backtrace:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/udisks2/udisksd'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f44db3c664c in ?? () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f44daba0400 (LWP 3298))]
(gdb) bt
#0  0x00007f44db3c664c in  () at /usr/lib/libc.so.6
#1  0x00007f44db376958 in raise () at /usr/lib/libc.so.6
#2  0x00007f44db36053d in abort () at /usr/lib/libc.so.6
#3  0x00007f44db54706a in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f44db5a28d0 in g_assertion_message_expr () at /usr/lib/libglib-2.0.so.0
#5  0x00007f44db753927 in  () at /usr/lib/libgio-2.0.so.0
#6  0x00007f44dbb19aae in  () at /lib64/ld-linux-x86-64.so.2
#7  0x00007f44db378fa5 in  () at /usr/lib/libc.so.6
#8  0x00007f44db379120 in  () at /usr/lib/libc.so.6
#9  0x00007f44db361297 in  () at /usr/lib/libc.so.6
#10 0x00007f44db36134a in __libc_start_main () at /usr/lib/libc.so.6
#11 0x00005558ea51149e in _start ()

The udisks2 issue coredump on exit #1024 seems to be the same problem: same stack length, same stack depth of g_assertion_message_expr().

In this issue there is a reference to another issue udiskslinuxmountoptions: Do not free static daemon resources #926 fixed by Merge pull request #926 that may fix the problem but the last release of udisks2, version 2.9.4, does not include the fix as checked by looking at the tarball.

Not knowing when there will be a new release of usdiks2, is there a way for archlinux to patch the current release with this fix in a 2.9.4-2 upgrade for example?

Note: since the bug that is being fixed is a double free, it is difficult to reproduce.

Offline

#2 2022-10-29 19:38:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,139

Re: random udisksd crash after last upgrade

You need to file a bug against the Arch package requesting this, I think.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-10-30 07:56:03

xdegaye
Member
Registered: 2013-12-05
Posts: 15

Re: random udisksd crash after last upgrade

Yesterday's core dump occured at the time of the host shutdown, so this is when udisksd called exit() which is one of the calls in the backtrace listed in upstream issue #1024.

@cfr
Thanks, I have followed your advice and filed FS#76345.

Offline

Board footer

Powered by FluxBB