CVS-Version: segfault while verify-config

Ethan Galstad nagios at nagios.org
Mon Feb 18 15:58:58 CET 2008


Gerd Mueller wrote:
> Hi list!
> 
> The latest cvs version von Nagios terminates with a a segfault during
> the verify-config check. It always breaks durch the checking of
> "serviceextinfo". I have more than 2000 definitions of serviceextinfo.
> To much definitions?
> 
> Cheers,
> 
> 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 +++
> 
> 


-- 


Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web:   www.nagios.org

-------------------------------------------------------------------------
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