rndc make a core file

Liu Mingxing lmxhappy at gmail.com
Mon Aug 26 14:17:02 UTC 2013

Dear all,
I used rndc to watch the stats of named in the auth server with a default port while control port was set to 9053 before a core dump file was created. Was it a bug?
The command :rndc -s localhost stats

core file is like this

Core was generated by `/xxx/xxxx/named -u named -t xxxxxx -c /etc/xxxxxx.conf'.
Program terminated with signal 11, Segmentation fault.
[New process 13705]
[New process 13714]
[New process 13713]
[New process 13712]
[New process 13711]
[New process 13710]
[New process 13709]
[New process 13708]
[New process 13707]
[New process 13706]
[New process 13704]
#0  set_offsets (name=0x419f9720, offsets=0x9f9770 <Address 0x9f9770 out of bounds>, set_name=0x0) at name.c:1793

warning: Source file is more recent than executable.
1793                    offsets[nlabels++] = offset;
(gdb) bt
#0  set_offsets (name=0x419f9720, offsets=0x9f9770 <Address 0x9f9770 out of bounds>, set_name=0x0) at name.c:1793
#1  0x00000000004a95ff in dns_name_concatenate (prefix=0x419f9720, suffix=<value optimized out>, name=0x419f9720, target=0x419f97f0) at name.c:2179
#2  0x00000000004b5bf2 in dns_rbtnodechain_current (chain=0x419f8f10, name=<value optimized out>, origin=0x419f9720, node=<value optimized out>) at rbt.c:333
#3  0x00000000004c8864 in zone_find (db=0x2aaaac13a7f0, name=0x419faab0, version=0x2aab822a8530, type=50, options=<value optimized out>, now=<value optimized out>, nodep=0x0, 
    foundname=0x2aaaab15c0b0, rdataset=0x2aaaab15f470, sigrdataset=0x2aaaab15f160) at rbtdb.c:2995
#4  0x0000000000416f50 in query_findclosestnsec3 (qname=<value optimized out>, db=0x2aaaac13a7f0, version=0x2aab822a8530, client=0x17916350, rdataset=0x2aaaab15f470, 
    sigrdataset=0x2aaaab15f160, fname=0x2aaaab15c0b0, exact=isc_boolean_false, found=0x0) at query.c:5223
#5  0x000000000041e0f6 in query_addds (client=0x17916350, db=0x2aaaac13a7f0, node=<value optimized out>, version=0x2aab822a8530, name=0x419fb690) at query.c:3289
#6  0x00000000004225a4 in query_find (client=0x17916350, event=0x0, qtype=1) at query.c:5980
#7  0x000000000042695e in ns_query_start (client=0x17916350) at query.c:7456
#8  0x000000000040c8f0 in client_request (task=<value optimized out>, event=<value optimized out>) at client.c:1919
#9  0x00000000005c6396 in run (uap=0x2b0d5bf48010) at task.c:1019
#10 0x00000039e0c064a7 in start_thread () from /lib64/libpthread.so.0
#11 0x00000039e00d3c2d in clone () from /lib64/libc.so.6

Liu Mingxing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130826/03d09d7f/attachment.html>

More information about the bind-users mailing list