sysinstall spec_getpages panic

Jun Kuriyama kuriyama at imgsrc.co.jp
Sun Aug 24 17:57:00 PDT 2003


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


More information about the freebsd-current mailing list