LOR RELENG_8 fd/zfs (close)

From: grarpamp <grarpamp_at_gmail.com>
Date: Tue, 8 Sep 2009 01:50:09 -0400
Didn't see the 1st/2nd "a (b) _at_ src_file" on the big page of LOR's.
Put here for anyone interested.

lock order reversal:
 1st 0xc8f1d42c filedesc structure (filedesc structure) _at_
/.../src/sys/kern/kern_descrip.c:1088
 2nd 0xc4af38b8 ufs (ufs) _at_ /.../src/sys/kern/vfs_subr.c:4091
KDB: stack backtrace:
db_trace_self_wrapper(c0c75d72,e6f4ca2c,c08c1365,c08b20eb,c0c78d15,...)
at db_trace_self_wrapper+0x26
kdb_backtrace(c08b20eb,c0c78d15,c452c2a0,c452f638,e6f4ca88,...) at
kdb_backtrace+0x29
_witness_debugger(c0c78d15,c4af38b8,c0c6b44b,c452f638,c0c801f7,...) at
_witness_debugger+0x25
witness_checkorder(c4af38b8,9,c0c801f7,ffb,c4af38d4,...) at
witness_checkorder+0x839
__lockmgr_args(c4af38b8,80400,c4af38d4,0,0,...) at __lockmgr_args+0x7a7
ffs_lock(e6f4cb98,4,0,80400,c4af3860,...) at ffs_lock+0x8a
VOP_LOCK1_APV(c0d7a580,e6f4cb98,c0c6d72e,c0d92fe0,c4af3860,...) at
VOP_LOCK1_APV+0xb5
_vn_lock(c4af3860,80400,c0c801f7,ffb,e6f4cbf4,...) at _vn_lock+0x5e
vfs_knllock(c4af3860,0,c0c6d72e,696,c4c22e9c,...) at vfs_knllock+0x29
knlist_remove_kq(0,e6f4cc14,c090c9a9,c7fcaea4,c4c22e9c,...) at
knlist_remove_kq+0x85
knlist_remove(c7fcaea4,c4c22e9c,0,e6f4cc40,c084fe85,...) at knlist_remove+0x1b
filt_vfsdetach(c4c22e9c,0,c0c6d72e,777,9,...) at filt_vfsdetach+0x39
knote_fdclose(c632d6c0,9,c0c6d256,440,c8f1d42c,...) at knote_fdclose+0xf5
kern_close(c632d6c0,9,e6f4cd2c,c0bb0a53,c632d6c0,...) at kern_close+0xd2
close(c632d6c0,e6f4ccf8,4,c0c795e6,c0d58d48,...) at close+0x1a
syscall(e6f4cd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (6, FreeBSD ELF32, close), eip = 0x2837b2a3, esp =
0xbfbfe45c, ebp = 0xbfbfe478 ---

lock order reversal:
 1st 0xc8f1d42c filedesc structure (filedesc structure) _at_
/.../src/sys/kern/kern_descrip.c:1088
 2nd 0xc8c7e37c zfs (zfs) _at_ /.../src/sys/kern/vfs_subr.c:4091
KDB: stack backtrace:
db_trace_self_wrapper(c0c75d72,e6f4ca34,c08c1365,c08b20eb,c0c78d15,...)
at db_trace_self_wrapper+0x26
kdb_backtrace(c08b20eb,c0c78d15,c452c2a0,c452fd20,e6f4ca90,...) at
kdb_backtrace+0x29
_witness_debugger(c0c78d15,c8c7e37c,c1218129,c452fd20,c0c801f7,...) at
_witness_debugger+0x25
witness_checkorder(c8c7e37c,9,c0c801f7,ffb,c8c7e398,...) at
witness_checkorder+0x839
__lockmgr_args(c8c7e37c,80400,c8c7e398,0,0,...) at __lockmgr_args+0x7a7
vop_stdlock(e6f4cb98,4,0,80400,c8c7e324,...) at vop_stdlock+0x62
VOP_LOCK1_APV(c121d560,e6f4cb98,c0c6d72e,c0d92fe0,c8c7e324,...) at
VOP_LOCK1_APV+0xb5
_vn_lock(c8c7e324,80400,c0c801f7,ffb,e6f4cbf4,...) at _vn_lock+0x5e
vfs_knllock(c8c7e324,0,c0c6d72e,696,c82bc908,...) at vfs_knllock+0x29
knlist_remove_kq(0,e6f4cc14,c090c9a9,c82eed78,c82bc908,...) at
knlist_remove_kq+0x85
knlist_remove(c82eed78,c82bc908,0,e6f4cc40,c084fe85,...) at knlist_remove+0x1b
filt_vfsdetach(c82bc908,0,c0c6d72e,777,17,...) at filt_vfsdetach+0x39
knote_fdclose(c632d6c0,1d7,c0c6d256,440,c8f1d42c,...) at knote_fdclose+0xf5
kern_close(c632d6c0,1d7,e6f4cd2c,c0bb0a53,c632d6c0,...) at kern_close+0xd2
close(c632d6c0,e6f4ccf8,4,c0dcb8c0,c0d58d48,...) at close+0x1a
syscall(e6f4cd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (6, FreeBSD ELF32, close), eip = 0x2837b2a3, esp =
0xbfbfe48c, ebp = 0xbfbfe4a8 ---
Received on Tue Sep 08 2009 - 03:50:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC