Skip to content

hoatv2211/GameStudio-CodexKIT / skills/cpp-server-crash-triage

cpp-server-crash-triage

Verified

Use when triaging a C++ game server crash, dump, access violation, segmentation fault, stack trace, symbols, or build identity into a stable signature and ranked root-cause plan.

FileKindSize
SKILL.mdskill md3.5 KB
agents/openai.yamlconfig259 B
references/commands.mdmarkdown1.5 KB
scripts/crash_triage.pyscript1.5 KB

references/commands.md

View on GitHub
# C++ Crash Triage Command Reference

Work on authorized local copies of the dump, executable, and symbols. Dumps may contain credentials or player data.

## Snapshot identity

```powershell
Get-FileHash -LiteralPath '.\GameServer.exe' -Algorithm SHA256
Get-FileHash -LiteralPath '.\server.dmp' -Algorithm SHA256
git rev-parse HEAD
```

```bash
sha256sum ./game-server ./core
git rev-parse HEAD
```

## Windows dump inspection

```powershell
dumpchk.exe .\server.dmp
cdb.exe -z .\server.dmp -y 'srv*C:\Symbols*https://msdl.microsoft.com/download/symbols;D:\BuildSymbols' -c '!analyze -v; .ecxr; kb; lm; q'
```

Confirm that module timestamps, image hashes, and PDB identity match the crashing build before trusting the stack.

## Linux core inspection

```bash
gdb -batch ./game-server ./core \
  -ex "set pagination off" \
  -ex "info files" \
  -ex "thread apply all bt full"
```

```bash
addr2line -e ./game-server -f -C 0xADDRESS
llvm-symbolizer --obj=./game-server 0xADDRESS
```

## Normalized signature

Feed ordered module/function/source frames to the bundled `scripts/crash_triage.py`. Preserve raw debugger output separately; normalization must not discard frame order or symbol limitations.

## Evidence

Record dump hash, executable hash, build identity, debugger version, symbol source, normalized stack signature, first actionable frame, ranked hypotheses, and next bounded reproduction step.

Do not call a raw address a stable signature. Do not claim root cause from mismatched or missing symbols. Do not upload dumps to external services without authorization.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall