bind-9.9.0 crashed while rndc reload
Drunkard Zhang
gongfan193 at gmail.com
Thu Mar 22 05:53:39 UTC 2012
Last day I tried new bind, and the crash when reloading comes.
The reload command: 'rndc -c etc/rndc.conf reload' or 'killall -HUP
named', the used rndc.conf was generated by 'rndc-confgen -r
/dev/urandom -t /chroot/'. And messages below comes from offline
debug.
[snipped]
21-Mar-2012 16:46:12.568 using default UDP/IPv4 port range: [1024, 65535]
21-Mar-2012 16:46:12.568 using default UDP/IPv6 port range: [1024, 65535]
21-Mar-2012 16:46:12.570 sizing zone task pool based on 947 zones
21-Mar-2012 16:46:12.612 ignoring config file logging statement due to -g option
21-Mar-2012 16:46:12.617 reloading configuration succeeded
21-Mar-2012 16:46:12.618 transfer of 'image.soso.com/IN/gwbn-user'
from 211.161.192.1#53: connected using 211.161.192.157#41889
21-Mar-2012 16:46:12.618 server.c:5305: REQUIRE((&zl->refs)->refs == 0) failed
21-Mar-2012 16:46:12.618 exiting (due to assertion failure)
Aborted (core dumped)
And this is a simple debug.
gdb /usr/sbin/named
(gdb) r -u named -c etc/named.conf -t /tmp/dt/chroot/ -g
Run ‘killall -HUP named’ in anaother terminal to reload config.
(gdb) continue
[snipped]
21-Mar-2012 16:51:03.958 using default UDP/IPv4 port range: [1024, 65535]
21-Mar-2012 16:51:03.958 using default UDP/IPv6 port range: [1024, 65535]
21-Mar-2012 16:51:03.960 sizing zone task pool based on 947 zones
21-Mar-2012 16:51:04.001 ignoring config file logging statement due to -g option
21-Mar-2012 16:51:04.006 reloading configuration succeeded
21-Mar-2012 16:51:04.007 server.c:5305: REQUIRE((&zl->refs)->refs == 0) failed
21-Mar-2012 16:51:04.007 exiting (due to assertion failure)
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff5546700 (LWP 19900)]
0x0000003b14636995 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003b14636995 in raise () from /lib64/libc.so.6
#1 0x0000003b14638645 in abort () from /lib64/libc.so.6
#2 0x00000000004308c8 in ?? ()
#3 0x00007ffff719d9aa in isc_assertion_failed () from /usr/lib64/libisc.so.90
#4 0x000000000044178c in ?? ()
#5 0x00000000004426b2 in ?? ()
#6 0x0000000000446b78 in ?? ()
#7 0x00007ffff71bbf90 in ?? () from /usr/lib64/libisc.so.90
#8 0x0000003b14e0803c in start_thread () from /lib64/libpthread.so.0
#9 0x0000003b146e9dcd in clone () from /lib64/libc.so.6
(gdb) q
A debugging session is active.
Inferior 1 [process 19895] will be killed.
Quit anyway? (y or n) y
Should I debug with debug symbol enabled?
And I'm also trying to find out which part in my configuration caused the crash.
Glad to hear from you :-)
More information about the bind-users
mailing list