I have looked at the other BIND 9.5.0 crash dump, and the cause
appears to be different than the one I posted yesterday. This one
happened, as did the other one, after renaming the current query log
and running "reconfig":

mv /var/log/named.query.log ...
returncode=$?
/export/home/named/rndc reconfig

Jul 6 15:59:00 titania named[28558]: [ID 873579 daemon.info]
reloading configuration succeeded
Jul 6 15:59:00 titania named[28558]: [ID 873579 daemon.info]
any newly configured zones are now loaded

For some unknown reason, our monitor script was not running, so BIND
was not restarted until later in the evening, when we noticed that
BIND was not running. Here is some gdb output from the core file;
note that there are some long lines and lines that contain non-ASCII
characters.

titania# ls -al core
-rw------- 1 root other 192595084 Jul 6 15:59 core
titania# /usr/afsws/local/bin/gdb bind/sbin/named core
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
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 "sparc-sun-solaris2.9"...

warning: Can't read pathname for load map: I/O error.
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1

warning: Can't read pathname for load map: I/O error.

warning: Can't read pathname for load map: I/O error.
Core was generated by `/export/home/named.titania/bind/sbin/named -c /export/home/named.titania/named.'.
Program terminated with signal 10, Bus error.
#0 0x0007cbc0 in dns_dispatch_getudp (mgr=0xdededede, sockmgr=0xdededede,
taskmgr=0xdededede, localaddr=0xff10fdb0, buffersize=4096,
maxbuffers=1000, maxrequests=32768, buckets=16411, increment=16433,
attributes=276, mask=30, dispp=0xff10fda8) at dispatch.c:1710
1710 REQUIRE(VALID_DISPATCHMGR(mgr));
(gdb) where
#0 0x0007cbc0 in dns_dispatch_getudp (mgr=0xdededede, sockmgr=0xdededede,
taskmgr=0xdededede, localaddr=0xff10fdb0, buffersize=4096,
maxbuffers=1000, maxrequests=32768, buckets=16411, increment=16433,
attributes=276, mask=30, dispp=0xff10fda8) at dispatch.c:1710
#1 0x00104378 in disppooltimer_update (task=0xc533c8, event=0x0)
at resolver.c:7531
#2 0x0016ec84 in dispatch (manager=0x1eacb8) at task.c:862
#3 0x0016ee30 in run (uap=0x1eacb8) at task.c:1005
#4 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
#5 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) thread apply all bt full

Thread 5 (process 94094 ):
#0 0xff21cadc in _libc_sigtimedwait () from /usr/lib/libc.so.1
No symbol table info available.
#1 0xff34e49c in sigwait () from /usr/lib/libthread.so.1
No symbol table info available.
#2 0xff2177c0 in __posix_sigwait () from /usr/lib/libc.so.1
No symbol table info available.
#3 0x00171d50 in isc_app_run () at app.c:503
result = -4195544
event = (isc_event_t *) 0x0
next_event = (isc_event_t *) 0xffbffb28
task = (isc_task_t *) 0x0
sset = {__sigbits = {16387, 0, 0, 0}}
strbuf = "\000\000\b<\000\000\b<\000\000\b<\000\000\000\000qqqqqqqq\000\000\000\000\0 35e\000\000\003Q\000\035\214\000\000\030S\0 00\037\034\000\035\214\000\000\030`\000\000\035\2 16", '\0' , "\035\214\000\000\035\217\030\000\000\000\000\000\0 00\000\005\000\000\000n\000\000\000lH\000\003V8 \000\000\000\000\000\035p\000\000\000\000\024`"
sig = 1936384
#4 0x0003564c in main (argc=1593344, argv=0x185000) at main.c:879
result = 0

Thread 4 (process 356238 ):
---Type to continue, or q to quit---
#0 0xff21d318 in _private_close () from /usr/lib/libc.so.1
No symbol table info available.
#1 0xff34d8c8 in close () from /usr/lib/libthread.so.1
No symbol table info available.
#2 0x00178bb8 in wakeup_socket (manager=0x226cc0, fd=56, msg=-5)
at socket.c:349
sock = (isc_socket_t *) 0xf0333333
#3 0x0017cf8c in watcher (uap=0x226cc0) at socket.c:2585
done = isc_boolean_false
ctlfd = -5
cc = 1825792
readfds = {fds_bits = {32, 0 }}
writefds = {fds_bits = {0 }}
msg = -5
fd = 56
maxfd = 114
strbuf = '\0'
#4 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
#5 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (process 290702 ):
---Type to continue, or q to quit---
#0 0xff3554b4 in __lwp_park () from /usr/lib/libthread.so.1
No symbol table info available.
#1 0xff3526c0 in cond_wait_queue () from /usr/lib/libthread.so.1
No symbol table info available.
#2 0xff352c38 in cond_wait_common () from /usr/lib/libthread.so.1
No symbol table info available.
#3 0xff3530c8 in _ti_cond_timedwait () from /usr/lib/libthread.so.1
No symbol table info available.
#4 0xff3530fc in cond_timedwait () from /usr/lib/libthread.so.1
No symbol table info available.
#5 0xff35313c in pthread_cond_timedwait () from /usr/lib/libthread.so.1
No symbol table info available.
#6 0x00181cfc in isc_condition_waituntil (c=0x1eccf0, m=0x1eccc0, t=0x1ecce8)
at condition.c:59
presult = 77
result = 2018544
ts = {tv_sec = 1215377943, tv_nsec = 883221000}
strbuf = "\001f\232\000\000\000\000Hq5\230$C\f5.\000 \000\000\000\000\000\000\000\001Bx\000\000\000\00 1\000eGX\000\001\000\000\000\000\000\000\000\000\0 00\001\000\033\000\000\035\000\000\036̸\f\210 \000\033`\000\033\000\000\000\000\000\000\000\0 00\f(\000\027\016\210\000\036", '\0' , "\f(\000\027\0170\000\000\000\000\000\000\000"
#7 0x00170eb0 in run (uap=0x1eccb8) at timer.c:719
now = {seconds = 1215377940, nanoseconds = 616449000}
---Type to continue, or q to quit---
result = 77
#8 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
#9 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (process 225166 ):
#0 0xff3554b4 in __lwp_park () from /usr/lib/libthread.so.1
No symbol table info available.
#1 0xff351190 in mutex_lock_queue () from /usr/lib/libthread.so.1
No symbol table info available.
#2 0xff351b90 in slow_lock () from /usr/lib/libthread.so.1
No symbol table info available.
#3 0x00179e64 in destroy (sockp=0xff0efe34) at socket.c:1238
sock = (isc_socket_t *) 0x24f35e0
manager = (isc_socketmgr_t *) 0x226cc0
#4 0x0017b128 in isc_socket_detach (socketp=0x7afc9c) at socket.c:1809
sock = (isc_socket_t *) 0x24f35e0
kill_socket = isc_boolean_true
#5 0x00079fa0 in destroy_disp (task=0xc56130, event=0x192b660)
at dispatch.c:414
disp = (dns_dispatch_t *) 0x7afc90
mgr = (dns_dispatchmgr_t *) 0x202cb8
---Type to continue, or q to quit---
killmgr = 8060048
#6 0x0016ec84 in dispatch (manager=0x1eacb8) at task.c:862
dispatch_count = 0
done = isc_boolean_false
requeue = isc_boolean_false
finished = isc_boolean_false
#7 0x0016ee30 in run (uap=0x1eacb8) at task.c:1005
No locals.
#8 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
#9 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (process 159630 ):
#0 0x0007cbc0 in dns_dispatch_getudp (mgr=0xdededede, sockmgr=0xdededede,
taskmgr=0xdededede, localaddr=0xff10fdb0, buffersize=4096,
maxbuffers=1000, maxrequests=32768, buckets=16411, increment=16433,
attributes=276, mask=30, dispp=0xff10fda8) at dispatch.c:1710
maxrequests = 32768
buckets = 16411
increment = 16433
attributes = 276
dispp = (dns_dispatch_t **) 0xff10fda8
---Type to continue, or q to quit---
result = 16433
disp = (dns_dispatch_t *) 0x0
#1 0x00104378 in disppooltimer_update (task=0xc533c8, event=0x0)
at resolver.c:7531
res = (dns_resolver_t *) 0x7aaae0
addr4 = {type = {sa = {sa_family = 2,
sa_data = '\0' }, sin = {sin_family = 2, sin_port = 0,
sin_addr = {S_un = {S_un_b = {s_b1 = 0 '\0', s_b2 = 0 '\0',
s_b3 = 0 '\0', s_b4 = 0 '\0'}, S_un_w = {s_w1 = 0, s_w2 = 0},
S_addr = 0}}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {
sin6_family = 2, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {
_S6_un = {_S6_u8 = '\0' , _S6_u32 = {0, 0, 0, 0},
__S6_align = 0}}, sin6_scope_id = 0, __sin6_src_id = 0}, sunix = {
sun_family = 2, sun_path = '\0' }}, length = 16,
link = {prev = 0xffffffff, next = 0xffffffff}}
addr6 = {type = {sa = {sa_family = 26,
sa_data = '\0' }, sin = {sin_family = 26,
sin_port = 0, sin_addr = {S_un = {S_un_b = {s_b1 = 0 '\0',
s_b2 = 0 '\0', s_b3 = 0 '\0', s_b4 = 0 '\0'}, S_un_w = {s_w1 = 0,
s_w2 = 0}, S_addr = 0}},
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 26,
sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {_S6_un = {
_S6_u8 = '\0' , _S6_u32 = {0, 0, 0, 0},
__S6_align = 0}}, sin6_scope_id = 0, __sin6_src_id = 0}, sunix = {
---Type to continue, or q to quit---
sun_family = 26, sun_path = '\0' }}, length = 32,
link = {prev = 0xffffffff, next = 0xffffffff}}
disp4 = (dns_dispatch_t *) 0x5ee0330
disp6 = (dns_dispatch_t *) 0x0
result = 32768
nxt = 7
attrs = 32768
attrmask = 30
#2 0x0016ec84 in dispatch (manager=0x1eacb8) at task.c:862
dispatch_count = 0
done = isc_boolean_false
requeue = isc_boolean_false
finished = isc_boolean_false
#3 0x0016ee30 in run (uap=0x1eacb8) at task.c:1005
No locals.
#4 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
#5 0xff355378 in _lwp_start () from /usr/lib/libthread.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) quit
titania#