bin/112622: named crash

Bernd Luevelsmeyer bdluevel at heitec.net
Sat May 12 17:10:07 UTC 2007


>Number:         112622
>Category:       bin
>Synopsis:       named crash
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 12 17:10:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Luevelsmeyer
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.2-STABLE #0: Mon Feb 5 15:12:55 CET 2007 i386


>Description:
The named service crashed with an assertion failure. The machine
is a mailserver running postfix-current. The messages are:

May 11 22:31:06 <daemon.crit> christel named[13876]:
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/mem.c:628:
INSIST(((unsigned char *)mem)[size] == 0xbe) failed
May 11 22:31:06 <daemon.crit> christel named[13876]: exiting
(due to assertion failure)

The failing function is (with the '->' pointing to the line in
question):

    static inline void
    mem_put(isc_mem_t *ctx, void *mem, size_t size) {
    #if ISC_MEM_CHECKOVERRUN
->      INSIST(((unsigned char *)mem)[size] == 0xbe);
    #endif
    #if ISC_MEM_FILL
        memset(mem, 0xde, size); /* Mnemonic for "dead". */
    #else
        UNUSED(size);
    #endif
        (ctx->memfree)(ctx->arg, mem);
    }


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list