hobbitd_client core dump

Asif Iqbal vadud3 at gmail.com
Sat Jan 17 23:23:56 CET 2009


On Sat, Jan 17, 2009 at 5:14 PM, Asif Iqbal <vadud3 at gmail.com> wrote:
> (hobbit)@hobbit:~/server/tmp$ gdb ../bin/hobbitd_client  core
> GNU gdb 6.0
> Copyright 2003 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 "sparc-sun-solaris2.9"...
> Core was generated by `hobbitd_client --clear-color=green
> --no-clear-files --no-clear-ports'.
> Program terminated with signal 6, Aborted.
> Reading symbols from /usr/local/lib/libpcre.so.0...done.
> Loaded symbols for /usr/local/lib/libpcre.so.0
> Reading symbols from /usr/lib/libresolv.so.2...done.
> Loaded symbols for /usr/lib/libresolv.so.2
> Reading symbols from /usr/lib/libsocket.so.1...done.
> Loaded symbols for /usr/lib/libsocket.so.1
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Loaded symbols for /usr/lib/libnsl.so.1
> Reading symbols from /usr/lib/libc.so.1...done.
> Loaded symbols for /usr/lib/libc.so.1
> Reading symbols from /usr/lib/libdl.so.1...done.
> Loaded symbols for /usr/lib/libdl.so.1
> Reading symbols from /usr/lib/libmp.so.2...done.
> Loaded symbols for /usr/lib/libmp.so.2
> Reading symbols from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1...done.
> Loaded symbols for /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> #0  0xff1a0b8c in _libc_kill () from /usr/lib/libc.so.1
> (gdb) bt
> #0  0xff1a0b8c in _libc_kill () from /usr/lib/libc.so.1
> #1  0xff136ea0 in abort () from /usr/lib/libc.so.1
> #2  0x00028038 in sigsegv_handler (signum=11) at sig.c:57
> #3  <signal handler called>
>
>
> Here is the core dump during test
>
> (hobbit)@hobbit:~/server$ gdb ./bin/hobbitd_client  core
> GNU gdb 6.0
> Copyright 2003 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 "sparc-sun-solaris2.9"...
> Core was generated by `./bin/hobbitd_client --config=/tmp/config
> --debug --test'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libpcre.so.0...done.
> Loaded symbols for /usr/local/lib/libpcre.so.0
> Reading symbols from /usr/lib/libresolv.so.2...done.
> Loaded symbols for /usr/lib/libresolv.so.2
> Reading symbols from /usr/lib/libsocket.so.1...done.
> Loaded symbols for /usr/lib/libsocket.so.1
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Loaded symbols for /usr/lib/libnsl.so.1
> Reading symbols from /usr/lib/libc.so.1...done.
> Loaded symbols for /usr/lib/libc.so.1
> Reading symbols from /usr/lib/libdl.so.1...done.
> Loaded symbols for /usr/lib/libdl.so.1
> Reading symbols from /usr/lib/libmp.so.2...done.
> Loaded symbols for /usr/lib/libmp.so.2
> Reading symbols from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1...done.
> Loaded symbols for /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> #0  0xff13497c in strncmp () from /usr/lib/libc.so.1
> (gdb) bt
> #0  0xff13497c in strncmp () from /usr/lib/libc.so.1
> #1  0x0001f0c8 in scan_log (hinfo=0x5d350, classname=0x10 <Address
> 0x10 out of bounds>, logname=0x71e45 "",
>    logdata=0x0, section=0x71e40 "msgs:", summarybuf=0x42888) at
> client_config.c:1330
> #2  0x0001a3e4 in testmode (configfn=0x0) at hobbitd_client.c:1570
>
> I am using 4.2.0
> (hobbit)@hobbit:~/server$ ./bin/bb version
> Hobbit version 4.2.0

It core dumps with 4.2.2 as well during test, if I put nothing for
`log filename: ' and `log line: '

(hobbit)@hobbit:~/src/hobbit-4.2.2/hobbitd$ gdb ./hobbitd_client core
GNU gdb 6.0
Copyright 2003 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 "sparc-sun-solaris2.9"...
Core was generated by `./hobbitd_client --config=/tmp/config --debug --test'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
#0  0xff13497c in strncmp () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff13497c in strncmp () from /usr/lib/libc.so.1
#1  0x00020918 in scan_log (hinfo=0x5ea80, classname=0x10 <Address
0x10 out of bounds>, logname=0x72fdd "",
    logdata=0x0, section=0x72fd8 "msgs:", summarybuf=0x747b8) at
client_config.c:1385
#2  0x0001b9a0 in testmode (configfn=0x0) at hobbitd_client.c:1583

>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu



More information about the Xymon mailing list