Bug 235665

Summary: panic: handle_written_inodeblock: live inodedep
Product: Base System Reporter: Peter Holm <pho>
Component: kernAssignee: freebsd-fs mailing list <fs>
Status: Open ---    
Severity: Affects Some People Keywords: crash, needs-qa
Priority: --- Flags: koobs: mfc-stable11?
koobs: mfc-stable12?
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
panic bt screenshot none

Description Peter Holm freebsd_committer 2019-02-11 12:34:36 UTC
The stress test scenario is: "umount -f" of an active FS:

20190211 12:26:07 all (1/1): pfl3.sh
panic: handle_written_inodeblock: live inodedep 0xfffff80261dbc400
cpuid = 45
time = 1549884371
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe010ac22000
vpanic() at vpanic+0x1b4/frame 0xfffffe010ac22060
panic() at panic+0x43/frame 0xfffffe010ac220c0
handle_written_inodeblock() at handle_written_inodeblock+0x669/frame 0xfffffe010ac22110
softdep_disk_write_complete() at softdep_disk_write_complete+0x462/frame 0xfffffe010ac22170                                                                                      
bufdone() at bufdone+0x3bb/frame 0xfffffe010ac221f0
g_io_deliver() at g_io_deliver+0x298/frame 0xfffffe010ac22240
g_io_deliver() at g_io_deliver+0x298/frame 0xfffffe010ac22290
md_kthread() at md_kthread+0x258/frame 0xfffffe010ac222f0
fork_exit() at fork_exit+0x84/frame 0xfffffe010ac22330
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe010ac22330
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 35083 tid 101903 ]
Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
db> x/s version
version:        FreeBSD 13.0-CURRENT #0 r343968: Sun Feb 10 20:35:52 CET 2019\012    pho@flix1a.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO\012
db> 

https://people.freebsd.org/~pho/stress/log/pfl3.txt
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-08 03:58:40 UTC
Created attachment 204257 [details]
panic bt screenshot

Just hit this after an unclear shutdown. Boot into single user and two fsck -y runs marked the FS clean.

13.0-CURRENT r340668 (amd64, GENERIC-NODEBUG)