From owner-freebsd-bugs@freebsd.org Wed Nov 9 06:58:30 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55246C375DF for ; Wed, 9 Nov 2016 06:58:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 340B16D8 for ; Wed, 9 Nov 2016 06:58:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA96wUE3032433 for ; Wed, 9 Nov 2016 06:58:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214346] Hang on find(8) in wait channel "ncvn". Date: Wed, 09 Nov 2016 06:58:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peter@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 06:58:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214346 Bug ID: 214346 Summary: Hang on find(8) in wait channel "ncvn". Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: peter@FreeBSD.org UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 797 773 0 72 0 8364 2160 ncvn L - 0:00.00 find -d . -type d ... kgdb) proc 797 [Switching to thread 671 (Thread 102144)]#0 0xffffffff8082c13b in sched_sw= itch () (kgdb) where #0 0xffffffff8082c13b in sched_switch () #1 0xffffffff80803ea2 in mi_switch () #2 0xffffffff8085a0f8 in turnstile_wait () #3 0xffffffff807db73d in __mtx_lock_sleep () #4 0xffffffff808bdb96 in cache_lookup () #5 0xffffffff808c2ebc in vfs_cache_lookup () #6 0xffffffff80c26347 in VOP_LOOKUP_APV () #7 0xffffffff808cd771 in lookup () #8 0xffffffff808cce82 in namei () #9 0xffffffff808ed2ac in vn_open_cred () #10 0xffffffff808e62cc in kern_openat () #11 0xffffffff80b79c3e in amd64_syscall () #12 0xffffffff80b5cf2b in Xfast_syscall () It is believed to be this command: tar -xf $WORK/latest.tgz -C $WORK/latest cd $WORK/latest find -d . -type d | while read dir; do mkdir -p ... done Locked vnodes vnode 0xfffff80f2dd0d588: tag zfs, type VDIR usecount 2, writecount 0, refcount 2 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff81244552948 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type zfs: SHARED (count 1) vnode 0xfffff8068bae1938: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff80fcf4e9108 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff8013273b500 (pid 93262, rm, tid 101138) tag VT_TMPFS, tmpfs_node 0xfffff80774a2c740, flags 0x0, links 89 mode 0755, owner 0, group 0, size 5568, status 0xe vnode 0xfffff815cc735588: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff815be6feb58 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff8013273b500 (pid 93262, rm, tid 101138) tag VT_TMPFS, tmpfs_node 0xfffff8152c414000, flags 0x0, links 1 mode 0755, owner 0, group 0, size 0, status 0xe vnode 0xfffff81317752b10: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 2 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff80e4f60e000 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: SHARED (count 1) tag VT_TMPFS, tmpfs_node 0xfffff813f27971d0, flags 0x0, links 2 mode 0755, owner 0, group 0, size 0, status 0x0 vnode 0xfffff81542f983b0: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff805c1f93738 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff803f2673000 (pid 93286, rm, tid 100955) tag VT_TMPFS, tmpfs_node 0xfffff814ca31fcb0, flags 0x0, links 8 mode 0755, owner 0, group 0, size 22272, status 0xe vnode 0xfffff815debc9b10: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff81260967840 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff803f2673000 (pid 93286, rm, tid 100955) tag VT_TMPFS, tmpfs_node 0xfffff8152a0111d0, flags 0x0, links 1 mode 0755, owner 0, group 0, size 0, status 0xe vnode 0xfffff8133cd4ace8: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff806cb1b1c60 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff80821c56a00 (pid 75665, rm, tid 101836) tag VT_TMPFS, tmpfs_node 0xfffff80fdeed9740, flags 0x0, links 3 mode 0755, owner 0, group 0, size 1344, status 0x0 vnode 0xfffff811a35ec588: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 2 mountedhere 0 flags (VI_ACTIVE) lock type tmpfs: EXCL by thread 0xfffff80e8911da00 (pid 94436, mkdir, t= id 101748) tag VT_TMPFS, tmpfs_node 0xfffff80b844cd2b8, flags 0x0, links 14 mode 0755, owner 0, group 0, size 768, status 0x0 vnode 0xfffff815f9ebf000: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 2 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff80d606de210 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: SHARED (count 1) tag VT_TMPFS, tmpfs_node 0xfffff807f64c1828, flags 0x0, links 2 mode 0755, owner 0, group 0, size 0, status 0x0 vnode 0xfffff81504e64760: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff813e5c87b58 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff80d9cbcd500 (pid 93252, rm, tid 101272) tag VT_TMPFS, tmpfs_node 0xfffff809609f7570, flags 0x0, links 2 mode 0755, owner 0, group 0, size 2432, status 0x0 vnode 0xfffff80a25e8b3b0: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff813bcdf2420 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff80113cf9500 (pid 84663, rm, tid 101938) tag VT_TMPFS, tmpfs_node 0xfffff80dc97300e8, flags 0x0, links 2 mode 0755, owner 0, group 0, size 2304, status 0x0 vnode 0xfffff81545f8c588: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff813bcc85b58 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff8018e670000 (pid 80910, rm, tid 101145) tag VT_TMPFS, tmpfs_node 0xfffff81354c9cd98, flags 0x0, links 2 mode 0755, owner 0, group 0, size 832, status 0xe vnode 0xfffff81686abd760: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff812e64e3d68 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff8018e670000 (pid 80910, rm, tid 101145) tag VT_TMPFS, tmpfs_node 0xfffff811ee66ed98, flags 0x0, links 1 mode 0755, owner 0, group 0, size 0, status 0xe vnode 0xfffff8155164d760: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0xfffff8027ebfc6d0 flags (VI_ACTIVE) v_object 0xfffff8155134fa50 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff808c64eca00 (pid 93725, umount, = tid 101163) tag VT_TMPFS, tmpfs_node 0xfffff81551623828, flags 0x800, links 2 mode 0755, owner 0, group 0, size 0, status 0x0 vnode 0xfffff80d9c2d2b10: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff815abf2b420 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff80534c6e500 (pid 88004, rm, tid 101803) tag VT_TMPFS, tmpfs_node 0xfffff8131dd782b8, flags 0x0, links 4 mode 0755, owner 0, group 0, size 768, status 0x0 vnode 0xfffff815461631d8: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0xfffff80e659886d0 flags (VI_ACTIVE) v_object 0xfffff8151418e000 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff801325a2500 (pid 93550, umount, = tid 100530) tag VT_TMPFS, tmpfs_node 0xfffff81551651828, flags 0x800, links 2 mode 0755, owner 0, group 0, size 0, status 0x0 vnode 0xfffff80ef315b588: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff815283ffa50 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff81260351500 (pid 85122, rm, tid 101838) tag VT_TMPFS, tmpfs_node 0xfffff80e34f639f8, flags 0x0, links 2 mode 0755, owner 0, group 0, size 1280, status 0x0 vnode 0xfffff80f2d952b10: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 2 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff80f4b09fd68 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: SHARED (count 1) tag VT_TMPFS, tmpfs_node 0xfffff8132014b910, flags 0x0, links 2 mode 0755, owner 9, group 0, size 0, status 0x0 vnode 0xfffff8133cb8c588: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 2 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff80750fec210 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: SHARED (count 1) tag VT_TMPFS, tmpfs_node 0xfffff813196092b8, flags 0x0, links 2 mode 0755, owner 0, group 0, size 0, status 0x0 vnode 0xfffff81542b3a760: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0xfffff815516f76d0 flags (VI_ACTIVE) v_object 0xfffff8155110f108 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff808c610f500 (pid 93470, umount, = tid 101700) tag VT_TMPFS, tmpfs_node 0xfffff815515af2b8, flags 0x800, links 2 mode 0755, owner 0, group 0, size 0, status 0x0 vnode 0xfffff81535455938: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff81528bed420 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff80e89829500 (pid 94243, rm, tid 101616) tag VT_TMPFS, tmpfs_node 0xfffff808c65021d0, flags 0x0, links 6 mode 0755, owner 0, group 0, size 1280, status 0xe vnode 0xfffff806961fb3b0: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff81535b81630 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff80e89829500 (pid 94243, rm, tid 101616) tag VT_TMPFS, tmpfs_node 0xfffff814753480e8, flags 0x0, links 1 mode 0775, owner 1000, group 1000, size 0, status 0xe vnode 0xfffff809cab52b10: tag tmpfs, type VDIR usecount 2, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff81535dcd000 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff8135acf8a00 (pid 93039, rm, tid 101276) tag VT_TMPFS, tmpfs_node 0xfffff811b870f1d0, flags 0x0, links 2 mode 0755, owner 0, group 0, size 576, status 0xe vnode 0xfffff815b6f3ace8: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VI_ACTIVE) v_object 0xfffff814f9bd7c60 ref 0 pages 0 cleanbuf 0 dirtybuf 0 lock type tmpfs: EXCL by thread 0xfffff8135acf8a00 (pid 93039, rm, tid 101276) tag VT_TMPFS, tmpfs_node 0xfffff811803a9d98, flags 0x0, links 1 mode 0755, owner 0, group 0, size 0, status 0xe vnode 0xfffff80d9cb5b588: tag tmpfs, type VDIR usecount 4, writecount 0, refcount 5 mountedhere 0 flags (VI_ACTIVE) lock type tmpfs: EXCL by thread 0xfffff8013239da00 (pid 14243, pkg-stat= ic, tid 102281) tag VT_TMPFS, tmpfs_node 0xfffff813533d3828, flags 0x0, links 2 mode 0755, owner 0, group 0, size 192, status 0x0 vnode 0xfffff8153da5b588: tag tmpfs, type VDIR usecount 4, writecount 0, refcount 5 mountedhere 0 flags (VI_ACTIVE) lock type tmpfs: EXCL by thread 0xfffff807441ef500 (pid 79723, pkg-stat= ic, tid 101991) tag VT_TMPFS, tmpfs_node 0xfffff80aaf97c828, flags 0x0, links 2 mode 0755, owner 0, group 0, size 2496, status 0x0 vnode 0xfffff811a33d2b10: tag tmpfs, type VDIR usecount 1, writecount 0, refcount 2 mountedhere 0 flags (VI_ACTIVE) lock type tmpfs: EXCL by thread 0xfffff808fa981a00 (pid 81501, pkg-stat= ic, tid 101156) tag VT_TMPFS, tmpfs_node 0xfffff806fe9ebd98, flags 0x0, links 54 mode 0755, owner 0, group 0, size 7936, status 0x0 vnode 0xfffff813174391d8: tag tmpfs, type VDIR usecount 4, writecount 0, refcount 6 mountedhere 0 flags (VI_ACTIVE) lock type tmpfs: EXCL by thread 0xfffff803356b2a00 (pid 83741, pkg-stat= ic, tid 102091) tag VT_TMPFS, tmpfs_node 0xfffff8097dea8740, flags 0x0, links 2 mode 0755, owner 0, group 0, size 9984, status 0x0 vnode 0xfffff8131db8d588: tag tmpfs, type VDIR usecount 4, writecount 0, refcount 5 mountedhere 0 flags (VI_ACTIVE) lock type tmpfs: EXCL by thread 0xfffff801322fd000 (pid 94792, pkg-stat= ic, tid 101484) tag VT_TMPFS, tmpfs_node 0xfffff81002323bc8, flags 0x0, links 2 mode 0755, owner 0, group 0, size 128, status 0x0 vnode 0xfffff8131880c588: tag tmpfs, type VDIR usecount 4, writecount 0, refcount 5 mountedhere 0 flags (VI_ACTIVE) lock type tmpfs: EXCL by thread 0xfffff803bfffd000 (pid 95189, pkg-stat= ic, tid 101790) tag VT_TMPFS, tmpfs_node 0xfffff811e2146000, flags 0x0, links 3 mode 0755, owner 0, group 0, size 128, status 0x0 12.0-CURRENT #0 r308208: Wed Nov 2 09:55:11 UTC 2016 hw.ncpu: 24 --=20 You are receiving this mail because: You are the assignee for the bug.=