Native Core Dump Analysis

Get a usable backtrace from a crash in a production native binary (C, C++, Rust, Go with cgo): make the next crash capturable before it happens with ulimit -c and kernel.core_pattern (host-wide, so containers need it set on the node, or piped to systemd-coredump and read with coredumpctl), keep symbols apart from the shipped binary indexed by build ID and served through debuginfod, then read the dump with gdb batch mode, faulting thread first and lock holders after. Use for "segfault in production and no logs", "how do I enable core dumps in a container", "core file but no symbols", "gdb shows question marks", "crash only happens on the customer's machine". Not for mobile app crash reports (crash-triage), generic bug hunting (debugging), instrumented test builds (cpp-sanitizer-triage) or link failures (native-linking-errors).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 0b9e2ce752

Frequently asked questions

npx get-skill add greenblacked/native-core-dump-analysis