mtx_lock() of spin mutex (null)

John Baldwin jhb at FreeBSD.org
Mon Aug 4 13:36:35 PDT 2003


On 04-Aug-2003 Holger Kipp wrote:
> Got the following panic on a completely idle -CURRENT from July 26th:
> so this was presumably caused by the daily or weekly jobs.
> 
> panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/kern/vfs_subr.c:1186
> Debugger("panic")
> stopped at       Debugger +0x54:  xchgl  %ebx,in_Debugger.0
> db>

                if (VOP_GETVOBJECT(vp, &object) == 0) {
                        VM_OBJECT_LOCK(object);
                        vm_object_pip_wait(object, "vnvlbx");
                        VM_OBJECT_UNLOCK(object);
                }

That line is the VM_OBJECT_LOCK().  It looks like the mutex hasn't
been initialized and is just all zeros.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-current mailing list