cuitao2046 / gperftools

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

pprof produces messages: Use of uninitialized value $pcstr in hash element ... #252

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following messages are printed under certain conditions by pprof from 
perftools 1.5:
Use of uninitialized value $pcstr in hash element at /usr/local/bin/pprof line 
3724, <SYMBOLS> line 30.
Use of uninitialized value $pcstr in hash element at /usr/local/bin/pprof line 
3727, <SYMBOLS> line 30.

They correspond to lines:
    my $sym = $symbols->{$pcstr};
    if (!defined($sym)) {
      $sym = [];
      $symbols->{$pcstr} = $sym;
    }

Original issue reported on code.google.com by jerrry94...@yahoo.com on 17 Jun 2010 at 8:20

GoogleCodeExporter commented 9 years ago
In my experience, I only see warning messages like that when there's some other 
problem reported, earlier by pprof.

Please list the full pprof output, along with the commandline you ran.  What 
version of perftools are you using?  On what O/S?  If you can attach the heap 
file and the executable that you ran pprof with, that would be helpful as well.

Original comment by csilv...@gmail.com on 17 Jun 2010 at 2:53

GoogleCodeExporter commented 9 years ago
Any more news on this?

Original comment by csilv...@gmail.com on 2 Aug 2010 at 4:47

GoogleCodeExporter commented 9 years ago
It's been over a year with no feedback, closing CannotReproduce.

Original comment by csilv...@gmail.com on 31 Aug 2011 at 11:45