[Bug 1173750] usbguard daemon segfaults - fixed upstream in version 0.7.8
https://bugzilla.suse.com/show_bug.cgi?id=1173750 https://bugzilla.suse.com/show_bug.cgi?id=1173750#c3 --- Comment #3 from Mathias Homann <Mathias.Homann@opensuse.org> --- (In reply to Matthias Gerstner from comment #2)
1) what are the exact steps to trigger the crash (supposedly `systemctl start usbguard`?)
exactly. i start usbguard with systemctl, and when I check its status afterwards I find it has crashed enough times for systemd to give up on it.
2) what component exactly is crashing? The usbguard-daemon?
yep.
3) a backtrace of the core dump would be helpful. Try installing usbguard-debuginfo, glibc-debuginfo, systemd-coredump and gdb. Then trigger the crash and run `coredumpctl attach`. You should end up in gdb shell. Enter `bt` and paste the backtrace here in this bug.
Thank you.
kumiko:~ # coredumpctl gdb /usr/sbin/usbguard-daemon PID: 2812 (usbguard-daemon) UID: 0 (root) GID: 0 (root) Signal: 31 (SYS) Timestamp: Tue 2020-07-07 12:40:17 CEST (55s ago) Command Line: /usr/sbin/usbguard-daemon -k -c /etc/usbguard/usbguard-daemon.conf Executable: /usr/sbin/usbguard-daemon Control Group: /system.slice/usbguard.service Unit: usbguard.service Slice: system.slice Boot ID: ed62a25783bc40b2b6b503e2262b476e Machine ID: 9fcf5be5909412beed7f7f88586bb407 Hostname: kumiko Storage: /var/lib/systemd/coredump/core.usbguard-daemon.0.ed62a25783bc40b2b6b503e2262b476e.2812.1594118417000000.lz4 Message: Process 2812 (usbguard-daemon) of user 0 dumped core. Stack trace of thread 2812: #0 0x00007f34eedc60d9 __brk (/lib64/ld-2.26.so) #1 0x00007f34eedc4eb1 frob_brk (/lib64/ld-2.26.so) #2 0x00007f34eedaddb8 _dl_start_final (/lib64/ld-2.26.so) #3 0x00007f34eedacea8 _start (/lib64/ld-2.26.so) GNU gdb (GDB; openSUSE Leap 15.2) 8.3.1 Copyright (C) 2019 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-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://bugs.opensuse.org/>. 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/sbin/usbguard-daemon... Reading symbols from /usr/lib/debug/usr/sbin/usbguard-daemon-0.7.6-lp152.1.5.x86_64.debug... [New LWP 2812] Core was generated by `/usr/sbin/usbguard-daemon -k -c /etc/usbguard/usbguard-daemon.conf'. Program terminated with signal SIGSYS, Bad system call. #0 0x00007f34eedc60d9 in ?? () (gdb) bt #0 0x00007f34eedc60d9 in ?? () #1 0x00007f34eedc4eb1 in ?? () #2 0x00007ffc5963ce89 in ?? () #3 0x00007ffc59682000 in ?? () #4 0x037f010100000000 in ?? () #5 0x0000000000000000 in ?? () (gdb) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com