From owner-freebsd-current@FreeBSD.ORG Tue Jan 17 21:32:40 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 8229016A41F; Tue, 17 Jan 2006 21:32:40 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC14143D5F; Tue, 17 Jan 2006 21:32:36 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A7CB51A3C20; Tue, 17 Jan 2006 13:32:30 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C38635454F; Tue, 17 Jan 2006 16:32:27 -0500 (EST) Date: Tue, 17 Jan 2006 16:32:27 -0500 From: Kris Kennaway To: Jason Evans Message-ID: <20060117213226.GA92805@xor.obsecurity.org> References: <20060117204155.GA3472@troutmask.apl.washington.edu> <876011DA-7506-4DDF-8BCA-403EE1F10552@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <876011DA-7506-4DDF-8BCA-403EE1F10552@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: malloc fallout and linprocfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 17 Jan 2006 21:32:40 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 17, 2006 at 12:50:06PM -0800, Jason Evans wrote: > On Jan 17, 2006, at 12:41 PM, Steve Kargl wrote: > >If I fire up a linux version of OpenOffice on amd64, I see > >several messages of the following form on the console. > > > >KDB: stack backtrace: > >witness_warn() at witness_warn+0x262 > >uma_zalloc_arg() at uma_zalloc_arg+0x217 > >malloc() at malloc+0xa3 > >vn_fullpath() at vn_fullpath+0x56 > >linprocfs_doprocmaps() at linprocfs_doprocmaps+0x31e > >pfs_read() at pfs_read+0x260 > >VOP_READ_APV() at VOP_READ_APV+0x74 > >vn_read() at vn_read+0x14f > >dofileread() at dofileread+0x94 > >kern_readv() at kern_readv+0x60 > >read() at read+0x4a > >ia32_syscall() at ia32_syscall+0x178 > >Xint0x80_syscall() at Xint0x80_syscall+0x5d > >malloc(M_WAITOK) of "1024", forcing M_NOWAIT with the following non-=20 > >sleepable locks held: > >exclusive sleep mutex vm object (standard object) r =3D 0 =20 > >(0xffffff02b7846640) locked @ /usr/src/sys/compat/linprocfs/=20 > >linprocfs.c:874 > > > >This is with > >troutmask:kargl[202] ident /usr/src/lib/libc/stdlib/malloc.c > >/usr/src/lib/libc/stdlib/malloc.c: > >$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.92 2006/01/12 18:09:25 =20 > >jasone Exp $ >=20 > I don't think that libc's malloc is a factor here; the stacktrace =20 > above is all in the kernel, isn't it? Yeah, must be some other bug. Kris --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDzWJqWry0BWjoQKURAlsNAKCZi/+XN6X9U44rz3V41kh0wG6dRACfVC7F PI7cRwwEubhOeTbXsQ/Skzg= =Du72 -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--