Subject: current panic: lock error
To: None <current-users@netbsd.org>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: current-users
Date: 07/17/2007 09:09:30
Hi,
Antti asked me to post this...
(gdb) bt
[struggle to get crash dump deleted]
#23 0xc0352d49 in acquire (lkpp=3D0xcb6b2ab4, s=3D0xcb6b2a9c,
extflags=3D<value optimized out>, drain=3D0, wanted=3D1536, ra=3D322438=
1815)
at /usr/src/sys/kern/kern_lock.c:292
#24 0xc0353693 in lockmgr (lkp=3D0xdeadbeef, flags=3D65538, interlkp=3D0xcc=
80d9a8)
at /usr/src/sys/kern/kern_lock.c:823
#25 0xc0302977 in ufs_lock (v=3D0xcb6b2b00)
at /usr/src/sys/ufs/ufs/ufs_vnops.c:2301
#26 0xc03acd53 in VOP_LOCK (vp=3D0xcc80d9a8, flags=3D65538)
at /usr/src/sys/kern/vnode_if.c:1228
#27 0xc03aa710 in vn_lock (vp=3D0xcc80d9a8, flags=3D65538)
at /usr/src/sys/kern/vfs_vnops.c:671
#28 0xc03a2daf in vrele (vp=3D0xcc80d9a8) at /usr/src/sys/kern/vfs_subr.c:1=
296
#29 0xc03a2eb6 in vget (vp=3D0xcc80d9a8, flags=3D65554)
at /usr/src/sys/kern/vfs_subr.c:1206
#30 0xc02de5ef in ffs_sync (mp=3D0xc13a4000, waitfor=3D3, cred=3D0xcaca0f50,
l=3D0xcacab000) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1347
#31 0xc03b3058 in sync_fsync (v=3D0xcb6b2c08)
at /usr/src/sys/miscfs/syncfs/sync_vnops.c:160
#32 0xc03acad7 in VOP_FSYNC (vp=3D0xcb74ec6c, cred=3D0xcaca0f50, flags=3D8,
offlo=3D3412798132, offhi=3D3412798132, l=3D0xcacab000)
at /usr/src/sys/kern/vnode_if.c:724
#33 0xc03b2efb in sched_sync (v=3D0xcacab000)
at /usr/src/sys/miscfs/syncfs/sync_subr.c:193
#34 0xc01002bb in lwp_trampoline ()
(gdb) frame 26
#26 0xc03acd53 in VOP_LOCK (vp=3D0xcc80d9a8, flags=3D65538)
at /usr/src/sys/kern/vnode_if.c:1228
1228 return (VCALL(vp, VOFFSET(vop_lock), &a));
(gdb) print *vp
$1 =3D {v_uobj =3D {vmobjlock =3D {lock_data =3D 239 '=EF', lock_pad =3D "=
=BE=AD=DE"},
pgops =3D 0x0, memq =3D {tqh_first =3D 0xcc80dff8, tqh_last =3D 0xdeadb=
eef},
uo_npages =3D -559038737, uo_refs =3D -559038737},
v_size =3D -2401053088876216593, v_writesize =3D -2401053088876216593,
v_flag =3D -559038737, v_numoutput =3D -559038737, v_writecount =3D -5590=
38737,
v_holdcnt =3D -559038737, v_mount =3D 0xdeadbeef, v_op =3D 0xdeadbeef,
v_freelist =3D {tqe_next =3D 0xdeadbeef, tqe_prev =3D 0xdeadbeef}, v_mntv=
nodes =3D {
tqe_next =3D 0xdeadbeef, tqe_prev =3D 0xdeadbeef}, v_cleanblkhd =3D {
lh_first =3D 0xdeadbeef}, v_dirtyblkhd =3D {lh_first =3D 0xdeadbeef},
v_synclist_slot =3D -559038737, v_synclist =3D {tqe_next =3D 0xdeadbeef,
tqe_prev =3D 0xdeadbeef}, v_dnclist =3D {lh_first =3D 0xdeadbeef}, v_nc=
list =3D {
lh_first =3D 0xdeadbeef}, v_un =3D {vu_mountedhere =3D 0xdeadbeef,
vu_socket =3D 0xdeadbeef, vu_specinfo =3D 0xdeadbeef,
vu_fifoinfo =3D 0xdeadbeef, vu_ractx =3D 0xdeadbeef}, v_type =3D 373592=
8559,
v_tag =3D 3735928559, v_lock =3D {lk_interlock =3D {lock_data =3D 239 '=
=EF',
lock_pad =3D "=BE=AD=DE"}, lk_flags =3D 3735928559, lk_sharecount =3D=
-559038737,
lk_exclusivecount =3D -16657, lk_recurselevel =3D -8531,
lk_waitcount =3D -559038738,
lk_wmesg =3D 0xdeadbeef <Address 0xdeadbeef out of bounds>, lk_un =3D {
lk_un_sleep =3D {lk_sleep_lockholder =3D -559038737,
lk_sleep_locklwp =3D -559038737, lk_sleep_prio =3D -559038737,
lk_sleep_timo =3D -559038737, lk_newlock =3D 0xdeadbeef}, lk_un_spi=
n =3D {
lk_spin_cpu =3D 3735928559}}}, v_vnlock =3D 0xdeadbeef,
v_data =3D 0xdeadbeef, v_klist =3D {slh_first =3D 0xdeadbeef}}