bind 9.4 acache crashes
Sotiris Tsimbonis
tsimbonis at forthnet.gr
Thu Apr 9 07:26:51 UTC 2009
On 9/4/2009 10:10 πμ, Sotiris Tsimbonis wrote:
> On 7/4/2009 12:09 μμ, Sotiris Tsimbonis wrote:
>> On 6/4/2009 9:23 μμ, JINMEI Tatuya / 神明達哉 wrote:
>>> At Fri, 03 Apr 2009 18:38:01 +0300,
>>> Sotiris Tsimbonis <tsimbonis at forthnet.gr> wrote:
>>>
>>>> Anyone else seen crashes like these?
>>>
>>> FWIW, I've never seen any of these.
>>>
>>
>> Solaris 10, Bind 9.4.3b2
>>
>> Logfile:
>> 10-Mar-2009 09:14:19.460 general: socket.c:2739: fatal error:
>> 10-Mar-2009 09:14:19.461 general:
>> RUNTIME_CHECK(((pthread_mutex_unlock(((&sock->lock))) == 0) ? 0 : 34)
>> == 0) failed
>> 10-Mar-2009 09:14:19.461 general: exiting (due to fatal error in library)
>>
>
> And another one (Solaris 9, bind 9.4.3b2) ...
>
> 08-Apr-2009 21:14:39.237 general: acache.c:393: INSIST(result == 0) failed
> 08-Apr-2009 21:14:39.237 general: exiting (due to assertion failure)
>
And another one, with core... (Solaris 10, bind 9.4.3b2)
GNU gdb 6.6
Copyright (C) 2006 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 "sparc-sun-solaris2.10"...
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libsocket.so.1...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libscf.so.1...done.
Loaded symbols for /lib/libscf.so.1
Reading symbols from /lib/libpthread.so.1...
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
done.
Loaded symbols for /lib/libpthread.so.1
Reading symbols from /lib/libthread.so.1...
warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074
done.
Loaded symbols for /lib/libthread.so.1
Reading symbols from /lib/libc.so.1...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /lib/libdoor.so.1...done.
Loaded symbols for /lib/libdoor.so.1
Reading symbols from /lib/libuutil.so.1...done.
Loaded symbols for /lib/libuutil.so.1
Reading symbols from /platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1...done.
Loaded symbols for /platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
Reading symbols from /lib/nss_files.so.1...done.
Loaded symbols for /lib/nss_files.so.1
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Core was generated by `/opt/bind/sbin/named -u named -t /opt/bind -c
/etc/named.conf'.
Program terminated with signal 11, Segmentation fault.
#0 0xff1b952c in mutex_lock_impl () from /lib/libc.so.1
(gdb) thread apply all bt full
Thread 5 (process 74037 ):
#0 0xff1c097c in ___sigtimedwait () from /lib/libc.so.1
No symbol table info available.
#1 0xff1b45fc in __sigtimedwait () from /lib/libc.so.1
No symbol table info available.
#2 0xff1ac964 in __posix_sigwait () from /lib/libc.so.1
No symbol table info available.
#3 0x001cf3e8 in isc_app_run () at app.c:504
event = (isc_event_t *) 0x0
next_event = (isc_event_t *) 0xffbffba8
task = (isc_task_t *) 0x0
sset = {__sigbits = {16387, 0, 0, 0}}
strbuf =
"\000\000\b<\000\000\b<\000\000\b<\000\000\000\000����\000\000\000\000\000\000\000\000\035Νe\000\000\000\000\000�ΏϋX�\033\234`\000$TΈ\000%Ϋ\200\000$\034\000\000\036\214\000\000$\034L",
'\0' <repeats 17 times>,
"$\034\000\000$\034$\000\000\000�\000$\034D\000\036oΐ\000%«Ψ�ΏϋΘ\000\003Ϊx\000\000\000\000\000$hp\000\000\000\000\000\000\000"
sig = 329004
#4 0x0003da94 in main (argc=7, argv=0xffbffcc4) at main.c:868
result = 144
instance = 0x0
Thread 4 (process 336181 ):
#0 0xff1c1058 in ioctl () from /lib/libc.so.1
No symbol table info available.
#1 0x001d9d28 in watcher (uap=0x25ab80) at socket.c:2949
cc = 1
dvp = {dp_fds = 0x2a0bf0, dp_nfds = 256, dp_timeout = -1}
strbuf = '\0' <repeats 127 times>
#2 0xff1c04fc in _lwp_start () from /lib/libc.so.1
No symbol table info available.
#3 0xff1c04fc in _lwp_start () from /lib/libc.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 3 (process 270645 ):
#0 0xff1c0598 in __lwp_park () from /lib/libc.so.1
No symbol table info available.
#1 0xff1ba514 in cond_sleep_queue () from /lib/libc.so.1
No symbol table info available.
#2 0xff1ba630 in cond_wait_queue () from /lib/libc.so.1
No symbol table info available.
#3 0xff1baaa8 in cond_wait_common () from /lib/libc.so.1
No symbol table info available.
#4 0xff1bac40 in _cond_timedwait () from /lib/libc.so.1
No symbol table info available.
#5 0xff1bad34 in cond_timedwait () from /lib/libc.so.1
No symbol table info available.
#6 0xff1bad74 in pthread_cond_timedwait () from /lib/libc.so.1
No symbol table info available.
#7 0x001e06ec in isc_condition_waituntil (c=0x258bb8, m=0x258b88,
t=0x258bb0) at condition.c:59
presult = 77
result = 2460600
ts = {tv_sec = 1239261464, tv_nsec = 201782000}
strbuf = "�\000ώ\230\000\034‘ IΫL\203\000\aΩT�\000ώ¨�\033«δ",
'\0' <repeats 19 times>,
"\\\000\000\000Έ\000\000\v\216\000\000\027---Type <return> to continue,
or q <return> to quit---
\035\000\000\000\000\000\000\000\000\001\000\000\000\000\000\020\204\000%\233\200\000\000\000.\001±(Ψ\000\021�07\225<Θ\"ρ,Ψ�\000�\b\000\034γ|\t\230Ν\230\000\000\000\000�\000�\b\000\034ε\020\000\000\000\000\000\000\000"
#8 0x001ce460 in run (uap=0x258b80) at timer.c:721
now = {seconds = 1239261463, nanoseconds = 782707000}
result = 2460600
#9 0xff1c04fc in _lwp_start () from /lib/libc.so.1
No symbol table info available.
#10 0xff1c04fc in _lwp_start () from /lib/libc.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 2 (process 205109 ):
#0 0x00088840 in destroy_disp_ok (disp=0x999a058) at dispatch.c:627
No locals.
#1 0x0008e860 in dns_dispatch_removeresponse (resp=0x0,
sockevent=0x1526) at dispatch.c:3038
mgr = (dns_dispatchmgr_t *) 0x0
disp = (dns_dispatch_t *) 0x999a058
dispsock = (dispsocket_t *) 0x1526
ev = (dns_dispatchevent_t *) 0x0
bucket = 5414
killit = 880199176
events = {head = 0xff04fe80, tail = 0x49dda118}
qid = (dns_qid_t *) 0x253e50
#2 0x0011af38 in fctx_cancelquery (queryp=0x37b5f5f8, deventp=0x0,
finish=0x0, no_response=isc_boolean_true) at resolver.c:683
fctx = (fetchctx_t *) 0x37b54108
query = (resquery_t *) 0x37b5f5f8
rtt = 800000
factor = 0
find = (dns_adbfind_t *) 0x37b5f5f8
addrinfo = (dns_adbaddrinfo_t *) 0x1
socket = (isc_socket_t *) 0x0
#3 0x0011d36c in fctx_timeout (task=0x35e1a990, event=0x4ef14e0) at
resolver.c:2756
fctx = (fetchctx_t *) 0x37b54108
query = (resquery_t *) 0x37b5f5f8
#4 0x001cbca8 in run (uap=0x256b80) at task.c:867
No locals.
#5 0xff1c04fc in _lwp_start () from /lib/libc.so.1
No symbol table info available.
#6 0xff1c04fc in _lwp_start () from /lib/libc.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (process 139573 ):
#0 0xff1b952c in mutex_lock_impl () from /lib/libc.so.1
No symbol table info available.
#1 0x00071b84 in dns_acache_cancelentry (entry=0xc0c1f00) at acache.c:1660
acache = (dns_acache_t *) 0x3b0ad0b8
#2 0x000cb760 in acache_cancelentry (mctx=0x246870, entry=0xc0c1f00,
cbargp=0xff06c6ac) at rbtdb.c:6552
No locals.
#3 0x000cbd60 in rdataset_putadditional (acache=0x3969990,
rdataset=0x4, type=dns_rdatasetadditional_fromauth, qtype=255)
at rbtdb.c:6755
rbtdb = (dns_rbtdb_t *) 0x3989190
rbtnode = (dns_rbtnode_t *) 0x1980b9b0
raw = (unsigned char *) 0xff3a2400 ""
---Type <return> to continue, or q <return> to quit---
current_count = 2
header = (rdatasetheader_t *) 0x3fb7018
nodelock = (nodelock_t *) 0x3969990
total_count = 4
count = 2
acarray = (acachectl_t *) 0xff3a2400
entry = (dns_acacheentry_t *) 0xc0c1f00
cbarg = (acache_cbarg_t *) 0x1ac10138
#4 0x001135f4 in dns_rdataset_putadditional (acache=0x32266cb0,
rdataset=0x6ba52b0, type=dns_rdatasetadditional_fromauth, qtype=255)
at rdataset.c:703
No locals.
#5 0x00041aa4 in query_addadditional2 (arg=0x6ba52b0, name=0xff06dc58,
qtype=25) at query.c:1392
rdataset_base = (dns_rdataset_t *) 0x6ba52b0
client = (ns_client_t *) 0x6b922b0
result = 4294967295
node = (dns_dbnode_t *) 0x0
cnode = (dns_dbnode_t *) 0x0
db = (dns_db_t *) 0x0
cdb = (dns_db_t *) 0x0
fname = (dns_name_t *) 0x6bada60
mname0 = (dns_name_t *) 0xff06c820
cfname = {magic = 1145983854, ndata = 0x6ba3954
"\005nsher\bforthnet\002gr", length = 19, labels = 4, attributes = 1,
offsets = 0x0, buffer = 0xff06d490, link = {prev = 0xffffffff, next =
0xffffffff}, list = {head = 0x0, tail = 0x0}}
rdataset = (dns_rdataset_t *) 0x0
sigrdataset = (dns_rdataset_t *) 0x0
crdataset = (dns_rdataset_t *) 0x0
crdataset_next = (dns_rdataset_t *) 0x6ba36d8
dbuf = (isc_buffer_t *) 0x6ba36d8
b = {magic = 1114990113, base = 0x6ba3954, length = 424, used =
19, current = 0, active = 0, link = {prev = 0xffffffff,
next = 0xffffffff}, mctx = 0x0}
version = (dns_dbversion_t *) 0x0
cversion = (dns_dbversion_t *) 0x0
added_something = isc_boolean_false
need_addname = isc_boolean_false
need_sigrrset = 112874160
zone = (dns_zone_t *) 0x0
additionaltype = dns_rdatasetadditional_fromauth
#6 0x000fd27c in dns_rdata_additionaldata (rdata=0xff06dcf8,
add=0x4168c <query_addadditional2>, arg=0xff06dd90)
at rdata/generic/md_3.c:192
result = 112874160
#7 0x00112ffc in dns_rdataset_additionaldata (rdataset=0x6ba52b0,
add=0x4168c <query_addadditional2>, arg=0xff06dd90) at rdataset.c:599
rdata = {data = 0x3fb706d "\005nsher\bforthnet\002gr", length =
19, rdclass = 1, type = 2, flags = 0, link = {
prev = 0xffffffff, next = 0xffffffff}}
result = 0
#8 0x0003f91c in query_addrrset (client=0x6b922b0, namep=0xff06de70,
rdatasetp=0xff06de5c, sigrdatasetp=0x0, dbuf=0x0, section=2)
at query.c:1914
name = (dns_name_t *) 0x6badaf0
mname = (dns_name_t *) 0x6badaf0
rdataset = (dns_rdataset_t *) 0x6ba52b0
mrdataset = (dns_rdataset_t *) 0x0
sigrdataset = (dns_rdataset_t *) 0x0
result = 0
#9 0x00046860 in query_find (client=0x6b922b0, event=0x0, qtype=57088)
at query.c:2183
tdb = (dns_db_t *) 0x0
---Type <return> to continue, or q <return> to quit---
tzone = (dns_zone_t *) 0x0
tversion = (dns_dbversion_t *) 0x0
db = (dns_db_t *) 0x3989190
zdb = (dns_db_t *) 0x0
node = (dns_dbnode_t *) 0x2faf8c8
type = 12
fname = (dns_name_t *) 0x0
zfname = (dns_name_t *) 0x0
tname = (dns_name_t *) 0x8c910d0
rdataset = (dns_rdataset_t *) 0x0
trdataset = (dns_rdataset_t *) 0xff06dee8
sigrdataset = (dns_rdataset_t *) 0x0
zrdataset = (dns_rdataset_t *) 0x0
zsigrdataset = (dns_rdataset_t *) 0x0
sigrdatasetp = (dns_rdataset_t **) 0x6b922b0
rdata = {data = 0x0, length = 0, rdclass = 0, type = 0, flags =
0, link = {prev = 0xffffffff, next = 0xffffffff}}
rdsiter = (dns_rdatasetiter_t *) 0x0
want_restart = isc_boolean_false
authoritative = isc_boolean_true
is_zone = isc_boolean_true
need_wildcardproof = isc_boolean_false
n = 464913080
nlabels = 4
order = 1
dbuf = (isc_buffer_t *) 0xffffea5c
b = {magic = 1114990113, base = 0x6ba3910, length = 492, used =
26, current = 0, active = 0, link = {prev = 0xffffffff,
next = 0xffffffff}, mctx = 0x0}
result = 4278640228
eresult = 0
fixed = {name = {magic = 1114990113, ndata = 0x37c08dec
"\215Δ", length = 512, labels = 12, attributes = 0, offsets = 0x0,
buffer = 0xffffffff, link = {prev = 0x29, next = 0x0}, list = {head
= 0x0, tail = 0x0}},
offsets = "\000\"
(4vυx5α\203ΰ\000\000\000\000\000\000\000\000Buf!5α\203ΰ\000\000\002\000\000\000\0005Buf!7ΐ\215μ\000\000\002\000\000\000\000\f",
'\0' <repeats 11 times>,
"\002¬\024\035(\000\000\000\000\000\000\020\2047ΐ\216\021\000\000\001Ϋ",
'\0' <repeats 16 times>,
"��������\000\000\000\000\000\000\000\0004vυx\000\000\000\000����",
buffer = {magic = 4294967295, base = 0x0, length = 0,
used = 882648392, current = 4096, active = 0, link = {prev = 0x0,
next = 0x0}, mctx = 0x0},
data =
"\bV°\000\000L`\000\000\000\000\000%>P\000\000\215Δ\000\037D\000\000\000\000\000\000\000\000\000�\006ςπ\000\000\000\001",
'\0' <repeats 16 times>,
"7ΐ\215μ\000\000\000)\032Η\016P6Η'δ5α�Θ\000\021Φp7ΐ\215x6Η'ΰ�\006σΠ\000\021e`",
'\0' <repeats 12 times>, "$ίF(\032Η\016H5α�Θ7ΐ\031\"\000\000\017ϊ", '\0'
<repeats 13 times>, "%«\200\000\000\000@", '\0' <repeats 13 times>,
"\037\220\000\000\000\000\001\032Η\016H\033΄¦Θ5α�Θ", '\0' <repeats 12
times>, "�\006σΠ\000\021`\2147Α\211`", '\0' <repeats 12 times>, "7ΐ"...}
wildcardname = {name = {magic = 0, ndata = 0x0, length = 0,
labels = 0, attributes = 0, offsets = 0x0, buffer = 0x0, link = {
prev = 0x1, next = 0x266e50}, list = {head = 0x1000, tail =
0xff06f160}},
offsets =
"\000\000\000\000\000\000\020\0004vυΔ�\006π΄4vυx\000\b\233Μ�\006ρ@\032Η\016HIOmg�\006ρ°\000\035Ώά\000\000\000\000\000\000\002ψ\000\000\000\001\000\000\000\001\000\000\000\b\000\000\000\000�:$\000\000\000\000\004\000\000\000\b\000\000\000\000�\006πΐ\000\000\000\t\000\000\000\000DNSn\000\000\000\000\000\000\000\024\000\000\000\000\000\000\020\000�\006ρ\230\000\000\000\000\000\000\000",
buffer = {
magic = 449252944, base = 0xff06f160, length = 0, used = 16777216,
current = 4280208320, active = 2468736, link = {prev = 0xb,
next = 0xfffffffd}, mctx = 0x1000},
data =
"\000\000\000\000\200\000\000\000�\006ρ°\000\035ΐl�\006ρΠ\000\035\204$",
'\0' <repeats 55 times>,
"\004\032Η\016P\000\000G at 4vυΔ\000\000\000p�\006ρ`\000\000\000\001\v\nmΰ\000\000\000
\000\000\000\000�\006σ@4\234%H\000\000\020\000\001Ή\\ΐ�����\006ς@\000\b¦\004",
'\0' <repeats 28 times>, "5α�Π", '\0' <repeats 15 times>,
"\001\000\000\000\000\000\000\020\204\032Η\016H\033΄¦Θ�\006ς\004\000\000\000)�\006ςπ�\006ςΠ�\006σ@\000\035Η
\032Η\016H\000\000\002ψ5α\203ΰ\000\000\000\0005α\203ΰ\000\000"}
version = (dns_dbversion_t *) 0x1bb602b8
zone = (dns_zone_t *) 0x1e73dd0
cname = {common = {rdclass = 1, rdtype = 5, link = {prev =
0xffffffff, next = 0xffffffff}}, mctx = 0x0, cname = {
magic = 1145983854, ndata = 0x1213f142
"\003rad\003msn\003com\005nsatc\003net", length = 23, labels = 6,
attributes = 1,
---Type <return> to continue, or q <return> to quit---
offsets = 0x0, buffer = 0x0, link = {prev = 0xffffffff, next =
0xffffffff}, list = {head = 0x0, tail = 0x0}}}
dname = {common = {rdclass = 0, rdtype = 0, link = {prev = 0x0,
next = 0x0}}, mctx = 0x0, dname = {magic = 0, ndata = 0x0,
length = 0, labels = 0, attributes = 0, offsets = 0x82 <Address
0x82 out of bounds>, buffer = 0x0, link = {prev = 0x0, next = 0x0},
list = {head = 0x0, tail = 0x2f8}}}
options = 0
empty_wild = isc_boolean_false
noqname = (dns_rdataset_t *) 0xffffe800
resuming = isc_boolean_false
#10 0x0004a278 in ns_query_start (client=0x6b922b0) at query.c:4626
result = 4278640384
message = (dns_message_t *) 0x6b932b0
rdataset = (dns_rdataset_t *) 0x6ba5e70
qclient = (ns_client_t *) 0x6b922b0
qtype = 7036
#11 0x0003551c in client_request (task=0x241c00, event=0xff06fe00) at
client.c:1750
namebuf = "\002\n0`\t\210~ΰ7Α\227 7ΐα(\000
T8\000\000\000\001\000#NΠ\000\fδ\000 T8", '\0' <repeats 17 times>,
"\037\003\210�\006ϊd\000\000\000\000\000\000\000\000\000\036ό\000�\006ϊt\002\026\004(;«\222Έ\000
‘³\006R\217ΰ\000\000\002@����\000
@\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\030\000\000\000\000\000\000
H\000\000\000\000\002άΗ¬9�\006ϊ \000\021�4\000#NπΡΘν\004\000#Nπ", '\0'
<repeats 12 times>, ";U\227H\000\000\000\000\000\000\000\000\000
O\000�\006ϊ\200", '\0' <repeats 16 times>, ";«\221ψ\000_%\020\nΛ±"...
tsigrcode =
"�\006ύΠ\000\000\000\001\000άΖx\000\000\000\000\000\000\000\0007\221\035\030\006ΑBΠ\000\000\020\000\000\000\000\0007\217�Δ\000#NΠ",
'\0' <repeats 13 times>, "#Nπ\000\000\000"
b = {magic = 56, base = 0x21cc00, length = 2213888, used =
2364416, current = 2380800, active = 0, link = {prev = 0x246870,
next = 0x4ef4e80}, mctx = 0x444e536e}
name = (dns_name_t *) 0x37c19720
status = 65024
client = (ns_client_t *) 0x6b922b0
result = 2313216
sigresult = 0
buffer = (isc_buffer_t *) 0xe16c18
tbuffer = {magic = 1114990113, base = 0x6c142d0, length = 42,
used = 42, current = 42, active = 42, link = {prev = 0xffffffff,
next = 0xffffffff}, mctx = 0x0}
view = (dns_view_t *) 0xe16c18
opt = (dns_rdataset_t *) 0x6b922b0
ra = isc_boolean_false
netaddr = {family = 2, type = {in = {S_un = {S_un_b = {s_b1 =
208 'Π', s_b2 = 69 'E', s_b3 = 34 '"', s_b4 = 6 '\006'},
S_un_w = {s_w1 = 53317, s_w2 = 8710}, S_addr = 3494191622}},
in6 = {_S6_un = {
_S6_u8 = "ΠE\"\006\000\000\000\000\000\037,ψ�\006ώψ", _S6_u32 =
{3494191622, 0, 2043128, 4278648568},
__S6_align = 3494191622}},
un =
"ΠE\"\006\000\000\000\000\000\037,ψ�\006ώψ,\fςp�\006�\000,\004G°\000\000\000\024\000\000\000\000����\002\n\020°\000\000\000\000\000%Άθ�\006�\020\000\000\000\000\000\000\000\000\006dvΰ\000$\034\000\000\000\000\000\001\000\000\000\000\000\020\204\006Ή\"°\006Ή\"°�\036Λΐ�:$\000\006dvθ\000\000\000"},
zone = 0}
destaddr = {family = 2, type = {in = {S_un = {S_un_b = {s_b1 =
193 'Α', s_b2 = 92 '\\', s_b3 = 150 '\226', s_b4 = 3 '\003'},
S_un_w = {s_w1 = 49500, s_w2 = 38403}, S_addr = 3244070403}},
in6 = {_S6_un = {_S6_u8 = "Α\\\226\003\000\000\003Ϊ\006dvΨDisp",
_S6_u32 = {3244070403, 986, 107247320, 1147761520}, __S6_align
= 3244070403}},
un =
"Α\\\226\003\000\000\003Ϊ\006dvΨDispIέ‘\017\000\000\000Α\000\000\000\004",
'\0' <repeats 13 times>,
"\f\000\000\000$\034\000\000\001\000?\000\000\000\000\000\000\000\001\000α]X\006Ήc \006dvΨ\000\000\000\000\006dvΨ\000\000\000\000�\006ώ°\000\003\033X\000\000\000\000DNSI\000#NΠ\000\b*P"},
zone = 0}
match = 0
id = 38046
flags = 0
notimp = 2366464
#12 0x001cbca8 in run (uap=0x256b80) at task.c:867
No locals.
#13 0xff1c04fc in _lwp_start () from /lib/libc.so.1
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#14 0xff1c04fc in _lwp_start () from /lib/libc.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
More information about the bind-users
mailing list