report of a possible bug

Richard Crane craner at haskins.yale.edu
Tue Feb 3 18:45:44 CET 2009


Xymon/Hobbit version 4.2.2

hobbitd_client crashed trying to process a file via the LOG option.


gdb output is:

xymon at litt:~/server> gdb bin/hobbitd_client tmp/core
GNU gdb 6.6.50.20070726-cvs
Copyright (C) 2007 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".
Reading symbols from /usr/lib64/libpcre.so.0...done.
Loaded symbols for /usr/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
Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.
#0  0x00002b7bb21ebb45 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00002b7bb21ebb45 in raise () from /lib64/libc.so.6
#1  0x00002b7bb21ed0e0 in abort () from /lib64/libc.so.6
#2  0x00000000004189c3 in sigsegv_handler (signum=<value optimized  
out>) at sig.c:57
#3  <signal handler called>
#4  0x000000000040e831 in scan_log (hinfo=<value optimized out>,  
classname=0x2b7bb251d457 "linux", logname=0x2b7bb252a7dd "/var/log/ 
list-rdiff-backups.out",
     logdata=0x2b7bb252a7fe "<...SKIPPED...>\n       10.5 GB\nTue  
Oct  7 03:46:09 2008         0 bytes", ' ' <repeats 11 times>, "10.5  
GB\nThu Oct  2 03:45:36 2008         0 bytes", ' ' <repeats 11  
times>, "10.5 GB\n./leigh/u1/:", ' ' <repeats 11 times>, "Time", ' '  
<repeats 23 times>, "S"..., section=<value optimized out>,
     summarybuf=0x62f0a0) at client_config.c:1404
#5  0x0000000000406256 in msgs_report (hostname=0x2b7bb251d44c  
"litt", clientclass=0x2b7bb251d457 "linux", os=<value optimized out>,  
hinfo=0x62b500,
     fromline=0x7ffff8d58dd0 "\nStatus message received from  
172.20.3.33\n", timestr=0x2b7bb251d47c "Tue Feb  3 11:40:18 EST  
2009", msgsstr=0x0) at hobbitd_client.c:876
#6  0x000000000040b19a in handle_linux_client  
(hostname=0x2b7bb251d44c "litt", clienttype=0x2b7bb251d457 "linux",  
os=OS_LINUX, hinfo=0x62b500,
     sender=<value optimized out>, timestamp=<value optimized out>,  
clientdata=0x2b7bb251d45d "client litt.linux linux\n[date") at client/ 
linux.c:60
#7  0x000000000040b95b in main (argc=<value optimized out>,  
argv=0x7ffff8d594f8) at hobbitd_client.c:1793
(gdb) quit

The file "/var/log/list-rdiff-backups.out" is a 170 line/10K ASCII file.




Richard S. Crane
-------
Director, Technology and Planning
Haskins Laboratories
THE SCIENCE OF THE SPOKEN AND WRITTEN WORD

300 George Street / New Haven CT 06511 USA
(203) 865-6163 X 275 /  FAX (203) 865-8963
  http://www.haskins.yale.edu




More information about the Xymon mailing list