Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 18:52:58 +0200 (CEST)
From:      Bernd Luevelsmeyer <bdluevel@heitec.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/112622: named crash
Message-ID:  <20070512165258.490CCA8936@christel.heitec.net>
Resent-Message-ID: <200705121710.l4CHA6Db052537@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070512165258.490CCA8936>