Hello all,
Looks like I found the favorite crash in hobbit. I am running 4.1.1 and just "upgraded" from bb. I followed the bb->hobbit instructions to the t and everything appears to be working except for this test ( and the tests associated with it ). I tried commenting out everything but one line in my bb-hosts, but it just seems like if I have more than one test it croaks with a seg fault.
Here:
Environment BBLOCATION='' Environment CONNTEST='TRUE' Environment IPTEST_2_CLEAR_ON_FAILED_CONN='TRUE'
Service list dump ./bbcmd bbtest-net --debug --ping --checkresponse (skip few dozen lines) 2005-09-16 11:11:20 Got DNS result for host server : <ip> 2005-09-16 11:11:20 Adding tcp test IP=<ip>, port=143, service=imap, silent=0 Aborted (core dumped)
(gdb) file bbtest-net Reading symbols from bbtest-net...done. unknown option `--debug' (gdb) run Starting program: /home/monitor/server/bin/bbtest-net
Program received signal SIGSEGV, Segmentation fault. 0x08050571 in add_tcp_test (ip=0x809806c "24.220.8.53", port=143, service=0xbffff9fc "imap", sslopt=0x0, silent=0, reqmsg=0x0, priv=0x0, datacallback=0, finalcallback=0) at contest.c:182 182 newtest->sendtxt = (reqmsg ? reqmsg : newtest->svcinfo->sendtxt);
It dies on the first host it loads the tests for. Here is my first host:
page mail Mail servers group-compress <ip> mailserver # smtp pop3 imap ssh !dns !ftp
Anyone have any hints on what to do? What happens on this line: newtest->sendtxt = (reqmsg ? reqmsg : newtest->svcinfo->sendtxt); ? If I knew C, I'd contribute:)
Thanks
Dan