crash is a Linux kernel analysis utility for investigating system crashes and examining the internal state of a running kernel.
It provides an interactive environment for analysing kernel memory, processes, stack traces and data structures. Administrators and kernel developers can use the utility to investigate the circumstances surrounding a failure and identify the underlying causes of system instability.
The application works with kernel dump files produced by several crash collection mechanisms, including kdump. It can also inspect live systems where the necessary kernel memory interfaces are accessible.
crash incorporates GDB functionality while providing its own commands specifically designed for Linux kernel analysis. This combination allows users to examine low-level kernel information through a command interface suited to system debugging.
This is free and open source software.
Key Features
- Analyse Linux kernel crash dumps and examine live kernel memory where supported.
- Supports dump files produced by kdump and several other kernel crash collection mechanisms.
- Generate kernel stack backtraces to investigate the execution context surrounding a system failure.
- Inspect processes, tasks and associated kernel structures to understand their state at the time of a crash.
- Examine kernel memory, symbols and variables using commands designed for low-level system analysis.
- Display formatted kernel data structures, including linked lists and other interconnected objects.
- Investigate kernel logs and other diagnostic information retained in a crash dump.
- Examine information associated with kernel subsystems, including memory management, scheduling, devices and interrupts.
- Disassemble machine instructions and use integrated GDB functionality for deeper investigation.
- Supports interactive commands for searching memory and examining virtual-to-physical address translations.
- Extend the debugger with additional commands compiled into the utility or loaded dynamically from shared object modules.
- Provides support for multiple kernel dump compression formats, including optional LZO, Snappy and Zstandard handling.
- Can examine kernel data from numerous Linux architectures, including x86, ARM, PowerPC, RISC-V and others.
Website: github.com/crash-utility/crash
Support:
Developer: crash-utility developers
License: GNU General Public License v3.0

crash is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Debuggers | |
|---|---|
| LLDB | Next generation, high-performance debugger |
| Ghidra | Software reverse engineering framework |
| Delve | Source level debugger for the Go programming language |
| GDB | The GNU Debugger |
| Valgrind | A memory debugger and profiler |
| Radare2 | Portable reversing framework |
| BugStalker | Rust debugger |
| Xdebug | Extension for PHP to aid debugging and development |
| Seer | GUI frontend to GDB |
| iaito | Graphical interface for radare2 |
| KDbg | Graphical user interface to GDB |
| strace | Diagnostic, debugging and instructional userspace utility |
| rr | Record-and-replay debugger |
| gf | Lightweight GDB interface with source, stack and memory views |
| drgn | Programmable debugger that puts scripting at the centre |
| cgdb | Lightweight console frontend to the GNU debugger |
| PuDB | Console-based visual debugger for Python |
| nnd | Partially inspired by RemedyBG |
| bashdb | Source-code debugger for bash; follows the GDB command syntax |
| PINCE | Memory scanning, process manipulation and reverse engineering |
| edb | Low-level debugging with disassembly and register inspection |
| Sysprof | Profile an application or entire system |
| crash | Linux kernel crash analysis utility |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.