What problem does it solve?
This Skill helps you diagnose and understand application crashes in production by enabling, collecting, and analyzing core dump files without needing to reproduce the bug.
Core Features & Use Cases
- Enable Core Dumps: Configure your system (Linux/macOS) to generate core dump files upon crashes.
- Analyze Crashes: Use GDB or LLDB to inspect the state of a crashed program, including call stacks, registers, and local variables.
- Symbol Resolution: Leverage
debuginfod or manual methods to load debug symbols for stripped binaries, crucial for effective analysis.
- Use Case: A critical service crashed in production. You can use this skill to ensure core dumps are enabled, collect the core file, and then use GDB with
debuginfod to find the exact line of code and variables that led to the segmentation fault.
Quick Start
Use the core-dumps skill to enable core dump generation on Linux and analyze the latest core file using GDB.