Page 1 of 1

[Nagios-devel] SEGV in 2.0b1 (tarball from Nagios.ORG) - at exit(result): FreeBSD 4.9-RELEASE/pthread lib.

Posted: Wed Dec 29, 2004 4:19 am
by Guest
This is a multi-part message in MIME format...

------------=_1104322765-89040-203
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dear Folks,

Is this a case of get another OS ?

tsitc> gdb -c nagios.core nagios
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 933 in fill_symbuf

Core was generated by `nagios'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libperl.so.3...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/lib/libutil.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x281ecda4 in .cerror () from /usr/lib/libc.so.4
(gdb) bt
#0 0x281ecda4 in .cerror () from /usr/lib/libc.so.4
#1 0x2827dcbf in _exit () from /usr/lib/libc_r.so.4
#2 0x281ecca3 in exit () from /usr/lib/libc.so.4
#3 0x805369e in main (argc=3, argv=0xbfbffb78, env=0xbfbffb88) at
nagios.c:433
(gdb) b 433
Breakpoint 1 at 0x8053695: file nagios.c, line 433.
(gdb) l 420,440
420 printf(" Check your
configuration file(s) to ensure that they contain valid\n");
421 printf(" directives and data
defintions. If you are upgrading from a previous\n");
422 printf(" version of Nagios,
you should be aware that some variables/definitions\n");
423 printf(" may have been
removed or modified in this version. Make sure to read\n");
424 printf(" the HTML
documentation regarding the config files, as well as the\n");
425 printf(" 'Whats New' section
to find out what has changed.\n\n");
426 }
427 }
428
429 /* clean up after ourselves */
430 cleanup();
431
432 /* exit */
433 exit(result);
434 }
435
436
437 /* we're just testing scheduling... */
438 else if(test_scheduling==TRUE){
439
440 /* reset program variables */
(gdb) set args -v /usr/local/nagios-2.0b1/etc/nagios.cfg
(gdb) r
Starting program: /usr/home/anwsmh/build/nagios-2.0b1/base/nagios -v
/usr/local/nagios-2.0b1/etc/nagios.cfg

Nagios 2.0b1
Copyright (c) 1999-2004 Ethan Galstad ([email protected])
Last Modified: 12-15-2005
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 459 services.
Checking hosts...
Checked 196 hosts.
Checking host groups...
Checked 18 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 51 contacts.
Checking contact groups...
Warning: Contact group 'hpa-bne-admins' is not used in any
hostgroup/service definitions or host/hostgroup/service escalations!
Warning: Contact group 'internet-admins' is not used in any
hostgroup/service definitions or host/hostgroup/service escalations!
Warning: Contact group 'lan-managers' is not used in any
hostgroup/service definitions or host/hostgroup/service escalations!
Warning: Contact group 'wan-managers' is not used in any
hostgroup/service definitions or host/hostgroup/service escalations!
Checked 23 contact groups.
Checking service escalations...
Checked 3

...[email truncated]...


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