bind-9.4.0b2 exits unexpected...

Marco Schumann schumann at strato-rz.de
Wed Oct 18 10:46:40 UTC 2006


Hello,

JINMEI Tatuya / 神明達哉 schrieb:
>>>>>> On Fri, 13 Oct 2006 10:02:06 +0200, 
>>>>>> Marco Schumann <schumann at strato-rz.de> said:
> 
>> Again named terminated with signal 6 right after starting (~3s), here
>> the logs and backtraces:
> 
>> 13-Oct-2006 09:45:26.472 general: rbtdb.c:1128: INSIST(((unsigned
>> int)((&rbtdb->node_locks[node->locknum].references)->refs)) > 0) failed
>> 13-Oct-2006 09:45:26.472 general: exiting (due to assertion failure)
> 
> Okay, then how about this one?  (the patch is not incremental; it's
> for pure 9.4.0b2)

I have another core dump.

(gdb) info threads
  19 process 28050  0xffffe410 in __kernel_vsyscall ()
  18 process 28051  0xffffe410 in __kernel_vsyscall ()
  17 process 28052  0xb7de1fbc in dns_name_equal (name1=0xaab77dd8,
name2=0x8760bc8c) at name.c:703
  16 process 28053  0xffffe410 in __kernel_vsyscall ()
  15 process 28054  0xffffe410 in __kernel_vsyscall ()
  14 process 28055  0xffffe410 in __kernel_vsyscall ()
  13 process 28056  0xffffe410 in __kernel_vsyscall ()
  12 process 28057  0xffffe410 in __kernel_vsyscall ()
  11 process 28058  0xffffe410 in __kernel_vsyscall ()
  10 process 28059  0xffffe410 in __kernel_vsyscall ()
  9 process 28060  0xffffe410 in __kernel_vsyscall ()
  8 process 28061  0xffffe410 in __kernel_vsyscall ()
  7 process 28063  0xffffe410 in __kernel_vsyscall ()
  6 process 28064  0xffffe410 in __kernel_vsyscall ()
  5 process 28065  0xffffe410 in __kernel_vsyscall ()
  4 process 28066  0xffffe410 in __kernel_vsyscall ()
  3 process 28067  0xffffe410 in __kernel_vsyscall ()
  2 process 28068  0xffffe410 in __kernel_vsyscall ()
* 1 process 28062  0xffffe410 in __kernel_vsyscall ()

(gdb) thread apply all bt

Thread 19 (process 28050):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ac9bf7 in sigsuspend () from /lib/libc.so.6
#2  0xb7c167ec in isc_app_run () at app.c:533
#3  0x08067c6b in main (argc=7, argv=0xbfe8bb14) at ./main.c:868

Thread 18 (process 28051):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcc828 in sendmsg () from /lib/libpthread.so.0
#2  0xb7c1ff7c in doio_send (sock=0xae9d1148, dev=0xae50f008) at
socket.c:1118
#3  0xb7c2477e in socket_send (sock=0xae9d1148, dev=0xae50f008,
task=0xb7a05bd0, address=0xae50b228, pktinfo=0x0, flags=3) at socket.c:2768
#4  0xb7c250a4 in isc_socket_sendto2 (sock=0xae9d1148,
region=0xb79ed718, task=0xb7a05bd0, address=0xae50b228, pktinfo=0x0,
    event=0xae50f008, flags=3) at socket.c:2930
#5  0x08057d89 in client_sendpkg (client=0xae50b008, buffer=0xb79ee9ec)
at client.c:838
#6  0x080583c3 in ns_client_send (client=0xae50b008) at client.c:1005
#7  0x0806836f in query_send (client=0xae50b008) at query.c:162
#8  0x08071442 in query_find (client=0xae50b008, event=0x0, qtype=12) at
query.c:4374
#9  0x0806e498 in query_resume (task=0xb7a05bd0, event=0x5877d008) at
query.c:2918
#10 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#11 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#12 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#13 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 17 (process 28052):
#0  0xb7de1fbc in dns_name_equal (name1=0xaab77dd8, name2=0x8760bc8c) at
name.c:703
#1  0xb7da5978 in entry_is_lame (adb=0x8318890, entry=0xa9afb7e8,
qname=0xaab77dd8, qtype=1, now=1161163939) at adb.c:1682
#2  0xb7da5a6f in copy_namehook_lists (adb=0x8318890, find=0xa9e52f70,
qname=0xaab77dd8, qtype=1, name=0xa86e22c8, now=1161163939)
    at adb.c:1711
#3  0xb7da8149 in dns_adb_createfind (adb=0x8318890, task=0xae9da008,
action=0xb7e65109 <fctx_finddone>, arg=0xaab77dd0, name=0xb71ee2d4,
    qname=0xaab77dd8, qtype=1, options=223, now=1161163939, target=0x0,
port=53, findp=0xb71ee238) at adb.c:2522
#4  0xb7e66036 in findname (fctx=0xaab77dd0, name=0xb71ee2d4, port=0,
options=223, flags=0, now=1161163939, need_alternate=0xb71ee2c0)
    at resolver.c:1990
#5  0xb7e6683a in fctx_getaddresses (fctx=0xaab77dd0) at resolver.c:2193
#6  0xb7e6735d in fctx_try (fctx=0xaab77dd0) at resolver.c:2503
#7  0xb7e685d7 in fctx_start (task=0xae9da008, event=0xaab77e28) at
resolver.c:2819
#8  0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#9  0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#10 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#11 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 16 (process 28053):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bc97e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7c0972b in isc_rwlock_lock (rwl=0xadc6b0e8,
type=isc_rwlocktype_write) at rwlock.c:316
#3  0xb7df40cb in findnode (db=0xadc6b008, name=0xab24fa88,
create=isc_boolean_true, nodep=0xb69ec7fc) at rbtdb.c:1643
#4  0xb7db17db in dns_db_findnode (db=0xadc6b008, name=0xab24fa88,
create=isc_boolean_true, nodep=0xb69ec7fc) at db.c:449
#5  0xb7e6ab87 in cache_name (fctx=0xa99da7e8, name=0xab24fa88,
addrinfo=0xa9c54690, now=1161163939) at resolver.c:3688
#6  0xb7e6b3fe in cache_message (fctx=0xa99da7e8, addrinfo=0xa9c54690,
now=1161163939) at resolver.c:3951
#7  0xb7e6e757 in resquery_response (task=0xae9d2e40, event=0xa98e35a8)
at resolver.c:5741
#8  0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#9  0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#10 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#11 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 15 (process 28054):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcbefe in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0xb7bc86dc in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0x00000001 in ?? ()
#4  0xb7ee22f8 in ?? () from
/opt/bind-9.4.0b2.patch03.no-disable-atomic/lib/libdns.so.32
#5  0xb61eb2f8 in ?? ()
#6  0xb7de1854 in dns_name_fullhash (name=0x826adec,
case_sensitive=isc_boolean_false) at name.c:498
#7  0xb7e71815 in dns_resolver_createfetch2 (res=0xae9d9008,
name=0xa48505d8, type=12, domain=0xa4850698, nameservers=0xa7f177c8,
    forwarders=0x0, client=0xa4858c78, id=60259, options=32,
task=0xa98ead08, action=0x806e15d <query_resume>, arg=0xa4858a58,
    rdataset=0xa7efa288, sigrdataset=0x0, fetchp=0xa4858c14) at
resolver.c:6534
#8  0x0806e87f in query_recurse (client=0xa4858a58, qtype=12,
qdomain=0xa4850698, nameservers=0xa7f177c8) at query.c:3014
#9  0x08070075 in query_find (client=0xa4858a58, event=0x0, qtype=12) at
query.c:3775
#10 0x08071af3 in ns_query_start (client=0xa4858a58) at query.c:4573
#11 0x08059f28 in client_request (task=0xa98ead08, event=0xa4856f08) at
client.c:1741
#12 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#13 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#14 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#15 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 14 (process 28055):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bc97e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7c0952f in isc_rwlock_lock (rwl=0xadc6b0e8,
type=isc_rwlocktype_read) at rwlock.c:257
#3  0xb7df778e in cache_find (db=0xadc6b008, name=0x749e67e8,
version=0x0, type=28, options=0, now=1161163939, nodep=0xb59ead20,
    foundname=0x63991a88, rdataset=0x749f3348, sigrdataset=0x0) at
rbtdb.c:3374
#4  0xb7db19e4 in dns_db_find (db=0xadc6b008, name=0x749e67e8,
version=0x0, type=28, options=0, now=1161163939, nodep=0xb59ead20,
    foundname=0x63991a88, rdataset=0x749f3348, sigrdataset=0x0) at db.c:475
#5  0x0806f92c in query_find (client=0x749f5008, event=0x0, qtype=28) at
query.c:3544
#6  0x08071af3 in ns_query_start (client=0x749f5008) at query.c:4573
#7  0x08059f28 in client_request (task=0xa9913960, event=0x749f42d8) at
client.c:1741
#8  0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#9  0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#10 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#11 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 13 (process 28056):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bc97e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7c09847 in isc_rwlock_lock (rwl=0xadc6b0e8,
type=isc_rwlocktype_write) at rwlock.c:333
#3  0xb7df40cb in findnode (db=0xadc6b008, name=0xa9ab4728,
create=isc_boolean_true, nodep=0xb51e97fc) at rbtdb.c:1643
#4  0xb7db17db in dns_db_findnode (db=0xadc6b008, name=0xa9ab4728,
create=isc_boolean_true, nodep=0xb51e97fc) at db.c:449
#5  0xb7e6ab87 in cache_name (fctx=0xaad6b9e0, name=0xa9ab4728,
addrinfo=0xa9e35d18, now=1161163939) at resolver.c:3688
#6  0xb7e6b3fe in cache_message (fctx=0xaad6b9e0, addrinfo=0xa9e35d18,
now=1161163939) at resolver.c:3951
#7  0xb7e6e757 in resquery_response (task=0xae9d2c38, event=0xa99103c8)
at resolver.c:5741
#8  0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#9  0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#10 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#11 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 12 (process 28057):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bc97e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7c0972b in isc_rwlock_lock (rwl=0xadc6b0e8,
type=isc_rwlocktype_write) at rwlock.c:316
#3  0xb7dfd6c2 in flush_deletions (rbtdbiter=0x826a400) at rbtdb.c:6031
#4  0xb7dfe4f9 in dbiterator_pause (iterator=0x826a400) at rbtdb.c:6370
#5  0xb7db35e4 in dns_dbiterator_pause (iterator=0x826a400) at
dbiterator.c:121
#6  0xb7daebc6 in incremental_cleaning_action (task=0xae9d2a30,
event=0xadc6f008) at cache.c:909
#7  0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#8  0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#9  0xb7bc634b in start_thread () from /lib/libpthread.so.0
#10 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 11 (process 28058):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcc828 in sendmsg () from /lib/libpthread.so.0
#2  0xb7c1ff7c in doio_send (sock=0xae9d1148, dev=0x5505cd28) at
socket.c:1118
#3  0xb7c2477e in socket_send (sock=0xae9d1148, dev=0x5505cd28,
task=0x58b29a30, address=0x5505bc78, pktinfo=0x0, flags=3) at socket.c:2768
#4  0xb7c250a4 in isc_socket_sendto2 (sock=0xae9d1148,
region=0xb41e6718, task=0x58b29a30, address=0x5505bc78, pktinfo=0x0,
    event=0x5505cd28, flags=3) at socket.c:2930
#5  0x08057d89 in client_sendpkg (client=0x5505ba58, buffer=0xb41e79ec)
at client.c:838
#6  0x080583c3 in ns_client_send (client=0x5505ba58) at client.c:1005
#7  0x0806836f in query_send (client=0x5505ba58) at query.c:162
#8  0x08071442 in query_find (client=0x5505ba58, event=0x0, qtype=12) at
query.c:4374
#9  0x0806e498 in query_resume (task=0x58b29a30, event=0xaad49008) at
query.c:2918
#10 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#11 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#12 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#13 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 10 (process 28059):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcbefe in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0xb7bc86dc in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0x0000000f in ?? ()
#4  0xb7ee22f8 in ?? () from
/opt/bind-9.4.0b2.patch03.no-disable-atomic/lib/libdns.so.32
#5  0xb39e62f8 in ?? ()
#6  0xb7de1854 in dns_name_fullhash (name=0x826af20,
case_sensitive=isc_boolean_false) at name.c:498
#7  0xb7e71815 in dns_resolver_createfetch2 (res=0xae9d9008,
name=0x54e7a6f8, type=12, domain=0x54e7a278, nameservers=0x54e07048,
    forwarders=0x0, client=0x54e01598, id=7242, options=32,
task=0x58b39bd0, action=0x806e15d <query_resume>, arg=0x54e01378,
    rdataset=0x537f6788, sigrdataset=0x0, fetchp=0x54e01534) at
resolver.c:6534
#8  0x0806e87f in query_recurse (client=0x54e01378, qtype=12,
qdomain=0x54e7a278, nameservers=0x54e07048) at query.c:3014
#9  0x08070075 in query_find (client=0x54e01378, event=0x0, qtype=12) at
query.c:3775
#10 0x08071af3 in ns_query_start (client=0x54e01378) at query.c:4573
#11 0x08059f28 in client_request (task=0x58b39bd0, event=0x54e02008) at
client.c:1741
#12 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#13 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#14 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#15 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 9 (process 28060):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcbefe in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0xb7bc86dc in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0x0000449f in ?? ()
#4  0x00000000 in ?? ()

Thread 8 (process 28061):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcbefe in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0xb7bc86dc in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0x0000000f in ?? ()
#4  0xb7ee22f8 in ?? () from
/opt/bind-9.4.0b2.patch03.no-disable-atomic/lib/libdns.so.32
#5  0xb29e42f8 in ?? ()
#6  0xb7de1854 in dns_name_fullhash (name=0x826af20,
case_sensitive=isc_boolean_false) at name.c:498
#7  0xb7e71815 in dns_resolver_createfetch2 (res=0xae9d9008,
name=0x586af188, type=12, domain=0x586c6b78, nameservers=0x58db8148,
    forwarders=0x0, client=0x58e2a908, id=14529, options=32,
task=0x5993b008, action=0x806e15d <query_resume>, arg=0x58e2a6e8,
    rdataset=0x58ab9d48, sigrdataset=0x0, fetchp=0x58e2a8a4) at
resolver.c:6534
#8  0x0806e87f in query_recurse (client=0x58e2a6e8, qtype=12,
qdomain=0x586c6b78, nameservers=0x58db8148) at query.c:3014
#9  0x08070075 in query_find (client=0x58e2a6e8, event=0x0, qtype=12) at
query.c:3775
#10 0x08071af3 in ns_query_start (client=0x58e2a6e8) at query.c:4573
#11 0x08059f28 in client_request (task=0x5993b008, event=0x58e2c008) at
client.c:1741
#12 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#13 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#14 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#15 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 7 (process 28063):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bc97e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7c0952f in isc_rwlock_lock (rwl=0xadc6b0e8,
type=isc_rwlocktype_read) at rwlock.c:257
#3  0xb7df778e in cache_find (db=0xadc6b008, name=0x5d8cf518,
version=0x0, type=12, options=0, now=1161163939, nodep=0xb19e2d20,
    foundname=0x5d8d7f98, rdataset=0x5d96cd48, sigrdataset=0x0) at
rbtdb.c:3374
#4  0xb7db19e4 in dns_db_find (db=0xadc6b008, name=0x5d8cf518,
version=0x0, type=12, options=0, now=1161163939, nodep=0xb19e2d20,
    foundname=0x5d8d7f98, rdataset=0x5d96cd48, sigrdataset=0x0) at db.c:475
#5  0x0806f92c in query_find (client=0x5d8b0008, event=0x0, qtype=12) at
query.c:3544
#6  0x08071af3 in ns_query_start (client=0x5d8b0008) at query.c:4573
#7  0x08059f28 in client_request (task=0x5d8ed688, event=0x5d8ad788) at
client.c:1741
#8  0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#9  0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#10 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#11 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 6 (process 28064):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcbefe in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0xb7bc86dc in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0x0000000f in ?? ()
#4  0xb7ee22f8 in ?? () from
/opt/bind-9.4.0b2.patch03.no-disable-atomic/lib/libdns.so.32
#5  0xb11e12f8 in ?? ()
#6  0xb7de1854 in dns_name_fullhash (name=0x826af20,
case_sensitive=isc_boolean_false) at name.c:498
#7  0xb7e71815 in dns_resolver_createfetch2 (res=0xae9d9008,
name=0xa4813f38, type=12, domain=0xaa009c98, nameservers=0xa9f80848,
    forwarders=0x0, client=0xaa023228, id=18798, options=32,
task=0xabf4d620, action=0x806e15d <query_resume>, arg=0xaa023008,
    rdataset=0xaa0276c8, sigrdataset=0x0, fetchp=0xaa0231c4) at
resolver.c:6534
#8  0x0806e87f in query_recurse (client=0xaa023008, qtype=12,
qdomain=0xaa009c98, nameservers=0xa9f80848) at query.c:3014
#9  0x08070075 in query_find (client=0xaa023008, event=0x0, qtype=12) at
query.c:3775
#10 0x08071af3 in ns_query_start (client=0xaa023008) at query.c:4573
#11 0x08059f28 in client_request (task=0xabf4d620, event=0xaa0221e8) at
client.c:1741
#12 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#13 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#14 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#15 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 5 (process 28065):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bc97e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7c0952f in isc_rwlock_lock (rwl=0xadc6b0e8,
type=isc_rwlocktype_read) at rwlock.c:257
#3  0xb7df778e in cache_find (db=0xadc6b008, name=0xadc039ac,
version=0x0, type=28, options=1, now=1161163939, nodep=0xb09e0f00,
    foundname=0xb09e0f64, rdataset=0xb09e1134, sigrdataset=0x0) at
rbtdb.c:3374
#4  0xb7db19e4 in dns_db_find (db=0xadc6b008, name=0xadc039ac,
version=0x0, type=28, options=1, now=1161163939, nodep=0xb09e0f00,
    foundname=0xb09e0f64, rdataset=0xb09e1134, sigrdataset=0x0) at db.c:475
#5  0xb7e90b85 in dns_view_find (view=0xae9d4008, name=0xadc039ac,
type=28, now=1161163939, options=1, use_hints=isc_boolean_true, dbp=0x0,
    nodep=0x0, foundname=0xb09e0f64, rdataset=0xb09e1134,
sigrdataset=0x0) at view.c:739
#6  0xb7da9ad4 in dbfind_name (adbname=0xadc039a8, now=1161163939,
rdtype=28) at adb.c:2989
#7  0xb7da7f8e in dns_adb_createfind (adb=0x8318890, task=0xae9d2f78,
action=0xb7e65109 <fctx_finddone>, arg=0xa98549e0, name=0xb09e12d4,
    qname=0xa98549e8, qtype=1, options=255, now=1161163939, target=0x0,
port=53, findp=0xb09e1238) at adb.c:2446
#8  0xb7e66036 in findname (fctx=0xa98549e0, name=0xb09e12d4, port=0,
options=255, flags=0, now=1161163939, need_alternate=0xb09e12c0)
    at resolver.c:1990
#9  0xb7e6683a in fctx_getaddresses (fctx=0xa98549e0) at resolver.c:2193
#10 0xb7e6735d in fctx_try (fctx=0xa98549e0) at resolver.c:2503
#11 0xb7e685d7 in fctx_start (task=0xae9d2f78, event=0xa9854a38) at
resolver.c:2819
#12 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#13 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#14 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#15 0xb7b5e65e in clone () from /lib/libc.so.6

Thread 4 (process 28066):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bcbefe in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0xb7bc86dc in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0xb01def5a in ?? ()
#4  0xb01def5a in ?? ()
#5  0xb01def5a in ?? ()
#6  0xb01def5a in ?? ()
#7  0xb01def5c in ?? ()
#8  0x00006da2 in ?? ()
#9  0xb01def5a in ?? ()
#10 0xb7c32138 in ?? () from
/opt/bind-9.4.0b2.patch03.no-disable-atomic/lib/libisc.so.32
#11 0x080aa168 in ?? ()
#12 0xa98d0bd8 in ?? ()
#13 0xb01deff8 in ?? ()
#14 0xb7bfe9ca in isc_log_doit (lctx=0x80aa184, category=0xffffffff,
module=0x0, level=-1214308752, write_once=isc_boolean_false,
    msgcat=0x0, msgset=2, msg=-1212199245, format=0x0, args=0xffffffff
<Address 0xffffffff out of bounds>) at log.c:1448
#15 0xb7bfe9ca in isc_log_doit (lctx=0x80aa168, category=0xb7ee3268,
module=0xb7ee32c8, level=-1, write_once=isc_boolean_false, msgcat=0x0,
    msgset=0, msg=0, format=0xb7ed6fc4 "lame server resolving '%s' (in
'%s'?): %s",
    args=0xb01df054 "�035�035a�035\006193.254.185.231#53") at log.c:1448
#16 0xb7bfd471 in isc_log_write (lctx=0x80aa168, category=0xb7ee3268,
module=0xb7ee32c8, level=-1,
    format=0xb7ed6fc4 "lame server resolving '%s' (in '%s'?): %s") at
log.c:839
#17 0xb7e6968f in log_lame (fctx=0xa98d0bd8, addrinfo=0xa9f4a268) at
resolver.c:3176
#18 0xb7e6e328 in resquery_response (task=0xae9d2dd8, event=0xae9d0968)
at resolver.c:5599
#19 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#20 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#21 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#22 0xb7b5e65e in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 3 (process 28067):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7bc9a5c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb7c28d5c in isc_condition_waituntil (c=0xb79f5040, m=0xb79f5010,
t=0xb79f5038) at condition.c:59
#3  0xb7c1573a in run (uap=0xb79f5008) at timer.c:708
#4  0xb7bc634b in start_thread () from /lib/libpthread.so.0
#5  0xb7b5e65e in clone () from /lib/libc.so.6

Thread 2 (process 28068):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7b57d11 in ___newselect_nocancel () from /lib/libc.so.6
#2  0xb7c232c4 in watcher (uap=0x80ad998) at socket.c:2285
#3  0xb7bc634b in start_thread () from /lib/libpthread.so.0
#4  0xb7b5e65e in clone () from /lib/libc.so.6

Thread 1 (process 28062):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ac97d0 in raise () from /lib/libc.so.6
#2  0xb7acaea3 in abort () from /lib/libc.so.6
#3  0x0806692c in assertion_failed (file=0xb7ecde99 "rbtdb.c",
line=1160, type=isc_assertiontype_require, cond=0xb7ecdea1 "prev > 0")
    at ./main.c:159
#4  0xb7df2904 in no_references (rbtdb=0xadc6b008, node=0x86ca8b48,
least_serial=0, lock=isc_rwlocktype_none) at rbtdb.c:1159
#5  0xb7df8821 in detachnode (db=0xadc6b008, targetp=0xb21e37fc) at
rbtdb.c:3856
#6  0xb7db1d1d in dns_db_detachnode (db=0xadc6b008, nodep=0xb21e37fc) at
db.c:525
#7  0xb7e6b2a1 in cache_name (fctx=0xabcd35f0, name=0xabcc8638,
addrinfo=0xaa056c80, now=1161163939) at resolver.c:3924
#8  0xb7e6b3fe in cache_message (fctx=0xabcd35f0, addrinfo=0xaa056c80,
now=1161163939) at resolver.c:3951
#9  0xb7e6e757 in resquery_response (task=0xae9da140, event=0xa98e32d8)
at resolver.c:5741
#10 0xb7c12fa8 in dispatch (manager=0xb79f30b0) at task.c:867
#11 0xb7c13242 in run (uap=0xb79f30b0) at task.c:1010
#12 0xb7bc634b in start_thread () from /lib/libpthread.so.0
#13 0xb7b5e65e in clone () from /lib/libc.so.6

(gdb) f 8
#8  0xb7e6b3fe in cache_message (fctx=0xabcd35f0, addrinfo=0xaa056c80,
now=1161163939) at resolver.c:3951
3951                                    result = cache_name(fctx, name,
addrinfo, now);
(gdb) p *fctx
$1 = {magic = 1176576289, res = 0xae9d9008, name = {magic = 1145983854,
ndata = 0xabcc1b88 "\003173\003180\003228\003217\ain-addr\004arpa",
    length = 30, labels = 7, attributes = 5, offsets = 0x0, buffer =
0x0, link = {prev = 0xffffffff, next = 0xffffffff}, list = {
      head = 0x0, tail = 0x0}}, type = 12, options = 32, bucketnum = 13,
info = 0xabceb4f0 "173.180.228.217.in-addr.arpa/PTR",
  state = fetchstate_active, want_shutdown = isc_boolean_false, cloned =
isc_boolean_true, spilled = isc_boolean_false, references = 1,
  control_event = {ev_size = 44, ev_attributes = 0, ev_tag = 0x0,
ev_type = 262144, ev_action = 0xb7e6800a <fctx_doshutdown>,
    ev_arg = 0xabcd35f0, ev_sender = 0x0, ev_destroy = 0, ev_destroy_arg
= 0x0, ev_link = {prev = 0xffffffff, next = 0xffffffff}}, link = {
    prev = 0xabcd3bd8, next = 0x0}, events = {head = 0xa8d08668, tail =
0xa8d08668}, domain = {magic = 1145983854,
    ndata = 0xabcc1068 "\003180\003228\003217\ain-addr\004arpa", length
= 26, labels = 6, attributes = 5, offsets = 0x0, buffer = 0x0,
    link = {prev = 0xffffffff, next = 0xffffffff}, list = {head = 0x0,
tail = 0x0}}, nameservers = {magic = 1145983826,
    methods = 0xb7ee37a0, link = {prev = 0xffffffff, next = 0xffffffff},
rdclass = 1, type = 2, ttl = 85154, trust = 5, covers = 0,
    attributes = 0, count = 3, private1 = 0xadc6b008, private2 =
0x99524de8, private3 = 0x5e934230, privateuint4 = 0,
    private5 = 0x5e93426c, private6 = 0x0}, attributes = 385, timer =
0x6656a2a8, expires = {seconds = 1161163969,
    nanoseconds = 470262000}, interval = {seconds = 0, nanoseconds =
500000000}, qmessage = 0xabcd1740, rmessage = 0xabcd1848, queries = {
    head = 0xa8cf7758, tail = 0xa8cf7758}, finds = {head = 0xa9e98800,
tail = 0xa9f114d0}, find = 0xa9e98800, altfinds = {head = 0x0,
    tail = 0x0}, altfind = 0x0, forwaddrs = {head = 0x0, tail = 0x0},
altaddrs = {head = 0x0, tail = 0x0}, forwarders = {head = 0x0,
    tail = 0x0}, fwdpolicy = dns_fwdpolicy_none, bad = {head = 0x0, tail
= 0x0}, edns = {head = 0xa8cfbf08, tail = 0xa8cfbf08}, edns512 = {
    head = 0x0, tail = 0x0}, validators = {head = 0x0, tail = 0x0},
cache = 0xadc6b008, adb = 0x8318890, pending = 0, restarts = 1,
  timeouts = 0, nsname = {magic = 1145983854, ndata = 0x0, length = 0,
labels = 0, attributes = 0, offsets = 0x0, buffer = 0x0, link = {
      prev = 0xffffffff, next = 0xffffffff}, list = {head = 0x0, tail =
0x0}}, nsfetch = 0x0, nsrrset = {magic = 1145983826, methods = 0x0,
    link = {prev = 0xffffffff, next = 0xffffffff}, rdclass = 0, type =
0, ttl = 0, trust = 0, covers = 0, attributes = 0,
    count = 4294967295, private1 = 0x0, private2 = 0x0, private3 = 0x0,
privateuint4 = 0, private5 = 0x0, private6 = 0x0}}

(gdb) f 4
#4  0xb7df2904 in no_references (rbtdb=0xadc6b008, node=0x86ca8b48,
least_serial=0, lock=isc_rwlocktype_none) at rbtdb.c:1159
1159
isc_refcount_decrement(&rbtdb->node_locks[locknum].references,
(gdb) p *node
$6 = {parent = 0xa0007488, left = 0x0, right = 0x0, down = 0x0, hashnext
= 0x74f03dd0, is_root = 0, color = 0, find_callback = 0,
  attributes = 0, namelen = 7, offsetlen = 1, padbytes = 0, hashval =
29255933, data = 0x6bd45b68, dirty = 0, wild = 0, locknum = 987,
  references = {refs = 0}}

Would anything else be helpful? Please let me know.

Kind regards
-- 
_____________________________
[Marco Schumann



More information about the bind-users mailing list