Error in hobbitdboard request crashes hobbitd

Thomas Schenk tschenk at pironet-ndh.com
Fri Jul 14 12:01:32 CEST 2006


Hello,

I am testing the 4.2-RC on Linux 2.6.15. Trying all the new features
(thanks, henrik!) I sent a hobbitdboard request with an error in it:

bb $BBDISP "hobbitdboard status=yellow"
(should have been color=yellow)

This causes the hobbitd process to crash with a segmentation fault. This
is the gdb output of the core file:
#0  0xb7ea983b in raise () from /lib/tls/libc.so.6
#1  0xb7eaafa2 in abort () from /lib/tls/libc.so.6
#2  0x0805baf1 in sigsegv_handler (signum=0) at sig.c:57
#3  <signal handler called>
#4  0xb7ef9363 in strlen () from /lib/tls/libc.so.6
#5  0x0804e496 in setup_filter (buf=0x8495cd0 "hobbitdboard", 
    defaultfields=0x805fde0
"hostname,testname,color,flags,lastchange,logtime,validtime,acktime,disa
bletime,sender,cookie,line1", spage=0xbffdb404, 
    shost=0xbffdb408, snet=0xbffdb40c, stest=0xbffdb410,
scolor=0xbffdb414, acklevel=0xbffdb418, fields=0xbffdb41c,
chspage=0xbffdb420, 
    chshost=0xbffdb424, chsnet=0xbffdb428, chstest=0xbffdb42c) at
hobbitd.c:2066
#6  0x0805117c in do_message (msg=0x82d86a0, origin=0x805e363 "") at
hobbitd.c:2753
#7  0x08054478 in main (argc=7, argv=0xbffdf004) at hobbitd.c:4340

Sending this request from any bb or hobbit client seems to crash
hobbitd.

Regards,
Thomas



More information about the Xymon mailing list