Package: dnsutils Version: 1:9.7.0.dfsg.P1-1 Severity: normal
Hi, As required, I'm attaching gdb trace. Next two commands segfaults here: dig -x 203.82.214.165 +trace @62.42.230.24 dig +trace http://www.gmforum.org @62.42.230.24 Thank you very much -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dnsutils depends on: ii bind9-host [host] 1:9.7.0.dfsg.P1-1 Version of 'host' bundled with BIN ii libbind9-60 1:9.7.0.dfsg.P1-1 BIND9 Shared Library used by BIND ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libcap2 1:2.17-2 support for getting/setting POSIX. ii libdns64 1:9.7.0.dfsg.P1-1 DNS Shared Library used by BIND ii libgssapi-krb5-2 1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - k ii libisc60 1:9.7.0.dfsg.P1-1 ISC Shared Library used by BIND ii libisccfg60 1:9.7.0.dfsg.P1-1 Config File Handling Library used ii liblwres60 1:9.7.0.dfsg.P1-1 Lightweight Resolver Library used ii libssl0.9.8 0.9.8n-1 SSL shared libraries ii libxml2 2.7.7.dfsg-1 GNOME XML library dnsutils recommends no packages. Versions of packages dnsutils suggests: ii rblcheck 20020316-7 Tool to Query RBL Servers -- no debconf information
GNU gdb (GDB) 7.1-debian Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/dig...(no debugging symbols found)...done. (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) run -x 203.82.214.165 +trace @62.42.230.24 Starting program: /usr/bin/dig -x 203.82.214.165 +trace @62.42.230.24 [Thread debugging using libthread_db enabled] [New Thread 0xb77d4b70 (LWP 10326)] [New Thread 0xb6fd3b70 (LWP 10327)] [New Thread 0xb67d2b70 (LWP 10328)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb77d4b70 (LWP 10326)] 0xb7ff4c6f in ?? () (gdb) backtrace full #0 0xb7ff4c6f in ?? () No symbol table info available. #1 0xb7c4db8b in ?? () from /usr/lib/libisc.so.60 No symbol table info available. #2 0xb7c07585 in start_thread (arg=0xb77d4b70) at pthread_create.c:300 __res = <value optimized out> __ignore1 = <value optimized out> __ignore2 = <value optimized out> pd = 0xb77d4b70 now = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1212059660, 0, 4001536, -1216527240, 415697026, 1655358083}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> #3 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 No locals. (gdb) info registers eax 0xdededede -555819298 ecx 0x0 0 edx 0xb8002110 -1207951088 ebx 0xb8000ad4 -1207956780 esp 0xb77d42f0 0xb77d42f0 ebp 0xb77d4328 0xb77d4328 esi 0xb80235f0 -1207814672 edi 0xb7ffc934 -1207973580 eip 0xb7ff4c6f 0xb7ff4c6f eflags 0x10286 [ PF SF IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) x/16i $pc => 0xb7ff4c6f: mov (%eax),%edx 0xb7ff4c71: mov 0x1130(%edx),%edx 0xb7ff4c77: test %edx,%edx 0xb7ff4c79: je 0xb7ff4d38 0xb7ff4c7f: mov 0xd8(%edx),%edx 0xb7ff4c85: test %edx,%edx 0xb7ff4c87: je 0xb7ff4d38 0xb7ff4c8d: lea -0x36d7(%ebx),%edx 0xb7ff4c93: mov %edx,(%esp) 0xb7ff4c96: mov %eax,-0x1c(%ebp) 0xb7ff4c99: call 0xb7fedb20 0xb7ff4c9e: mov -0x1c(%ebp),%eax 0xb7ff4ca1: mov 0x34(%esi),%ecx 0xb7ff4ca4: mov (%eax),%edx 0xb7ff4ca6: test %ecx,%ecx 0xb7ff4ca8: mov 0x1130(%edx),%edx (gdb) thread apply all backtrace Thread 4 (Thread 0xb67d2b70 (LWP 10328)): #0 0xb7fc4424 in __kernel_vsyscall () #1 0xb7a60b46 in epoll_wait () from /lib/i686/cmov/libc.so.6 #2 0xb7c62449 in ?? () from /usr/lib/libisc.so.60 #3 0xb7c07585 in start_thread (arg=0xb67d2b70) at pthread_create.c:300 #4 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xb6fd3b70 (LWP 10327)): #0 0xb7fc4424 in __kernel_vsyscall () #1 0xb7c0b0a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0xb7c5035e in ?? () from /usr/lib/libisc.so.60 #3 0xb7c07585 in start_thread (arg=0xb6fd3b70) at pthread_create.c:300 #4 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xb77d4b70 (LWP 10326)): #0 0xb7ff4c6f in ?? () #1 0xb7c4db8b in ?? () from /usr/lib/libisc.so.60 #2 0xb7c07585 in start_thread (arg=0xb77d4b70) at pthread_create.c:300 #3 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb78166e0 (LWP 10323)): #0 0xb7fc4424 in __kernel_vsyscall () #1 0xb79bbd47 in do_sigsuspend (set=0xbffff3c4) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63 #2 *__GI___sigsuspend (set=0xbffff3c4) at ../sysdeps/unix/sysv/linux/sigsuspend.c:78 #3 0xb7c5239c in isc__app_ctxrun () from /usr/lib/libisc.so.60 #4 0xb7c524d0 in isc__app_run () from /usr/lib/libisc.so.60 #5 0xb7fecc36 in main () (gdb) quit A debugging session is active. Inferior 1 [process 10323] will be killed. Quit anyway? (y or n)
GNU gdb (GDB) 7.1-debian Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/dig...(no debugging symbols found)...done. (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) run +trace http://www.gmforum.org @62.42.230.24 Starting program: /usr/bin/dig +trace http://www.gmforum.org @62.42.230.24 [Thread debugging using libthread_db enabled] [New Thread 0xb77d4b70 (LWP 10411)] [New Thread 0xb6fd3b70 (LWP 10412)] [New Thread 0xb67d2b70 (LWP 10413)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb77d4b70 (LWP 10411)] 0xb7ff4c6f in ?? () (gdb) backtrace full #0 0xb7ff4c6f in ?? () No symbol table info available. #1 0xb7c4db8b in ?? () from /usr/lib/libisc.so.60 No symbol table info available. #2 0xb7c07585 in start_thread (arg=0xb77d4b70) at pthread_create.c:300 __res = <value optimized out> __ignore1 = <value optimized out> __ignore2 = <value optimized out> pd = 0xb77d4b70 now = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1212059660, 0, 4001536, -1216527240, -988580359, -1082212360}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> #3 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 No locals. (gdb) info registers eax 0xdededede -555819298 ecx 0x0 0 edx 0xb8002110 -1207951088 ebx 0xb8000ad4 -1207956780 esp 0xb77d42f0 0xb77d42f0 ebp 0xb77d4328 0xb77d4328 esi 0xb804a240 -1207655872 edi 0xb7ffc934 -1207973580 eip 0xb7ff4c6f 0xb7ff4c6f eflags 0x10286 [ PF SF IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) x/16i $pc => 0xb7ff4c6f: mov (%eax),%edx 0xb7ff4c71: mov 0x1130(%edx),%edx 0xb7ff4c77: test %edx,%edx 0xb7ff4c79: je 0xb7ff4d38 0xb7ff4c7f: mov 0xd8(%edx),%edx 0xb7ff4c85: test %edx,%edx 0xb7ff4c87: je 0xb7ff4d38 0xb7ff4c8d: lea -0x36d7(%ebx),%edx 0xb7ff4c93: mov %edx,(%esp) 0xb7ff4c96: mov %eax,-0x1c(%ebp) 0xb7ff4c99: call 0xb7fedb20 0xb7ff4c9e: mov -0x1c(%ebp),%eax 0xb7ff4ca1: mov 0x34(%esi),%ecx 0xb7ff4ca4: mov (%eax),%edx 0xb7ff4ca6: test %ecx,%ecx 0xb7ff4ca8: mov 0x1130(%edx),%edx (gdb) thread apply all backtrace Thread 4 (Thread 0xb67d2b70 (LWP 10413)): #0 0xb7fc4424 in __kernel_vsyscall () #1 0xb7a60b46 in epoll_wait () from /lib/i686/cmov/libc.so.6 #2 0xb7c62449 in ?? () from /usr/lib/libisc.so.60 #3 0xb7c07585 in start_thread (arg=0xb67d2b70) at pthread_create.c:300 #4 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xb6fd3b70 (LWP 10412)): #0 0xb7fc4424 in __kernel_vsyscall () #1 0xb7c0b0a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0xb7c5035e in ?? () from /usr/lib/libisc.so.60 #3 0xb7c07585 in start_thread (arg=0xb6fd3b70) at pthread_create.c:300 #4 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xb77d4b70 (LWP 10411)): #0 0xb7ff4c6f in ?? () #1 0xb7c4db8b in ?? () from /usr/lib/libisc.so.60 #2 0xb7c07585 in start_thread (arg=0xb77d4b70) at pthread_create.c:300 #3 0xb7a6029e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb78166e0 (LWP 10408)): #0 0xb7fc4424 in __kernel_vsyscall () #1 0xb79bbd47 in do_sigsuspend (set=0xbffff3c4) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63 #2 *__GI___sigsuspend (set=0xbffff3c4) at ../sysdeps/unix/sysv/linux/sigsuspend.c:78 #3 0xb7c5239c in isc__app_ctxrun () from /usr/lib/libisc.so.60 #4 0xb7c524d0 in isc__app_run () from /usr/lib/libisc.so.60 #5 0xb7fecc36 in main () (gdb) quit A debugging session is active. Inferior 1 [process 10408] will be killed. Quit anyway? (y or n)

