[systemd-devel] How to debug crash of systemd
fykcee1 at gmail.com
Mon Feb 11 21:43:51 PST 2013
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.
* 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.
More information about the systemd-devel