-
Notifications
You must be signed in to change notification settings - Fork 17.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/pprof: negative numbers in go tool pprof heap report in 1.22.3, but not in 1.22.2 #67584
Comments
is it possible for you to show the profile? |
I've tried to reproduce with a simple script that leaks goroutines and memory, but failed. Hope somebody realize problem without me spending more time. If not then I will try to get around to it and cook some reproducible example. Not sure that I can publish profile as it is from a closed source project. |
Are you using the |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
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: