On Mon, 15 May 2000, Michal Kara wrote:
> Hello all!
>
> PCPMON 1.2.0 has been released. Changes:
>
> - Window position/size is saved too
> - Optional graph label added
> - Optional axis labels added
> - Fixed memory leaks
>
> New version can be got on URL
> http://k332.feld.cvut.cz/~lemming/projects/pcpmon-1.2.0.tar.gz
>
> Michal Kara
Michal,
I downloaded your latest pcpmon, and it worked just fine until I switched
an existing graph to "stack" mode and increased the update interval. After
a while it segfaulted. This is on Redhat6.2.
sandpit 20% !!
gdb `which pcpmon` core
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `pcpmon'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /usr/lib/libpcp.so.2...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/lib/libxml.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0 0x4018d999 in g_str_hash () from /usr/lib/libglib-1.2.so.0
(gdb) up
#1 0x4017fb19 in g_hash_table_lookup () from /usr/lib/libglib-1.2.so.0
(gdb) up
#2 0x80557be in gather_getValue (server=0x80d0927 "sandpit", metric=0x0,
index=0) at gather.c:323
323 m = g_hash_table_lookup(s->byName,metric);
(gdb) p s->byName
$1 = (GHashTable *) 0xb3c825ff
(gdb) p metric
$2 = 0x0
(gdb) p *metric
Cannot access memory at address 0x0
(gdb)
|