coredump | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / coredump

coredump

maintained by mgreenly

star 1 account_tree 0 verified_user MIT License
bolt View GitHub

name: coredump description: Core Dump Analysis skill for the ikigai project

Core Dump Analysis

Description

Post-mortem debugging using core dumps for crashes that occur before gdbserver can catch them.

When to Use

  • Crashes during very early startup
  • Crashes before gdbserver fully initializes
  • When you need to reproduce and analyze offline
  • Segfaults, aborts, or other fatal signals

Enable Core Dumps

# Enable for current session
ulimit -c unlimited

# Verify
ulimit -c

Generate and Analyze

# Run until crash
./ikigai
# Produces: core or core.<pid>

# Analyze
gdb ./ikigai core

Key Commands

bt                  # Backtrace - where it crashed
bt full             # Backtrace with local variables
frame N             # Select stack frame
info locals         # Variables in current frame
print var           # Inspect variable
list                # Source at crash point
info registers      # CPU state at crash
x/20x $sp           # Examine stack memory

Finding the Core File

# Check core pattern
cat /proc/sys/kernel/core_pattern

# Common locations
ls -la core*
ls -la /var/crash/

Workflow

  1. Enable core dumps: ulimit -c unlimited
  2. Run app until crash
  3. Load core: gdb ./ikigai core
  4. Get backtrace: bt full
  5. Inspect frames and variables

References

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 1
GitHub Forks 0
Created Jan 2026
Last Updated 5 months ago
tools tools debugging

Related Skills

fabric
chevron_right
typescript-expert
chevron_right
break-loop
chevron_right
burp-suite
chevron_right
page-behavior-audit
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.