A Linux service can crash before it has time to log what went wrong. On Ubuntu Server 26.04 LTS, an Apport report can identify the executable, crash time, and signal, and show whether the report contains a core dump.
Apport stores crash reports in /var/crash. The same executable can fail more than once, so the executable path and the crash time together help identify the right report.
A core dump can contain credentials and other private data from process memory. Keep the report on the server and share only the fields needed to identify the crash.
Steps to check core dumps in Linux:
Start in an SSH session to the affected server or at its console. Use an account that can run sudo and have the executable name and approximate crash time ready.
- Identify the configured core dump handler.
$ sysctl kernel.core_pattern kernel.core_pattern = |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -F%F -- %E
Stop here if the value does not start with
|/usr/share/apport/apport, followed by a space or the end of the line. Another handler, a file pattern, or a socket path starting with@or@@uses a different lookup. - Find an Apport report with a modification time near the crash.
$ ls -lt -- /var/crash/*.crash -rw-r----- 1 user root 996857 Dec 2 21:36 /var/crash/_usr_lib_cargo_bin_coreutils_sleep.1000.crash
Apport names each report for the executable path and numeric user ID. The report's
Datefield gives the crash time. If there are no.crashfiles, stop here. - Check the crash identity and storage status using the full path to your candidate report in single quotes.
$ sudo awk ' > /^(Date|ExecutablePath|Signal|SignalName):/ { print } > header && /^[[:blank:]]+[^[:space:]]/ { stored = 1 } > { header = /^CoreDump: base64$/ } > END { print "Core dump:", (stored ? "stored" : "not confirmed") } > ' '/var/crash/_usr_lib_cargo_bin_coreutils_sleep.1000.crash' Date: Wed Dec 2 21:36:21 2026 ExecutablePath: /usr/lib/cargo/bin/coreutils/sleep Signal: 11 SignalName: SIGSEGV Core dump: storedThe example checks
'/var/crash/_usr_lib_cargo_bin_coreutils_sleep.1000.crash'. If your account can read the report directly, omitsudo. If no report'sDateandExecutablePathmatch the incident, stop here. Apport's reports cannot confirm storage for that crash.Signalgives the signal number, andSignalNamegives its name when present.Core dump: storedmeans the report has aCoreDump: base64header followed by an indented data line.Core dump: not confirmedmeans that marker is missing. The check prints metadata and leaves the encoded data out of the output.