hardcore-sushi / DroidFS

Encrypted overlay filesystems implementation for Android. Also available on gitea: https://forge.chapril.org/hardcoresushi/DroidFS
GNU Affero General Public License v3.0
654 stars 44 forks source link

DroidFS crashes after trying to move large number of files. #312

Open tomnookisgay opened 1 month ago

tomnookisgay commented 1 month ago

Hello!

I'm trying to move a large amount of files (10k+) around 30 KB - 5 MB in size into a gocryptfs volume but after around 30-500 files moved, DroidFS crashes.

I have the expose open volumes option enabled, have added the volume to the Total Commander file manager, and am moving files into that volume.

I've attached the logcat to this.

Sorry for not saying much, I'm a bit fried right now but should be able to answer any additional questions.

Thanks!

DroidFS_2024-10-09_14_50_07.log

hardcore-sushi commented 1 month ago

The logcat you attached seems to indicate a failure when DroidFS tried to read the files. Where are the source files located? Can you reproduce the crash with another file manager like MaterialFiles?

tomnookisgay commented 1 month ago

The files are located on my devices internal storage.

I happened to have already tried it with Material files, it had the same result.

hardcore-sushi commented 1 month ago

I cannot reproduce the issue. What's your Android version? Is the error in the logcat the same with Material Files?

You said you moved the files but does the crash happen if you just copy them instead? And what if you copy only the first 600 files?

Have you enabled the new "Keep volumes open" unsafe feature in the v2.2.0 version?