CVS-Version: segfault while verify-config

Gerd Mueller gmueller at netways.de
Tue Feb 19 09:27:58 CET 2008


Hi Ethan!

I am sorry but I cannot reproduce this segfault anymore :-( even with
more conifgfiles, services, serviceexts, ... I will run gdb if it
happens again.

Take care,

Gerd

> Can you run the unstripped nagios binary under gdb and do a backtrace
> (bt) when the segfault happens?  That will get the line numbers for
> debugging.  Thanks.
> 
> > 
> > 
> > 
> > stat("/etc/nagios/serviceext/agency.cfg", {st_mode=S_IFREG|0644,
> > st_size=395, ...}) = 0
> > open("/etc/nagios/serviceext/agency.cfg", O_RDONLY) = 6
> > fstat(6, {st_mode=S_IFREG|0644, st_size=395, ...}) = 0
> > mmap(NULL, 395, PROT_READ, MAP_PRIVATE, 6, 0) = 0x2aaaab3d3000
> > munmap(0x2aaaab3d3000, 395)             = 0
> > close(6)                                = 0
> > stat("/etc/nagios/serviceext/cc2.cfg", {st_mode=S_IFREG|0644,
> > st_size=1062, ...}) = 0
> > open("/etc/nagios/serviceext/cc2.cfg", O_RDONLY) = 6
> > fstat(6, {st_mode=S_IFREG|0644, st_size=1062, ...}) = 0
> > mmap(NULL, 1062, PROT_READ, MAP_PRIVATE, 6, 0) = 0x2aaaab3d3000
> > munmap(0x2aaaab3d3000, 1062)            = 0
> > close(6)                                = 0
> > getdents(5, /* 0 entries */, 4096)      = 0
> > close(5)                                = 0
> > munmap(0x2aaaaaabb000, 38363)           = 0
> > close(4)                                = 0
> > brk(0x2a1a000)                          = 0x2a1a000
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
> > 
> > 
> 
> 
-- 
Gerd Mueller                  
Senior Consultant

NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 Nürnberg 
Tel: +49 911 92885-0 | Fax: +49 911 92885-33 
GF: Julian Hein | AG Nürnberg HRB18461 
 
http://www.netways.de | gmueller at netways.de 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list