Skip to content

Instantly share code, notes, and snippets.

@jeamland
Last active January 5, 2016 06:41
Show Gist options
  • Save jeamland/69a07c4523f0dea4c26c to your computer and use it in GitHub Desktop.
Save jeamland/69a07c4523f0dea4c26c to your computer and use it in GitHub Desktop.
lock order reversal:
1st 0xfffff80166867418 ufs (ufs) @ /src/freebsd/sys/kern/vfs_subr.c:2473
2nd 0xfffffe137765f750 bufwait (bufwait) @ /src/freebsd/sys/ufs/ffs/ffs_vnops.c:263
3rd 0xfffff8016689d240 ufs (ufs) @ /src/freebsd/sys/kern/vfs_subr.c:2473
stack backtrace:
#0 0xffffffff80a7fa90 at witness_debugger+0x70
#1 0xffffffff80a7f991 at witness_checkorder+0xe71
#2 0xffffffff80a0117b at __lockmgr_args+0xd3b
#3 0xffffffff80cc1b96 at ffs_lock+0xa6
#4 0xffffffff80fbe170 at VOP_LOCK1_APV+0x100
#5 0xffffffff80ae892a at _vn_lock+0x9a
#6 0xffffffff80ad8d93 at vget+0x63
#7 0xffffffff80acb59c at vfs_hash_get+0xcc
#8 0xffffffff80cbd360 at ffs_vgetf+0x40
#9 0xffffffff80cb4646 at softdep_sync_buf+0x426
#10 0xffffffff80cc2776 at ffs_syncvnode+0x256
#11 0xffffffff80c9972d at ffs_truncate+0x6cd
#12 0xffffffff80cc9b4b at ufs_direnter+0x7bb
#13 0xffffffff80cd1e6a at ufs_mkdir+0x8ba
#14 0xffffffff80fbd7c7 at VOP_MKDIR_APV+0xf7
#15 0xffffffff80ae5c89 at kern_mkdirat+0x209
#16 0xffffffff80e7113b at amd64_syscall+0x2db
#17 0xffffffff80e5015b at Xfast_syscall+0xfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment