Closed trofi closed 10 months ago
Hello @trofi
I was able to reproduce:
The ioctl crashes (Invalid argument
) but later on, fiemap_scan_extent()
is called to check the new extents mapping
As the file is truncated, there are no extent
Anyway, I just found a typo, fixed here: https://github.com/markfasheh/duperemove/commit/9912c03c16af67e33b5dc36052e8faed9a17749d
This would fix your issue Thank you!
The change fixes the crash for me both on synthetic and real dataset. Thank you!
Initially noticed as a
duperemove-0.14
crash on a real data set. Reproducing it on a real data takes a while, but using the followingduperemove-fuzz.bash
usually takes under 20 seconds:Running:
gdb
saysresult
pointer isNULL
there: