wolpi / prim-ftpd

FTP server app for android
Other
620 stars 78 forks source link

crash on LineageOS 21 (Android 14) #333

Open J70P opened 7 months ago

J70P commented 7 months ago

I have installed LineageOS 21 (Android 14). Both 6.16 and 7.0 crash during file transfer. This means that the primitive ftpd UI disappears from the screen (was previously the foreground app), the notification remains. But you can no longer access the device via FileZilla.

J70P commented 7 months ago

I created a logcat file containing primftpd.

logcat_grep_primftpd.txt

The primitive ftpd log file contains a lot of

"2024-02-23 10:11:00.4";"DEBUG";"org.apache.mina.core.filterchain.IoFilterEvent";"Firing a EXCEPTION_CAUGHT event for session 7";"";

at the end.

wolpi commented 6 months ago

Those EXCEPTION_CAUGHT are not present in the log file you added?

It is suspicious to me that it contains entries like

EventBus: No subscribers registered for event class org.primftpd.events.ClientActionEvent

I think I have never seen that before.

But the log does not contain helpful information. It also misses the usualy messages of this app.

Can you provide another logfile? Or other information like screenshots or logs of client?

J70P commented 6 months ago

These are two different log files. The "EXCEPTION_CAUGHT" are in the csv log file of primitive ftpd, the attached file is a dump from logcat with grep filtered to primftpd.

On the device (Android): # logcat -d > logcat.txt

On my computer (Debian): $ grep "primftpd" logcat.txt > logcat_grep_primftpd.txt

I don't want to upload the entire log files because they contain sensitive data.

I can't take a screenshot because primitive ftpd can no longer be seen on the screen after the data connection is lost.

wolpi commented 6 months ago

Well, the logfile above does not contain helpful messages. You could remove sensitive things before uploading.

I can't take a screenshot because primitive ftpd can no longer be seen on the screen after the data connection is lost.

The UI is not shown at all? That indicates some very basic issue. With version 7 the UI has been heavily changed. You can try an older version. Hopefully older UI works on your device.