Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 21:54:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255201] [panic] handle_written_inodeblock: Invalid link count -1 for inodedep
Message-ID:  <bug-255201-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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 <http://gnu.org/licenses/gpl.htm=
l>
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:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

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<optimized out>)
    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<optimized out>, ap=3D<optimized ou=
t>)
    at /usr/src/sys/kern/kern_shutdown.c:919
#4  0xffffffff80c09b93 in panic (fmt=3D<unavailable>)
    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<optimized out>,
    bp@entry=3D<error reading variable: value is not available>)
    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<error reading variable: value is not available>)
    at /usr/src/sys/kern/vfs_bio.c:4492
#9  0xffffffff80cbddbc in bstrategy (bp=3D0xfffffe006bd0a1d0,
    bp@entry=3D<error reading variable: value is not available>)
    at /usr/src/sys/sys/buf.h:431
#10 bufwrite (bp=3D0xfffffe006bd0a1d0,
    bp@entry=3D<error reading variable: value is not available>)
    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<optimized out>, bp@entry=3D0xfffffe006bd0a1d0)
    at /usr/src/sys/kern/vfs_bio.c:3233
#13 0xffffffff80cff213 in vn_fsync_buf (vp=3D<optimized out>,
    vp@entry=3D<error reading variable: value is not available>, waitfor=3D=
3,
    waitfor@entry=3D<error reading variable: value is not available>)
    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<optimized out>, bo=3D<optimized out>,
    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 <sched_sy=
nc>,
    arg=3D0x0, frame=3D0xffffffff8242cb00) at /usr/src/sys/kern/kern_fork.c=
:1069
#18 <signal handler called>
(kgdb)

--=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-255201-227>