Segmentation Fault

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Jan 30 08:37:29 CET 2003


Dear Sir,

I am writing to thank you for your letter and say,

On Wed, Jan 29, 2003 at 01:10:23PM -0800, Judd Sproba wrote:
> Hello,
> 
> I'm in the process of upgrading from Redhat 7.3 to RedHat 8.0. I figured I start with the latest fresh compile of nagios
>  with the embedded perl and perl cache options turned on.
> 
> Everything compiled fine but when I run the nagios binary, I get a Segmentation Fault.
> I am using Perl 5.8 (which ships with the RH8 distrib).
> 
> When I attempt to debug with catchsegv, I get:
> 
  .. snip

> Backtrace:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so(Perl_PerlIO_stdout+0x1a)[0x400fc8da]
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so(PerlIO_stdoutf+0x32)[0x400fcec2]
> /usr/local/nagios/bin/nagios(main+0xa52)[0x805133a]
> /usr/local/nagios/bin/nagios(__libc_start_main+0xa4)[0x420158d4]
> /usr/local/nagios/bin/nagios(geteuid+0x69)[0x8050831]

that this this is the second report of Nag raising a SEGV with embedded
Perl and Perl 5.8.0 (same place too, in PerlIO_stdout).

This sounds like confirmation of a bug with embedded Perl Nag (ePN) with
Perl 5.8.0

You can

1 Rebuild Nag without embedded Perl

2 Install a Perl 5.6.x - preferably in a different location, in case
there are other dependencies on 5.8.0 - and reconfigure Nag with that
Perl.

3 Wait for a fix.

Is your system available to test patches ?

> 
> Any Ideas?

Yours sincerely.
-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list