Alfred Perlstein wrote: > * Terry Lambert <[EMAIL PROTECTED]> [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.
I got a similar untraceable panic because the ucred reference counter was overlayed with an invariants structure. Probably invariants is stomping something that is used as a marker into seeming validity. It's very tempting to require that invariants add their own crap to to the front of a structure, and then hide it, so that this is not possible. It was a real pain in the butt to track doewn the cred free problem. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message