Skip to content

Instantly share code, notes, and snippets.

@kev009
Created June 15, 2016 06:30
Show Gist options
  • Save kev009/308252f08fe0de23f22cc15c6d4bb38a to your computer and use it in GitHub Desktop.
Save kev009/308252f08fe0de23f22cc15c6d4bb38a to your computer and use it in GitHub Desktop.
lock order reversal:
1st 0xfffff8000c48f8e0 filedesc structure (filedesc structure) @ /usr/home/mmacy/devel/freebsd-base-graphics/sys/kern/kern_descrip.c:1230
2nd 0xfffff8012463d5f0 zfs (zfs) @ /usr/home/mmacy/devel/freebsd-base-graphics/sys/kern/vfs_subr.c:4885
stack backtrace:
#0 0xffffffff80aa5220 at witness_debugger+0x70
#1 0xffffffff80aa5114 at witness_checkorder+0xe54
#2 0xffffffff80a1dcb6 at __lockmgr_args+0x4d6
#3 0xffffffff80af49ec at vop_stdlock+0x3c
#4 0xffffffff80fbc910 at VOP_LOCK1_APV+0x100
#5 0xffffffff80b1586a at _vn_lock+0x9a
#6 0xffffffff809fe9ae at knlist_remove_kq+0x7e
#7 0xffffffff80b0c538 at filt_vfsdetach+0x28
#8 0xffffffff809ff277 at knote_fdclose+0xc7
#9 0xffffffff809f2f25 at closefp+0x65
#10 0xffffffff80eb5beb at amd64_syscall+0x2db
#11 0xffffffff80e9587b at Xfast_syscall+0xfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment