New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
K9 email completion crashes compose without saving #4488
Comments
Please add a comment when you had a chance to upload the log. I'll have a look then. |
@cketti log attached. Seems like what is causing the crash is a limitation in SQLlite which is related to the fact that I have many contacts that match. |
This seems to be a bug in OpenKeychain.
|
same problem. |
Similar symptom here with only a few contacts and a different traceback. Crash happens upon entering the second letter of an e-mail address in the To: field. Log file: Permissions:
K-9 Mail version: 5.600 (from f-droid.org) Exception: FATAL EXCEPTION: AsyncTask #2 |
Composing messages is not possible at all also with the more recent version 5.800 (from f-droid). By typing the second character of an e-mail address the app crashes reproducably with the following stacktrace: FATAL EXCEPTION: ModernAsyncTask #1 Permissions:
K-9 Mail version: 5.800 (latest from f-droid.org) |
This was tested in both K9 5.600 and 5.704.
I have more than 7000 contacts on my android device. Most have one email, some have multiple.
When I try to insert email addresses sometimes K9 compose crashes before showing the list of email completion. Not all prefixes lead to a crash but some crash consistently in a reproducible manner. (e.g. typing "ma" crashes but if I type "matt" quick enough it works fine). This makes me assume that the problem is either some attribute in a subset of the contacts or the list of possible matches being too large. I have not yet managed to isolate if that's the cause of the crash though.
I usually write the body of the message first and provide the emails in the end so the crash often leads to loss of the message that was just typed.
K9 5.704 seems to be a bit more resilient to this bug. In 5.600 being faster at typing the desired match doesn't actually help.
Expected behavior
Email completion should not crash the interface/app.
Actual behavior
Compose closes/crashes without saving a draft and I'm sent back to the initial inbox.
Steps to reproduce
Environment
K-9 Mail version: 5.704
Android version: 9
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
Please take some time to retrieve logs and attach them here: (will try to get logs as soon as possible)
The text was updated successfully, but these errors were encountered: