From owner-freebsd-current@FreeBSD.ORG Wed Feb 2 20:35:13 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B69CE16A4CE for ; Wed, 2 Feb 2005 20:35:13 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 11DA443D55 for ; Wed, 2 Feb 2005 20:35:13 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 64998 invoked from network); 2 Feb 2005 20:35:12 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 2 Feb 2005 20:35:12 -0000 X-pair-Authenticated: 80.164.63.199 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.1/8.13.1) with ESMTP id j12KZAYa098097; Wed, 2 Feb 2005 21:35:10 +0100 (CET) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.1/8.13.1/Submit) id j12KZ8LG098096; Wed, 2 Feb 2005 21:35:08 +0100 (CET) (envelope-from pho) Date: Wed, 2 Feb 2005 21:35:06 +0100 From: Peter Holm To: Kris Kennaway Message-ID: <20050202203506.GA98012@peter.osted.lan> References: <20050130094616.GA76093@peter.osted.lan> <20050202000613.GA9758@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050202000613.GA9758@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org cc: jroberson@chesapeake.net Subject: Re: Panic: Memory modified after free X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 20:35:13 -0000 On Tue, Feb 01, 2005 at 04:06:13PM -0800, Kris Kennaway wrote: > On Sun, Jan 30, 2005 at 10:46:16AM +0100, Peter Holm wrote: > > With GENERIC HEAD from Jan 28 20:19 UTC + mpsafe_vfs = 1 I got: > > > > Memory modified after free 0xc1d7c100(124) val=c23fa000 @ 0xc1d7c164 > > > > panic(c083d005,c083b16e,c083cfd6,c1d7c100,7c) at panic+0xef > > mtrash_ctor(c1d7c100,80,0,402) at mtrash_ctor+0x4d > > uma_zalloc_arg(c10526e0,0,402) at uma_zalloc_arg+0x14c > > malloc(68,c08bcd60,402,c094f0c0,0) at malloc+0xae > > inodedep_lookup(c167a000,193a1,1,cf261be0,c094f0c0) at inodedep_lookup+0xa7 > > softdep_change_linkcnt(c213b578,c6bc54f0,c65f3f88,c213b578,c1c39270) at softdep_change_linkcnt+0x31 > > ufs_dirremove(c17d83a8,c213b578,100800c,0,cf261c48) at ufs_dirremove+0x12d > > ufs_remove(cf261c4c) at ufs_remove+0x4b > > VOP_REMOVE_AP(cf261c4c) at VOP_REMOVE_AP+0x62 > > kern_unlink(c1add2e0,bfbfe940,0,cf261d40,c07bd6c3) at kern_unlink+0x167 > > unlink(c1add2e0,cf261d14,1,28,292) at unlink+0x12 > > syscall(2804002f,bfbf002f,bfbf002f,2804f6c0,bfbfeb14) at syscall+0x213 > > > > More info at http://www.holm.cc/stress/log/cons112.html > > > panic: Most recently used by inodedep > > You can try to use DEBUG_MEMGUARD with M_INODEDEP to find this. I'll > add that to my SMP package machines to see if I can trigger it too. > I have only seen this panic once, but maybe it will shake out some other problems. I'll give it a try, real soon. - Peter > Kris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (FreeBSD) > > iD8DBQFCABl1Wry0BWjoQKURAo86AJwOi4YsNsThOjZL64aJBRcXtW1oJQCbBkXn > caMc1rriaJ31QGoInhYyIqE= > =hZUh > -----END PGP SIGNATURE----- -- Peter Holm