On Fri, Sep 16, 2005 at 02:41:14PM -0500, Dan Vande More wrote:
2005-09-16 14:33:12 Adding tcp test IP=<ip>, port=143, service=imap, silent=0
Aborted (core dumped)
Program received signal SIGSEGV, Segmentation fault.
0x08050571 in add_tcp_test (ip=0x809806c "<ip>", 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);
(gdb) print newtest->svcinfo->sendtxt
Cannot access memory at address 0x4
Something's up with your service definitions. "newtest->svcinfo"
is obviously bogus, which is why you get the segfault when it
tries to reference newtest->svcinfo->sendtxt.
Is "imap" listed if you run "bbtest-net --services" ? It should read
Name : imap
Sendtext: ABC123 LOGOUT\r\n
Sendlen : 15
Exp.text: * OK
Exp.len : 4
Exp.ofs : 0
Flags : 1
Port : 143
Also, check the ~hobbit/server/etc/bb-services file - is it readable
by your hobbit users ? What's the content of it ? You can compare it
with the one in the hobbit-4.1.1 sources (in the bbnet/ direcory).
Henrik