sasha-s / go-deadlock

Online deadlock detection in go (golang)
Apache License 2.0
1.03k stars 75 forks source link

Wrong recursive locking detection with go 1.23 #35

Closed philippseith closed 2 months ago

philippseith commented 2 months ago

The calculation of the goroutine ID with github.com/petermattis/goid does not work anymore. Hence recursive locking is detected falsely.

This gist https://gist.github.com/metafeather/3615b23097836bc36579100dac376906 seems to return the correct ID