question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

K9mail stuck in crash loop after a few days of usage

See original GitHub issue

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App version

6.000

Where did you get the app from?

F-Droid

Android version

Android 7.1.1

Device model

Moto E4 plus

Steps to reproduce

On a phone in my family (but not my own phone), after using K9mail for a few days, K9mail crashes and then is stuck in a crash loop: each time K9mail is started, it immediately crashes again. The only way to recover is to uninstall K9mail and then reinstall and reconfigure everything. This has happened twice now.

The crash usually occurs when opening an email, but opening the same email again after reinstallation does not reproduce the problem. I don’t know how to trigger this problem, unfortunately. This started towards the end of April, shortly after 6.000 got released on F-droid.

Expected behavior

K9mail should not crash, and when it does, it should recover after restarting the application (or at least, restarting the phone).

Actual behavior

K9mail crashes and keeps crashing each time it is started.

Logs

Here’s what adb logcat says when I start K9mail: https://pastebin.com/4fpi2L4t

The crash seems to be this part:

05-15 16:24:30.851 23328 23328 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x19 in tid 23328 (com.fsck.k9)
05-15 16:24:30.853   690   690 D AEE_AED : $===AEE===AEE===AEE===$
05-15 16:24:30.853   690   690 D AEE_AED : p 2 poll events 1 revents 1
05-15 16:24:30.853   690   690 D AEE_AED : PPM cpu cores:4, online:4
05-15 16:24:30.854 23328 23359 W libEGL  : [ANDROID_RECORDABLE] format: 1
05-15 16:24:30.855   690   690 D AEE_AED : aed_main_fork_worker: generator 0xb0615170, worker 0xbeda68c4, recv_fd 0
05-15 16:24:30.856 23370 23370 I AEE_AED : handle_request(0)
05-15 16:24:30.856 23370 23370 I AEE_AED : check process 23328 name:com.fsck.k9
05-15 16:24:30.856 23370 23370 I AEE_AED : tid 23328 abort msg address:0x00000000, si_code:1 (request from 23328:10161)
05-15 16:24:30.856 23370 23370 W AEE_AED : debuggerd: handling request: pid=23328 uid=10161 gid=10161 tid=23328
05-15 16:24:30.858 23370 23370 I AEE_AED : [preset_info] pid: 23328, tid: 23328, name: com.fsck.k9  >>> com.fsck.k9 <<<
05-15 16:24:30.858 23370 23370 D AEE_AED : ptrace_siblings
05-15 16:24:30.859 23328 23359 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000
05-15 16:24:30.880 23370 23370 D AEE_AED : debuggerd: drop privileges
05-15 16:24:30.931 23370 23370 I AEE_AED : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-15 16:24:30.931 23370 23370 I AEE_AED : Build fingerprint: 'motorola/nicklaus_fn/nicklaus_fn:7.1.1/NMA26.42-162-1/1:user/release-keys'
05-15 16:24:30.931 23370 23370 I AEE_AED : Revision: 'MP'
05-15 16:24:30.931 23370 23370 I AEE_AED : ABI: 'arm'
05-15 16:24:30.931 23370 23370 I AEE_AED : pid: 23328, tid: 23328, name: UNKNOWN  >>> UNKNOWN <<<
05-15 16:24:30.931 23370 23370 I AEE_AED : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x19
05-15 16:24:30.932 23370 23370 I AEE_AED :     r0 00001e7f  r1 00000001  r2 00000000  r3 138fc710
05-15 16:24:30.932 23370 23370 I AEE_AED :     r4 794f9db8  r5 00000001  r6 13908790  r7 138d2c80
05-15 16:24:30.932 23370 23370 I AEE_AED :     r8 00000000  r9 af485400  sl 00000002  fp 138fc710
05-15 16:24:30.932 23370 23370 I AEE_AED :     ip 138fc000  sp beb8f7c0  lr 94bd4007  pc af03b3d0  cpsr 000d0030
05-15 16:24:30.934 23370 23370 I AEE_AED :
05-15 16:24:30.934 23370 23370 I AEE_AED : backtrace:
05-15 16:24:30.934 23370 23370 I AEE_AED :     #00 pc 000ae3d0  /system/lib/libart.so
05-15 16:24:30.934 23370 23370 I AEE_AED :     #01 pc 00c91005  /data/app/com.fsck.k9-1/oat/arm/base.odex (offset 0x97a000)

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:24 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
BrianGriff1ncommented, May 26, 2022

Same problem here, Android 7.0.

The external storage is used as primary storage and all available versions of k9mail on f-droid reproduce the crash loop.

My current work around is to install k9mail, NOT START k9mail, go to settings -> apps and move k9mail to internal phone storage. works now since a fortnight.

0reactions
cketticommented, Jul 18, 2022

@jc97: By filtering the log you have removed important information. However, this looks like issue #6009 (which has been fixed in K-9 Mail 6.201).

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Solved] App crashes when opening an email - K-9 Mail Forum
We use the WebView component to display emails. So the app will crash every time you try to open a message.
Read more >
K9 eating my internal sd0 storage space 0.9Gb - Google Groups
I've got the same problem...K9 is using over 2 GB of internal storage. How to either get all this moved to my external...
Read more >
k-9 Mail is back! - Android Forums at AndroidCentral.com
I've been a user since the early Android days, and there's no other email client in the Play Store that offers the level...
Read more >
After self-hosting my email for twenty-three years I have ...
My current email addresses are much cleaner even after 10+ year of use ... I've used K-9 Mail, though rarely do these days...
Read more >
Dialer stuck in partial wakelock [36929312] - Issue Tracker
Then restart your phone. Seems to have resolved for me. HTC ChaCha. Dialer battery usage is 3% after receiving a call. After that,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found