Bug 207533 - LOR in UFS on FreeBSD 10.3-BETA3 @ sys_openat
Summary: LOR in UFS on FreeBSD 10.3-BETA3 @ sys_openat
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-BETA2
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 22:00 UTC by op
Modified: 2016-08-08 08:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description op 2016-02-26 22:00:33 UTC
[136] lock order reversal:
[136]  1st 0xfffff80085dac240 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2253
[136]  2nd 0xfffffe03dfdec088 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:262
[136]  3rd 0xfffff801145e0418 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2253
[136] KDB: stack backtrace:
[136] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe04656e8b30
[136] kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe04656e8be0
[136] witness_checkorder() at witness_checkorder+0xe12/frame 0xfffffe04656e8c70
[136] __lockmgr_args() at __lockmgr_args+0x9ea/frame 0xfffffe04656e8db0
[136] ffs_lock() at ffs_lock+0x84/frame 0xfffffe04656e8e00
[136] VOP_LOCK1_APV() at VOP_LOCK1_APV+0xd9/frame 0xfffffe04656e8e30
[136] _vn_lock() at _vn_lock+0xaa/frame 0xfffffe04656e8ea0
[136] vget() at vget+0x67/frame 0xfffffe04656e8ee0
[136] vfs_hash_get() at vfs_hash_get+0xe1/frame 0xfffffe04656e8f30
[136] ffs_vgetf() at ffs_vgetf+0x40/frame 0xfffffe04656e8fc0
[136] softdep_sync_buf() at softdep_sync_buf+0xac0/frame 0xfffffe04656e90a0
[136] ffs_syncvnode() at ffs_syncvnode+0x286/frame 0xfffffe04656e9120
[136] ffs_truncate() at ffs_truncate+0x6ad/frame 0xfffffe04656e9300
[136] ufs_direnter() at ufs_direnter+0x81a/frame 0xfffffe04656e93c0
[136] ufs_makeinode() at ufs_makeinode+0x576/frame 0xfffffe04656e9570
[136] ufs_create() at ufs_create+0x2d/frame 0xfffffe04656e9590
[136] VOP_CREATE_APV() at VOP_CREATE_APV+0xcb/frame 0xfffffe04656e95c0
[136] vn_open_cred() at vn_open_cred+0x2c3/frame 0xfffffe04656e9720
[136] kern_openat() at kern_openat+0x26d/frame 0xfffffe04656e98a0
[136] amd64_syscall() at amd64_syscall+0x2a8/frame 0xfffffe04656e99b0
[136] Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe04656e99b0
[136] --- syscall (499, FreeBSD ELF64, sys_openat), rip = 0x32e83b523ca, rsp = 0x7e5ce0f8c9c8, rbp = 0x7e5ce0f8ca40 ---