Bug#787473: systemd: Segfault while adding a new job

Tino zottsoft at gmx.net
Mon Jul 20 11:16:42 BST 2015


Ths system was running for two weeks now with no issues. I almost
gathered some hope, that it's finally stable now. :( Next crash..
This time sshd crashed in the first place and the stack of the coredump
seems broken. Both very strange, that never happened before.
As usual, all other services remained working until i rebooted.
-------------- next part --------------
Jul 19 22:06:22 Storage-Blue systemd[1]: systemd-journald.service: Got notification message from PID 224 (WATCHDOG=1)
Jul 19 22:07:01 Storage-Blue systemd[1]: systemd-journald.service: Got notification message from PID 224 (WATCHDOG=1)
Jul 19 22:07:01 Storage-Blue systemd[1]: Received SIGCHLD from PID 941 (sshd).
Jul 19 22:07:01 Storage-Blue systemd[1]: Child 941 (sshd) died (code=killed, status=11/SEGV)
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Child 941 belongs to ssh.service
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Main process exited, code=killed, status=11/SEGV
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Changed running -> failed
Jul 19 22:07:01 Storage-Blue systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5342 reply_cookie=0 error=n/a
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Unit entered failed state.
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Failed with result 'signal'.
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Changed failed -> auto-restart
Jul 19 22:07:01 Storage-Blue systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5343 reply_cookie=0 error=n/a
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: cgroup is empty
Jul 19 22:07:01 Storage-Blue systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/unit/ssh_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5344 reply_cookie=0 error=n/a
Jul 19 22:07:01 Storage-Blue systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/unit/ssh_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5345 reply_cookie=0 error=n/a
Jul 19 22:07:01 Storage-Blue systemd[1]: systemd-logind.service: Got notification message from PID 948 (WATCHDOG=1)
Jul 19 22:07:01 Storage-Blue systemd[1]: Failed to determine peer security context: Protocol not available
Jul 19 22:07:01 Storage-Blue systemd[1]: Accepted new private connection.
Jul 19 22:07:01 Storage-Blue systemd[1]: Got message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cookie=0 error=n/a
Jul 19 22:07:01 Storage-Blue systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cookie=0 error=n/a
Jul 19 22:07:01 Storage-Blue systemd[1]: Got disconnect on private connection.
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Service hold-off time over, scheduling restart.
Jul 19 22:07:01 Storage-Blue systemd[1]: ssh.service: Trying to enqueue job ssh.service/restart/fail
Jul 19 22:07:01 Storage-Blue systemd[1]: Caught <SEGV>, dumped core as pid 21119.
Jul 19 22:07:01 Storage-Blue systemd[1]: Freezing execution.


$ ls -la /core
-rw------- 1 root root 18395136 Jul 19 22:07 /core

$ sudo gdb /lib/systemd/systemd /core
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
[...]
Reading symbols from /lib/systemd/systemd...Reading symbols from /usr/lib/debug/.build-id/f7/4b60d31f6367ce58af04291f69c2f46d6a67a2.debug...done.
done.
[New LWP 21119]
Core was generated by `/sbin/init'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb6b45d2c in ?? ()
(gdb) bt
#0  0xb6b45d2c in ?? ()
#1  0xb6eac740 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)


$ dpkg -l | grep openssh-server
ii  openssh-server                         1:6.7p1-5                    armel        secure shell (SSH) server, for secure access from remote machines

$ dpkg -l | grep systemd
ii  libsystemd0:armel                      221-1+deb9u2                 armel        systemd utility library
ii  systemd                                221-1+deb9u2                 armel        system and service manager
ii  systemd-dbg                            221-1+deb9u2                 armel        system and service manager (debug symbols)
ii  systemd-sysv                           221-1                        armel        system and service manager - SysV links
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150720/e973dc23/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list