File from client causing hobbitd_client to crash
Potter_Thomas at emc.com
Potter_Thomas at emc.com
Tue Dec 8 12:59:45 CET 2009
I am running Xymon 4.2.3, and a file I am trying to grab from a
monitored host seems to be causing hobbitd_client to crash. The file is
a textfile generated by an internal proprietary application.
Here's a backtrace from the core:
Backtrace:
#0 0x00de6402 in __kernel_vsyscall ()
#1 0x00169d80 in raise () from /lib/libc.so.6
#2 0x0016b691 in abort () from /lib/libc.so.6
#3 0x08063e03 in sigsegv_handler (signum=11) at sig.c:57
#4 <signal handler called>
#5 0x080579cc in scan_log (hinfo=0x95e18a8, classname=0xb7f76797
"linux", logname=0xb7f7eae0 "/var/log/foo/proprietary.logfile",
logdata=0xb7f7eafd "What", ' ' <repeats 41 times>, "Version
Info\n", '-' <repeats 43 times>, " ", '-' <repeats 11 times>, " ", '-'
<repeats 21 times>, "\nProduct Version", ' ' <repeats 30 times>, "-", '
' <repeats 11 times>...,
section=0xb7f7eadb "msgs:/var/log/foo/proprietary.logfile",
summarybuf=0x95f1a50) at client_config.c:1404
#6 0x0804dea9 in msgs_report (hostname=0xb7f76788 "LSCA5235",
clientclass=0xb7f76797 "linux", os=OS_LINUX, hinfo=0x95e18a8,
fromline=0xbf9423fc "\nStatus message received from
172.23.173.235\n", timestr=0xb7f767c0 "Fri Dec 4 09:55:20 EST 2009",
msgsstr=0x0) at hobbitd_client.c:876
#7 0x08053d9a in handle_linux_client (hostname=0xb7f76788 "LSCA5235",
clienttype=0xb7f76797 "linux", os=OS_LINUX, hinfo=0x95e18a8,
sender=0xb7f76779 "172.23.173.235", timestamp=1259938145,
clientdata=0xb7f7679d "client lsca5235.linux linux\n[date")
at client/linux.c:60
#8 0x08054790 in main (argc=1, argv=0xbf942a14) at
hobbitd_client.c:1794
Here is the file causing the trouble, /var/log/foo/proprietary.logfile
Due to corporate security concerns, I have changed all the digits to 9
and the alphas to X|x, as well as changing its name....
----file starts next line-----
What Version Info
------------------------------------------- -----------
---------------------
Product Version - manifest file
not
xxxxxx
XXXx9 9.99.99.9.9 -
Xxxx Xxxxxx Xxxx X9.9.9.9 -
Xxxx Xxxxxx Xxxxxxxx X9.9.9.99 -
/xxxxxxx/xxxxxx-9-9/xxxxxxxxx/xxxx9999 9.9.99.9.9 -
/xxxxxxx/xxxxxx-9-9/xxxxxxxxx/xxxx9999 9.9.99.9.9 -
----End of file -----
There is one blank line at the end of that file.
It's a version status file generated by the app from a cron job.
Relevant bit of ../server/etc/client-local.cfg:
--snip--
#Director version - requested by Ed/Gopi 12/2/09
[LSCA5235]
log:/var/log/foo/proprietary.logfile:10240
--snip--
Relevant bit of ../server/etc/hobbit-clients.cfg:
--snip--
# Directors where we are monitoring versions
HOST=LSCA5235
LOG /var/log/foo/proprietary.logfile
--snip--
Thomas Potter
Quality Engineering, SVPG - SVE
EMC Corporation
228 South St., Hopkinton, MA 01748
P: 508.249.2464
E: potter_thomas at emc.com <mailto:chase_ryan at emc.com>
More information about the Xymon
mailing list