lang: en

FreeBSD lock order reversal (LOR) #250

ID 250
state unknown
responsible
reported first 2008-05-03
reported last 2008-08-18
do you know more? submit update by email
LOR
lock order reversal: (sleepable after non-sleepable)
 1st 0xc3d83ee8 bufobj interlock (bufobj interlock) @ sys/kern/vfs_bio.c:2442
 2nd 0xd7a56088 bufwait (bufwait) @ sys/kern/vfs_bio.c:2456
		
KDB: stack backtrace:
db_trace_self_wrapper(c0873465,e23c87b0,c065781a,c0875b35,d7a56088,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0875b35,d7a56088,c087a912,c087a912,c0879ec1,...) at kdb_backtrace+0x29
witness_checkorder(d7a56088,9,c0879ec1,998,e23c8810,...) at witness_checkorder+0x6b0
__lockmgr_args(d7a56088,81900,c3d83ee8,c087a86e,50,...) at __lockmgr_args+0x738
getblk(c3d83e38,0,0,800,0,...) at getblk+0x144
breadn(c3d83e38,0,0,800,0,...) at breadn+0x44
bread(c3d83e38,0,0,800,0,...) at bread+0x4c
ffs_blkatoff(c3d83e38,0,0,0,e23c89b0,...) at ffs_blkatoff+0xc6
ufs_lookup(e23c89f0,c3d83e38,e23c8b54,c3d83e38,e23c8a10,...) at ufs_lookup+0x2be
VOP_CACHEDLOOKUP_APV(c08ddfe0,e23c89f0,e23c8b54,e23c8b40,c08f46a0,...) at VOP_CACHEDLOOKUP_APV+0xa0
vfs_cache_lookup(e23c8a70,e23c8a70,0,c3d83e38,80000,...) at vfs_cache_lookup+0xc3
VOP_LOOKUP_APV(c08ddfe0,e23c8a70,c087b6ce,1b0,e23c8b40,...) at VOP_LOOKUP_APV+0xaa
lookup(e23c8b28,c087b6ce,d8,c0,c39c372c,...) at lookup+0x50a
namei(e23c8b28,e23c8b2c,c0657038,c06116dd,c0962a50,...) at namei+0x3d3
kern_unlinkat(c39f3000,ffffff9c,c087bd5d,1,e23c8c60,...) at kern_unlinkat+0x3f
kern_unlink(c39f3000,c087bd5d,1,631,0,...) at kern_unlink+0x27
vfs_mountroot_try(c087bf17,c084d4d9,c0863f29,1,c0691d03,...) at vfs_mountroot_try+0x46b
vfs_mountroot(c09108f0,4,c086b0af,264,439e3000,...) at vfs_mountroot+0x3f1
start_init(0,e23c8d38,c086ca11,30d,c39f0000,...) at start_init+0x65
fork_exit(c05e854d,0,e23c8d38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe23c8d70, ebp = 0 ---
		
comments/references