# maruel/panicparse

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/maruel-panicparse).**

3,711 stars · 103 forks · Go · Apache-2.0

## Links

- GitHub: https://github.com/maruel/panicparse
- Homepage: https://maruel.ca
- awesome-repositories: https://awesome-repositories.com/repository/maruel-panicparse.md

## Topics

`crash` `go` `panic` `stack-traces`

## Description

Panicparse is a toolset for Go crash analysis and runtime debugging. It functions as a panic stack trace parser, a race detector log parser, and a goroutine deduplicator designed to transform raw crash dumps and thread sanitizer output into structured, readable formats.

The project distinguishes itself by converting complex stack traces into visual HTML reports with embedded source code. It reduces noise in highly parallelized processes by grouping identical goroutine stacks and prioritizes application code over standard library calls during parsing.

The utility also covers live process monitoring through a web handler that serves real-time snapshots of active processes. Additional capabilities include resolving source file locations and extracting multiple sequential crash dumps from single log files.

## Tags

### Programming Languages & Runtimes

- [Panic Stack Trace Parsers](https://awesome-repositories.com/f/programming-languages-runtimes/panic-stack-trace-parsers.md) — Transforms raw panic dumps and race detector output into a readable format that prioritizes application code. ([source](https://cdn.jsdelivr.net/gh/maruel/panicparse@main/README.md))
- [Goroutine Stack Deduplicators](https://awesome-repositories.com/f/programming-languages-runtimes/panic-stack-trace-parsers/goroutine-stack-deduplicators.md) — Removes duplicate entries from complex panic logs to help identify the root cause of crashes in parallel processes. ([source](https://maruel.ca/post/2015/amazed/))

### Software Engineering & Architecture

- [Panic Trace Parsers](https://awesome-repositories.com/f/software-engineering-architecture/stacks/stack-trace-formatters/stack-trace-readability-enhancers/panic-trace-parsers.md) — Transforms raw Go panic dumps and race detector logs into structured, readable formats.
- [Race Detector Log Parsers](https://awesome-repositories.com/f/software-engineering-architecture/causal-ordering-timestamps/vector-clocks/data-race-detectors/race-detector-log-parsers.md) — Processes thread sanitizer logs to make race condition reports more readable and easier to manage. ([source](https://maruel.ca/post/2020/panicparse-2.0.1/))
- [Source Resolvers](https://awesome-repositories.com/f/software-engineering-architecture/source-file-organization/source-resolvers.md) — Resolves internal file paths to distinguish between project code, dependencies, and standard libraries. ([source](https://maruel.ca/post/2020/panicparse-2.0.1/))

### Development Tools & Productivity

- [Crash Report Generators](https://awesome-repositories.com/f/development-tools-productivity/crash-report-generators.md) — Generates visual HTML reports from Go stack traces with embedded source code for easier crash analysis.
- [Goroutine Stack Deduplicators](https://awesome-repositories.com/f/development-tools-productivity/goroutine-stack-deduplicators.md) — Groups identical Go stack traces to reduce noise and highlight recurring crash patterns.
- [Go Debugging Utilities](https://awesome-repositories.com/f/development-tools-productivity/go-debugging-utilities.md) — Provides a web-based utility to inspect and diagnose the state of active Go processes during runtime.
- [Source Path Mapping](https://awesome-repositories.com/f/development-tools-productivity/path-mapping-configurations/path-mapping-configurations/repository-path-mapping/source-path-mapping.md) — Maps binary stack frames to local filesystem paths for correct source code display during debugging.
- [Regex-Based Output Parsing](https://awesome-repositories.com/f/development-tools-productivity/regex-based-output-parsing.md) — Uses regular expressions to extract structured diagnostic data from raw panic dumps and race detector output.
- [Stack Trace Source Augmentation](https://awesome-repositories.com/f/development-tools-productivity/stack-trace-source-augmentation.md) — Includes relevant local source code snippets directly within the parsed stack output for faster debugging. ([source](https://cdn.jsdelivr.net/gh/maruel/panicparse@main/README.md))

### Operating Systems & Systems Programming

- [HTTP Process Snapshots](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/memory-inspection-tools/process-memory-streaming/live-process-memory-snapshots/http-process-snapshots.md) — Displays a real-time compacted snapshot of all active processes via a web handler for live debugging. ([source](https://cdn.jsdelivr.net/gh/maruel/panicparse@main/README.md))

### System Administration & Monitoring

- [Crash Deduplication and Triaging](https://awesome-repositories.com/f/system-administration-monitoring/diagnostic-tools/diagnostics/failure-analysis-tools/crash-reporters/crash-deduplication-and-triaging.md) — Deduplicates crash reports by grouping identical goroutine stacks to highlight recurring patterns. ([source](https://cdn.jsdelivr.net/gh/maruel/panicparse@main/README.md))
- [Root Cause Analysis](https://awesome-repositories.com/f/system-administration-monitoring/diagnostic-tools/diagnostics/failure-analysis-tools/crash-reporters/root-cause-analysis.md) — Provides tools to identify the primary failure points of Go application crashes using stack trace analysis.
- [Runtime Process Snapshot Serving](https://awesome-repositories.com/f/system-administration-monitoring/runtime-process-snapshot-serving.md) — Exposes real-time snapshots of active processes through an HTTP interface for live debugging of the runtime.
- [Real Time Process Monitors](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/real-time-process-monitors.md) — Serves real-time snapshots of active processes via a web handler for live status monitoring.

### Testing & Quality Assurance

- [Concurrency Debugging](https://awesome-repositories.com/f/testing-quality-assurance/concurrent-code-testing/concurrency-debugging.md) — Provides utilities for inspecting and troubleshooting asynchronous execution flows in highly parallelized Go applications.
- [Goroutine Stack Deduplication](https://awesome-repositories.com/f/testing-quality-assurance/goroutine-stack-deduplication.md) — Groups identical goroutine stacks to reduce noise and highlight recurring crash patterns in parallelized processes.
- [Race Detector Log Parsers](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/unit/unit-testing/race-condition-detection/race-detector-log-parsers.md) — Processes thread sanitizer logs to make Go race detector output more readable and manageable.

### Content Management & Publishing

- [Portable HTML Reports](https://awesome-repositories.com/f/content-management-publishing/static-report-generation/portable-html-reports.md) — Produces self-contained HTML reports that allow visual inspection of crash data without requiring a web server.

### User Interface & Experience

- [Stack Trace Visualizers](https://awesome-repositories.com/f/user-interface-experience/stack-trace-visualizers.md) — Provides a visual web representation of parsed stack traces to simplify browsing and sharing of crash reports. ([source](https://cdn.jsdelivr.net/gh/maruel/panicparse@main/README.md))

### Part of an Awesome List

- [General Utilities](https://awesome-repositories.com/f/awesome-lists/devtools/general-utilities.md) — Goroutine grouping and stack trace coloring.
- [General Utility Libraries](https://awesome-repositories.com/f/awesome-lists/devtools/general-utility-libraries.md) — Groups and colors goroutine stack dumps.
