Re: Re: Netsaint doesn't start anymore ! (SIGSEGV)

Rainer Duffner <[email protected]> Wed, 12 Mar 2003 21:38:09 +0100
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Rainer Duffner wrote:

> I get this here:
> NetSaint 0.0.7 starting... (PID=84434)
> Warning: Contact group 'switch-admins' is not used in any hostgroup or
> service definitions or escalations!
> (no debugging symbols found)...(no debugging symbols found)...
> Program received signal SIGSEGV, Segmentation fault.
> 0x28159608 in strtoul () from /usr/lib/libc.so.4
> (gdb) bt
> #0  0x28159608 in strtoul () from /usr/lib/libc.so.4
> #1  0x805a636 in xrddefault_read_state_information ()
> #2  0x8059102 in read_initial_state_information ()
> #3  0x8049d9d in main ()
> #4  0x8049415 in _start ()
> (gdb)
> 
> Might be a problem in a config-file...
> But where ? ...


A quick follow-up:

I've no compiled it with all --enable-DEBUGx statements (0-4) and I get
this as the last lines before SIGSEGVing:

find_service() start
set_service_state_information() end
set_service_state_information() start
find_service() start
set_service_state_information() end
set_service_state_information() start
find_service() start
set_service_state_information() end
set_service_state_information() start
find_service() start
set_service_state_information() end
set_service_state_information() start
find_service() start
set_service_state_information() end
set_service_state_information() start
find_service() start
set_service_state_information() end
set_service_state_information() start
find_service() start
set_service_state_information() end
write_to_logs_and_console() start
write_to_syslog() start
write_to_syslog() end
write_to_log() start
write_to_log() end
write_to_logs_and_console() end
Caught SIGSEGV, shutting down...
close_command_file() start
close_command_file() end


There are actually a lot more of the find_service calls before it brakes
down.
It also seems to start scheduling checks (before the
find_service-avalanche).



Rainer
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rainer Duffner                   Munich
[email protected]          Germany
http://www.i-duffner.de        Freising
========================================
All HTML-mail goes to my pre-trash bin !
Send plain text email for faster response
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en