Bug 1667698

Summary: [abrt] systemd-udev: __libc_open64(): systemd-udevd killed by SIGABRT
Product: [Fedora] Fedora Reporter: edcalderon
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: 181gaming, 9jYqEjAGii7bauq6tAFv, deimo72, hmjfigueiredo, info, lnykryn, madstitz, msekleta, neptu39701, pwrzonca, soeren.grunewald, ssahani, s, systemd-maint, vikigoyal, watanabe.yu, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4c7edd0b619f8f6f0bd0a1f4b82399bcdd2a12cf
Whiteboard: abrt_hash:96e49c48b716d1ed6b45240cb58d6667d1258ccc;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-07 20:16:51 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:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description edcalderon 2019-01-20 03:49:03 UTC
Version-Release number of selected component:
systemd-udev-239-6.git9f3aed1.fc29

Additional info:
reporter:       libreport-2.9.7
backtrace_rating: 4
cmdline:        /usr/lib/systemd/systemd-udevd
crash_function: __libc_open64
executable:     /usr/lib/systemd/systemd-udevd
journald_cursor: s=30a647b59ecc4c30bb3896dfe65d299f;i=413e4;b=ae684aefafff46c3b018aa20aa23f1f8;m=2c09738b5;t=57c37ccee12ba;x=236d7c45870eb660
kernel:         4.19.5-300.fc29.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (9 frames)
 #0 __libc_open64 at ../sysdeps/unix/sysv/linux/open64.c:43
 #1 open64 at /usr/include/bits/fcntl2.h:53
 #2 synthesize_change at ../src/udev/udevd.c:1028
 #3 on_inotify at ../src/udev/udevd.c:1137
 #4 source_dispatch at ../src/libsystemd/sd-event/sd-event.c:3103
 #5 sd_event_dispatch at ../src/libsystemd/sd-event/sd-event.c:3516
 #6 sd_event_run at ../src/libsystemd/sd-event/sd-event.c:3573
 #7 sd_event_loop at ../src/libsystemd/sd-event/sd-event.c:3595
 #8 run at ../src/udev/udevd.c:1627

Potential duplicate: bug 1520506

Comment 1 edcalderon 2019-01-20 03:49:07 UTC
Created attachment 1521863 [details]
File: backtrace

Comment 2 edcalderon 2019-01-20 03:49:08 UTC
Created attachment 1521864 [details]
File: cgroup

Comment 3 edcalderon 2019-01-20 03:49:09 UTC
Created attachment 1521865 [details]
File: core_backtrace

Comment 4 edcalderon 2019-01-20 03:49:10 UTC
Created attachment 1521866 [details]
File: cpuinfo

Comment 5 edcalderon 2019-01-20 03:49:11 UTC
Created attachment 1521867 [details]
File: dso_list

Comment 6 edcalderon 2019-01-20 03:49:12 UTC
Created attachment 1521868 [details]
File: environ

Comment 7 edcalderon 2019-01-20 03:49:13 UTC
Created attachment 1521869 [details]
File: limits

Comment 8 edcalderon 2019-01-20 03:49:15 UTC
Created attachment 1521870 [details]
File: maps

Comment 9 edcalderon 2019-01-20 03:49:16 UTC
Created attachment 1521871 [details]
File: mountinfo

Comment 10 edcalderon 2019-01-20 03:49:17 UTC
Created attachment 1521872 [details]
File: open_fds

Comment 11 edcalderon 2019-01-20 03:49:18 UTC
Created attachment 1521873 [details]
File: proc_pid_status

Comment 12 Zbigniew Jędrzejewski-Szmek 2019-01-20 13:54:31 UTC
SIGABRT in open() looks like the watchdog kicked in and killed the process. Is your machine resource-starved and/or do you have hardware issues with /dev/sdb?

Comment 13 neptu39701 2019-01-27 04:39:01 UTC
*** Bug 1669782 has been marked as a duplicate of this bug. ***

Comment 14 9jYqEjAGii7bauq6tAFv 2019-02-05 17:18:59 UTC
*** Bug 1672728 has been marked as a duplicate of this bug. ***

Comment 15 Hugo Figueiredo 2019-02-27 09:26:10 UTC
*** Bug 1683582 has been marked as a duplicate of this bug. ***

Comment 16 Yu Watanabe 2019-02-28 03:05:01 UTC
I hope this is already fixed in upstream by https://github.com/systemd/systemd/commit/70068602713e8f441c5ddc2618f007f24488e422.
Previously, the argument of open() was given by udev_device_get_devnode() and its return value was not checked.
By the commit, return value is checked, so now open() should have a valid path argument.

Comment 17 vikram goyal 2019-03-14 04:47:23 UTC
*** Bug 1688594 has been marked as a duplicate of this bug. ***

Comment 18 pwrzonca 2019-03-19 14:06:43 UTC
*** Bug 1690455 has been marked as a duplicate of this bug. ***

Comment 19 Amin Vakil 2019-03-26 09:36:26 UTC
*** Bug 1692705 has been marked as a duplicate of this bug. ***

Comment 20 Zbigniew Jędrzejewski-Szmek 2019-04-07 20:10:10 UTC
I don't think 70068602713e8f441c5ddc2618f007f24488e422 can explain this. If udev_device_get_devnode()
fails, it returns NULL. But here the path pointer is non-NULL. Also, the signal doesn't match.
An invalid pointer would give SIGSEGV, and not SIGABRT.

Comment 21 Zbigniew Jędrzejewski-Szmek 2019-04-07 20:16:51 UTC
Yep, in all the bugs marks as duplices, the devnode argument is either /dev/sdb or /dev/sdc.
In this one, gdb says it cannot read the pointer, but the uevent filename is
/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb/uevent,
so it's /dev/sdb again.

*** This bug has been marked as a duplicate of bug 1300212 ***

Comment 22 Nicholas 2019-05-16 23:32:19 UTC
*** Bug 1711084 has been marked as a duplicate of this bug. ***

Comment 23 Deibis Moreno 2019-06-13 03:22:08 UTC
*** Bug 1720046 has been marked as a duplicate of this bug. ***