-
Notifications
You must be signed in to change notification settings - Fork 16
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
2015/09/16 23:02:31 unknown record kind 26311 #3
Comments
I would post my actual heapdump but it's 278MB :( I hope you can reproduce it via the test application above. I'm doing this on a mac, if that matters. |
I have a smaller example dump at https://github.com/cep21/heaptest/blob/master/example_dumps/heapdump2 which produces this output:
|
I too forked this to see about running this against 1.5 compiles. It checks to see if the dmp file has either the 1.4 or the 1.5 header. 1f1d3e7 It appears that checking for the 1.5 header string is not sufficient to get heapdump14 working with 1.5; running it against a dump of a simple application compiled with 1.5 results in an error due to type information mismatch. This only occurs if the optional application binary is provided. My error message adds the file and line number because I added flags to my heapdump14 so I could see where the errors were coming from. Using
Using
This works in 1.4, with one non-fatal error
I used the heapdump branch of my peu repo: https://github.com/mohae/peu/tree/heapdump Trying this with a more complex application, hugo resulted in an unexpected EOF, like what cep21 reported.
Hugo compiled on 1.4 resulted in different errors. I will add an issue for that. |
Hi,
I'm using go 1.5.1 and a fork that puts 1.5 in the expected header at https://github.com/cep21/heapdump14 (https://github.com/cep21/heapdump14/commit/1d13a6e5b26f5e2678caa105f22c40041eade8bd)
My program is a simple hello-world like app at https://github.com/cep21/heaptest/blob/master/main.go. I run it, then curl out a heap dump via
which is an endpoint I wrote that calls WriteHeapDump().
When I run
./hview /tmp/heapdump ../../heaptest/heaptest
I get the following output:The text was updated successfully, but these errors were encountered: