Open dioni21 opened 1 year ago
Forgot to add compilation parameters:
./configure --enable-silent-rules --enable-dependency-tracking --config-cache --enable-linux-builtin --disable-nls --with-config=all --enable-asan --enable-ubsan --enable-debuginfo --enable-debug --enable-debug-kmem --enable-debug-kmem-tracking CFLAGS=-Wno-stringop-overflow
Also, temporarily:
sed -i '/ DEBUG_CFLAGS="-Werror"/s/^/#/' config/zfs-build.m4
As I could not compile since a few recent Fedora upgrades and could not yet get time to fix and send PRs. Sorry... :-(
I would also add to this bug report, that i am facing the same issues on arch.
Happened with lts and rolling release kernels. The report focus just on LTS.
Here is the DMESG error.
[ 2758.058252] ==================================================================
[ 2758.058271] BUG: KFENCE: use-after-free read in spa_read_history_add+0xe8/0x200 [zfs]
[ 2758.058467] Use-after-free read at 0x0000000060207b0d (in kfence-#160):
[ 2758.061284] CPU: 2 PID: 6577 Comm: .NET TP Worker Tainted: P OE 6.6.32-1-lts #1 ee405f31cc2370c66e95bb51982e71a894d4c0fd
[ 2758.061301] Hardware name: ASUS All Series/VANGUARD B85, BIOS 2202 04/01/2015
[ 2758.061310] ==================================================================
zfs version
zfs-2.2.4-1
zfs-kmod-2.2.4-
kernel:
Linux pc 6.6.32-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 25 May 2024 20:20:51 +0000 x86_64 GNU/Linux
I can help but would like to see some interest of the upstream in debugging and fixing it.
@dioni21 could you update on this issue please?
System information
Describe the problem you're observing
Dmesg reports errors, some processes freeze, system unstable
Describe how to reproduce the problem
Don't know. I just use this host daily. It's my desktop/home server.
Here's the last dmesg: