Page 1 of 1

Re: [Nagios-devel] Segmentation fault when nebmodule returns with

Posted: Mon Nov 26, 2007 6:22 am
by Guest
I have played around to find out why this problem occurs. In my
nebmodule_init function I call neb_set_module_info to set different
informations about my module. Commenting these out: and the segfault
doesn't happen anymore.

I think that I am now very close. Although in neb_add_module all
pointers of info[] are initialized with NULL in neb_set_module_info
they aren't anymore. info[2] points to 0x1. So the call to my_free
segfaults. Why pointers aren't initialized any more, I still don't
know ...

Tobias





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