Bug 996547
| Summary: | Systemd assertion failure in cg_is_empty_recursive | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Nikolai Kondrashov <nikolai.kondrashov> | ||||||||
| Component: | systemd | Assignee: | systemd-maint | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Ščotka <jscotka> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 7.0 | CC: | harald, jscotka, systemd-maint-list | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2014-01-31 13:48:52 UTC | Type: | Bug | ||||||||
| 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
Nikolai Kondrashov
2013-08-13 12:12:45 UTC
Created attachment 786233 [details]
core.15923.gz
Another crash, this time SIGSEGV, but, it seems, during the same assertion failure.
Backtrace:
#0 0x00007f4c3d4deffb in raise (sig=sig@entry=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1 0x00007f4c3f02695e in crash (sig=11) at src/core/main.c:144
#2 <signal handler called>
#3 0x00007f4c3f07572b in isempty (p=0x3a30303a30303030 <Address 0x3a30303a30303030 out of bounds>) at src/shared/util.h:106
#4 join_path (controller=0x7f4c3f0a2e22 "systemd", path=0x3a30303a30303030 <Address 0x3a30303a30303030 out of bounds>, suffix=0x7f4c3f0d84ef "cgroup.procs", fs=0x7fffecb49eb8) at src/shared/cgroup-util.c:454
#5 0x00007f4c3f075ea8 in cg_enumerate_processes (controller=controller@entry=0x7f4c3f0d0d07 "name=systemd", path=path@entry=0x3a30303a30303030 <Address 0x3a30303a30303030 out of bounds>, _f=_f@entry=0x7fffecb49ee8) at src/shared/cgroup-util.c:50
#6 0x00007f4c3f07619a in cg_is_empty (controller=controller@entry=0x7f4c3f0d0d07 "name=systemd", path=path@entry=0x3a30303a30303030 <Address 0x3a30303a30303030 out of bounds>, ignore_self=ignore_self@entry=true) at src/shared/cgroup-util.c:827
#7 0x00007f4c3f07630f in cg_is_empty_recursive (controller=controller@entry=0x7f4c3f0d0d07 "name=systemd", path=0x3a30303a30303030 <Address 0x3a30303a30303030 out of bounds>, ignore_self=ignore_self@entry=true) at src/shared/cgroup-util.c:868
#8 0x00007f4c3f067890 in manager_notify_cgroup_empty (m=m@entry=0x7f4c3f4f7360, cgroup=<optimized out>) at src/core/cgroup.c:736
#9 0x00007f4c3f05838d in private_bus_message_filter (connection=0x7f4c3f5ba450, message=0x7f4c3f5ba560, data=0x7f4c3f4f7360) at src/core/dbus.c:491
#10 0x00007f4c3db199e6 in dbus_connection_dispatch (connection=connection@entry=0x7f4c3f5ba450) at dbus-connection.c:4631
#11 0x00007f4c3f058dda in bus_dispatch (m=m@entry=0x7f4c3f4f7360) at src/core/dbus.c:525
#12 0x00007f4c3f02c69f in manager_loop (m=0x7f4c3f4f7360) at src/core/manager.c:1816
#13 0x00007f4c3f023fb6 in main (argc=5, argv=0x7fffecb4a9d8) at src/core/main.c:1705
Hmm, just to check, was there an earlier version of systemd on the machine before? If yes, was the machine rebooted after the update to the systemd.rpm version 206? I'm not sure about the first crash (will try to check), but the second was after a reboot. Note though, that I haven't seen this again so far. Created attachment 791441 [details]
core.3272.gz
Another crash after a fresh reboot. This time with the following package versions:
systemd-libs-206-6.el7.x86_64
systemd-journal-gateway-206-6.el7.x86_64
systemd-debuginfo-206-6.el7.x86_64
systemd-206-6.el7.x86_64
systemd-sysv-206-6.el7.x86_64
Repeated sssd restarts were involved as well.
Backtrace:
#0 0x00007ff25d0e4ffb in raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1 0x00007ff25ec2c95e in crash (sig=6) at src/core/main.c:144
#2 <signal handler called>
#3 0x00007ff25cd4a999 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#4 0x00007ff25cd4c0a8 in __GI_abort () at abort.c:90
#5 0x00007ff25ec85563 in log_assert (text=<optimized out>, file=0x7ff25ecde503 "src/shared/cgroup-util.c", line=866, func=0x7ff25ecde6c0 <__PRETTY_FUNCTION__.7913> "cg_is_empty_recursive", format=format@entry=0x7ff25ecdfab0 "Assertion '%s' failed at %s:%u, function %s(). Aborting.") at src/shared/log.c:699
#6 0x00007ff25ec85e10 in log_assert_failed (text=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>) at src/shared/log.c:704
#7 0x00007ff25ec7c3f3 in cg_is_empty_recursive (controller=controller@entry=0x7ff25ecd6da7 "name=systemd", path=0x0, ignore_self=ignore_self@entry=true) at src/shared/cgroup-util.c:866
#8 0x00007ff25ec6d890 in manager_notify_cgroup_empty (m=m@entry=0x7ff25f6e1ad0, cgroup=<optimized out>) at src/core/cgroup.c:741
#9 0x00007ff25ec5e37d in private_bus_message_filter (connection=0x7ff25f7a15d0, message=0x7ff25f7a16e0, data=0x7ff25f6e1ad0) at src/core/dbus.c:491
#10 0x00007ff25d71f9e6 in dbus_connection_dispatch (connection=connection@entry=0x7ff25f7a15d0) at dbus-connection.c:4631
#11 0x00007ff25ec5edca in bus_dispatch (m=m@entry=0x7ff25f6e1ad0) at src/core/dbus.c:525
#12 0x00007ff25ec3269f in manager_loop (m=0x7ff25f6e1ad0) at src/core/manager.c:1816
#13 0x00007ff25ec29fb6 in main (argc=5, argv=0x7fff83ebf748) at src/core/main.c:1705
should be fixed with systemd-206-7 , which was built today |