Most Linux systems use systemd for their init system, and systemd includes a component that automatically saves coredumps for crashed processes. The coredumpctl command can be used to discover crashing processes, obtain backtraces, export coredumps, or launch GDB. Combined with debug symbols it is easy to get information about a crash from users who may not be especially technical.
-
Replicate the crash
-
Run
coredumpctl list --since "5 minutes ago"to see all crashes logged in the last 5 minutes -
Run
coredumpctl infoto get a basic backtrace of a particular crashed PID or EXE