Core Dumps
Practical crash triage for production core dumps: enabling collection, loading in GDB or LLDB, and resolving symbols.
- CCM score
- 64 of 100
- skills.sh installs
- 948
- GitHub stars
- 303
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers enabling core dumps on Linux and macOS, systemd
coredumpctlworkflows, and GDB and LLDB analysis - Includes
ulimit,kernel.core_patternsettings,coredumpctl list/info/gdb/dump, and debuginfod or manual debug-symbol lookup - Shows how to separate debug info with
objcopyand add debuglinks so stripped production binaries stay debuggable - Designed for triaging segfaults from production binaries without rerunning the program
Install
$ npx -y skills add mohitmishra786/low-level-dev-skills --skill core-dumps -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Core Dumps
Purpose
Guide agents through enabling, collecting, and analysing core dumps for post-mortem crash investigation without rerunning the buggy program.
Triggers
- "My program crashed in production — how do I analyse the core?"
- "How do I enable core dumps on Linux?"
- "I have a core file but no symbols / source"
- "How do I use debuginfod to get symbols for a core?"
- "coredumpctl show me the crash"
Workflow
1. Enable core dumps (Linux)
# Per-session (lost on logout)
ulimit -c unlimited
# Persistent (add to /etc/security/limits.conf)
* soft core unlimited
* hard core unlimited
# Check current limit
ulimit -c
# Set core pattern (where and how cores are named)
# Default: 'core' in CWD — often not useful
sudo sysctl -w kernel.core_pattern=/tmp/core-%e-%p-%t
# %e = executable, %p = PID, %t = timestamp
# Persistent (add to /etc/sysctl.d/99-core.conf)
kernel.core_pattern=/tmp/core-%e-%p-%t
kernel.core_uses_pid=1
2. systemd/coredumpctl (modern Linux)
If systemd manages core dumps (common on Ubuntu 20+, Fedora, Arch):
# List recent crashes
coredumpctl list
# Show details of the latest crash
coredumpctl info
Details
- Repository
- github.com/mohitmishra786/low-level-dev-skills
- Categories
- Debugging, CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the core-dumps skill do for crash triage?
The core-dumps skill guides an agent through enabling, collecting, and analyzing core dumps for post-mortem crash investigation without rerunning the buggy program. It covers loading core files in GDB or LLDB and extracting backtraces from production segfaults.
How do I install the core-dumps skill?
Run npx -y skills add mohitmishra786/low-level-dev-skills --skill core-dumps -y in your project. This lets the agent load core files, map symbols with debuginfo or debuginfod, and extract backtraces from crashes.
Which debugging skills sit alongside core-dumps in the Debugging category?
The core-dumps skill is in the Debugging category, alongside diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging, and sentry-cli. It focuses specifically on post-mortem analysis of core files from production binaries.
How does core-dumps help with missing symbols in a core file?
The skill explains using debuginfod to fetch debug symbols by build ID when DEBUGINFOD_URLS is set, and manual approaches using debug packages and build IDs. It also shows how to strip binaries while keeping an unstripped copy for symbol mapping.
More from mohitmishra786/low-level-dev-skills
All 54Similar to Core Dumps
More Debuggingstrace-ltracemohitmishra786/low-level-dev-skills822 installsSyscall and library call tracing with strace and ltrace for diagnosing binaries that misbehave without crashing.
gdbmohitmishra786/low-level-dev-skills1.3K installsGDB debugger workflows for C and C++ covering breakpoints, inspection, crash analysis, and remote debugging.
golang-troubleshootingsamber/cc-skills-golang42.8K installsSystematic Go debugging methodology with pprof, Delve, race detection, and GODEBUG tracing for root-cause fixes.
debugging-instrumentsdpearson2699/swift-ios-skills4.5K installsInteractive LLDB, Memory Graph, and Instruments triage for iOS crashes, retain cycles, hangs, and profiling.
nginx-c-module-debugpproenca/dot-skills264 installsStructured debugging guide for nginx C modules covering crashes, memory bugs, GDB analysis, and request tracing.
rspack-debuggingrstackjs/agent-skills294 installsRspack-specific LLDB debugging guide for native crashes, segfaults, deadlocks, and stuck builds with debug symbols.