Actions
Bug #377
closedLock order reversal (bufwait and dirhash)
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
-
Start date:
02/22/2010
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
pfSense build: 2.0-BETA1 built on Sun Feb 21 05:56:33 EST 2010 FreeBSD 8.0-STABLE
lock order reversal: 1st 0xc3128a90 bufwait (bufwait) @ /usr/pfSensesrc/src/sys/kern/vfs_bio.c:2559 2nd 0xc37ce600 dirhash (dirhash) @ /usr/pfSensesrc/src/sys/ufs/ufs/ufs_dirhash.c:285 KDB: stack backtrace: X_db_sym_numargs(c0e1bde9,d51b775c,c09c7255,c09b7e6b,c0e1ed58,...) at X_db_sym_numargs+0x146 kdb_backtrace(c09b7e6b,c0e1ed58,c355ffc8,c3563ec0,d51b77b8,...) at kdb_backtrace+0x29 witness_display_spinlock(c0e1ed58,c37ce600,c0e48318,c3563ec0,c0e47fa6,...) at witness_display_spinlock+0x75 witness_checkorder(c37ce600,9,c0e47fa6,11d,0,...) at witness_checkorder+0x839 _sx_xlock(c37ce600,0,c0e47fa6,11d,c3916d24,...) at _sx_xlock+0x85 ufsdirhash_enduseful(c3128a30,d51b78d0,13c,ccb37ed8,d51b7888,...) at ufsdirhash_enduseful+0x2f5 ufsdirhash_add(c3916d24,d51b78d0,ed8,d51b7874,d51b7878,...) at ufsdirhash_add+0x13 ufs_direnter(c37cf648,c3b3196c,d51b78d0,d51b7bd0,0,...) at ufs_direnter+0x729 ufs_itimes(d51b7bd0,0,d51b7abc,d51b7a18,c0d42195,...) at ufs_itimes+0x1318 ufs_itimes(d51b7abc,d51b7ad4,0,0,d51b7ba4,...) at ufs_itimes+0x15f0 VOP_CREATE_APV(c122c880,d51b7abc,d51b7bd0,d51b7a54,0,...) at VOP_CREATE_APV+0xa5 vn_open_cred(d51b7ba4,d51b7c5c,1a4,0,c3912d00,...) at vn_open_cred+0x215 vn_open(d51b7ba4,d51b7c5c,1a4,c39202a0,c0e12ed6,...) at vn_open+0x3b kern_openat(c3b25940,ffffff9c,bfbfd248,0,603,...) at kern_openat+0x11f kern_open(c3b25940,bfbfd248,0,602,1a4,...) at kern_open+0x35 open(c3b25940,d51b7cf8,c,c3b25940,c12055ec,...) at open+0x30 syscall(d51b7d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (5, FreeBSD ELF32, open), eip = 0x2819b8f3, esp = 0xbfbfd20c, ebp = 0xbfbfd658 ---
Actions