Maintained list of all remaining issues. Call to help.


While It didn't crash for me, I've had odd issues with exFAT even in Buster. my SD cards are all formatted to ext3 currently.
 
I reproduced the problem by mounting everything by hand
Code:
sudo mkdir /tmp/testMountSd
sudo chmod 777 /tmp/testMountSd
sudo mount -t exfat -o defaults,umask=000 /dev/mmcblk5p1 /tmp/testMountSd
sudo mkdir /tmp/testMountImage
sudo chmod 555 /tmp/testMountImage
sudo mount --type="squashfs" --options="loop" --source="/tmp/testMountSd/dragonbox/packages/SlayTheDragons1.1.1.dbp" --target="/tmp/testMountImage"
sudo mkdir /tmp/testMountUnion
sudo chmod 777 /tmp/testMountUnion
sudo mount -t aufs -o noplink,br=/tmp/testMountSd/dragonbox/appdata/SlayTheDragons=rw+nolwh:/tmp/testMountImage=ro none /tmp/testMountUnion

=> results in the message "Segmentation fault"

I don't think the file permissions in exFAT are the problem (since I mounted with all the permissions and the problem still occurs).
 
I reproduced the problem by mounting everything by hand
Code:
sudo mkdir /tmp/testMountSd
sudo chmod 777 /tmp/testMountSd
sudo mount -t exfat -o defaults,umask=000 /dev/mmcblk5p1 /tmp/testMountSd
sudo mkdir /tmp/testMountImage
sudo chmod 555 /tmp/testMountImage
sudo mount --type="squashfs" --options="loop" --source="/tmp/testMountSd/dragonbox/packages/SlayTheDragons1.1.1.dbp" --target="/tmp/testMountImage"
sudo mkdir /tmp/testMountUnion
sudo chmod 777 /tmp/testMountUnion
sudo mount -t aufs -o noplink,br=/tmp/testMountSd/dragonbox/appdata/SlayTheDragons=rw+nolwh:/tmp/testMountImage=ro none /tmp/testMountUnion

=> results in the message "Segmentation fault"

I don't think the file permissions in exFAT are the problem (since I mounted with all the permissions and the problem still occurs).
If your code and the system mount command both do segfaults, this means it could be something going wrong in the library wrapping the low level syscall into the mount() C function: https://man7.org/linux/man-pages/man2/mount.2.html
Do you have a core dump or can you run the failing manual mount command inside gdb? That should give additional information.
 
Back
Top