[rrd-users] Segmentation fault (core dumped) on perl module

Frank rrdtool at searchy.nl
Sun Feb 25 22:33:05 CET 2007


Hi,

I recently tried to upgrade from rrdtool 1.0.x to 1.2.x (1.2.19 in this 
case)
Recompiled the perl extension with perl-5.8.8 (same version as I used 
with 1.0.x . But perl crashes with a SIGSEGV. A backtrace shows:

(gdb) bt
#0  0x48277fa3 in _getopt_internal () from 
/usr/local/rrdtool-1.2.19/lib/perl/5.8.8/-freebsd/auto/RRDs/RRDs.so
#1  0x48278a04 in getopt_long () from 
/usr/local/rrdtool-1.2.19/lib/perl/5.8.8/-freebsd/auto/RRDs/RRDs.so
#2  0x4826fe33 in rrd_update () from 
/usr/local/rrdtool-1.2.19/lib/perl/5.8.8/-freebsd/auto/RRDs/RRDs.so
#3  0x482593bd in XS_RRDs_update () from 
/usr/local/rrdtool-1.2.19/lib/perl/5.8.8/-freebsd/auto/RRDs/RRDs.so
#4  0x80a9bb6 in Perl_pp_entersub ()
#5  0x80a3cb0 in Perl_runops_standard ()
#6  0x8060318 in S_run_body ()
#7  0x8060040 in perl_run ()
#8  0x805d604 in main ()
#9  0x805d4ca in _start ()


Some more information about my OS and software:

- FreeBSD 4.11
- gcc 2.95.4
- perl 5.8.8 compiled with all default options.


What can cause this crashing and how can it be solved?


Regards,

Frank



More information about the rrd-users mailing list