debug/gosym: report different line number than cmd/addr2line #56869
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
What did you do?
get pprof:
open it with pprof raw:
use debug/gosym to get funcname and line:
What did you expect to see?
with same address, the debug/gosym should have same line number compared with go tool addr2line.
use go tool addr2line to get funcname and line:
What did you see instead?
the debug/gosym have different line number compared with go tool addr2line.
debug/gosym:
it's line number is 1117, not 850.
The text was updated successfully, but these errors were encountered: