deltachat / deltachat-ios

Email-based instant messaging for iOS.
GNU General Public License v3.0
306 stars 49 forks source link

iOS client instantly crashing with large attachments #2210

Open Simon-Laux opened 2 weeks ago

Simon-Laux commented 2 weeks ago

Delta Chat version 1.46

Expected behavior

App is working correctly

Actual behavior iOS app instantly crashes after showing splash screen for a while. Problem can solve by itself after indefinite amount of time (from 10 minutes to 24-36 hours)

Steps to reproduce the problem

  1. (To break sender’s side) Enable sending copy to yourself

Send a large video attachment from an Android app via postfix+dovecot server to user at the same server Open recipient’s iOS app — it crashes Open sender’s iOS app — it crashes But it isn’t reproducible every time for both sides: sometimes both clients are broken, sometimes one of the them, sometimes both work correctly.

No logs could be retrieved, because app does not open. Nothing suspicious in the dovecot logs have seen.

originally reported on the forum (as there for more details): https://support.delta.chat/t/ios-client-instantly-crashing-with-large-attachments/3142

Simon-Laux commented 2 weeks ago

maybe we could set the default download on demand config option to sth like 20-40mb to make it a user choice to download the file, reducing the possibility to using this as a DOS attack? (though thats probably theoretical anyway, I assume it would only happen with custom max size settings in self hosted mail servers?)