Re: sysinstall spec_getpages panic

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Mon, 25 Aug 2003 09:56:56 +0900
At Wed, 20 Aug 2003 17:01:30 +0000 (UTC),
Gavin Atkinson wrote:
> On the 8th August kuriyama_at_imgsrc.co.jp mentioned he was getting a panic
> with FreeBSD inside VMware where _mtx_lock is being called with a NULL
> mutex from spec_getpages. I'm also seeing this, 100% reproducible, on real
> hardware. (see message ID XFMail.20030808154731.jhb_at_FreeBSD.org for the
> original posters email and jhb's reply) For me, Sysinstall panics during
> the extraction of the base package:

This seems to be fixed by alc_at_.  I can install it on my VMware after
this commit.

> alc         2003/08/22 10:50:32 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/fs/specfs        spec_vnops.c 
>   Log:
>   Use the requested page's object field instead of the vnode's.  In some
>   cases, the vnode's object field is not initialized leading to a NULL
>   pointer dereference when the object is locked.
>   
>   Tested by:      rwatson
>   
>   Revision  Changes    Path
>   1.208     +5 -2      src/sys/fs/specfs/spec_vnops.c


-- 
Jun Kuriyama <kuriyama_at_imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama_at_FreeBSD.org> // FreeBSD Project
Received on Sun Aug 24 2003 - 15:57:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC