PANICPARSE(1)
π PANICPARSE(1) β the manual page, but make it slay
okay bestie, so this is a page from the General Commands Manual section, and the command is panicparse. Sit down, grab a strawberry π, we're gonna read the whole thing together.
β¨ NAME β¨
panicparse β she parses panic stack traces from golang programs π«Ά
π SYNOPSIS π
panicparse [options] file
go test -v 2>&1 | panicparse
Like, either you hand her a file, or you pipe your go test -v output straight into her face. Both are valid. Both are iconic. π
π¦ DESCRIPTION π¦
This manual page documents briefly the panicparse command. Short and sweet, we love that for us.
panicparse parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized processes.
No cap β when your heavily parallelized little program goes full chaos mode and crashes, or just. Sits there. Deadlocked. Frozen. Not me refreshing the terminal like it's gonna change π β panicparse walks in, reads the whole mess of goroutine dumps, squishes the ones with similar stack traces together, and hands you something you can actually read. Main character energy fr fr π
π OPTIONS π
A summary of options is included below. It's giving buffet. Take what you need π
-aggressiveβ Aggressive deduplication including non pointers. She's not being polite about it, she's merging everything she can π₯-f stringβ Regexp to filter out headers that match, ex:-f 'IO wait|syscall'. Anything matching gets yeeted π-force-colorβ Forcibly enable coloring when with stdout is redirected. Redirected output? She's still gonna be colorful, periodt πΈ-full-pathβ Print full sources path. No truncating, no hiding, the whole entire path π¦-html stringβ Output an HTML file. Give the crash a whole aesthetic β¨-m stringβ Regexp to filter by only headers that match, ex:-m 'semacquire'. Only the matching ones get to stay π-no-colorβ Disable coloring. For the monochrome girlies π€-parseβ Parses source files to deduct types; use-parse=falseto work around bugs in source parser (default true). Yes she reads your source. And yes, the source parser has bugs, so you can turn her off, no shame π-rebaseβ Guess GOROOT and GOPATH (default true). She's guessing, but like, confidently π-vβ Enables verbose logging output. Not me wanting to see every single little thing she's doing π
heads up bestie:-parseand-rebaseboth default totrue. If something's acting weird with the source parser,-parse=falseis the lil escape hatch. π«Ά
π that's the whole page π
and that's a wrap, bestie! this page came from the General Commands Manual, dated 2019-09-07, and it's PANICPARSE(1) β that last bit is the manual name, so you can run man 1 panicparse whenever you need her again. go debug something, you've got this πππ§
π¦ where this page comes from
- debian bookworm: panicparse 2.3.0-1
- debian trixie: panicparse 2.3.1-3
- ubuntu noble: panicparse 2.3.1-3build1
- ubuntu noble: panicparse 2.3.1-3ubuntu0.24.04.3
- ubuntu questing: panicparse 2.3.1-3build1
- ubuntu resolute: panicparse 2.3.1-3build2
- ubuntu stonking: panicparse 2.5.0-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms