[systemd-devel] How to debug crash of systemd

cee1 fykcee1 at gmail.com
Mon Feb 11 21:43:51 PST 2013

Hi all,

systemd will call crash() if received fatal signals. It will produce a
core dump for analysis.
However, it seems signal handler has a separated stack, so can't back
trace the place where exactly the fatal signal triggered.

Any idea?

* It will be helpful if could print /proc/1/maps, more:
* Has anyone tried the crash shell? I added a custom sysrq which will
send SEGV to init, hence triggered the crash(). According to the log,
crash shell was called and exited immediately.


- cee1

More information about the systemd-devel mailing list