[rrd-users] problems with 'rrdtool restore' (Program terminated with signal 6, Aborted.)

Oleg Palij o.palij at dp.uz.gov.ua
Thu Oct 27 17:25:32 MEST 2005


Hi, all!
   
FreeBSD 5.4-R, gcc version 3.4.2 [FreeBSD] 20040728, RRDtool 1.2.11.

# rrdtool dump border_router_traffic_in_936.rrd > tempfile.xml
# rrdtool restore -r tempfile.xml border_router_traffic_in_936.rrd
rrdtool in free(): error: page is already free
Abort trap (core dumped)
# rrdtool restore -r -f tempfile.xml border_router_traffic_in_936.rrd
ERROR: creating 'border_router_traffic_in_936.rrd': File exists
# rm border_router_traffic_in_936.rrd
# rrdtool restore -r -f tempfile.xml border_router_traffic_in_936.rrd
# ls -la
-rw-r--r--   1 root     o.palij   94664 27 окт 08:39 border_router_traffic_in_936.rrd
-rw-r--r--   1 root     o.palij  499203 27 окт 08:36 tempfile.xml

So, only with -r its segfault, with -f and -r it works but does not overwrite output.

gdb /usr/ports/net/rrdtool/work/rrdtool-1.2.11/src/.libs/rrdtool  /var/tmp/0.rrdtool.core
GNU gdb 6.1.1 [FreeBSD]
Core was generated by `rrdtool'.
Program terminated with signal 6, Aborted.
.....
#0  0x281cd37b in kill () from /lib/libc.so.5
(gdb) where
#0  0x281cd37b in kill () from /lib/libc.so.5
#1  0x281c2422 in raise () from /lib/libc.so.5
#2  0x28234c1b in abort () from /lib/libc.so.5
#3  0x281d85b9 in ldexp () from /lib/libc.so.5
#4  0x281d85fd in ldexp () from /lib/libc.so.5
#5  0x281d9199 in ldexp () from /lib/libc.so.5
#6  0x281d9743 in ldexp () from /lib/libc.so.5
#7  0x281d9874 in free () from /lib/libc.so.5
#8  0x2808ee7f in rrd_free (rrd=0x2823b0fc) at rrd_open.c:178
#9  0x280910f4 in rrd_restore (argc=134524928, argv=0xbfbfebdc) at rrd_restore.c:532
#10 0x2809f8ec in HandleInputLine (argc=5, argv=0xbfbfebd8, out=0x282459d0) at rrd_tool.c:563
#11 0x2809f1ae in main (argc=5, argv=0xbfbfebd8) at rrd_tool.c:411
#12 0x080484dd in _start ()
#13 0x00000005 in ?? ()

Any additional infornation can be provided without any problems.

Thanks!
-- 
Best regards,
Palij Oleg, ISC (Pridn railway) 
xmpp://malik@jabber.te.ua

--
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