Xymon Mailing List Archive search

bbtest-net crashes in todays (31/3) snapshot

5 messages in this thread

list Lars Ebeling · Fri, 31 Mar 2006 06:28:33 +0200 ·
Today again
#0  0xc020bad0 in kill () from /usr/lib/libc.2                                  (gdb) bt                                                                        #0  0xc020bad0 in kill () from /usr/lib/libc.2                                  #1  0xc01a655c in raise () from /usr/lib/libc.2                                 #2  0xc01e69a8 in abort_C () from /usr/lib/libc.2                               #3  0xc01e6a04 in abort () from /usr/lib/libc.2                                 #4  0x00018cd8 in sigsegv_handler (signum=2063765022) at sig.c:57               #5  <signal handler called>                                                     #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                        #8  0x0001e864 in end_squery (squery=0x40016c30, status=0,                          abuf=0x7f7e3118 ",+Ö201Ö200", alen=92) at ares_search.c:184                 #9  0x0001e748 in search_callback (arg=0x74696e75, status=0,                        abuf=0x7f7e3118 ",+Ö201Ö200", alen=92) at ares_search.c:147                 #10 0x00020dac in qcallback (arg=0x74696e75, status=63896, abuf=0x0, alen=92)       at ares_query.c:108                                                         #11 0x0001e3fc in end_query (channel=0x40016b88, query=0x40016ce8,                  status=2138976536, abuf=0x5c <Address 0x5c out of bounds>, alen=92)             at ares_process.c:627                                                       #12 0x0001dc60 in process_answer (channel=0x40016b88,                               abuf=0x7f7e3118 ",+Ö201Ö200", alen=92, whichserver=0, tcp=0,                    now=1143779029) at ares_process.c:359                                       #13 0x0001da44 in read_udp_packets (channel=0x40016b88, read_fds=0x7f7e2dd8,        now=1143779029) at ares_process.c:273                                       ---Type <return> to continue, or q <return> to quit---                          #14 0x0001d5c0 in ares_process (channel=0x40016b88, read_fds=0x7f7e2dd8,            write_fds=0x7f7e2ed8) at ares_process.c:78                                  #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        #17 0x0000627c in run_nslookup_service (service=0x74696e75)                         at bbtest-net.c:1010                                                        #18 0x00009a98 in main (argc=5, argv=0x7f7e152c) at bbtest-net.c:2297           (gdb)                                                                           
  Lars
list Henrik Størner · Fri, 31 Mar 2006 08:25:31 +0200 ·
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 ?


Thanks,
Henrik
list Dominique Frise · Fri, 31 Mar 2006 10:22:01 +0200 ·
quoted from Henrik Størner
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 ?


Thanks,
Henrik

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:

130.223.8.20   uldns1     # dhcp dns smtp ldap://uldns1/o=universite%20de%20lausanne,c=ch
130.223.4.5    uldns2     # dhcp dns smtp ldap://uldns2/o=universite%20de%20lausanne,c=ch

Dominique
list Henrik Størner · Fri, 31 Mar 2006 15:54:37 +0200 ·
quoted from Dominique Frise
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

-------------- next part --------------
--- 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;
list Dominique Frise · Fri, 31 Mar 2006 17:41:20 +0200 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
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;

Yes it seems to fix it :-)
Thanks Henrik

Dominique