thunderbird / thunderbird/thunderbird-android

K-9 Mail reliably crashes when swtiching away from a reply to an email that contains embedded images

Open
#10,933 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

unconfirmed
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

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

K-9 Mail

App version

18.0

Where did you get the app from?

Google Play

Android version

8.0

Device model

S7

Steps to reproduce

This is clearly related to the bug you fixed with version 18.0 in which K-9 Mail reliably crashed when opening an email containing embedded images.

It no longer crashes on opening emails, which is good.

However, if I open an email containing embedded images, and reply, and while drafting my reply I switch away from K-9 Mail, then instead of saving the draft email - as it should - K-9 Mail crashes.

If instead of switching away from K-9 Mail I save the draft first and then switch away, then it doesn’t crash. But I usually don’t remember to do this and therefore have lost several draft emails and had to retype them.

It doesn't crash if the email I'm replying to doesn't contain embedded images.

I’ve uploaded a log file to here. The latest crash happened at 15:03 on 21/04.

Dave

Expected behavior

It should save the email as a draft

Actual behavior

It crashes

Logs

I’ve uploaded a log file to here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crash on Android 8.0 with K-9 Mail 18.0 by replying to a message containing embedded images and switching away before saving. Inspect the uploaded crash log and draft-saving path; done means switching away no longer crashes and the reply is saved as a draft.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.