Hi David,

On 2024/10/12 04:22, David Michael wrote:
Hi,

Version 1.8.2 has a reproducible segfault with "-E all-fragments"
(testing on Fedora 40).  When compressing the install image, it
consistently hangs on a firmware file:

sudo dnf -y install erofs-utils
wget 
https://dl.fedoraproject.org/pub/fedora/linux/releases/40/Everything/x86_64/os/images/install.img
sudo mount install.img /mnt
sudo mkfs.erofs -z zstd -E all-fragments erofs.img /mnt

If you isolate just that firmware directory instead of the whole
image, it will segfault:

mkfs.erofs -z zstd -E all-fragments erofs.img 
/mnt/usr/lib/firmware/nvidia/ga102/gsp

It happens with all compressors I've tried, but adding "dedupe" works
around it.  Is there any change I should test?  Let me know if you
need additional information.

Thanks for the report, I will look into that.

Thanks,
Gao Xiang


Thanks.

David

Originally reported in: https://bugzilla.redhat.com/2318138

Reply via email to