About Segmentation fault of mkfs.erofs in AOSP
Yue Hu
zbestahu at gmail.com
Tue Dec 1 22:23:09 AEDT 2020
hi guys,
I'm trying using erofs for super.img(dynamic partition) under Android 10. But i have met an issue below when building images:
```log
EROFS: write_uncompressed_block() Line[140] Writing 3517 uncompressed data to block 63950
EROFS: erofs_mkfs_build_tree() Line[1011] add file /tmp/merge_target_files_jnIVhM/output/VENDOR/etc/xtwifi.conf (nid 8185600, type 1)
EROFS: erofs_mkfs_build_tree() Line[1011] add file /tmp/merge_target_files_jnIVhM/output/VENDOR/etc (nid 1790208, type 2)
out/host/linux-x86/bin/mkerofsimage.sh: line 79: 188014 Segmentation fault (core dumped) $MAKE_EROFS_CMD
```
Have you met this kind of issue? I'm trying to debug the problem, looks like memory related.
BTW: i'm using latest erofs-utils in AOSP master branch (https://android.googlesource.com/platform/external/erofs-utils/).
Thx.
More information about the Linux-erofs
mailing list