[rrd-users] Segmentation Fault
wiz
aenor.realm at gmail.com
Mon Aug 28 18:13:24 MEST 2006
Hello, all!
When i'm trying to graph (or just fetch) data from my rrd i'm getting a core.
RRD is a simple gauge generated from apache's logs.
$ rrdtool 'graph' '/tmp/graph.gif' '--start' '1154188604'
'DEF:down_link=hits.rrd:down_link:AVERAGE' 'AREA:down_link#b56447'
$ rrdtool fetch hits.rrd AVERAGE
Segmentation fault (core dumped)
$ rrdtool
RRDtool 1.2.15 Copyright 1997-2006 by Tobias Oetiker <tobi at oetiker.ch>
Compiled Aug 24 2006 15:50:13
Core's backtrace:
(gdb) bt
#0 0x401b067b in memcpy () from /lib/libc.so.6
#1 0x401a669d in _IO_file_xsputn () from /lib/libc.so.6
#2 0x401a7293 in _IO_sgetn () from /lib/libc.so.6
#3 0x4019c4b6 in fread () from /lib/libc.so.6
#4 0x40038528 in rrd_fetch_fn (filename=0x8 <Address 0x8 out of
bounds>, cf_idx=CF_AVERAGE, start=0xbf8ad468, end=0xbf8ad46c,
step=0xbf8ad470,
ds_cnt=0xbf8ad474, ds_namv=0xbf8ad478, data=0xbf8ad47c) at rrd_fetch.c:421
#5 0x40038ae1 in rrd_fetch (argc=3, argv=0xbf8ad628,
start=0xbf8ad468, end=0xbf8ad46c, step=0xbf8ad470, ds_cnt=0x8,
ds_namv=0x8, data=0x8)
at rrd_fetch.c:156
#6 0x40056ad7 in HandleInputLine (argc=4, argv=0xbf8ad624, out=0x8)
at rrd_tool.c:632
#7 0x40056d6c in main (argc=4, argv=0xbf8ad624) at rrd_tool.c:446
#8 0x4015d31f in __libc_start_main () from /lib/libc.so.6
#9 0x080483c1 in _start () at ../sysdeps/i386/elf/start.S:119
Any suggestions to get it working?
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Size: 344k (352256 bytes)
-- URL : http://lists.ee.ethz.ch/p/core
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Size: 684k (701344 bytes)
-- URL : http://lists.ee.ethz.ch/p/hits.rrd
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list