]> Cypherpunks repositories - gostls13.git/commit
runtime: always show runfinq in traceback
authorMichael Pratt <mpratt@google.com>
Mon, 24 Mar 2025 07:08:33 +0000 (03:08 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 25 Mar 2025 00:15:19 +0000 (17:15 -0700)
commit9c88db5f1eba68999184bb043a0b339349b81db4
tree7a8a73c1624269ecf61cef4285badd602e20578a
parentaaf9b46800fe12c11c17bffebc82436204a1e85b
runtime: always show runfinq in traceback

Today, runtime.runfinq is hidden whenever runtime frames are hidden.

However this frame serves as a hint that this goroutine is running
finalizers, which is otherwise unclear, but can be useful when debugging
issues with finalizers.

Fixes #73011.

Change-Id: I6a6a636cb63951fbe1fefc3554fe9cea5d0a0fb6
Reviewed-on: https://go-review.googlesource.com/c/go/+/660295
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/crash_test.go
src/runtime/testdata/testprog/finalizer_deadlock.go [new file with mode: 0644]
src/runtime/traceback.go