coredump_diagnose

Diagnose Linux coredump files to identify process crash root causes.

3|2|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/openeuler-mirror/witty-diagnosis-agent --skill coredump-diagnose-openeuler-mirror
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coredump_diagnose
Source: https://github.com/openeuler-mirror/witty-diagnosis-agent/tree/main/skills/coredump_diagnose
Command: npx skills add https://github.com/openeuler-mirror/witty-diagnosis-agent --skill coredump-diagnose-openeuler-mirror

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gdb, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the complex, multi-step process of analyzing Linux coredump files, which is typically a manual, time-consuming task requiring deep GDB expertise.

Core Features & Use Cases

  • Automated Classification: Instantly categorizes crashes into scenarios like null pointer dereference, stack overflow, memory corruption, or SIGABRT.
  • Deep Diagnostics: Executes targeted GDB analysis scripts to extract call stacks, register states, and memory mappings specific to the crash type.
  • Use Case: When a production service crashes with a SIGSEGV, use this Skill to immediately identify whether the root cause is a null pointer or a memory corruption issue, along with the exact line of code responsible.

Quick Start

Use the coredump_diagnose skill to analyze the crash file located at /tmp/core.1234 for the binary /usr/bin/my_service.

Frequently Asked Questions about coredump_diagnose

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a Linux coredump file to find the root cause of a process crash?

To analyze a Linux coredump file, you can automate structural diagnosis using GDB-based scripts to identify crash root causes like null pointer dereferences. This extracts call stacks and register states to pinpoint the exact line of code responsible for the process crash.

What is the best way to debug a SIGSEGV crash in a production Linux service?

The best way to debug a SIGSEGV crash is to perform automated classification on the coredump file. This categorizes the crash into scenarios like memory corruption or stack overflow and executes targeted GDB scripts to extract specific failure diagnostics.

Can I use GDB to automate memory corruption and stack overflow detection from coredumps?

Yes, you can use GDB to automate memory corruption and stack overflow detection. The skill coordinates GDB-based information collection and scenario-specific debugging scripts to analyze specific failure modes like SIGABRT and SIGBUS rapidly.

Do I need GDB installed to run automated coredump analysis for Linux user-space crashes?

Yes, you need GDB installed as a dependency to run automated coredump analysis. The tool relies on GDB to extract memory mappings, register states, and call stacks from Linux user-space coredump files for rapid incident response.

Does automated coredump analysis support SIGFPE and SIGBUS failure modes?

Yes, automated coredump analysis supports SIGFPE and SIGBUS failure modes. It performs structural diagnosis on Linux user-space coredump files to identify the root causes of these specific process crashes using targeted GDB scripts.

Why does my coredump analysis not identify the exact line of code for a crash?

Coredump analysis might fail to identify the exact line of code if the coredump file lacks sufficient debugging symbols. The tool requires proper binary and coredump alignment to execute GDB scripts and extract accurate call stacks for root cause identification.