Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 1995 09:31:22 +0100
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Terry Lambert <terry@lambert.org>
Cc:        phk@freefall.freebsd.org (Poul-Henning Kamp), current@freebsd.org
Subject:   Re: fs layering pathces doesn't work. 
Message-ID:  <1639.814523482@critter.tfs.com>
In-Reply-To: Your message of "Mon, 23 Oct 1995 10:52:48 MST." <199510231752.KAA11278@phaeton.artisoft.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> My reluctance is purely from the panic message you originally reported
> existing only in #ifdef DIAGNOSTIC code.  8-).

Well, no quite.  From src/kern/kern_malloc.c 1.14:

    316 #ifdef DIAGNOSTIC
    ...         [...]
    325                         printf("multiply freed item %p\n", addr);
    326                         panic("free: duplicated free");
    ...         [...]
    340 #endif /* DIAGNOSTIC */
    ...         [...]
    344                 if (kup->ku_freecnt > kbp->kb_elmpercl)
    345                         panic("free: multiple frees");

Sometimes precision is a virtue :-)

> It's pretty obvious that either a patch has failed or something else
> has gone wrong.
No failed patches.

> ] ./miscfs/devfs/devfs_vnops.c:		FREE(ap->a_cnp->cn_pnbuf, M_NAM
	-current == 1.15
EI);
> ] ./miscfs/union/union_subr.c:	free(cn.cn_pnbuf, M_NAMEI);
> ] ./miscfs/union/union_subr.c:	free(cn.cn_pnbuf, M_NAMEI);
	-current == 1.7
> ] ./ufs/ufs/ufs_vnops.c:	FREE(cnp->cn_pnbuf, M_NAMEI);
> ] ./ufs/ufs/ufs_vnops.c:		free(cnp->cn_pnbuf, M_NAMEI);
> ] ./ufs/ufs/ufs_vnops.c:	FREE(cnp->cn_pnbuf, M_NAMEI);
	-current == 1.31

> ] Hope you can find it from this.
It sounds to me like YOU are not running -current...  

Could you check the versions above against your tree ?

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



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