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
0. (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.
thanks a lot for your report! to make it easier to sort things out, maybe you can clarify the following points:
which size were you using got a “large video” - how many MB or even GB?
for 3. the “sender’s iOS app” - in 1. the sender was Android app. might be, of course, that Android is affected as well.
in general, for sure, we need some upper borders - in the past, core was restricting sizes, but that was removed completely, so we need some checking in the apps (eg. iOS has a very strict limit about the amount of memory an app can use - maybe this is just hit)
hm, i tried to send myself several files/videos, but i could not reproduce the issue. the video was a raw size of 20mb, resulting in a message of about 30mb - which is the upper limit for the used email sever - larger files are denied to sent out.
@Simon as you created the issue in the iOS repo, i assume, you could reproduce that? if so, can you provide a log or give more information about how to reproduce and how “download on demand” is related to that?
Haven’t tried it, just reposted it there, because I didn’t know how actively you were watching the forum, it’s a bug report, not a feature request, so it belongs to iOS issue tracker.
I believe a friend of mine is suffering from this issue. DC on iOS (Appstore version) not opening after I sent him a 5 MB GIF from my DC Windows client. No issues viewing the chat, message and attachment on my testflight version. He is on Chatmail, I’m on vanilla Dovecot.
Well, I cannot reproduce crashes anymore, but now it instead of crashing app is hanging in the “Updating” state for a long time.
The strangest think is here: I’ve sent the message with a big (~18mb) attachment at 22:15. Recipient had no push notification and hang with “Updating” header. And there are no records regarding that time period at all. Recipient got the message at 23:28
Also I tried to provoke that behaviour with that gif on the another iOS device with another recipient and couldn’t reproduce, event after sending tens of them.
Аналогичная проблема. После отправки клиенту на иос большого файла, приложение не открывается. Висит на логотипе. Был отправлен лог файл, текстовый (name.log) около 30мб.