Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amd64 -current crashs at boot



On Mon, Dec 22, 2008 at 12:52:22PM +0100, Christoph Egger wrote:
> > I seem to hit the other branch - NULL v_specmountpoint rather
> > than NULL v_mount:
> > With source of Dec 21 18:40, on i386, hit the assertion in
> > /sys/ufs/ffs/ffs_vnops.c:414
> > 
> >    413          if ((flags & FSYNC_VFS) != 0) {
> >    414                  KASSERT(vp->v_specmountpoint != NULL);
> >    415                  mp = vp->v_specmountpoint;
> >    416                  ffsino = (mp->mnt_op == &ffs_vfsops);
> >    417                  KASSERT(vp->v_type == VBLK);
> >    418          } else {
> >    419                  mp = vp->v_mount;
> >    420                  ffsino = true;
> >    421                  KASSERT(vp->v_tag == VT_UFS);
> >    422          }
> 
> 
> No, I also hit the same branch. mp is set to vp->v_specmountpoint
> which is a valid pointer. vp->v_mount is the NULL pointer
> which is deferenced in ffs_update() w/o any validity checks before.

Did you see:

(gdb) print *(vp->v_mount)

in the bit I posted?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index