is00hcw / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

"Use of uninitialized value $address in exists" and nearly-empty PDF call graph #659

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run with CPURPOFILE enabled
2.Run "pprof --pdf <exe> <prof file> > foo.pdf

What is the expected output? What do you see instead?
I expect a PDF file. Instead I get a Perl warning "Use of uninitialized value 
$address in exists at .../pprof line 2827" and the graphviz output is almost 
empty (just two boxes in the call graph).

What version of the product are you using? On what operating system?
2.2.90, Scientific Linux 6.6 x86_64

Please provide any additional information below.
Using pprof from gperftools-2.1 works fine, with no warnings and generating a 
complete call graph. Please let me know what additional information I can 
provide.

Original issue reported on code.google.com by lopre...@gmail.com on 2 Dec 2014 at 7:09

GoogleCodeExporter commented 9 years ago
I'm not able to reproduce your case. Can you submit your program ?

Another things to try:

* use 2.1 pprof on 2.2.90 profile

* attach symbolized profile (pprof --raw <program> <profile> > profile.raw)

* try pprof --web (to see if it's problem with pdf (unlikely) output or 
something else)

Original comment by alkondratenko on 6 Dec 2014 at 11:00