From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 14:43:26 2006 Return-Path: X-Original-To: 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 ED15A16A40F; Thu, 14 Sep 2006 14:43:26 +0000 (UTC) (envelope-from doublef-ctm@yandex.ru) Received: from smtp1.yandex.ru (smtp1.yandex.ru [213.180.223.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD15543D62; Thu, 14 Sep 2006 14:43:13 +0000 (GMT) (envelope-from doublef-ctm@yandex.ru) Received: from [83.239.189.170] ([83.239.189.170]:63989 "EHLO shark" smtp-auth: "doublef-ctm" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S2077302AbWINOnD (ORCPT + 2 others); Thu, 14 Sep 2006 18:43:03 +0400 X-Comment: RFC 2476 MSA function at smtp1.yandex.ru logged sender identity as: doublef-ctm Received: by shark (Postfix, from userid 1000) id 4A7EA172D1; Thu, 14 Sep 2006 18:40:05 +0400 (MSD) Date: Thu, 14 Sep 2006 18:40:05 +0400 From: Sergey Zaharchenko To: Robert Watson Message-ID: <20060914144005.GA90248@shark.localdomain> References: <20060618192011.GF715@turion.vk2pj.dyndns.org> <44960E61.5000808@FreeBSD.org> <20060619092805.F8526@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <20060619092805.F8526@fledge.watson.org> X-Listening-To: Silence User-Agent: Mutt/1.5.11 Cc: Peter Jeremy , "Christian S.J. Peron" , current@freebsd.org Subject: Re: NULL pointer dereference panic [resurrected] 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: Thu, 14 Sep 2006 14:43:27 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Robert! Mon, Jun 19, 2006 at 09:29:25AM +0100 you wrote: > Wojciech Koszek has been doing some work to debug a related pty/pts/devfs= =20 > problem, and mentioned to me a day or so ago that he may have identified = a=20 > workaround (and maybe a fix)? If this panic is a result of the same or a= =20 > related problem, his work may be relevant. I've CC'd him. I've observed this same panic on a fresh(er) -CURRENT (and, certainly, have a dump). This is on a UP system. (kgdb) frame 14 #14 0xc06f5f24 in vop_stdgetwritemount (ap=3D0xd5c9aa2c) at /src/usr.src/sys/kern/vfs_default.c:356 356 vfs_ref(mp); (kgdb) l 351 * will be set to NULL. We only have to prevent this call = =66rom 352 * returning with a ref to an incorrect mountpoint. It is = not 353 * harmful to return with a ref to our previous mountpoint. 354 */ 355 mp =3D ap->a_vp->v_mount; 356 vfs_ref(mp); 357 if (mp !=3D ap->a_vp->v_mount) { 358 vfs_rel(mp); 359 mp =3D NULL; 360 } (kgdb) print ap->a_vp->v_mount $3 =3D (struct mount *) 0x0 Is there any progress in this area? --=20 DoubleF No virus detected in this message. Ehrm, wait a minute... /kernel: pid 56921 (antivirus), uid 32000: exited on signal 9 Oh yes, no virus:) --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCWnFwo7hT/9lVdwRAkdXAJ9CZHsdSSsmWNH7sUBKun6lSU9jzACfcVHi w6EV3AIxTnW8LnoK32yrnRg= =OT4/ -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--