Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 17:23:11 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Alfred Perlstein <bright@mu.org>
Cc:        Terry Lambert <tlambert2@mindspring.com>, <jeff@freebsd.org>, <hackers@freebsd.org>
Subject:   Re: uma and double free detection?
Message-ID:  <20020327172135.I16840-100000@mail.chesapeake.net>
In-Reply-To: <20020327213247.GO93885@elvis.mu.org>

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


On Wed, 27 Mar 2002, Alfred Perlstein wrote:

> * Terry Lambert <tlambert2@mindspring.com> [020327 13:30] wrote:
> > Alfred Perlstein wrote:
> > >
> > > Can uma diagnose double free's?  It doesn't seem to be able to
> > > under a GENERIC config. :(
> >
> > THat's an INVARIANTS thing, even without UMA...
>
> /usr/src/sys/i386/conf % grep INVA BRIGHT
> options         INVARIANTS              #Enable calls of extra sanity checking
> options         INVARIANT_SUPPORT       #Extra sanity checks of internal structu
>
> All I got was a panic because uma seemed to get confused rather than
> catch the double free.
>

Yikes, a panic? From a double free? Was this from malloc or zalloc? Are
you sure there was no other memory corruption?

Thanks,
Jeff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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