From owner-freebsd-bugs Tue Dec 16 07:14:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA01356 for bugs-outgoing; Tue, 16 Dec 1997 07:14:52 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA01351 for ; Tue, 16 Dec 1997 07:14:50 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id HAA07346; Tue, 16 Dec 1997 07:17:15 -0800 (PST) Message-Id: <199712161517.HAA07346@implode.root.com> To: Bruce Evans cc: freebsd-bugs@hub.freebsd.org Subject: Re: kern/5313: panic: free: multiple frees In-reply-to: Your message of "Tue, 16 Dec 1997 02:00:03 PST." <199712161000.CAA12703@hub.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Tue, 16 Dec 1997 07:17:15 -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >The following reply was made to PR kern/5313; it has been noted by GNATS. > >From: Bruce Evans >To: dima@best.net, FreeBSD-gnats-submit@FreeBSD.ORG >Cc: Subject: Re: kern/5313: panic: free: multiple frees >Date: Tue, 16 Dec 1997 20:53:06 +1100 > > >#9 0xf011329a in panic (fmt=0xf010fca7 "free: multiple frees") > > at ../../kern/kern_shutdown.c:388 > >#10 0xf010fd87 in free (addr=0xf5dbd000, type=0x4a) > > at ../../kern/kern_malloc.c:342 > > There is one obvious problem. imgp->image_header needs to be cleared > in both arms of the if statement since it is always set). This fix has > not been tested. Oh my, what a particularly ugly bug. I'm amazed the system runs at all, actually. I'll test and commit. Thanks Bruce! -DG David Greenman Core-team/Principal Architect, The FreeBSD Project