Did some more reading... hope this helps: CentOS 4 Server
Linux linux.domain.com 2.6.9-5.0.3.ELsmp #1 SMP Sat Feb 19 19:38:02 CST 2005 i686 i686 i386 GNU/Linux
Trying to do dns testing bb-hosts: [snip] 0.0.0.0 dns.domain.com # dns
[hobbit at linux server]$ gdb bin/bbtest-net tmp/core.24725 GNU gdb Red Hat Linux (6.3.0.0-0.31rh) 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `bbtest-net --report --ping --checkresponse'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/libldap-2.2.so.7...done. Loaded symbols for /usr/lib/libldap-2.2.so.7 Reading symbols from /usr/lib/liblber-2.2.so.7...done. Loaded symbols for /usr/lib/liblber-2.2.so.7 Reading symbols from /lib/libssl.so.4...done. Loaded symbols for /lib/libssl.so.4 Reading symbols from /lib/libcrypto.so.4...done. Loaded symbols for /lib/libcrypto.so.4 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /usr/lib/libsasl2.so.2...done. Loaded symbols for /usr/lib/libsasl2.so.2 Reading symbols from /usr/lib/libgssapi_krb5.so.2...done. Loaded symbols for /usr/lib/libgssapi_krb5.so.2 Reading symbols from /usr/lib/libkrb5.so.3...done. Loaded symbols for /usr/lib/libkrb5.so.3 Reading symbols from /lib/libcom_err.so.2...done. Loaded symbols for /lib/libcom_err.so.2 Reading symbols from /usr/lib/libk5crypto.so.3...done. Loaded symbols for /usr/lib/libk5crypto.so.3 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 #0 0x0073a7a2 in ?? () from /lib/ld-linux.so.2 (gdb) bt #0 0x0073a7a2 in ?? () from /lib/ld-linux.so.2 #1 0x0077a7d5 in raise () from /lib/tls/libc.so.6 #2 0x0077c149 in abort () from /lib/tls/libc.so.6 #3 0x0805dc16 in sigsegv_handler (signum=11) at sig.c:57 #4 0x0077a8c8 in killpg () from /lib/tls/libc.so.6 #5 0x08060677 in next_server (channel=0x884c318, query=0x100e00, now=1126485130) at ares_process.c:404 #6 0x08060d5a in ares_process (channel=0x884c318, read_fds=0xbff38850, write_fds=0xbff387d0) at ares_process.c:288 #7 0x08055b36 in dns_queue_run (channel=0x884c318) at dns.c:202 #8 0x08055de6 in flush_dnsqueue () at dns.c:231 #9 0x0804f898 in main (argc=4, argv=0xbff39c94) at bbtest-net.c:2194 (gdb)
Craig Cook
Systems Monitoring Consulting and Support Services http://www.cookitservices.com
On Sun, Sep 11, 2005 at 07:45:10PM -0500, Craig Cook wrote:
Did some more reading... hope this helps:
#3 0x0805dc16 in sigsegv_handler (signum=11) at sig.c:57 #4 0x0077a8c8 in killpg () from /lib/tls/libc.so.6 #5 0x08060677 in next_server (channel=0x884c318, query=0x100e00, now=1126485130) at ares_process.c:404 #6 0x08060d5a in ares_process (channel=0x884c318, read_fds=0xbff38850, write_fds=0xbff387d0) at ares_process.c:288 #7 0x08055b36 in dns_queue_run (channel=0x884c318) at dns.c:202 #8 0x08055de6 in flush_dnsqueue () at dns.c:231 #9 0x0804f898 in main (argc=4, argv=0xbff39c94) at bbtest-net.c:2194
Looks like a problem with the C-ARES library that Hobbit uses for DNS lookups - the trace is identical to one I've seen before.
If you run bbtest-net with the "--no-ares" option, I'll bet that it works OK.
This is hopefully fixed in the next C-ARES version. If you want to try that, you can pick up the latest Hobbit snapshot - build it and you can just copy the bbnet/bbtest-net binary on top of your current installation.
Henrik
participants (2)
-
craig@cookitservices.com
-
henrik@hswn.dk