thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/mobile
Apache License 2.0
11.02k stars 2.51k forks source link

Crash android.os.TransactionTooLargeException: data parcel size 575236 bytes #8455

Open Massedil opened 3 weeks ago

Massedil commented 3 weeks ago

Checklist

App

K-9 Mail

App version

8.0b4

Where did you get the app from?

F-Droid

Android version

Android 14 / LineageOS 21

Device model

A52s 5G

Steps to reproduce

  1. Reply to an email (it seems to be an heavy mail)
  2. Switch to another app

Seems related to #7702, but there it is when attaching a document.

I can reproduce the crash if you need help.

Expected behavior

K9 crashes

Actual behavior

If you come back to the e-mail, you are redirected to the inbox page, not the compose page where you where.

Logs

FATAL EXCEPTION: main Process: com.fsck.k9, PID: 4728 java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 575236 bytes Bundle stats: android:viewHierarchyState [size=31464] android:views [size=31360] 0x7f090219 [size=4980] 0x7f0902c9 [size=17852] 0x7f0903a2 [size=1796] androidx.lifecycle.BundlableSavedStateRegistry.key [size=1056] state:htmlQuote [size=539320] PersistableBundle stats: [null] at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:146) at android.os.Handler.handleCallback(Handler.java:959) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loopOnce(Looper.java:232) at android.os.Looper.loop(Looper.java:317) at android.app.ActivityThread.main(ActivityThread.java:8592) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: android.os.TransactionTooLargeException: data parcel size 575236 bytes at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(BinderProxy.java:586) at android.app.IActivityClientController$Stub$Proxy.activityStopped(IActivityClientController.java:1527) at android.app.ActivityClient.activityStopped(ActivityClient.java:101) at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:135) ... 8 more