Re: [Nagios-devel] Still problems with Nagios 2.9 and NDO under

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] Still problems with Nagios 2.9 and NDO under

Post by Guest »

Masopust, Christian wrote:
> Hi all,
>
> i'm still having problems with ndoutils under Solaris 9.
>
> When i'm activating it (event_broker_options=-1) in nagios.cfg
> my nagios won't start anymore !! it always stops with a segmentation fault!
>
> here's the traceback of the dump:
>
> (gdb) bt
> #0 0xff1b3288 in strlen () from /usr/lib/libc.so.1
> #1 0xff10bcbc in ndo_escape_buffer (buffer=Cannot access memory at address 0x44
> ) at io.c:424
> #2 0xff104788 in ndomod_write_object_config (config_type=1) at ndomod.c:3183
> #3 0xff103d30 in ndomod_write_config (config_type=1) at ndomod.c:2999
> #4 0xff103b44 in ndomod_broker_data (event_type=7, data=0xffbef954) at ndomod.c:2940
> #5 0x0001d038 in neb_make_callbacks ()
> #6 0x0001ca38 in broker_program_state ()
> #7 0x0001b67c in main ()
>
> is there anyone who could shed a little lite on this ??
>

Not really. The program receives a SIGSEGV in ndo_escape_buffer because it gets
passed an invalid pointer (memory address 0x44 is not available to programs).

Why it gets passed a bogus address on Solaris is a mystery to me, as
contact_struct->name is located at relative address 0 within the contact_struct
data structure (unless your compiler re-arranges it ofcourse).

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231





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