Arithmetic exception in hobbitd_client

cits.bogajewski at daimlerchrysler.com cits.bogajewski at daimlerchrysler.com
Wed Aug 3 16:50:05 CEST 2005


Henrik,

would you mind take a look on my next problem? :)

As just reported, hobbitd_client module stopped work. This is probably 
because i copied the fresh compiled hpux-meminfo tool to my client 
machine. On this machine this tool reports following:
[memory]
Total:0
Free:0

Any ideas why this happens? On my server machine, where the client is 
present as well - the memory is well reported.
[memory]
Total:2047
Free:432

Anyway, hobbitd_client crashes leaving a core file. It seems to be a 
problem with zero values. take a look:

t040m902:/opt/hobbit/server # gdb bin/hobbitd_client core
GNU gdb 5.3
Copyright 2002 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 "hppa2.0w-hp-hpux11.11"...
Core was generated by `hobbitd_client'.
Program terminated with signal 8, Arithmetic exception.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: Can't find file hobbitd_client referenced in dld_list.
Reading symbols from /usr/local/lib/libpcre.sl...done.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0  0x00001ff0 in small_divisor ()
(gdb) bt
#0  0x00001ff0 in small_divisor ()
#1  0x00004224 in unix_memory_report (hostname=0x4001ad6d "t040m901",
    hinfo=0x0,
    fromline=0x7f7f1a78 "\nStatus message received from 53.37.9.59\n",
    timestr=0x4001ad99 "Wed Aug  3 16:35:41 METDST 2005", memphystotal=0,
    memphysused=0, memactused=-1, memswaptotal=5355, memswapused=2245)
    at hobbitd_client.c:366
#2  0x00005d34 in handle_hpux_client (hostname=0x4001ad6d "t040m901",
    hinfo=0x4003b1c8, sender=0x3 "", timestamp=2139041612,
    clientdata=0x4001ad7c "client t040m901.hp-ux\n[date") at 
client/hpux.c:72
#3  0x0000694c in main (argc=1073851766, argv=0x7f7f14b4)
    at hobbitd_client.c:812
#4  0xc0143158 in _start () from /usr/lib/libc.2


Greetings,

Anatoli Bogajewski



More information about the Xymon mailing list