lang: en

FreeBSD lock order reversal (LOR) #72

ID 72
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc5d3fb58 vnode interlock (vnode interlock) @ sys/ufs/ffs/ffs_snapshot.c:1906
 2nd 0xc1059144 system map (system map) @ sys/vm/vm_map.c:2317
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c072e078,c072f590,c06fe03c) at 0xc053f155 = kdb_backtrace+0x29
witness_checkorder(c1059144,9,c06d68a4,90d) at 0xc0547df0 = witness_checkorder+0x544
_mtx_lock_flags(c1059144,0,c06d68a4,90d) at 0xc0521233 = _mtx_lock_flags+0x5b
_vm_map_lock(c10590c0,c06d68a4,90d) at 0xc063f236 = _vm_map_lock+0x26
vm_map_remove(c10590c0,c5d92000,c5d94000,ebd38b68,c064d259) at 0xc06416df = vm_map_remove+0x1f
kmem_free(c10590c0,c5d92000,2000,ebd38b80,c064f0ff) at 0xc063e7e1 = kmem_free+0x25
page_free(c5d92000,2000,22,2000,ebd38b98) at 0xc064d259 = page_free+0x29
page_free(c5d92000,2000,22,2000,ebd38b98) at 0xc064d259 = page_free+0x29
uma_large_free(c5b07a40) at 0xc064f0ff = uma_large_free+0x7f
free(c5d92000,c07104a0,c5a51c80,0,c5a60800) at 0xc051fd3d = free+0xe1
ffs_snapshot_unmount(c5a60800) at 0xc061fdcf = ffs_snapshot_unmount+0xe7
ffs_flushfiles(c5a60800,2,c645a320) at 0xc062a5e4 = ffs_flushfiles+0x40
softdep_flushfiles(c5a60800,2,c645a320,c645a320,ebd38c6c) at 0xc0620eb2 = softdep_flushfiles+0x1e
ffs_unmount(c5a60800,80000,c645a320,0,c5d40d68) at 0xc062a436 = ffs_unmount+0x32
dounmount(c5a60800,80000,c645a320,d96ec96c,0) at 0xc05753c0 = dounmount+0x1c4
vfs_unmountall(c052126f,0,8,c06c10c0,0) at 0xc057a466 = vfs_unmountall+0x4a
boot(0,c0726b40,0,c06c10c0,ae) at 0xc0528de9 = boot+0x4cd
reboot(c645a320,ebd38d14,1,23,296) at 0xc05287a6 = reboot+0x32
syscall(2f,2f,2f,0,2) at 0xc0680b5b = syscall+0x213
Xint0x80_syscall() at 0xc067092f = Xint0x80_syscall+0x1f
--- syscall (55, FreeBSD ELF32, reboot), eip = 0x280a815f, esp = 0xbfbfe96c, ebp = 0xbfbfe9c4 ---
		
comments/references
  • private mail from Marc Olzheim 2005-03-28