Re: [Nagios-devel] CVS-Version: segfault while verify-config

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] CVS-Version: segfault while verify-config

Post by Guest »

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: [email protected]
Web: www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked