Xymon Mailing List Archive search

hobbitd_client crashed.

3 messages in this thread

list Trent Melcher · Wed, 18 Oct 2006 10:34:53 -0500 ·
I have a problem with the hobbitd_client crashing on my hobbit server.
I get - Program crashed    Fatal signal caught! This is a new install of
hobbit, I just compiled the 4.2.0 on the server.  It's a 64bit box which
might have something to do with it. 

The box is a 3.4 GHz Intel Xeon 64-bit 2CPU box, Running RedHat ES4
Update 1

I cant find anything in the logs showing the crash, I do have a core
file in hobbit/server/tmp

Here are the errors/warnings I received from the make

loadhosts.c: In function `bbh_item_id':
loadhosts.c:528: warning: return discards qualifiers from pointer target
type
rbtr.c: In function `int_compare':
rbtr.c:396: warning: cast from pointer to integer of different size
rbtr.c:396: warning: cast from pointer to integer of different size
rbtr.c:397: warning: cast from pointer to integer of different size
rbtr.c:397: warning: cast from pointer to integer of different size
sendmsg.c: In function `sendtobbd':
sendmsg.c:238: warning: int format, different type arg (arg 3)
loadhosts.c: In function `bbh_item_id':
loadhosts.c:528: warning: return discards qualifiers from pointer target
type
httptest.c: In function `add_http_test':
httptest.c:589: warning: int format, different type arg (arg 3)
hobbitd.c: In function `find_cookie':
hobbitd.c:923: warning: cast to pointer from integer of different size
hobbitd.c: In function `clear_cookie':
hobbitd.c:940: warning: cast to pointer from integer of different size
hobbitd.c: In function `handle_status':
hobbitd.c:1136: warning: cast to pointer from integer of different size
hobbitd.c: In function `load_checkpoint':
hobbitd.c:3691: warning: cast to pointer from integer of different size
hobbitd.c: In function `do_message':
hobbitd.c:3190: warning: 'savech' might be used uninitialized in this
function
/usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libpng.a when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for
-lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for
-lc
hobbitd_client.c: In function `file_report':
hobbitd_client.c:1017: warning: long long int format, off_t arg (arg 4)
hobbitd_client.c:1034: warning: long long int format, off_t arg (arg 4)
client_config.c: In function `dump_client_config':
client_config.c:1070: warning: long long int format, off_t arg (arg 2)
client_config.c:1072: warning: long long int format, off_t arg (arg 2)
client_config.c:1074: warning: long long int format, off_t arg (arg 2)
client_config.c: In function `check_file':
client_config.c:1533: warning: long long int format, off_t arg (arg 3)
client_config.c:1533: warning: long long int format, off_t arg (arg 4)
client_config.c:1546: warning: long long int format, off_t arg (arg 3)
client_config.c:1546: warning: long long int format, off_t arg (arg 4)
client_config.c:1559: warning: long long int format, off_t arg (arg 3)
client_config.c:1559: warning: long long int format, off_t arg (arg 4)
hobbitfetch.c: In function `main':
hobbitfetch.c:574: warning: 'ctypestr' might be used uninitialized in
this function
hobbitfetch.c:574: warning: 'actionstr' might be used uninitialized in
this function


Other than that it compiles fine and installs OK.  Everything else seems
to be working correctly except the client on the server.

Trent


Trent Melcher
Unix/Linux Systems Administrator
Securities America Financial Corporation
(XXX) XXX-XXXX x2774
user-a7d23e07dd5c@xymon.invalid 
Securities America, Inc., a Registered Broker/Dealer, Member NASD/SIPC.
Advisory services offered through Securities America Advisors, Inc., an
SEC Registered Investment Advisory
list Henrik Størner · Wed, 18 Oct 2006 17:48:03 +0200 ·
quoted from Trent Melcher
On Wed, Oct 18, 2006 at 10:34:53AM -0500, Trent Melcher wrote:
I have a problem with the hobbitd_client crashing on my hobbit server.
I get - Program crashed    Fatal signal caught! This is a new install of
hobbit, I just compiled the 4.2.0 on the server.
Could you run the core dump through gdb as described in 
http://www.hswn.dk/hobbit/help/known-issues.html#bugreport


Thanks,
Henrik
list Trent Melcher · Wed, 18 Oct 2006 11:00:01 -0500 ·
Output from both cores is attached.

This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/libthread_db.so.1".


Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.
Loaded symbols for /usr/local/hobbit/server/bin/hobbitd_client
Reading symbols from /lib64/libpcre.so.0...done.
Loaded symbols for /lib64/libpcre.so.0
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
#0  0x0000002a955b3779 in kill () from /lib64/libc.so.6
(gdb) bt
#0  0x0000002a955b3779 in kill () from /lib64/libc.so.6
#1  0x0000002a955b323d in raise () from /lib64/libc.so.6
#2  0x0000002a955b4842 in abort () from /lib64/libc.so.6
#3  0x0000000000417193 in sigsegv_handler (signum=3064) at sig.c:52
#4  <signal handler called>
#5  0x000000000040e909 in scan_log (hinfo=0x5335e0, classname=0x0,
logname=0x2a957ed0a3 "/var/log/messages",
    logdata=0x2a957ed0b6 "<...SKIPPED...>\n116.195.in-addr.arpa'?):
194.204.159.1#53\nOct 16 16:01:41 smtp1 named[26640]: client
12.45.200.130#2869: updating zone 'saionline.com/IN': update failed:
'RRset exists (value dependent"..., section=0x0,
    summarybuf=0x535e30) at client_config.c:1371
#6  0x000000000040441e in msgs_report (hostname=0x2a957e40cb
"smtp1.saionline.com", clientclass=0x2a957e40e5 "linux",
    os=OS_SOLARIS, hinfo=0x52bac0, fromline=0x7fbfffdee0 "\nStatus
message received from 172.16.1.2\n",
    timestr=0x2a957e4119 "Mon Oct 16 16:14:58 CDT 2006", msgsstr=0x0) at
hobbitd_client.c:876
#7  0x0000000000405c27 in handle_linux_client (hostname=0x2a957e40cb
"smtp1.saionline.com",
    clienttype=0x2a957e40e5 "linux", os=OS_LINUX, hinfo=0x52bac0,
sender=0x1 <Address 0x1 out of bounds>, timestamp=118,
    clientdata=0x2a957e40eb "client smtp1,saionline,com.linux
linux\n[date") at client/linux.c:61
#8  0x000000000040a74f in main (argc=-1786887957, argv=0x7fbfffe548) at
hobbitd_client.c:1773
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/libthread_db.so.1".


Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.
Loaded symbols for /usr/local/hobbit/server/bin/hobbitd_client
Reading symbols from /lib64/libpcre.so.0...done.
Loaded symbols for /lib64/libpcre.so.0
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
#0  0x0000002a955b3779 in kill () from /lib64/libc.so.6
(gdb) bt
#0  0x0000002a955b3779 in kill () from /lib64/libc.so.6
#1  0x0000002a955b323d in raise () from /lib64/libc.so.6
#2  0x0000002a955b4842 in abort () from /lib64/libc.so.6
#3  0x0000000000417193 in sigsegv_handler (signum=1759) at sig.c:52
#4  <signal handler called>
#5  0x000000000040e909 in scan_log (hinfo=0x5335e0, classname=0x0,
logname=0x2a9582e2a2 "/var/log/messages",
    logdata=0x2a9582e2b5 "<...SKIPPED...>\n3749: updating zone
'saionline.com/IN': update failed: 'RRset exists (value dependent)'
prerequisite not satisfied (NXRRSET)\nOct 16 16:00:07 smtp1
named[26640]: client 71.123.51.29#637"..., section=0x0,
    summarybuf=0x539690) at client_config.c:1371
#6  0x000000000040441e in msgs_report (hostname=0x2a9582540d
"smtp1.saionline.com", clientclass=0x2a95825427 "linux",
    os=OS_SOLARIS, hinfo=0x52bac0, fromline=0x7fbfffdee0 "\nStatus
message received from 172.16.1.2\n",
    timestr=0x2a9582545b "Mon Oct 16 16:09:56 CDT 2006", msgsstr=0x0) at
hobbitd_client.c:876
#7  0x0000000000405c27 in handle_linux_client (hostname=0x2a9582540d
"smtp1.saionline.com",
    clienttype=0x2a95825427 "linux", os=OS_LINUX, hinfo=0x52bac0,
sender=0x1 <Address 0x1 out of bounds>, timestamp=118,
    clientdata=0x2a9582542d "client smtp1,saionline,com.linux
linux\n[date") at client/linux.c:61
#8  0x000000000040a74f in main (argc=-1786620883, argv=0x7fbfffe548) at
hobbitd_client.c:1773
quoted from Henrik Størner


Trent

Trent Melcher
Unix/Linux Systems Administrator
Securities America Financial Corporation
(XXX) XXX-XXXX x2774
user-a7d23e07dd5c@xymon.invalid 

Securities America, Inc., a Registered Broker/Dealer, Member NASD/SIPC.
Advisory services offered through Securities America Advisors, Inc., an
SEC Registered Investment Advisory


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Wednesday, October 18, 2006 10:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbitd_client crashed.

On Wed, Oct 18, 2006 at 10:34:53AM -0500, Trent Melcher wrote:
I have a problem with the hobbitd_client crashing on my hobbit server.
I get - Program crashed    Fatal signal caught! This is a new install
of
hobbit, I just compiled the 4.2.0 on the server.
Could you run the core dump through gdb as described in 
http://www.hswn.dk/hobbit/help/known-issues.html#bugreport


Thanks,
Henrik