thunderbird / thunderbird/thunderbird-android

Error when attaching file or image when we reply

Open
#9,425 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

qa: worksforme status: answered 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

Thunderbird for Android

App version

latest version 10.0

Where did you get the app from?

Google Play

Android version

15

Device model

Many device, Xiaomi 13, Xiaomi 13T Pro

Steps to reproduce

Hi,

When we try to attach some file or image when we reply to a message,
This is a old error that occurs in K9-email:

The erro ccours whe we select the image or file.

######################################################
java.lang.RuntimeException:
android.os.TransactionTooLargeException: data
parcel size 1164924 bytes
Bundle stats:
android:viewHierarchyState [size=25820]
android:views [size=25716]
0x7f0902d8 [size=16960]
0x7f0903b1 [size=1780]
androidx.lifecycle.BundlableSavedStateRegistry.key
[size=1056]
state:htmlQuote [size=1134364]
PersistableBundle stats:
[null]
at
android.app.servertransaction.PendingTransactionAct
ions$Stoplnfo.run(PendingTransactionActions.java:14
6)
at
android.os.Handler.handleCallback(Handler.java:959)
at
android.os.Handler.dispatchMessage(Handler.java:10
at android.os.Looper.loopOnce(Looper.java:249)
at android.os.Looper.loop(Looper.java:337)
at
android.app.ActivityThread.main(ActivityThread.java:9
403)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.Runtimelnit$MethodAndArgs
Caller.run(Runtimelnit.java:614)
at
com.android.internal.os.Zygotelnit.main(Zygotelnit.jav
a:1004)
Caused by: android.os.TransactionTooLargeException:
############################################

This happens only when the message that we reply have sequence of messages .
Can you please help and solve this issue?

Many thanks,

Expected behavior

Attach file or image and continue to reply to message

Actual behavior

App crash, and edit message close.

Logs

java.lang.RuntimeException:
android.os.TransactionTooLargeException: data
parcel size 1164924 bytes
Bundle stats:
android:viewHierarchyState [size=25820]
android:views [size=25716]
0x7f0902d8 [size=16960]
0x7f0903b1 [size=1780]
androidx.lifecycle.BundlableSavedStateRegistry.key
[size=1056]
state:htmlQuote [size=1134364]
PersistableBundle stats:
[null]
at
android.app.servertransaction.PendingTransactionAct
ions$Stoplnfo.run(PendingTransactionActions.java:14
6)
at
android.os.Handler.handleCallback(Handler.java:959)
at
android.os.Handler.dispatchMessage(Handler.java:10
at android.os.Looper.loopOnce(Looper.java:249)
at android.os.Looper.loop(Looper.java:337)
at
android.app.ActivityThread.main(ActivityThread.java:9
403)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.Runtimelnit$MethodAndArgs
Caller.run(Runtimelnit.java:614)
at
com.android.internal.os.Zygotelnit.main(Zygotelnit.jav
a:1004)
Caused by: android.os.TransactionTooLargeException:

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

Start by reproducing the crash on Android 15 with a reply containing a long sequence of quoted messages, then use the provided TransactionTooLargeException log to trace the affected reply and attachment flow. Done means attaching a file or image no longer crashes the app and the reply editor remains open.

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
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.