Re: 14.3R zfs panic VERIFY3(zfs_btree_find(tree, node, &where) == NULL) failed (0xfffff80090dd93a0x == 0x)
Date: Thu, 12 Jun 2025 21:12:09 UTC
[ potential file system / imageĀ corruption of 14.3R trimmed ]
An even easier way to trigger the crash.
fetch
https://download.freebsd.org/releases/VM-IMAGES/14.3-RELEASE/amd64/Latest/FreeBSD-14.3-RELEASE-amd64-zfs.raw.xz
xz -d FreeBSD-14.3-RELEASE-amd64-zfs.raw.xz
mdconfig -f FreeBSD-14.3-RELEASE-amd64-zfs.raw
md0
0{vbboxtest}# zpool import -fR /scratch/raw zroot zroot-zfs-raw
0{vbboxtest}# find /scratch/raw -type f > /dev/null
panic: VERIFY3(zfs_btree_find(tree, node, &where) == NULL) failed
(0xfffff804900d9ba0x == 0x)
cpuid = 31
time = 1749776475
KDB: stack backtrace:
#0 0xffffffff80ba900d at kdb_backtrace+0x5d
#1 0xffffffff80b5a961 at vpanic+0x161
#2 0xffffffff82181c4a at spl_panic+0x3a
#3 0xffffffff821d4aae at zfs_btree_add+0x6e
#4 0xffffffff82315905 at zap_lockdir_impl+0x325
#5 0xffffffff823155a4 at zap_lockdir+0x84
#6 0xffffffff82318b15 at zap_cursor_retrieve+0x175
#7 0xffffffff821a01a3 at zfs_freebsd_readdir+0x383
#8 0xffffffff81112050 at VOP_READDIR_APV+0x20
#9 0xffffffff80c56b09 at kern_getdirentries+0x229
#10 0xffffffff80c56eb9 at sys_getdirentries+0x29
#11 0xffffffff8104e4c7 at amd64_syscall+0x117
#12 0xffffffff810247bb at fast_syscall_common+0xf8
Uptime: 4m17s
If I convert the qcow2 image to raw it works fine