cmd/pprof: negative numbers in go tool pprof heap report in 1.22.3, but not in 1.22.2 #67584
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.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Go version
1.22.3
Output of
go env
in your module/workspace:What did you do?
Took a heap profile from a running service (docker/k8s/linux) using instrumentation server opened on a dedicated port with built in pprof handlers. The service was built with 1.22.3. As far as I know all allocations tracking settings are at default values. Opened the profile using go tool pprof 1.22.3 on mac os. Got negatives all over, see screenshot.
Restarted service. Repeated experiment. Same result.
Built the service with 1.22.2. No negatives in the report.
In all experiments used 1.22.3 to view profiles.
Not sure I can provide more details, hope that it's easy to track regression in allocations tracking code.
What did you see happen?
allocation report contained a lot of negative numbers
What did you expect to see?
report without negative "memory in use" numbers
The text was updated successfully, but these errors were encountered: