K9 stopped working reliably when my Galaxy Tab A updated to Android 9

50 views
Skip to first unread message

Noam Arzt

unread,
Sep 4, 2019, 12:14:28 PM9/4/19
to K-9 Mail
Using a model SM-T387V which did a system update yesterday morning. Ever since the app craps out on most message views. Anyone else seeing this?

Thanks!

Noam

Will Corless

unread,
Sep 13, 2019, 12:32:29 PM9/13/19
to K-9 Mail
This same thing happened to me on my Google Pixel 3 XL. As soon as I upgraded to Android Pie, I no longer get notifications and the app stopped refreshing.  It now says something like "Next poll in 6 hours ago" and just keeps counting up the amount of time since it should have checked until I manually check the mail.

Mathguy

unread,
Sep 13, 2019, 12:39:06 PM9/13/19
to K-9 Mail
I have a Pixel 3 XL and K9 worked flawlessly on Pie and is working just as well on Android 10.  So, I wonder what the problem is.  Maybe uninstall and reinstall?

Mathguy

unread,
Sep 13, 2019, 12:39:55 PM9/13/19
to K-9 Mail
Actually, one thing comes to mind....have you checked the Battery Optimization and made sure that K9 is NOT optimized?

Will Corless

unread,
Sep 13, 2019, 1:07:57 PM9/13/19
to k-9-...@googlegroups.com
Thanks Mathguy, I took a look and it's not optimized already.  I've been having problems with a few other apps, and that did fix one of them that was set to Optimized.  I think I might do a factory reset and see if it fixes my problems. I'm bummed that K-9 Mail and Gentle Alarm aren't working for me in Pie so hopefully that fixes it.

--
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/b38d9d5b-0220-42e0-b9d7-c67b3842d189%40googlegroups.com.

Noam H Arzt, PhD

unread,
Sep 13, 2019, 3:12:22 PM9/13/19
to k-9-...@googlegroups.com, Mathguy
Was this battery optimization related to my original question?

If so, I don't see how to disable a specific app from battery optimization.

Noam
--
You received this message because you are subscribed to a topic in the Google Groups "K-9 Mail" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/k-9-mail/4zcIE6250_I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to k-9-mail+u...@googlegroups.com.

Gunter Königsmann

unread,
Sep 14, 2019, 2:49:26 AM9/14/19
to k-9-...@googlegroups.com, Noam H Arzt, PhD, Mathguy
Most of your apps will generate money somehow. A famous music recognition app will determine your location every few minutes and send it to an ad network. Other apps will every few minutes download ads and act as if they show them to you. A weather app I once used at one point used android's voice recognition service for targeting ads (it transfered about a gigabyte of data a week whilst doing this). And some apps just try a bit too much to be informed about things they actually need to know.

Most android devices try to avoid waking up your device draining your battery for these reasons. And they try to be smarter than the app authors that try to be smarter than the device manufacturers.

k9 regularly wakes up your device connecting the net in order to scan for mails. If it stops working for you the most probable reason is that your device misinterprets this behavior for draining the battery for no reason killing the app.

On my own phone k9 works like a charm. But other apps required me to go to the "apps" section of my android section, to manually search for the "battery optimized apps" section and to find out how to add more apps to it after selecting "optimized apps". Needed a quarter of an hour to find this setting even if I knew it had to be there.

Kind regards,

Gunter.
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

David W. Jones

unread,
Sep 14, 2019, 3:00:53 AM9/14/19
to k-9-...@googlegroups.com
It also could be something Samsung is doing that's different from what stock/real Android does.

--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Sent from my Android device with F/LOSS K-9 Mail.

Noam H Arzt, PhD

unread,
Sep 14, 2019, 11:23:26 PM9/14/19
to Gunter Königsmann, k-9-...@googlegroups.com, Mathguy
I don't think this is the issue for me. For one thing, I have K9 set to NOT poll for email automatically but only on command. Second, it only craps out when viewing certain messages suggesting to me that it is an app problem. I can't see a pattern in the messages it fails to display.

Noam

Gunter Königsmann

unread,
Sep 15, 2019, 12:13:18 AM9/15/19
to Noam H Arzt, PhD, k-9-...@googlegroups.com, Mathguy
OK... ...then the question would have been: can you describe the symptoms of the problem? Does it just show a blank message - or an error message of some sorts?

Kind regards,

Gunter.

Noam H Arzt, PhD

unread,
Sep 15, 2019, 12:21:12 AM9/15/19
to Gunter Königsmann, k-9-...@googlegroups.com, Mathguy
No error message. I view a message and the app just craps out and returns to the Android home screen.

Noam

David W. Jones

unread,
Sep 15, 2019, 12:31:15 AM9/15/19
to K-9 Mail
Sounds like an issue with formatting in the message and whatever engine
K-9 uses to render it. Is the message in HTML format?

Noam H Arzt, PhD

unread,
Sep 15, 2019, 12:49:14 AM9/15/19
to David W. Jones, K-9 Mail
Who the heck knows. But a previous message from you on this list fails. Not all of them though.

Noam

Gunter Königsmann

unread,
Sep 15, 2019, 12:52:32 AM9/15/19
to Noam H Arzt, PhD, k-9-...@googlegroups.com, Mathguy
Is there a mail that reproducibly does this and that you can forward to a developer?

If an app closes without asking if it can send feedback to the developers that looks like an out-of-memory to me. But a simple mail doesn't look like being a plausible trigger for that.

Additional question: Do you use any widget or similar that has the right to control k9?

Kind regards,

Gunter.

Noam H Arzt, PhD

unread,
Sep 15, 2019, 1:06:17 AM9/15/19
to Gunter Königsmann, k-9-...@googlegroups.com, Mathguy
I have a specific message that consistently causes the failure. To whom do I send it?

And I don't use any widgets that control K9 as far as I know.

Noam

Mark Brown

unread,
Sep 15, 2019, 4:55:37 AM9/15/19
to k-9-...@googlegroups.com
I too have a similar problem.  If one particular person sends me an e-mail, K9 crashes when I try to open it.  If he copies in his secretary, it doesn't.  (Or it might be the other way round - I can't honestly remember). I have given up on finding the cause, and just open his messages in another client.  It's a mystery.
Mark
--
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/0ECF0600-FCBE-4304-8C87-6E639BA1B080%40hln.com.

David W. Jones

unread,
Sep 18, 2019, 3:13:23 AM9/18/19
to k-9-...@googlegroups.com
Hmm, just wondering. Is "you" below referring to Gunter?

My "sounds like an issue with formatting" message was sent using K-9.
This message is being sent from Thunderbird, which is set to send plain
text.

Bart Gragg | Blue Collar University

unread,
Sep 18, 2019, 7:35:16 AM9/18/19
to k-9-...@googlegroups.com, David W. Jones
Not clear why I am receiving this email.

Bart
Bart Gragg – Speaker – Author - Trainer
Blue Collar University®
925.354.0277
www.bluecollaru.com
Author of the books:
“They’re Managers – Now What? How to Develop Blue Collar Managers and Supervisors”
"Cracking the Manager Code: 11 Traits of Effective Managers and Supervisors" (Spring 2019)

Noam H Arzt, PhD

unread,
Sep 18, 2019, 10:48:05 AM9/18/19
to k-9-...@googlegroups.com, David W. Jones
No, David, the "you" is "you." So whether I sent it from Thundebird in plain text or html is irrelevant, right? Since it is your message back that K9 will not render. And besides, Thunderbird does send messages in html.

Thanks,

Noam

Win Bent

unread,
Sep 24, 2019, 12:05:28 PM9/24/19
to K-9 Mail
I have the same system (Galaxy Tab A, recently updated to Android 9) with the same problem. Specific messages with HTML content cause a crash, even if I don't select "show pictures."

The annoying part is, it's not consistent. Sometimes it crashes to the K-9 list of mail servers/accounts, and sometimes it crashes to the Android "desktop." For one message in particular, I was able to fully load it and show pictures... once. Since then, it always causes K-9 to crash, immediately upon opening the message. Another message crashed three times, but did not crash the next time I opened it.

Gunter Königsmann

unread,
Sep 24, 2019, 3:38:40 PM9/24/19
to Win Bent, K-9 Mail
I dislike bugs that aren't reliable because there is always a chance that none of the devs will ever see them on their phone or if they do there is a chance that the crash will only happen if there is no debugger.


On 24 September 2019 18:05:28 CEST, Win Bent <whbjr0...@gmail.com> wrote:
I have the same system (Galaxy Tab A, recently updated to Android 9) with the same problem. Specific messages with HTML content cause a crash, even if I don't select "show pictures."

The annoying part is, it's not consistent. Sometimes it crashes to the K-9 list of mail servers/accounts, and sometimes it crashes to the Android "desktop." For one message in particular, I was able to fully load it and show pictures... once. Since then, it always causes K-9 to crash, immediately upon opening the message. Another message crashed three times, but did not crash the next time I opened it.

David W. Jones

unread,
Sep 24, 2019, 3:49:48 PM9/24/19
to k-9-...@googlegroups.com
Also possible that the bug isn't entirely in K-9. Could also be dependent on whatever system library K-9 uses for rendering HTML mail (assuming K-9 does that).


--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Reply all
Reply to author
Forward
0 new messages