[Pkg-nagios-devel] Bug#353825: nagios dies with Segmentation Fault when doing reload (SIGHUP)

Niklas Jakobsson nico at acc.umu.se
Tue Feb 21 08:23:40 UTC 2006


Package: nagios2
Version: 2.0-1
Severity: important

Running '/etc/init.d/nagios2 reload' makes nagios2 daemon die with
segmentation fault.

Backtrace follows:
kes-ng.autonomica.se:~# gdb /usr/sbin/nagios2
GNU gdb 6.4-debian
Copyright 2005 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 "i486-linux-gnu"...(no debugging symbols
found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run /etc/nagios2/nagios.cfg
Starting program: /usr/sbin/nagios2 /etc/nagios2/nagios.cfg
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211947328 (LWP 4980)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Nagios 2.0
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 02-07-2006
License: GPL

(no debugging symbols found)
Nagios 2.0 starting... (PID=4980)
[New Thread -1212023888 (LWP 4983)]
[New Thread -1220412496 (LWP 4984)]

Program received signal SIGHUP, Hangup.
[Switching to Thread -1211947328 (LWP 4980)]
0xb7da4b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
(gdb) continue
Continuing.
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220412496 (zombie)]
0xb7d6bf99 in __deregister_frame () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7d6bf99 in __deregister_frame () from /lib/tls/libc.so.6
#1  0xb7d6a749 in dl_iterate_phdr () from /lib/tls/libc.so.6
#2  0xb7d6cdc5 in _Unwind_Find_FDE () from /lib/tls/libc.so.6
#3  0xb6c1a3af in _Unwind_DeleteException () from /lib/libgcc_s.so.1
#4  0xb6c1b462 in _Unwind_Backtrace () from /lib/libgcc_s.so.1
#5  0xb6c1b5ab in _Unwind_ForcedUnwind () from /lib/libgcc_s.so.1
#6  0xb7da5ff2 in _Unwind_ForcedUnwind () from /lib/tls/libpthread.so.0
#7  0xb7da3fb1 in __pthread_unwind () from /lib/tls/libpthread.so.0
#8  0xb7d9e3d6 in sigcancel_handler () from /lib/tls/libpthread.so.0
#9  <signal handler called>
#10 0xb7da4415 in __read_nocancel () from /lib/tls/libpthread.so.0
#11 0x0806f37e in service_result_worker_thread ()
#12 0xb7d9fced in start_thread () from /lib/tls/libpthread.so.0
#13 0xb7d33dde in clone () from /lib/tls/libc.so.6


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios2 depends on:
ii  libc6                         2.3.6-1    GNU C Library: Shared libraries an
ii  libgd2-noxpm                  2.0.33-3   GD Graphics Library version 2 (wit
ii  libjpeg62                     6b-11      The Independent JPEG Group's JPEG 
ii  libperl5.8                    5.8.8-2    Shared Perl library
ii  libpng12-0                    1.2.8rel-5 PNG library - runtime
ii  nagios2-common                2.0-1      support files for nagios2
ii  zlib1g                        1:1.2.3-9  compression library - runtime

nagios2 recommends no packages.

-- no debconf information




More information about the Pkg-nagios-devel mailing list