bin/112622: named crash

Remko Lodder remko at elvandar.org
Sat May 12 17:40:10 UTC 2007


The following reply was made to PR bin/112622; it has been noted by GNATS.

From: Remko Lodder <remko at elvandar.org>
To: Bernd Luevelsmeyer <bdluevel at heitec.net>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: bin/112622: named crash
Date: Sat, 12 May 2007 19:32:06 +0200

 Bernd Luevelsmeyer wrote:
 > 
 > 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);
 >     }
 > 
 
 Hello Bernd,
 
 first of all thanks for submitting this entry to try and improve
 FreeBSD with us, though this seems like something specifically
 for the named application which should be reported upstream to
 the named team at isc instead of reporting this at FreeBSD
 (it is contributed software outside our direct scope).
 
 Thanks & Cheers,
 Remko
 
 -- 
 Kind regards,
 
      Remko Lodder               ** remko at elvandar.org
      FreeBSD                    ** remko at FreeBSD.org
 
      /* Quis custodiet ipsos custodes */


More information about the freebsd-bugs mailing list