RE: mtx_lock() of spin mutex (null)

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 04 Aug 2003 16:36:53 -0400 (EDT)
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) _at_ /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/
Received on Mon Aug 04 2003 - 11:36:35 UTC

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