lang: en

FreeBSD lock order reversal (LOR) #188

ID 188
state unknown
responsible
reported first 2006-05-29
reported last 2006-05-29
do you know more? submit update by email
LOR
lock order reversal:
 1st 0xc3d4bb1c vnode interlock (vnode interlock) @ sys/kern/vfs_subr.c:2218
 2nd 0xc1043144 system map (system map) @ sys/vm/vm_kern.c:295
		
KDB: stack backtrace:
kdb_backtrace(c081a0c7,c1043144,c0819bfa,c0819bfa,c082f5af) at kdb_backtrace+0x2e
witness_checkorder(c1043144,9,c082f5af,127,c08bdbc0) at witness_checkorder+0x5ef
_mtx_lock_flags(c1043144,0,c082f5af,127,c104e460) at _mtx_lock_flags+0x32
_vm_map_lock(c10430c0,c082f5af,127,c3375900,c3375900) at _vm_map_lock+0x37
kmem_malloc(c10430c0,1000,101,d5688afc,c0766493) at kmem_malloc+0x3a
page_alloc(c104d300,1000,d5688aef,101,c05e0ed6) at page_alloc+0x27
slab_zalloc(c104d300,101,c082ed67,8a2,80246) at slab_zalloc+0xd3
uma_zone_slab(c104d300,1,c082ed67,8a2,c082ed67) at uma_zone_slab+0x112
uma_zalloc_internal(c104d300,0,1,0,d5688b94) at uma_zalloc_internal+0x41
bucket_alloc(80,1,c082ed67,95e,105) at bucket_alloc+0x3b
uma_zfree_arg(c104dc00,c389712c,0,d5688bbc,c072e964) at uma_zfree_arg+0x253
mac_labelzone_free(c389712c) at mac_labelzone_free+0x22
mac_vnode_label_free(c389712c,c3d4baa0,d5688be8,c061aa00,c3d4baa0) at mac_vnode_label_free+0x94
mac_destroy_vnode(c3d4baa0,0,c081e172,30a,c3d4baa0) at mac_destroy_vnode+0x18
vdestroy(c3d4baa0,d5688c1c,0,c3d4e9cc,c3d4e9cc) at vdestroy+0x60
vdropl(c3d4baa0,d5688c1c,c081e172,835,c08b1440) at vdropl+0x50
vput(c3d4baa0,0,c082c8a2,df7,c09117a0) at vput+0x1ae
handle_workitem_remove(c36de9e0,0,2,3b3,1) at handle_workitem_remove+0x15a
process_worklist_item(c35a0400,0,c082c8a2,348,4479db07) at process_worklist_item+0x1e1
softdep_process_worklist(c35a0400,0,c082c8a2,2f2,3e8) at softdep_process_worklist+0x73
softdep_flush(0,d5688d38,c08150d4,31d,0) at softdep_flush+0x193
fork_exit(c0744170,0,d5688d38) at fork_exit+0x78
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd5688d6c, ebp = 0 ---
		
comments/references