Bug 1006323 - systemd crash on ppc64
Summary: systemd crash on ppc64
Keywords:
Status: CLOSED DUPLICATE of bug 997742
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: systemd-maint
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 12:40 UTC by Patrik Kis
Modified: 2013-09-10 12:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-10 12:45:31 UTC
Target Upstream Version:


Attachments (Terms of Use)
/var/log/messages (71.40 KB, application/x-gzip)
2013-09-10 12:41 UTC, Patrik Kis
no flags Details
systemd core dump (1.31 MB, application/x-gzip)
2013-09-10 12:41 UTC, Patrik Kis
no flags Details

Description Patrik Kis 2013-09-10 12:40:42 UTC
Description of problem:
systemd crashed on ppc64 system. I was running realmd join/leave many times but after a while it stared to fail and it was not possible to start the daemon. I couldn't reproduce again but it might be still worth to report (core file and val/log/messages attached)

Version-Release number of selected component (if applicable):
systemd-206-6.el7.ppc64

How reproducible:
it happened once

Steps to Reproduce:
1. realm join/leave many times

Actual results:
# gdb /usr/lib/systemd/systemd core.4083 
GNU gdb (GDB) Red Hat Enterprise Linux (7.6.1-40.el7)
Copyright (C) 2013 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 "ppc64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/systemd/systemd...Reading symbols from /usr/lib/debug/usr/lib/systemd/systemd.debug...done.
done.
[New LWP 4083]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib/systemd/systemd --switched-root --system --deserialize 22 '.
Program terminated with signal 11, Segmentation fault.
#0  0x00001fffffc77364 in raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37	  return INLINE_SYSCALL (tgkill, 3, pid, THREAD_GETMEM (THREAD_SELF, tid),
Missing separate debuginfos, use: debuginfo-install libattr-2.4.46-10.el7.ppc64 pcre-8.32-7.el7.ppc64 zlib-1.2.7-10.el7.ppc64
(gdb) bt
#0  0x00001fffffc77364 in raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1  0x000000003cf64770 in crash (sig=<optimized out>) at src/core/main.c:144
#2  <signal handler called>
#3  0x000000003cfc7eec in isempty (p=0x201730000000020 <Address 0x201730000000020 out of bounds>) at src/shared/util.h:106
#4  join_path (controller=0x3d0144c8 "systemd", path=0x201730000000020 <Address 0x201730000000020 out of bounds>, suffix=0x3d03eb10 "cgroup.procs", fs=0x3fffe2c559d8)
    at src/shared/cgroup-util.c:454
#5  0x000000003cfc8b10 in cg_enumerate_processes (controller=controller@entry=0x3d00a168 "name=systemd", path=path@entry=0x201730000000020 <Address 0x201730000000020 out of bounds>, 
    _f=_f@entry=0x3fffe2c55a68) at src/shared/cgroup-util.c:50
#6  0x000000003cfc8f80 in cg_is_empty (controller=controller@entry=0x3d00a168 "name=systemd", path=path@entry=0x201730000000020 <Address 0x201730000000020 out of bounds>, 
    ignore_self=ignore_self@entry=true) at src/shared/cgroup-util.c:827
#7  0x000000003cfc91e0 in cg_is_empty_recursive (controller=0x3d00a168 "name=systemd", path=0x201730000000020 <Address 0x201730000000020 out of bounds>, ignore_self=<optimized out>)
    at src/shared/cgroup-util.c:868
#8  0x000000003cfb5b90 in manager_notify_cgroup_empty (m=<optimized out>, cgroup=<optimized out>) at src/core/cgroup.c:741
#9  0x000000003cfa235c in private_bus_message_filter (connection=0x5bcccd70, message=0x5bd6dab0, data=0x5b96c790) at src/core/dbus.c:491
#10 0x00001fffffd30c68 in dbus_connection_dispatch (connection=<optimized out>) at dbus-connection.c:4631
#11 0x000000003cfa31b0 in bus_dispatch (m=0x5b96c790) at src/core/dbus.c:525
#12 0x000000003cf6be7c in manager_loop (m=0x5b96c790) at src/core/manager.c:1816
#13 0x000000003cf6161c in main (argc=<optimized out>, argv=0x3fffe2c56c78) at src/core/main.c:1705

Comment 1 Patrik Kis 2013-09-10 12:41:14 UTC
Created attachment 795987 [details]
/var/log/messages

Comment 2 Patrik Kis 2013-09-10 12:41:45 UTC
Created attachment 795988 [details]
systemd core dump

Comment 3 Michal Schmidt 2013-09-10 12:42:30 UTC
Should be already fixed by:

* Wed Aug 28 2013 Harald Hoyer <harald> 206-7
- fixed cgroup hashmap corruption
  Resolves: rhbz#997742 rhbz#995197

Comment 4 Michal Schmidt 2013-09-10 12:45:31 UTC
Reopen if it's reproducible with 206-7 or newer.

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


Note You need to log in before you can comment on or make changes to this bug.