BIND 9.5.0-P1 Crash on Solaris 8

bsfinkel at anl.gov bsfinkel at anl.gov
Tue Jul 15 16:42:04 UTC 2008


frigga# ls -al core
-rw-------   1 root     other    28481956 Jul 15 10:55 core
frigga# ls -al bind
lrwxrwxrwx   1 root     other         13 Jul 10 12:51 bind -> bind-9.5.0-P1
frigga# mv core core.frigga.080715.1055
frigga# uname -a
SunOS frigga.ctd.anl.gov 5.8 Generic_117350-54 sun4u sparc SUNW,Sun-Fire-880
frigga# /usr/afsws/local/bin/gdb bind/sbin/named core.frigga.080715.1055
GNU gdb 5.3
Copyright 2002 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.8"...
Core was generated by `/export/home/named/bind/sbin/named -c /export/home/named/named.conf.frigga'.
Program terminated with signal 10, Bus 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-880/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
#0  0x000a717c in cleanup_dead_nodes (rbtdb=0x334958, bucketnum=3120)
    at rbtdb.c:1375
1375                    ISC_LIST_UNLINK(rbtdb->deadnodes[bucketnum], node, deadlink);
(gdb) where
#0  0x000a717c in cleanup_dead_nodes (rbtdb=0x334958, bucketnum=3120)
    at rbtdb.c:1375
#1  0x000a8994 in findnode (db=0x334958, name=0x792028, 
    create=isc_boolean_true, nodep=0xff0f0420) at rbtdb.c:2011
#2  0x000768fc in dns_db_findnode (db=0x334958, name=0x792028, 
    create=isc_boolean_true, nodep=0xff0f0420) at db.c:449
#3  0x00105f14 in cache_name (fctx=0x78af38, name=0x792028, addrinfo=0x454030, 
    now=1216137350) at resolver.c:3893
#4  0x00105500 in cache_message (fctx=0x78af38, addrinfo=0x454030, 
    now=1216137350) at resolver.c:4191
#5  0x000ffc08 in resquery_response (task=0x217988, event=0x78e040)
    at resolver.c:6092
#6  0x0016e87c in dispatch (manager=0x1e8780) at task.c:862
#7  0x0016ea28 in run (uap=0x1e8780) at task.c:1005
(gdb) thread apply all bt full

Thread 7 (process 332994    ):
#0  0xff259300 in private___lwp_cond_wait () from /usr/lib/libthread.so.1
No symbol table info available.
#1  0xff2489b8 in _co_timerset () from /usr/lib/libthread.so.1
No symbol table info available.

Thread 6 (process 267458    ):
#0  0xff19f704 in _lwp_sema_wait () from /usr/lib/libc.so.1
No symbol table info available.
#1  0xff2496fc in _park () from /usr/lib/libthread.so.1
No symbol table info available.
#2  0xff2493c4 in _swtch () from /usr/lib/libthread.so.1
No symbol table info available.
#3  0xff247da8 in cond_reltimedwait () from /usr/lib/libthread.so.1
No symbol table info available.
#4  0xff247bbc in cond_timedwait () from /usr/lib/libthread.so.1
No symbol table info available.
#5  0xff247b24 in pthread_cond_timedwait () from /usr/lib/libthread.so.1
No symbol table info available.
#6  0x001818e0 in isc_condition_waituntil (c=0x1ea7b8, m=0x1ea788, t=0x1ea7b0)
    at condition.c:59
        presult = 147
        result = 2009016
---Type <return> to continue, or q <return> to quit---
        ts = {tv_sec = 1216137350, tv_nsec = 827317000}
        strbuf = "\0\0\0\0ÿ&À\0H|ÌA\017\021ͨÿ\r\034`ÿ$\200\210\0\0\0\0\0\0\0\0\0\037Íà\0\0\0\0\0\037Íè\0\001\0\0\0\0\0\0\0\0\0\001\0\e¨\0\0\035\230\0\0\036§\200ÿ\r\035 \0\e¬p\0\e®ð\0\0\0\0\0\0\0\0ÿ\r\034À\0\027\n\200\0\036§°", '\0' <repeats 12 times>, "ÿ\r\034À\0\027\v(\0\0\0\0\0\0\0"
#7  0x00170aa8 in run (uap=0x1ea780) at timer.c:719
        now = {seconds = 1216137350, nanoseconds = 327357000}
        result = 147

Thread 5 (process 201922    ):
#0  0xff19d890 in _poll () from /usr/lib/libc.so.1
No symbol table info available.
#1  0xff14d578 in select () from /usr/lib/libc.so.1
No symbol table info available.
#2  0xff25ab30 in select () from /usr/lib/libthread.so.1
No symbol table info available.

Thread 4 (process 136386    ):
#0  0xff19f054 in _signotifywait () from /usr/lib/libc.so.1
No symbol table info available.
#1  0xff24e988 in _dynamiclwps () from /usr/lib/libthread.so.1
No symbol table info available.

Thread 3 (process 70850    ):
---Type <return> to continue, or q <return> to quit---
#0  0xff19f704 in _lwp_sema_wait () from /usr/lib/libc.so.1
No symbol table info available.
#1  0xff2496fc in _park () from /usr/lib/libthread.so.1
No symbol table info available.
#2  0xff2493c4 in _swtch () from /usr/lib/libthread.so.1
No symbol table info available.
#3  0xff2481cc in cond_wait () from /usr/lib/libthread.so.1
No symbol table info available.
#4  0xff248090 in pthread_cond_wait () from /usr/lib/libthread.so.1
No symbol table info available.
#5  0x0016e9bc in dispatch (manager=0x1e8780) at task.c:810
        dispatch_count = 2
        done = isc_boolean_false
        requeue = isc_boolean_false
        finished = isc_boolean_false
#6  0x0016ea28 in run (uap=0x1e8780) at task.c:1005
No locals.

Thread 2 (process 464066    ):
#0  0xff259300 in private___lwp_cond_wait () from /usr/lib/libthread.so.1
No symbol table info available.
#1  0xff248ce4 in _age () from /usr/lib/libthread.so.1
No symbol table info available.
#2  0xff24a388 in _lwp_start () from /usr/lib/libthread.so.1
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 1 (process 398530    ):
#0  0x000a717c in cleanup_dead_nodes (rbtdb=0x334958, bucketnum=3120)
    at rbtdb.c:1375
        node = (dns_rbtnode_t *) 0x1bdb078
        result = 3739147998
        count = 10
#1  0x000a8994 in findnode (db=0x334958, name=0x792028, 
    create=isc_boolean_true, nodep=0xff0f0420) at rbtdb.c:2011
        node = (dns_rbtnode_t *) 0x1115238
        nodename = {magic = 1145983854, 
  ndata = 0x1115264 "\025e-business-associates", length = 22, labels = 1, 
  attributes = 2, offsets = 0x111527a "", buffer = 0x0, link = {
    prev = 0xffffffff, next = 0xffffffff}, list = {head = 0x0, tail = 0x0}}
        result = 0
        locktype = isc_rwlocktype_write
#2  0x000768fc in dns_db_findnode (db=0x334958, name=0x792028, 
    create=isc_boolean_true, nodep=0xff0f0420) at db.c:449
No locals.
#3  0x00105f14 in cache_name (fctx=0x78af38, name=0x792028, addrinfo=0x454030, 
    now=1216137350) at resolver.c:3893
        rdataset = (dns_rdataset_t *) 0x794fb8
        sigrdataset = (dns_rdataset_t *) 0xff0f03f0
---Type <return> to continue, or q <return> to quit---
        addedrdataset = (dns_rdataset_t *) 0x1d3800
        ardataset = (dns_rdataset_t *) 0x1777428
        asigrdataset = (dns_rdataset_t *) 0x0
        valrdataset = (dns_rdataset_t *) 0x0
        valsigrdataset = (dns_rdataset_t *) 0x0
        node = (dns_dbnode_t *) 0x0
        anodep = (dns_dbnode_t **) 0x6cf5ac
        adbp = (dns_db_t **) 0x6cf5a8
        aname = (dns_name_t *) 0x792028
        res = (dns_resolver_t *) 0x216780
        need_validation = isc_boolean_false
        secure_domain = isc_boolean_false
        have_answer = isc_boolean_true
        result = 1914880
        eresult = 0
        event = (dns_fetchevent_t *) 0x6cf570
        options = 1
        task = (isc_task_t *) 0x217988
        fail = isc_boolean_false
        valoptions = 0
#4  0x00105500 in cache_message (fctx=0x78af38, addrinfo=0x454030, 
    now=1216137350) at resolver.c:4191
        result = 0
        section = 1
---Type <return> to continue, or q <return> to quit---
        name = (dns_name_t *) 0x792028
#5  0x000ffc08 in resquery_response (task=0x217988, event=0x78e040)
    at resolver.c:6092
        result = 0
        query = (resquery_t *) 0x791418
        devent = (dns_dispatchevent_t *) 0x222e10
        keep_trying = isc_boolean_false
        get_nameservers = isc_boolean_false
        resend = isc_boolean_false
        truncated = isc_boolean_false
        message = (dns_message_t *) 0x78e040
        opt = (dns_rdataset_t *) 0x794f38
        fctx = (fetchctx_t *) 0x78af38
        foundname = {name = {magic = 0, ndata = 0x0, length = 0, labels = 0, 
    attributes = 0, offsets = 0x0, buffer = 0x0, link = {prev = 0x0, 
      next = 0x0}, list = {head = 0x0, tail = 0x0}}, 
  offsets = '\0' <repeats 39 times>, "\020ÿÿqqÿÿqqÿÿqqÿÿqq\0\0\0\vÿ'xLÿ\017\027È\0\031 \0\0\0\0@", '\0' <repeats 11 times>, "\001ÿ&Í@ÿ\017\036`ÿ&À\0\0\0\0\0ÿ\017\035\230\0\0021Tÿ\r\035\230ÿ\017\e8ÿ$\223¼ÿ\017\ehÿ\017\036`\0\027\210x", buffer = {
    magic = 1551620, base = 0x78af38, length = 7966528, used = 1722728, 
    current = 4278190080, active = 1721464, link = {prev = 0x78af38, 
      next = 0x0}, mctx = 0x8000}, 
  data = "ÿ\017\035\230\0\0358\0\0\0358\0\0\035\204\0ÿ\017\035\230\0\0\0\0ÿ&À\0\0\0\0\005\0\0\020\0\0\0\0\0ÿ\017\e\230ÿ$\201Ä\0\0\001\0\0\035\200\0\0\0\0\0ÿ\017---Type <return> to continue, or q <return> to quit---
\021È\0\0\0\0\0\0\0\001\0x°<\0\0\0\0\0\036\207\210\0\036\207À\0x¯8\0!g\200\0\0\001\f\0x°<\0!y\210\0\0358\0ÿ\017\035\230\0\0\0\0\0\0\0\0ÿ&À\0\0\0\0\0\0\0\0\0ÿ\017\eøÿ$\200\210\0\035\200\0ÿ\017\e¨\0x¯8\0\032@\0\0\0358\0\0\0358\0\0\035\204\0ÿ\017\e¨\0y\024\030\0x¯8\0\0358\0\0\0\0\0\0\035\204\0ÿ\017\e¨"...}
        now = 1216137350
        tnow = {seconds = 1216137350, nanoseconds = 427199000}
        finish = (isc_time_t *) 0xff0f1a70
        addrinfo = (dns_adbaddrinfo_t *) 0x794f38
        options = 0
        findoptions = 7950136
        broken_server = 0
#6  0x0016e87c in dispatch (manager=0x1e8780) at task.c:862
        dispatch_count = 0
        done = isc_boolean_false
        requeue = isc_boolean_false
        finished = isc_boolean_false
#7  0x0016ea28 in run (uap=0x1e8780) at task.c:1005
No locals.
(gdb) quit
frigga# 

----------------------------------------------------------------------
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 222, Room D209              Internet: BSFinkel at anl.gov
Argonne, IL   60439-4828             IBMMAIL:  I1004994


More information about the bind-users mailing list