K9 crashes when trying to open spam email on galaxy s7

9 views
Skip to first unread message

Eric Katz

unread,
Jan 6, 2020, 3:43:31 PM1/6/20
to K-9 Mail
Relatively recent problem. When I try to open most spam emails in k9 on my galaxy s7, k9 crashes. K9 works properly on my galaxy s5. The native email app on the s7 also works ok. Only problem is k9 on s7 phone with spam emails. Problem started a few months ago. Running latest version of k9. Same settings on s7 as on s5 phone. Anyone know what's going on. I'm sure i'm not the only one with this problem.

George Scott Hollingsworth

unread,
Jan 7, 2020, 12:26:05 PM1/7/20
to K-9 Mail
That happens to me on occasion with some spam. It happens all the time with emails from discover.com. They format their multipart boundary string with either dash or equal. I can forward it to myself and it doesn't crash k-9. I have examined the source of the discover email.

Eric Katz

unread,
Jan 7, 2020, 12:31:25 PM1/7/20
to k-9-...@googlegroups.com
Thanks. In my case I can't fwd to myself. Apparently the server spam filter blocks its although the original sender manages to get it thru.
In any event, email composition content should not crash an email app. Crappy coding. Any suggestions for a good, reliable email app that works?


On Tue, Jan 7, 2020, 12:26 PM George Scott Hollingsworth <gsholli...@gmail.com wrote:
That happens to me on occasion with some spam. It happens all the time with emails from discover.com. They format their multipart boundary string with either dash or equal. I can forward it to myself and it doesn't crash k-9. I have examined the source of the discover email.

--
You received this message because you are subscribed to the Google Groups "K-9 Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to k-9-mail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/k-9-mail/a7688a03-6f6d-4515-b269-ab7ea9d20efd%40googlegroups.com.

Gunter Königsmann

unread,
Jan 7, 2020, 1:01:47 PM1/7/20
to k-9-...@googlegroups.com, Eric Katz
One GCC dev told me once that no app should ever crash no matter what is the input. ...and while most crashes are harmless zero-pointer dereferences some crashes are exploitable => if there is any chance you can send the devs the mail that caused the crash, perhaps after saving it as .eml an compressing it into a .zip file the devs will most probably be grateful: Most crashes are easy to fix once a dev can reproduce them because the debugger will most probably be able to tell which line the crash was caused by.

Unfortunately, as Schneier says security is a moving goal: every day bugs are fixed and every day weird contents is created that triggers bugs and even simple things that used be near-plain text (like mails and websites) get more complicated every day which means each app will be "crappy" regarding to your definition from time to time. The cause for the crash might even lie completely outside if the app in a library the phone happens to provide. In this time it cannot be found in k9's code nor using any different phone than a S9. I am not a k9 dev. But with wxMaxima, the program I support I have learnt to dread this kind of bug.
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Eric Katz

unread,
Jan 8, 2020, 3:43:11 PM1/8/20
to K-9 Mail


Uninstalled the app from my S7 (which was the latest update version) and reinstalled the previous version from backup (same version on my s5). This fixed the problem. I use ES File explorer to back up all my apps, especially before updating an app. More often than might be expected, the updated version kills the app. In this case, reverting to previous version resolved the problem.
Reply all
Reply to author
Forward
0 new messages