Go 1.26's goroutineleak profile — a walkthrough that teaches you to read the reports

74 views
Skip to first unread message

Cheikh Seck

unread,
Jul 24, 2026, 5:03:56 AM (yesterday) Jul 24
to golang-nuts
Go 1.26's goroutineleak profile finally lets you see the goroutines that refuse to die — and this post teaches you how to build the leak, read the crash report, and map every stack frame back to the exact line where a goroutine is parked forever.

The experimental profile is barely documented. Most posts stop at "here's the flag." This one goes further: a full source walkthrough in four sections, the real cleaned output decoded line by line and honest caveats on what the detector can't catch. If you've ever stared at a pprof goroutine count and guessed which one was the ghost, this is for you.

https://medium.com/towardsdev/the-goroutines-that-refuse-to-die-and-how-go-1-26-finally-made-them-visible-52da51317c5b
Reply all
Reply to author
Forward
0 new messages