
Nginx C Module Debug
When your nginx module crashes in production and you're staring at a cryptic segfault, this is your systematic debugging guide. It covers 45 rules across core dump analysis, memory bug detection with AddressSanitizer and Valgrind, GDB workflow for inspecting request state, and tracing request flow through nginx's phase handlers and filter chains. The priority ranking helps you start with crash signatures and NULL pointer patterns before diving into dynamic tracing tools. It's built from nginx.org's official development docs and complements the nginx-c-modules skill by focusing purely on diagnosis rather than correct implementation. Most useful when you need to debug use-after-free bugs, pool corruption, or subrequest crashes that only happen under load.
- skills.sh installs
- 253
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill nginx-c-module-debug --agent claude-codeInstalls into .claude/skills of the current project.
Files
nginx.org C Module Debugging Best Practices
Comprehensive debugging guide for nginx C modules, derived from the official nginx development documentation and production debugging experience. Contains 45 rules across 8 categories, prioritized by impact to guide systematic diagnosis of crashes, memory bugs, and behavioral issues in nginx modules.
Companion skills: This skill complements nginx-c-modules (correctness) and nginx-c-module-perf-reliability (performance). This skill covers debugging and diagnosis.
When to Apply
Reference these guidelines when:
- Diagnosing nginx worker crashes (segfaults, SIGABRT, SIGSEGV)
- Finding memory bugs (use-after-free, leaks, pool corruption, buffer overruns)
- Setting up GDB and core dump analysis for nginx
- Tracing request flow through phases, subrequests, and filter chains
- Instrumenting nginx modules with debug logging and dynamic tracing tools
Rule Categories by Priority
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Documentation, Debugging
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Rails Application Ui Blocks251
- Rust Write Tests248
- Rust Implement246
- Domain Architect242
- Graph Schema233
- Exec Plan232
- Framer Motion Best Practices187
- Rust124
- Zod7.2K
- Vitest7.2K
- React Hook Form3.1K
- Emilkowal Animations2.8K
- Nuqs2.4K
- Clean Architecture2K
- Typescript1.8K
- Code Simplifier1.6K
- Expo React Native Performance1.5K
- Nextjs1.2K
- Playwright1.2K
- Framer Motion1.2K
- Wxt Browser Extensions1.1K
- Msw897
- Tanstack Query858
- Clean Code857