bbtest-net crashing 8-(
list Kenneth Langford
Hi all,
I am running version 4.1.2p1 of Hobbit on SuSE Enterprise Linux 9 SP2
X86_64. It is unpredictable on when it is going to crash. It runs for
days with no problem then crashes every five minutes for an hour then
may for days again before it crashes. Is there a fix for this and I
just missed it when looking through the archives?? The gdb output is
below:
cila6s07:/etc/local/hobbit/server/tmp # gdb ../bin/bbtest-net -c core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db
library "/lib64/tls/libthre
ad_db.so.1".
Core was generated by `/etc/local/hobbit/server/bin/bbtest-net "--ping"
"--checkresponse" "--no-ares
"'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib64/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib64/libssl.so.0.9.7
Reading symbols from /usr/lib64/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib64/libcrypto.so.0.9.7
Reading symbols from /lib64/tls/libc.so.6...done.
Loaded symbols for /lib64/tls/libc.so.6
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
#0 0x0000002a95a182fd in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x0000002a95a182fd in raise () from /lib64/tls/libc.so.6
#1 0x0000002a95a198ae in abort () from /lib64/tls/libc.so.6
#2 0x0000000000416363 in sigsegv_handler (signum=<value optimized out>)
at sig.c:57
#3 <signal handler called>
#4 0x0000000000418aa9 in end_query (channel=0x554be0, query=0x555930,
status=12, abuf=0x0,
alen=0) at ares_process.c:627
#5 0x0000000000419541 in ares_process (channel=0x554be0,
read_fds=0x7fbfffcc60,
write_fds=0x7fbfffcbe0) at ares_process.c:288
#6 0x000000000040da88 in dns_queue_run (channel=0x554be0) at dns.c:202
#7 0x000000000040de4f in flush_dnsqueue () at dns.c:231
#8 0x00000000004082a9 in main (argc=6, argv=0x7fbfffe128) at
bbtest-net.c:2200
Kenneth W. Langford
list Henrik Størner
▸
On Wed, Jun 21, 2006 at 08:27:03AM -0400, Langford, Kenneth wrote:
I am running version 4.1.2p1 of Hobbit on SuSE Enterprise Linux 9 SP2
X86_64. It is unpredictable on when it is going to crash. It runs for
days with no problem then crashes every five minutes for an hour then
may for days again before it crashes. Is there a fix for this and I
just missed it when looking through the archives?? The gdb output is
below:
#3 <signal handler called>
#4 0x0000000000418aa9 in end_query (channel=0x554be0, query=0x555930, status=12, abuf=0x0,
alen=0) at ares_process.c:627
#5 0x0000000000419541 in ares_process (channel=0x554be0, read_fds=0x7fbfffcc60,Looks suspiciously much like a known bug in the C-ARES library that Hobbit uses. The workaround is to run bbtest-net with the "--no-ares" option. Regards, Henrik
list Kenneth Langford
Henrik, I am running with the --no-ares option and getting this. Core was generated by `/etc/local/hobbit/server/bin/bbtest-net "--ping" "--checkresponse" "--no-ares"'. Ken,
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, June 21, 2006 8:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] bbtest-net crashing 8-(
On Wed, Jun 21, 2006 at 08:27:03AM -0400, Langford, Kenneth wrote:I am running version 4.1.2p1 of Hobbit on SuSE Enterprise Linux 9 SP2
X86_64. It is unpredictable on when it is going to crash. It runs
for
days with no problem then crashes every five minutes for an hour then
may for days again before it crashes. Is there a fix for this and I
just missed it when looking through the archives?? The gdb output is
below:
#3 <signal handler called>
#4 0x0000000000418aa9 in end_query (channel=0x554be0, query=0x555930,
status=12, abuf=0x0,
alen=0) at ares_process.c:627
#5 0x0000000000419541 in ares_process (channel=0x554be0,
read_fds=0x7fbfffcc60,Looks suspiciously much like a known bug in the C-ARES library that Hobbit uses. The workaround is to run bbtest-net with the "--no-ares" option. Regards, Henrik
list Henrik Størner
▸
On Wed, Jun 21, 2006 at 10:20:58AM -0400, Langford, Kenneth wrote:
Henrik, I am running with the --no-ares option and getting this.
Sorry, I should have checked that first. In that case the ARES lookups are caused by some of the DNS tests you have (they will always use the ARES library). Do you have any special dns checks ? Or just the standard "dns" entry in your bb-hosts file ? Regards, Henrik
list Kenneth Langford
Just the standard entry in bb-hosts.
▸
Ken,
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, June 21, 2006 10:34 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] bbtest-net crashing 8-(
On Wed, Jun 21, 2006 at 10:20:58AM -0400, Langford, Kenneth wrote:Henrik, I am running with the --no-ares option and getting this.
Sorry, I should have checked that first. In that case the ARES lookups are caused by some of the DNS tests you have (they will always use the ARES library). Do you have any special dns checks ? Or just the standard "dns" entry in your bb-hosts file ? Regards, Henrik