Bug #2047

panic: lockmgr: pid -1, not exclusive lock holder thr 0xd7f53ed8/0xd7f545d8 unlocking

Added by c.turner1 over 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


From latest x86 / GENERIC_SMP when running a make installworld onto a vnd -

crash in leaf:/home/cat/crash/installworld_vn.tar.gz

Version String: DragonFly v2.9.1.1087.gcf014-DEVELOPMENT #3: Tue Apr 12 00:59:30
UTC 2011 :/usr/obj/usr/src/sys/GENERIC_SM

_get_mycpu (di=0xc07d7300) at ./machine/thread.h:79
79 __asm ("movl %%fs:globaldata,%0" : "=r" (gd) : "m"(__mycpu__dummy));
(kgdb) #0 _get_mycpu (di=0xc07d7300) at ./machine/thread.h:79
#1 md_dumpsys (di=0xc07d7300)
at /usr/src/sys/platform/pc32/i386/dump_machdep.c:264
#2 0xc03691d8 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:893
#3 0xc03697e5 in boot (howto=<value optimized out>)
at /usr/src/sys/kern/kern_shutdown.c:388
#4 0xc0369a4a in panic (
fmt=0xc06cdec0 "lockmgr: pid %d, not %s thr %p/%p unlocking")
at /usr/src/sys/kern/kern_shutdown.c:799
#5 0xc035b633 in lockmgr (lkp=0xc6a054a8, flags=6)
at /usr/src/sys/kern/kern_lock.c:475
#6 0xc03b8da0 in BUF_UNLOCK (bp=0xc6a05290) at /usr/src/sys/sys/buf2.h:111
#7 brelse (bp=0xc6a05290) at /usr/src/sys/kern/vfs_bio.c:1677
#8 0xc03baddb in bpdone (bp=0xc6a05290, elseit=1)
at /usr/src/sys/kern/vfs_bio.c:3845
#9 0xc03bb370 in biodone (bio=0x0) at /usr/src/sys/kern/vfs_bio.c:4043
#10 0xc05ca4a4 in fq_completed (bp=0xc6a05360)
at /usr/src/sys/kern/dsched/fq/fq_diskops.c:307
#11 0xc03bb350 in biodone (bio=0xc6a05360) at /usr/src/sys/kern/vfs_bio.c:4034
#12 0xde2ed9ef in vnstrategy (ap=0xde651ce0)
at /usr/src/sys/dev/disk/vn/vn.c:381
#13 0xc034ce1b in dev_dstrategy (dev=0xdcd64850, bio=0xc6a05360)
at /usr/src/sys/kern/kern_device.c:349
#14 0xc037af6a in dsched_strategy_async (dp=0xdefe786c, bio=0xc6a05310,
done=0xc05ca2f2 <fq_completed>, priv=0xdfc76600)
at /usr/src/sys/kern/kern_dsched.c:559
#15 0xc05ca043 in fq_dispatch (diskctx=0xdcd42a00, bio=0xc6a05310,
tdio=0xdfc76600) at /usr/src/sys/kern/dsched/fq/fq_diskops.c:323
#16 0xc05c9e05 in fq_dispatcher (diskctx=0xdcd42a00)
at /usr/src/sys/kern/dsched/fq/fq_core.c:149
#17 0xc03739f1 in lwkt_deschedule_self (td=Cannot access memory at address 0x8
at /usr/src/sys/kern/lwkt_thread.c:283


#1 Updated by c.turner1 almost 5 years ago

  • Description updated (diff)
  • Status changed from New to Closed

This is pretty old & seemed to be crashing in threads/vfs which has changed
significantly since then. I'm going to close, and if this occurs again, reopen.

Also available in: Atom PDF