[rrd-users] Followup to rrdtool sig8's on FreeBSD -- includes good gdb output

Robert Gash gashalot at gashalot.com
Tue Feb 1 20:12:52 MET 2000

Here is the really useful output from gdb that will let you see where the
fault is happening:

su-2.03# gdb /usr/local/rrdtool/bin/rrdcgi ./rrdcgi.core    
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `rrdcgi'.
Program terminated with signal 8, Floating point exception.
Reading symbols from /usr/local/rrdtool-1.0.10/lib/librrd.so.0...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x28071341 in data_calc (im=0xbfbfd358) at rrd_graph.c:949
949                         stack[stptr-1] = stack[stptr-1] +
(gdb) where
#0  0x28071341 in data_calc (im=0xbfbfd358) at rrd_graph.c:949
#1  0x2807424a in graph_paint (im=0xbfbfd358, calcpr=0x804af84)
    at rrd_graph.c:2183
#2  0x2807632d in rrd_graph (argc=19, argv=0x8062000, prdata=0x804af84, 
    xsize=0xbfbfdb08, ysize=0xbfbfdb04) at rrd_graph.c:2966
#3  0x80494bd in drawgraph (argc=18, args=0x8062004) at rrd_cgi.c:328
#4  0x80499c1 in parse (buf=0xbfbfdb78, i=737, tag=0x8049be3 "<RRD::GRAPH
    func=0x8049400 <drawgraph>) at rrd_cgi.c:499
#5  0x8048f4c in main (argc=5, argv=0xbfbfdbac) at rrd_cgi.c:148
#6  0x8048bf1 in _start ()

.----------------- PGP Key: `finger gashalot at gashalot.com` -----------------.
| Robert Gash                        |          Work - gashalot at fasturl.net |
| Senior Systems Administrator       |     Personal - gashalot at gashalot.com |
| VenerNet Inc -- www.fasturl.net    |              http://www.gashalot.com |
`---- PGP Key Fprint:  78 5D 64 D2 99 F3 D8 A0  B2 56 DF EF F2 C6 D3 DF ----'

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users

More information about the rrd-users mailing list