From owner-freebsd-bugs@freebsd.org Sun Apr 18 21:54:02 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 317485F789D for ; Sun, 18 Apr 2021 21:54:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FNkHG0l9zz4bj1 for ; Sun, 18 Apr 2021 21:54:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 197195F7812; Sun, 18 Apr 2021 21:54:02 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 193B55F789C for ; Sun, 18 Apr 2021 21:54:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FNkHG04TSz4bfZ for ; Sun, 18 Apr 2021 21:54:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E751B13945 for ; Sun, 18 Apr 2021 21:54:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13ILs17U035811 for ; Sun, 18 Apr 2021 21:54:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13ILs1uk035810 for bugs@FreeBSD.org; Sun, 18 Apr 2021 21:54:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255201] [panic] handle_written_inodeblock: Invalid link count -1 for inodedep Date: Sun, 18 Apr 2021 21:54:02 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chris@cretaforce.gr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2021 21:54:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255201 Bug ID: 255201 Summary: [panic] handle_written_inodeblock: Invalid link count -1 for inodedep Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: chris@cretaforce.gr FreeBSD server.example.com 13.0-RELEASE FreeBSD 13.0-RELEASE #0 ea31abc26: = Fri Apr 9 19:34:58 EEST 2021=20=20=20=20 root@server.cretaforce.gr:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 panic: handle_written_inodeblock: Invalid link count -1 for inodedep 0xfffff8009b512c00 GNU gdb (GDB) 10.1 [GDB v10.1 for FreeBSD] Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd13.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: panic: handle_written_inodeblock: Invalid link count -1 for inodedep 0xfffff8009b512c00 cpuid =3D 0 time =3D 1618779673 KDB: stack backtrace: #0 0xffffffff80c57345 at kdb_backtrace+0x65 #1 0xffffffff80c09d21 at vpanic+0x181 #2 0xffffffff80c09b93 at panic+0x43 #3 0xffffffff80efb285 at handle_written_inodeblock+0xb05 #4 0xffffffff80edee0a at softdep_disk_write_complete+0x5da #5 0xffffffff80cc2cac at bufdone+0x22c #6 0xffffffff80cbddbc at bufwrite+0x1dc #7 0xffffffff80cc102f at vfs_bio_awrite+0x37f #8 0xffffffff80cff213 at vn_fsync_buf+0x213 #9 0xffffffff80ced995 at sched_sync+0x465 #10 0xffffffff80bc7c5e at fork_exit+0x7e #11 0xffffffff8106282e at fork_trampoline+0xe Uptime: 6d21h3m7s Dumping 4321 out of 65273 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 /usr/src/sys/amd64/include/pcpu_aux.h: No such file or directory. (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c09916 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:486 #3 0xffffffff80c09d90 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:919 #4 0xffffffff80c09b93 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:843 #5 0xffffffff80efb285 in handle_written_inodeblock ( inodedep=3Dinodedep@entry=3D0xfffff8009b512c00, bp=3Dbp@entry=3D0xfffffe006bd0a1d0, flags=3Dflags@entry=3D4194304) at /usr/src/sys/ufs/ffs/ffs_softdep.c:11996 #6 0xffffffff80edee0a in softdep_disk_write_complete (bp=3D, bp@entry=3D) at /usr/src/sys/ufs/ffs/ffs_softdep.c:11505 #7 0xffffffff80cc2cac in buf_complete (bp=3D0xfffffe006bd0a1d0) at /usr/src/sys/sys/buf.h:450 #8 bufdone (bp=3D0xfffffe006bd0a1d0, bp@entry=3D) at /usr/src/sys/kern/vfs_bio.c:4492 #9 0xffffffff80cbddbc in bstrategy (bp=3D0xfffffe006bd0a1d0, bp@entry=3D) at /usr/src/sys/sys/buf.h:431 #10 bufwrite (bp=3D0xfffffe006bd0a1d0, bp@entry=3D) at /usr/src/sys/kern/vfs_bio.c:2302 #11 0xffffffff80cc102f in bwrite (bp=3D0xfffffe006bd0a1d0) at /usr/src/sys/sys/buf.h:419 #12 vfs_bio_awrite (bp=3D, bp@entry=3D0xfffffe006bd0a1d0) at /usr/src/sys/kern/vfs_bio.c:3233 #13 0xffffffff80cff213 in vn_fsync_buf (vp=3D, vp@entry=3D, waitfor=3D= 3, waitfor@entry=3D) at /usr/src/sys/kern/vfs_vnops.c:2760 #14 0xffffffff80ced995 in VOP_FSYNC (vp=3D0xfffff8000bba47a0, waitfor=3D3, td=3D0xfffffe015bd0ca00) at ./vnode_if.h:771 #15 sync_vnode (slp=3D, bo=3D, td=3D0xfffffe015bd0ca00) at /usr/src/sys/kern/vfs_subr.c:2583 #16 sched_sync () at /usr/src/sys/kern/vfs_subr.c:2685 #17 0xffffffff80bc7c5e in fork_exit (callout=3D0xffffffff80ced530 , arg=3D0x0, frame=3D0xffffffff8242cb00) at /usr/src/sys/kern/kern_fork.c= :1069 #18 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=