crash – Linux kernel crash analysis utility

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 help

crash is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Debuggers
LLDBNext generation, high-performance debugger
GhidraSoftware reverse engineering framework
DelveSource level debugger for the Go programming language
GDBThe GNU Debugger
ValgrindA memory debugger and profiler
Radare2Portable reversing framework
BugStalkerRust debugger
XdebugExtension for PHP to aid debugging and development
SeerGUI frontend to GDB
iaitoGraphical interface for radare2
KDbgGraphical user interface to GDB
straceDiagnostic, debugging and instructional userspace utility
rrRecord-and-replay debugger
gfLightweight GDB interface with source, stack and memory views
drgnProgrammable debugger that puts scripting at the centre
cgdbLightweight console frontend to the GNU debugger
PuDBConsole-based visual debugger for Python
nndPartially inspired by RemedyBG
bashdbSource-code debugger for bash; follows the GDB command syntax
PINCEMemory scanning, process manipulation and reverse engineering
edbLow-level debugging with disassembly and register inspection
SysprofProfile an application or entire system
crashLinux kernel crash analysis utility

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted