[rrd-developers] segfault on extremely long filenames

Stanislav Sinyagin ssinyagin at yahoo.com
Fri May 27 14:20:23 MEST 2005


Hi all,

rrdtool 1.1.x dies when trying to create RRD files with extremely long 
filenames. I didn't yet test it with the newer version. 
See some info below.

Stan

--- Shawn Ferry <Shawn.Ferry at Sun.COM> wrote:
> While trying to update this discovered interface the collector dies  
> silently.
> 
> [26-May-2005 01:29:58 ] 29495 Creating RRD /usr/local/torrus-data/ 
> CUSTOMER/ 
> 45166/45166_WAN__PPP_SLIP__InterfaceDTEST3_orderCode_VISA_order_comment2 
> ___VISA_code_STDTEST5_orderCode_VISA_order_comment2___VISA_code_STDTEST6 
> _orderCode_VISA_order_comment2___VISA_code_STDTEST7_orderCode_VISA_order 
> _comment2___VISA_code_STDTEST8_orderCode_VISA_order_if-mib.rrd: -- 
> start=1117085098 --step=300 DS:ifInDiscards:COUNTER:500:0:U  
> DS:ifInErrors:COUNTER:500:0:U DS:ifInOctets:COUNTER:500:0:U  
> DS:ifInUcastPkts:COUNTER:500:0:U DS:ifOutDiscards:COUNTER:500:0:U  
> DS:ifOutErrors:COUNTER:500:0:U DS:ifOutOctets:COUNTER:500:0:U  
> DS:ifOutUcastPkts:COUNTER:500:0:U RRA:AVERAGE:0.042:288:732  
> RRA:AVERAGE:0.17:6:2016 RRA:AVERAGE:0:1:4032 RRA:MAX:0.042:288:732  
> RRA:MAX:0.17:6:2016 RRA:HWPREDICT: 
> 4032:1.000000e-01:3.500000e-03:288:7 RRA:SEASONAL:288:1.000000e-01:6  
> RRA:DEVSEASONAL:288:1.000000e-01:6 RRA:DEVPREDICT:4032:8 RRA:FAILURES: 
> 4032:6:9:8

 
> Manually trying to create the file gets a segfault
> 
> /usr/local/rrdtool-1.1.0/bin/rrdtool create  
> 45166_WAN__PPP_SLIP__InterfaceDTEST3_orderCode_VISA_order_comment2___VIS 
> A_code_STDTEST5_orderCode_VISA_order_comment2___VISA_code_STDTEST6_order 
> Code_VISA_order_comment2___VISA_code_STDTEST7_orderCode_VISA_order_comme 
> nt2___VISA_code_STDTEST8_orderCode_VISA_order_if-mib.rrd: -- 
> start=1117085098 --step=300 DS:ifInDiscards:COUNTER:500:0:U  
> DS:ifInErrors:COUNTER:500:0:U DS:ifInOctets:COUNTER:500:0:U  
> DS:ifInUcastPkts:COUNTER:500:0:U DS:ifOutDiscards:COUNTER:500:0:U  
> DS:ifOutErrors:COUNTER:500:0:U DS:ifOutOctets:COUNTER:500:0:U  
> DS:ifOutUcastPkts:COUNTER:500:0:U RRA:AVERAGE:0.042:288:732  
> RRA:AVERAGE:0.17:6:2016 RRA:AVERAGE:0:1:4032 RRA:MAX:0.042:288:732  
> RRA:MAX:0.17:6:2016 RRA:HWPREDICT: 
> 4032:1.000000e-01:3.500000e-03:288:7 RRA:SEASONAL:288:1.000000e-01:6  
> RRA:DEVSEASONAL:288:1.000000e-01:6 RRA:DEVPREDICT:4032:8 RRA:FAILURES: 
> 4032:6:9:8
> Segmentation fault



--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list