root@mowa219-gjp4-ev631-freebsd-13:~ # date ; uptime
Sun Jun 20 18:01:22 BST 2021
6:01PM up 2:17, 5 users, load averages: 0.13, 0.21, 0.16
root@mowa219-gjp4-ev631-freebsd-13:~ # kgdb /boot/kernel/kernel /var/crash/vmcore.0
GNU gdb (GDB) 10.2 [GDB v10.2 for FreeBSD]
…
Reading symbols from /boot/kernel/kernel...
Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...
Unread portion of the kernel message buffer:
dev = ada0s1a, block = 69640254, fs = /
panic: ffs_blkfree_cg: freeing free frag
cpuid = 1
time = 1624088886
KDB: stack backtrace:
#0 0xffffffff80c57515 at kdb_backtrace+0x65
#1 0xffffffff80c09ef1 at vpanic+0x181
#2 0xffffffff80c09d63 at panic+0x43
#3 0xffffffff80ecf3f6 at ffs_blkfree_cg+0x5f6
#4 0xffffffff80ecc104 at ffs_blkfree+0xa4
#5 0xffffffff80ee6a58 at handle_workitem_freefrag+0xe8
#6 0xffffffff80ee2a0e at process_worklist_item+0x22e
#7 0xffffffff80edcf66 at softdep_process_worklist+0xd6
#8 0xffffffff80ee0eff at softdep_flush+0x11f
#9 0xffffffff80bc7e2e at fork_exit+0x7e
#10 0xffffffff810629fe at fork_trampoline+0xe
Uptime: 1m34s
Dumping 320 out of 4028 MB:..5%..15%..25%..35%..45%..55%..65%..75%..85%..95%
__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
(kgdb) bt
#0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
#1 doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:399
#2 0xffffffff80c09ae6 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:486
#3 0xffffffff80c09f60 in vpanic (fmt=<optimized out>, ap=<optimized out>)
at /usr/src/sys/kern/kern_shutdown.c:919
#4 0xffffffff80c09d63 in panic (fmt=<unavailable>) at /usr/src/sys/kern/kern_shutdown.c:843
#5 0xffffffff80ecf3f6 in ffs_blkfree_cg (ump=<optimized out>, ump@entry=0xfffff80003078200,
fs=<optimized out>, devvp=devvp@entry=0xfffff8001a8ea7a0, bno=<optimized out>, bno@entry=69640254,
size=<optimized out>, inum=<optimized out>, dephd=0xfffffe00639c9b88)
at /usr/src/sys/ufs/ffs/ffs_alloc.c:2325
#6 0xffffffff80ecc104 in ffs_blkfree (ump=ump@entry=0xfffff80003078200, fs=<unavailable>,
devvp=0xfffff8001a8ea7a0, bno=69640254, size=<optimized out>, inum=<optimized out>, vtype=VREG,
dephd=0xfffffe00639c9b88, key=2) at /usr/src/sys/ufs/ffs/ffs_alloc.c:2656
#7 0xffffffff80ee6a58 in handle_workitem_freefrag (freefrag=freefrag@entry=0xfffff800423cc900)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:5996
#8 0xffffffff80ee2a0e in process_worklist_item (mp=mp@entry=0xfffffe006babb580, target=target@entry=10,
flags=flags@entry=512) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2016
#9 0xffffffff80edcf66 in softdep_process_worklist (mp=mp@entry=0xfffffe006babb580, full=full@entry=0)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:1804
#10 0xffffffff80ee0eff in softdep_flush (addr=addr@entry=0xfffffe006babb580)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:1589
#11 0xffffffff80bc7e2e in fork_exit (callout=0xffffffff80ee0de0 <softdep_flush>, arg=0xfffffe006babb580,
frame=0xfffffe00639c9d00) at /usr/src/sys/kern/kern_fork.c:1069
#12 <signal handler called>
(kgdb) q
root@mowa219-gjp4-ev631-freebsd-13:~ #