bind-9.4.0b2 exits unexpected...

Marco Schumann schumann at strato-rz.de
Tue Oct 10 10:20:59 UTC 2006


Stefan Puiu schrieb:
> On 10/10/06, JINMEI Tatuya / 神明達哉 <jinmei at isl.rdc.toshiba.co.jp> wrote:
>> Yes, it is.  Thanks.  Can you also get backtrace of other thread(s)
>> than the one triggered the assertion failure?  Normally you should be
>> able to do that as follows:
>>
>> (gdb) info threads
> [...]
> 
> I think 'thread apply all bt' is faster than looking for the
> particular thread, and it shows you the stack traces of all threads.
> It's not that well documented, though, but it works. Just my two
> cents.
> 
> Stefan.

Hello,

and here your way:

(gdb) thread apply all bt

Thread 19 (process 13234):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7b74bf7 in sigsuspend () from /lib/libc.so.6
#2  0xb7cbedea in isc_app_run () at app.c:533
#3  0x0806535f in main (argc=0, argv=0xbfd2c2b4) at ./main.c:868

Thread 18 (process 13235):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 17 (process 13236):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 16 (process 13237):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 15 (process 13238):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 14 (process 13239):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 13 (process 13240):
#0  0x08068611 in query_addsoa (client=0x538e2378, db=0x5619fe40,
version=0xacaa9ac8, zero_ttl=isc_boolean_false) at query.c:1998
#1  0x0806b0d8 in query_find (client=0x538e2378, event=0x0, qtype=1) at
query.c:3883
#2  0x0806d7c9 in ns_query_start (client=0x538e2378) at query.c:4573
#3  0x0805b712 in client_request (task=0x54634140, event=0x538e1698) at
client.c:1741
#4  0xb7cbae12 in run (uap=0xb7a9e0b0) at task.c:867
#5  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#6  0xb7c0965e in clone () from /lib/libc.so.6

Thread 12 (process 13241):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 11 (process 13243):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 10 (process 13244):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 9 (process 13245):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 8 (process 13246):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 7 (process 13247):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 6 (process 13248):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 5 (process 13249):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 4 (process 13250):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c747e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7cbac8f in run (uap=0xb7a9e0b0) at task.c:815
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 3 (process 13251):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c74a5c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7ccf5cc in isc_condition_waituntil (c=0xb7aa0040, m=0xb7aa0010,
t=0xb7aa0038) at condition.c:59
#3  0xb7cbd574 in run (uap=0xb7aa0008) at timer.c:708
#4  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#5  0xb7c0965e in clone () from /lib/libc.so.6

Thread 2 (process 13252):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c02d11 in ___newselect_nocancel () from /lib/libc.so.6
#2  0xb7ccab2f in watcher (uap=0x80a3998) at socket.c:2285
#3  0xb7c7134b in start_thread () from /lib/libpthread.so.0
#4  0xb7c0965e in clone () from /lib/libc.so.6

Thread 1 (process 13242):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7b747d0 in raise () from /lib/libc.so.6
#2  0xb7b75ea3 in abort () from /lib/libc.so.6
#3  0x08064b42 in assertion_failed (file=0xb7f3ca11 "ortlistp != ((void
*)0) && *portlistp == ((void *)0)", line=1158,
    type=isc_assertiontype_require, cond=0xb7f2ee45
"\004$\213\203��$\b") at ./main.c:159
#4  0xb7e87918 in cache_zonecut_callback (node=0x0, name=0xff, arg=0x0)
at rbtdb.c:2964
#5  0xb7e90367 in free_rbtdb (rbtdb=0x0, log=3086272688, event=0xd0) at
rbtdb.c:609
#6  0xb7e4ba6e in dns_db_attachversion (db=0xadd16008,
source=0xb4292628, targetp=0xb4292628) at db.c:405
#7  0xb7ee20b0 in fctx_finddone (task=0xab7dad70, event=0x3) at
resolver.c:1725
#8  0xb7ee6e3d in resquery_response (task=0xaea84620, event=0xa9dab3c8)
at resolver.c:5374
#9  0xb7cbae12 in run (uap=0xb7a9e0b0) at task.c:867
#10 0xb7c7134b in start_thread () from /lib/libpthread.so.0
#11 0xb7c0965e in clone () from /lib/libc.so.6

Kind regards
-- 
_____________________________
[Marco Schumann



More information about the bind-users mailing list