[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] bbtest-net crashes in todays (31/3) snapshot



On Fri, Mar 31, 2006 at 10:22:01AM +0200, Dominique Frise wrote:
> Henrik Stoerner wrote:
> >On Fri, Mar 31, 2006 at 06:28:33AM +0200, lars ebeling wrote:
> >
> >>Today again
> >>#6  0x00018f0c in clearstrbuffer (buf=0x74696e75) at strfunc.c:53         
> >>#7  0x0000fa08 in dns_detail_callback (arg=0x74696e75, status=0,          
> >>   abuf=0x7f7e3118 ",+Ö201Ö200", alen=92) at dns2.c:149                   
> >>#15 0x0000f4f0 in dns_queue_run (channel=0x40016b88) at dns.c:202         
> >>#16 0x0000f800 in dns_test_server (serverip=0x0,                          
> >>   hostname=0x4000f2fc "A:www.duni.se", banner=0x4000f318) at dns.c:306   
> >
> >Interesting. Could you send me a copy of your bb-hosts file so I can see
> >how your dns checks are configured ?
> >
> I had same problem as Lars (under Solaris 9)
> I removed following entries with dns tests from bb-hosts and it doesn't 
> crash anymore:

I think this should fix it - goes on top of todays snapshot.

Henrik

--- bbnet/dns.c	2006/03/29 21:48:23	1.26
+++ bbnet/dns.c	2006/03/31 07:54:33
@@ -290,6 +290,7 @@
 		char *p, *tlookup;
 		int atype = T_A;
 
+		newtest->msgbuf = newstrbuffer(0);
 		newtest->next = NULL;
 		if (responses == NULL) responses = newtest; else walk->next = newtest;
 		walk = newtest;