[rrd-developers] MRTG , Segmentation Fault , After re-installing perl .

kevin brintnall kbrint at rufus.net
Wed Feb 18 22:33:31 CET 2009

On Wed, Feb 18, 2009 at 10:16:58AM -0900, Mr. James W. Laferriere wrote:
> > A back-trace would be very helpful.  Is the crashing program generating a
> > core file?
>  	No core file found on file system .  system may be configured not to 
> allow creation of one ,  Not sure ,  checking ,  the system IS configure to NOT 
> allow a core file to be produced ,  I'll try seeing if this will create one , 
> Fyi ,  It does not produce a core file .

If it's dying on SIGSEGV, it should produce a CORE file.. Make sure that
it's not chdir() to somewhere it cannot write.

>  	Can you help with getting 'gdb' to allow ...
> # gdb /usr/local/bin/perl /usr/local/mrtg-2/bin/mrtg-ORIG /var/www/htdocs/router2cgi/cfg/to-rtr01.cfg
> Excess command line arguments ignored. 
> (/var/www/htdocs/router2cgi/cfg/to-rtr01.cfg)
> GNU gdb 6.6
> ...snip...

This ought to work...

  % gdb /usr/local/bin/perl
  (gdb) set args /usr/local/mrtg-2/bin/mrtg-ORIG /var/www/ht... blahblah
  (gdb) run
After it catches SIGSEGV:

  (gdb) bt

 kevin brintnall =~ /kbrint at rufus.net/

More information about the rrd-developers mailing list