[rrd-developers] segfault on trunk (rev 1206)

Ian Holsman lists at holsman.net
Fri Oct 5 00:56:22 CEST 2007


(gdb) r update 
/tmp/monitor/nfl/atomics/mysql/localhost/0/users/powerlines.rrd N:1
Starting program: /usr/local/rrdtool-1.2.99907080300/bin/rrdtool update 
/tmp/monitor/nfl/atomics/mysql/localhost/0/users/powerlines.rrd N:1


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00024000
0xffff07c7 in ___memcpy () at 
/System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h:228 

228     
/System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h: 
No such file or directory.
       in 
/System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h 

(gdb) bt
#0  0xffff07c7 in ___memcpy () at 
/System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h:228 

#1  0xbffff608 in ?? ()
#2  0x00226b25 in rrd_write (rrd_file=0x1403ab0, buf=0x2133c, count=8) 
at rrd_open.c:486
#3  0x0022a02a in write_RRA_row (rrd_file=0x1403ab0, rrd=0x24000, 
rra_idx=1, rra_current=0xbffff63c, CDP_scratch_idx=9, 
pcdp_summary=0xbffff670, rra_time=1191269100) at rrd_update.c:1783
#4  0x0022ba81 in process_arg (step_start=0x2325fc "N", rrd=0xbffff608, 
rrd_file=0x1403ab0, rra_begin=10528, rra_current=0xbffff63c, 
current_time=0xbffff638, current_time_usec=0xbffff634, 
pdp_temp=0x1403ae0, pdp_new=0x1403b20, rra_step_cnt=0x1403b10, 
updvals=0x1403ad0, tmpl_idx=0x1403b00, tmpl_cnt=2, 
pcdp_summary=0xbffff670, version=3, skip_update=0x1403af0, 
schedule_smooth=0xbffff630) at rrd_update.c:1736
#5  0x0022c424 in _rrd_update (filename=0xbffffae2 
"/tmp/monitor/nfl/atomics/mysql/localhost/0/users/powerlines.rrd", 
tmplt=0x0, argc=1, argv=0xbffffa28, pcdp_summary=0x141b800) at 
rrd_update.c:399
#6  0x0022c77e in rrd_update_r (filename=0xbffffae2 
"/tmp/monitor/nfl/atomics/mysql/localhost/0/users/powerlines.rrd", 
tmplt=0x0, argc=1, argv=0xbffffa28) at rrd_update.c:323
#7  0x0022c8a9 in rrd_update (argc=3, argv=0xbffffa20) at rrd_update.c:311
#8  0x0021e51b in HandleInputLine (argc=4, argv=0xbffffa1c, 
out=0xa0001c90) at rrd_tool.c:669
#9  0x0021ee9b in main (argc=4, argv=0xbffffa1c) at rrd_tool.c:463
(gdb)

I've only tried it on my mac, so i'm not sure if it is something 
specifc, but I can reproduce the fault when I try to update the restored 
version of this XML file.  (available here: 
*http://lime.holsman.net:8001/rrd.xml )*


Regards
Ian



More information about the rrd-developers mailing list