ndoutils segfault

Jelle Smet nagios at smetj.net
Thu Jul 23 17:26:43 CEST 2009


On Thu, 23 Jul 2009 16:38:12 +0200, Hendrik Baecker

<andurin at process-zero.de> wrote:
> 
> Could you please run a short session with gdb?
Excecuting as you suggested:
gdb --args /opt/nagios/bin/ndo2db -c /opt/nagios/etc/ndo2db.cfg
ussrvud-mon01:/opt/nagios/var # gdb --args /opt/nagios/bin/ndo2db -c
/opt/nagios/etc/ndo2db.cfg
GNU gdb 6.6
Copyright (C) 2006 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 "x86_64-suse-linux"...
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) bt
No stack.
(gdb) bt
No stack.
(gdb)

So started it manually, looked up the pid and have gdb connect to the pid
and I got this info:

GNU gdb 6.6
Copyright (C) 2006 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 "x86_64-suse-linux"...
qsdf: No such file or directory.
Attaching to process 3092
Reading symbols from /opt/nagios/bin/ndo2db-3x...done.
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libmysqlclient.so.15...done.
Loaded symbols for /usr/lib64/libmysqlclient.so.15
Reading symbols from /lib64/libz.so.1...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
0x00002aaee36150b0 in __accept_nocancel () from /lib64/libc.so.6
(gdb) bt
#0  0x00002aaee36150b0 in __accept_nocancel () from /lib64/libc.so.6
#1  0x000000000040463c in ndo2db_wait_for_connections () at ndo2db.c:810
#2  0x0000000000404dcf in main (argc=<value optimized out>,
argv=0x7fffc7d7cf18) at ndo2db.c:167
(gdb) bt
#0  0x00002aaee36150b0 in __accept_nocancel () from /lib64/libc.so.6
#1  0x000000000040463c in ndo2db_wait_for_connections () at ndo2db.c:810
#2  0x0000000000404dcf in main (argc=<value optimized out>,
argv=0x7fffc7d7cf18) at ndo2db.c:167
(gdb) bt
#0  0x00002aaee36150b0 in __accept_nocancel () from /lib64/libc.so.6
#1  0x000000000040463c in ndo2db_wait_for_connections () at ndo2db.c:810
#2  0x0000000000404dcf in main (argc=<value optimized out>,
argv=0x7fffc7d7cf18) at ndo2db.c:167
(gdb)


Hope this helps,
-- 
Jelle Smet
http://www.smetj.net

------------------------------------------------------------------------------




More information about the Developers mailing list