rwlock with reader and writer both waiting
Job #1982153 failed for 49553914:
Thread 3 (Thread 0x7f9a7f7ff700 (LWP 22482)):
#0 0x00007f9a82273a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00007f9a8507e2c4 in isc__rwlock_lock (type=isc_rwlocktype_read, rwl=0x7f9a6ca50d48) at rwlock.c:327
No locals.
#2 isc_rwlock_lock (rwl=0x7f9a6ca50d48, type=type@entry=isc_rwlocktype_read) at rwlock.c:435
cnt = 101
spins = 8
max_cnt = 100
#3 0x00007f9a84ce2ab0 in zone_find (db=0x7f9a6ca50c00, name=0x7f9a7f7fa068, version=0x7f9a6ca5cb00, type=1, options=0, now=<optimized out>, nodep=0x0, foundname=0x7f9a7f7f8f30, rdataset=0x0, sigrdataset=0x0) at rbtdb.c:4043
node = 0x0
result = <optimized out>
search = {rbtdb = 0x7f9a6ca50c00, rbtversion = 0x7f9a6ca5cb00, serial = 2, options = 0, chain = {magic = 808267821, end = 0x0, levels = {0x0 <repeats 254 times>}, level_count = 0, level_matches = 0}, copy_name = false, need_cleanup = false, wild = false, zonecut = 0x0, zonecut_rdataset = 0x0, zonecut_sigrdataset = 0x7f9a84e01418, zonecut_name = {name = {magic = 1145983854, ndata = 0x0, length = 0, labels = 0, attributes = 0, offsets = 0x7f9a7f7f8c70 " validity", buffer = 0x7f9a7f7f8cf0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}}, offsets = " validity", '\000' <repeats 16 times>, "\f\245l\232\177\000\000\370\220\177\177\232\177\000\000\000\f\245l\232\177\000\000\370\220\177\177\232\177\000\000\000\000\000\000\000\000\000\000\340\220\177\177\232\177\000\000>\315\315\204\232\177", '\000' <repeats 35 times>, "\215\177\177\232\177\000\000\032\300\307\204\232\177\000", buffer = {magic = 1114990113, base = 0x7f9a7f7f8d30, length = 255, used = 0, current = 0, active = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 0x0, autore = false}, data = "\000\000\000\000\000\000\000\000\200\220\177\177\232\177\000\000\270\233\177\177\232\177\000\000\300\215\177\177\232\177", '\000' <repeats 18 times>, "\005", '\000' <repeats 15 times>, "\320\216\177\177\232\177\000\000\314\\\313\204\232\177\000\000\300\355\263l\232\177\000\000", '\377' <repeats 12 times>, "\001\000\000\000\354\216\177\177\232\177\000\000\000\t", '\000' <repeats 22 times>, "p\216\177\177\232\177", '\000' <repeats 99 times>...}, now = 0}
cname_ok = true
close_version = true
maybe_zonecut = false
at_zonecut = false
wild = false
empty_node = <optimized out>
header = <optimized out>
header_next = <optimized out>
found = <optimized out>
nsecheader = <optimized out>
foundsig = <optimized out>
cnamesig = <optimized out>
nsecsig = <optimized out>
sigtype = <optimized out>
active = <optimized out>
lock = <optimized out>
tree = 0xd70
#4 0x00007f9a84c600cc in dns_db_find (db=db@entry=0x7f9a6ca50c00, name=name@entry=0x7f9a7f7fa068, version=version@entry=0x0, type=type@entry=1, options=options@entry=0, now=now@entry=0, nodep=nodep@entry=0x0, foundname=foundname@entry=0x7f9a7f7f8f30, rdataset=rdataset@entry=0x0, sigrdataset=sigrdataset@entry=0x0) at db.c:500
No locals.
#5 0x00007f9a84d8fda2 in zone_check_mx (zone=zone@entry=0x7f9a6ca1ba00, db=db@entry=0x7f9a6ca50c00, name=name@entry=0x7f9a7f7fa068, owner=owner@entry=0x7f9a7f7fa140) at zone.c:2826
result = <optimized out>
ownerbuf = '\000' <repeats 352 times>...
namebuf = '\000' <repeats 496 times>...
altbuf = '\000' <repeats 16 times>, "!fuB\232\177\000\000\220\221\177\177\232\177\000\000\377", '\000' <repeats 15 times>, '\377' <repeats 16 times>, "\000\000\000\000\000\000\000\000\000\233\177\177\232\177\000\000\000\313\245l\232\177\000\000\000\f\245l\232\177\000\000nSND\000\000\000\000\260\222\177\177\232\177\000\000\016\000\000\000\003\000\000\000\001\000\000\000\000\000\000\000\360\221\177\177\232\177\000\000p\222\177\177\232\177\000\000", '\377' <repeats 16 times>, '\000' <repeats 17 times>, "\004\r", '\000' <repeats 29 times>...
fixed = {name = {magic = 1145983854, ndata = 0x0, length = 0, labels = 0, attributes = 0, offsets = 0x7f9a7f7f8f80 '\377' <repeats 16 times>, buffer = 0x7f9a7f7f9000, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}}, offsets = '\377' <repeats 16 times>, '\000' <repeats 17 times>, "\221\177\177\232\177\000\000\314\\\313\204\232\177\000\000 \234\177\177\232\177\000\000", '\377' <repeats 12 times>, "\001\000\000\000\034\221\177\177\232\177\000\000\000\t\177\177\232\177\000\000\256\240\320\204\232\177\000\000nSND\232\177\000\000\032?/l\232\177\000\000\016\000\000\000\003\000\000\000\001\000\000\000\232\177\000", buffer = {magic = 1114990113, base = 0x7f9a7f7f9040, length = 255, used = 0, current = 0, active = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 0x0, autore = false}, data = "\000\000\000\000\000\000\000\000\260\233\177\177\232\177\000\000\000\004\r\000\000\000\000\000 \234\177\177\232\177\000\000\000\000\000\000\232\177\000\000p\204\066l\232\177\000\000 \221\177\177\232\177\000\000\000\f\245l\232\177\000\000nSND", '\000' <repeats 28 times>, "\320\220\177\177\232\177\000\000P\221\177\177\232\177\000\000", '\377' <repeats 16 times>, '\000' <repeats 16 times>, "\224\263\177\177\232\177\000\000P\234\177\177\232\177\000\000\000\221\177\177\232\177\000\000\233\316\315\204\232\177\000\000P\234\177\177\232\177\000\000\000\000\000\000\000\000\000\000 \221\177\177\232\177\000\000"...}
foundname = 0x7f9a7f7f8f30
level = -4
#6 0x00007f9a84db5aaf in integrity_checks (db=0x7f9a6ca50c00, zone=0x7f9a6ca1ba00) at zone.c:3385
mx = {common = {rdclass = 1, rdtype = 15, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}}, mctx = 0x0, pref = 10, mx = {magic = 1145983854, ndata = 0x7f9a6c2f3c1c "\004mail\bmanykeys", length = 15, labels = 3, attributes = 1, offsets = 0x0, buffer = 0x0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}}}
srv = {common = {rdclass = 41328, rdtype = 32639, link = {prev = 0x7f9a84cd8a6e <add32+3723>, next = 0x7f9a7f7fa6f0}}, mctx = 0x7f9a6c8be51a, priority = 41328, weight = 32639, port = 32666, target = {magic = 0, ndata = 0x7f9a6c85d840 '\336' <repeats 200 times>..., length = 0, labels = 0, attributes = 1821107340, offsets = 0x7f000101017a <Address 0x7f000101017a out of bounds>, buffer = 0x100000009, link = {prev = 0x800000001, next = 0x7f9a6c368550}, list = {head = 0x7f9a6ca5c080, tail = 0x7f9a6c328a60}}}
result = <optimized out>
node = 0x7f9a6c368550
bottom = 0x7f9a7f7fa350
ok = true
fixed = {name = {magic = 1145983854, ndata = 0x7f9a7f7fa250 "\001a\bmanykeys", length = 12, labels = 3, attributes = 1, offsets = 0x7f9a7f7fa190 "", buffer = 0x7f9a7f7fa210, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}}, offsets = "\000\002\v\000\232\177\000\000g\265\360\201\232\177\000\000\200\344\213l\232\177\000\000\236\000\000\000\232\177\000\000\016\260\231l\232\177\000\000P\205\066l\232\177\000\000\000\260\231l\232\177\000\000\000\336\205l\232\177\000\000\360\246\177\177\232\177\000\000\000\017\245l\232\177\000\000`\264\177\177\232\177\000\000\340\262\177\177\232\177\000\000\220\247\177\177\232\177\000\000k\031\311\204\232\177\000\000\000\000\000\000\000\000\000\000`\264\177\177\232\177\000", buffer = {magic = 1114990113, base = 0x7f9a7f7fa250, length = 255, used = 12, current = 0, active = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 0x0, autore = false}, data = "\001a\bmanykeys\000", '\377' <repeats 12 times>, "\000\000\000\000\000\000\000\000\001\000\016\002,\001\000\000n\364Ba]\346Ba\333\331\000\000\000\000\000\000nSND\000\000\000\000\216\361\066l\232\177\000\000\n\000\000\000\002\000\000\000\001\000\000\000#\001\000\000(\247\177\177\232\177\000\000\b\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\247\177\177\232\177\000\000\210\221\006\205\232\177\000\000\000\000\000\000\000\000\000\000`\000\202\177\232\177\000\000\230\361\066l\232\177\000\000\001\000\000\000\000\000\000\000\220\243\177\177\232\177\000\000\200|\202\177\232\177\000\000\001\000\000\000\000\000\000\000\376\377\377\377\000\000\000\000@\243\177\177\232\177\000\000"...}
ns = {common = {rdclass = 58544, rdtype = 27787, link = {prev = 0x7f9a7f7f9f10, next = 0x7f9a7f7f9f50}}, mctx = 0x7f9a84d0060e <dns_rdata_compare+2390>, name = {magic = 1815539716, ndata = 0x7f9a0000011c <Address 0x7f9a0000011c out of bounds>, length = 1815540000, labels = 32666, attributes = 92, offsets = 0x0, buffer = 0x2, link = {prev = 0x7f9a42756621, next = 0x7f9a7f7f9f80}, list = {head = 0xff, tail = 0x0}}}
rdata = {data = 0x7f9a6c2f3c1a "", length = 17, rdclass = 1, type = 15, flags = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}}
name = 0x7f9a7f7fa140
have_txt = <optimized out>
dbiterator = 0x7f9a6c36d000
rdataset = {magic = 1145983826, methods = 0x7f9a8502e580 <rdataset_methods>, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, rdclass = 1, type = 15, ttl = 300, trust = 9, covers = 0, attributes = 0, count = 125, resign = 0, private1 = 0x7f9a6ca50c00, private2 = 0x7f9a6c368550, private3 = 0x7f9a6c2f3c10, privateuint4 = 0, private5 = 0x7f9a6c2f3c16, private6 = 0x0, private7 = 0x0}
fixedbottom = {name = {magic = 1145983854, ndata = 0x0, length = 0, labels = 0, attributes = 0, offsets = 0x7f9a7f7fa3a0 "\020", buffer = 0x7f9a7f7fa420, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}}, offsets = "\020\000\000\000\232\177\000\000\270\243\177\177\333\331\000\000`\262\000\000#\001\000\000\001\000\000\000\000\000\000\000\340\244\177\177\232\177\000\000\001\000\000\000:\000\000\000+\000\000\000#\000\000\000\026\000\000\000\000\000\000\000\020\244\177\177\232\177\000\000\200|\202\177\232\177\000\000`\262\177\177\232\177\000\000\000\000\000\000\000\000\000\000 \324\205l\232\177\000\000\026\000\000\000\000\000\000\000\060\245\177\177\232\177\000\000\066\065\322\204\232\177\000", buffer = {magic = 1114990113, base = 0x7f9a7f7fa460, length = 255, used = 0, current = 0, active = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 0x0, autore = false}, data = "\260\232\240l\232\177\000\000\200|\202\177\232\177\000\000\060\245\177\177\232\177\000\000\250\366\006\205\232\177\000\000\270\232\240l\232\177\000\000\330\244\177\177\232\177\000\000\340\244\177\177\232\177", '\000' <repeats 27 times>, "\260\231l\232\177\000\000\000 \000\000\000\000\000\000\000\000\000\000#\001\000\000\060\247\177\177\232\177\000\000\377\377\377\377\004\000\000\000\003\000\000\000/\000\000\002\001\000\000\000\232\177\000\000\000\260\231l\232\177\000\000\t\000\000\000\000\000\000\000\337\211\305\204\232\177\000\000\060\245\177\177\232\177\000\000\000\000\000\000\000\000\000\000\200|\202\177\232\177\000\000=\000\000\000\000\000\000\000\240\251\207l\232\177\000\000"...}
have_spf = <optimized out>
#7 zone_postload (zone=zone@entry=0x7f9a6ca1ba00, db=0x7f9a6ca50c00, loadtime=..., result=<optimized out>, result@entry=0) at zone.c:5026
soacount = 1
nscount = 1
errors = 0
serial = 5
oldserial = 32666
refresh = 20
retry = 20
expire = 1814400
minimum = 3600
soattl = 300
now = {seconds = 1631777918, nanoseconds = 192228013}
needdump = true
fixjournal = false
hasinclude = false
nomaster = <optimized out>
had_db = false
inc = <optimized out>
is_dynamic = <optimized out>
#8 0x00007f9a84db85f1 in zone_load (zone=0x7f9a6ca1ba00, flags=0, locked=locked@entry=true) at zone.c:2347
result = 0
now = {seconds = 1631777918, nanoseconds = 192228013}
loadtime = {seconds = 1631777901, nanoseconds = 856299706}
db = 0x7f9a6ca50c00
rbt = <optimized out>
is_dynamic = <optimized out>
#9 0x00007f9a84db87f3 in zone_asyncload (task=0x7f9a753755c0, event=0x0) at zone.c:2380
asl = 0x7f9a6c87aa20
zone = 0x7f9a6ca1ba00
result = <optimized out>
#10 0x00007f9a8508c9ad in task_run (task=0x7f9a753755c0) at task.c:827
dispatch_count = 0
finished = false
event = 0x7f9a6c368160
result = 0
#11 isc_task_run (task=0x7f9a753755c0) at task.c:907
No locals.
#12 0x00007f9a8504def0 in isc__nm_async_task (worker=worker@entry=0x7f9a7f829000, ev0=ev0@entry=0x7f9a6c240f00) at netmgr/netmgr.c:827
ievent = 0x7f9a6c240f00
result = <optimized out>
#13 0x00007f9a85053a51 in process_netievent (worker=worker@entry=0x7f9a7f829000, ievent=0x7f9a6c240f00) at netmgr/netmgr.c:906
No locals.
#14 0x00007f9a850542d5 in process_queue (worker=worker@entry=0x7f9a7f829000, type=type@entry=NETIEVENT_TASK) at netmgr/netmgr.c:998
stop = <optimized out>
waiting = 0
ievent = <optimized out>
#15 0x00007f9a850549d7 in process_all_queues (worker=0x7f9a7f829000) at netmgr/netmgr.c:746
result = <optimized out>
type = 2
reschedule = false
#16 async_cb (handle=0x7f9a7f829360) at netmgr/netmgr.c:775
worker = 0x7f9a7f829000
#17 0x00007f9a8304ba33 in uv__async_io () from /lib64/libuv.so.1
No symbol table info available.
#18 0x00007f9a8305ccb3 in uv__io_poll () from /lib64/libuv.so.1
No symbol table info available.
#19 0x00007f9a8304c260 in uv_run () from /lib64/libuv.so.1
No symbol table info available.
#20 0x00007f9a850543ac in nm_thread (worker0=0x7f9a7f829000) at netmgr/netmgr.c:681
r = <optimized out>
worker = 0x7f9a7f829000
mgr = 0x7f9a7f823180
#21 0x00007f9a85093076 in isc__trampoline_run (arg=0x1ea5ad0) at trampoline.c:185
trampoline = 0x1ea5ad0
result = <optimized out>
#22 0x00007f9a8226fea5 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#23 0x00007f9a81f989fd in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 9 (Thread 0x7f9a7d7ff700 (LWP 22484)):
#0 0x00007f9a82273a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00007f9a8507e4c6 in isc__rwlock_lock (type=isc_rwlocktype_write, rwl=0x7f9a6ca50d48) at rwlock.c:409
prev_writer = <optimized out>
#2 isc_rwlock_lock (rwl=rwl@entry=0x7f9a6ca50d48, type=type@entry=isc_rwlocktype_write) at rwlock.c:435
cnt = 101
spins = 8
max_cnt = 100
#3 0x00007f9a84ce06b8 in cleanup_dead_nodes_callback (task=0x7f9a75374fc0, event=0x7f9a6c368630) at rbtdb.c:2461
rbtdb = 0x7f9a6ca50c00
again = false
locknum = <optimized out>
#4 0x00007f9a8508c9ad in task_run (task=0x7f9a75374fc0) at task.c:827
dispatch_count = 0
finished = false
event = 0x7f9a6c368630
result = 0
#5 isc_task_run (task=0x7f9a75374fc0) at task.c:907
No locals.
#6 0x00007f9a8504def0 in isc__nm_async_task (worker=worker@entry=0x7f9a7f829960, ev0=ev0@entry=0x7f9a7f827c80) at netmgr/netmgr.c:827
ievent = 0x7f9a7f827c80
result = <optimized out>
#7 0x00007f9a85053a51 in process_netievent (worker=worker@entry=0x7f9a7f829960, ievent=0x7f9a7f827c80) at netmgr/netmgr.c:906
No locals.
#8 0x00007f9a850542d5 in process_queue (worker=worker@entry=0x7f9a7f829960, type=type@entry=NETIEVENT_TASK) at netmgr/netmgr.c:998
stop = <optimized out>
waiting = 1
ievent = <optimized out>
#9 0x00007f9a850549d7 in process_all_queues (worker=0x7f9a7f829960) at netmgr/netmgr.c:746
result = <optimized out>
type = 2
reschedule = false
#10 async_cb (handle=0x7f9a7f829cc0) at netmgr/netmgr.c:775
worker = 0x7f9a7f829960
#11 0x00007f9a8304ba33 in uv__async_io () from /lib64/libuv.so.1
No symbol table info available.
#12 0x00007f9a8305ccb3 in uv__io_poll () from /lib64/libuv.so.1
No symbol table info available.
#13 0x00007f9a8304c260 in uv_run () from /lib64/libuv.so.1
No symbol table info available.
#14 0x00007f9a850543ac in nm_thread (worker0=0x7f9a7f829960) at netmgr/netmgr.c:681
r = <optimized out>
worker = 0x7f9a7f829960
mgr = 0x7f9a7f823180
#15 0x00007f9a85093076 in isc__trampoline_run (arg=0x1ea2050) at trampoline.c:185
trampoline = 0x1ea2050
result = <optimized out>
#16 0x00007f9a8226fea5 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#17 0x00007f9a81f989fd in clone () from /lib64/libc.so.6
No symbol table info available.