Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 11:07:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225883] lock order reversal during 'make cdrom'
Message-ID:  <bug-225883-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225883

            Bug ID: 225883
           Summary: lock order reversal during 'make cdrom'
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: vidwer+fbsdbugs@gmail.com

build: FreeBSD 12.0-CURRENT r329245
hardware: amd64

lock order reversal:
 1st 0xfffff8003358a530 fatlk (fatlk) @
/usr/src/sys/fs/msdosfs/msdosfs_fat.c:746
 2nd 0xfffffe0000e391c0 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3566
stack backtrace:
#0 0xffffffff80b2e403 at witness_debugger+0x73
#1 0xffffffff80b2e284 at witness_checkorder+0xe34
#2 0xffffffff80a9ee0b at __lockmgr_args+0x88b
#3 0xffffffff80b7661d at getblk+0x13d
#4 0xffffffff80b762d4 at breadn_flags+0x34
#5 0xffffffff80999bb5 at chainalloc+0x2b5
#6 0xffffffff80998be5 at clusteralloc+0x265
#7 0xffffffff8099edaf at msdosfs_mkdir+0x6f
#8 0xffffffff810fd189 at VOP_MKDIR_APV+0xd9
#9 0xffffffff80ba6af2 at kern_mkdirat+0x1e2
#10 0xffffffff80f7eceb at amd64_syscall+0x79b
#11 0xffffffff80f5a80d at fast_syscall_common+0x101
lock order reversal:
 1st 0xfffff8016a0999a0 msdosfs (msdosfs) @
/usr/src/sys/fs/msdosfs/msdosfs_denode.c:164
 2nd 0xfffffe0000e3bc00 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3566
stack backtrace:
#0 0xffffffff80b2e403 at witness_debugger+0x73
#1 0xffffffff80b2e284 at witness_checkorder+0xe34
#2 0xffffffff80a9ee0b at __lockmgr_args+0x88b
#3 0xffffffff80b7661d at getblk+0x13d
#4 0xffffffff80b762d4 at breadn_flags+0x34
#5 0xffffffff8099b4db at uniqdosname+0xbb
#6 0xffffffff8099f0b1 at msdosfs_mkdir+0x371
#7 0xffffffff810fd189 at VOP_MKDIR_APV+0xd9
#8 0xffffffff80ba6af2 at kern_mkdirat+0x1e2
#9 0xffffffff80f7eceb at amd64_syscall+0x79b
#10 0xffffffff80f5a80d at fast_syscall_common+0x101
lock order reversal:
 1st 0xfffff8006a7675f0 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1280
 2nd 0xfffff8006a703068 devfs (devfs) @
/usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:934
stack backtrace:
#0 0xffffffff80b2e403 at witness_debugger+0x73
#1 0xffffffff80b2e284 at witness_checkorder+0xe34
#2 0xffffffff80a9e4d1 at lockmgr_lock_fast_path+0x1b1
#3 0xffffffff810fdc09 at VOP_LOCK1_APV+0xd9
#4 0xffffffff80ba99b6 at _vn_lock+0x66
#5 0xffffffff8099cdb0 at msdosfs_sync+0x1a0
#6 0xffffffff80b90515 at dounmount+0x555
#7 0xffffffff80b8ff30 at sys_unmount+0x310
#8 0xffffffff80f7eceb at amd64_syscall+0x79b
#9 0xffffffff80f5a80d at fast_syscall_common+0x101
lock order reversal:
 1st 0xffffffff81d1fb58 GEOM topology (GEOM topology) @
/usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:795
 2nd 0xfffffe0000e36780 bufwait (bufwait) @ /usr/src/sys/kern/vfs_subr.c:17=
57
stack backtrace:
#0 0xffffffff80b2e403 at witness_debugger+0x73
#1 0xffffffff80b2e284 at witness_checkorder+0xe34
#2 0xffffffff80a9ee0b at __lockmgr_args+0x88b
#3 0xffffffff80b96453 at flushbuflist+0x103
#4 0xffffffff80b960e1 at bufobj_invalbuf+0x81
#5 0xffffffff80a197f6 at g_vfs_close+0x46
#6 0xffffffff8099ca9e at msdosfs_unmount+0x12e
#7 0xffffffff80b904d9 at dounmount+0x519
#8 0xffffffff80b8ff30 at sys_unmount+0x310
#9 0xffffffff80f7eceb at amd64_syscall+0x79b
#10 0xffffffff80f5a80d at fast_syscall_common+0x101

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225883-8>