Skip to content
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

TransactionTooLargeException when replying to message with large body #7702

Open
2 tasks done
Sami32 opened this issue Mar 7, 2024 · 3 comments
Open
2 tasks done
Labels
status: needs specification Issues requiring further specification or clarification type: bug Something is causing incorrect behavior or errors

Comments

@Sami32
Copy link

Sami32 commented Mar 7, 2024

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.800

Where did you get the app from?

Other

Android version

7.0 MIUI 11

Device model

Xiaomi Redmi Note 4

Steps to reproduce

  1. Answer an encrypted email
  2. Select to attach a document
  3. Crash happen

Expected behavior

No crashes like before.

Actual behavior

Crashes when answering an encrypted email.

Logs

k9mail-logs.txt

@Sami32 Sami32 added type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation labels Mar 7, 2024
@Sami32 Sami32 changed the title v. 6.800 from GitHub : crashes (regression) Crashes (regression) (v. 6.800 from GitHub) Mar 7, 2024
@Sami32

This comment was marked as off-topic.

@cketti

This comment was marked as off-topic.

@cketti
Copy link
Member

cketti commented Mar 14, 2024

Stack trace from the log:

java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 898364 bytes
	at android.app.ActivityThread$StopInfo.run(ActivityThread.java:3873)
	at android.os.Handler.handleCallback(Handler.java:754)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:165)
	at android.app.ActivityThread.main(ActivityThread.java:6375)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
Caused by: android.os.TransactionTooLargeException: data parcel size 898364 bytes
	at android.os.BinderProxy.transactNative(Native Method)
	at android.os.BinderProxy.transact(Binder.java:622)
	at android.app.ActivityManagerProxy.activityStopped(ActivityManagerNative.java:3688)
	at android.app.ActivityThread$StopInfo.run(ActivityThread.java:3865)
	... 7 more

This is unlikely to be a new bug. It's probably caused by a text field with too much data for the saved instance state mechanism. Fixing this requires changing how we save state in the compose screen.

@cketti cketti changed the title Crashes (regression) (v. 6.800 from GitHub) TransactionTooLargeException when replying to message with large body Mar 14, 2024
@cketti cketti added status: needs specification Issues requiring further specification or clarification and removed unconfirmed Newly reported issues awaiting triage or confirmation labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs specification Issues requiring further specification or clarification type: bug Something is causing incorrect behavior or errors
Projects
None yet
Development

No branches or pull requests

2 participants