Date: Thu, 14 Sep 2006 18:40:05 +0400 From: Sergey Zaharchenko <doublef-ctm@yandex.ru> To: Robert Watson <rwatson@FreeBSD.org> Cc: Peter Jeremy <peterjeremy@optushome.com.au>, "Christian S.J. Peron" <csjp@FreeBSD.org>, current@freebsd.org Subject: Re: NULL pointer dereference panic [resurrected] Message-ID: <20060914144005.GA90248@shark.localdomain> In-Reply-To: <20060619092805.F8526@fledge.watson.org> References: <20060618192011.GF715@turion.vk2pj.dyndns.org> <44960E61.5000808@FreeBSD.org> <20060619092805.F8526@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060914144005.GA90248>