Skip to content

TransactionTooLargeException crash when backgrounding notes app #16997

@nfriedly

Description

@nfriedly

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

This is happening intermittently when I'm editing a note and then either switch to another app or turn off the screen. The file is 51kb.

Expected behaviour

Nothing, or maybe an auto save.

Actual behaviour

I get this full-screen error:

Image
App Version: 33.1.0
App Version Code: 330010090
App Flavor: play

Files App Version Code: 330010090 (PROD)

---

OS Version: 6.1.145-android14-11-gfa1d6308d1fe-ab14691759(15001963)
OS API Level: 36
Device: caiman
Manufacturer: Google
Model (and Product): Pixel 9 Pro (caiman)

---

java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 788720 bytes
Bundle stats:
  androidx.lifecycle.BundlableSavedStateRegistry.key [size=787084]
    android:support:activity-result [size=1180]
    android:support:fragments [size=785524]
      fragment_d8ab1531-cd3f-4e2b-89ab-921144dd60ea [size=785100]
        viewState [size=671544]
          0x7f090121 [size=670160]
        savedInstanceState [size=112716]
          note [size=56392]
          original_note [size=56216]
PersistableBundle stats:
  [null]
	at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:156)
	at android.os.Handler.handleCallback(Handler.java:1095)
	at android.os.Handler.dispatchMessageImpl(Handler.java:135)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.loopOnce(Looper.java:269)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9333)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
Caused by: android.os.TransactionTooLargeException: data parcel size 788720 bytes
	at android.os.BinderProxy.transactNative(Native Method)
	at android.os.BinderProxy.transact(BinderProxy.java:602)
	at android.app.IActivityClientController$Stub$Proxy.activityStopped(IActivityClientController.java:1567)
	at android.app.ActivityClient.activityStopped(ActivityClient.java:103)
	at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:141)
	... 9 more

Android version

16

Device brand and model

Google Pixel 9 Pro

Stock or custom OS?

Stock

Nextcloud android app version

33.1.0

Nextcloud server version

Nextcloud Hub 26 Winter (33.0.3)

Using a reverse proxy?

Yes, nginx proxy manager

Android logs

The crash is intermittent. Now that I have logcat running on my laptop, I can't seem to get it to happen again. I'll update this if I can get Android logs.

Server error logs

I'm using the Linux server.io docker image and it doesn't appear to have logs (?) There's a Logging page in the admin settings, but it's completely empty. And I poked around in the filesystem, but didn't find anything in /var/log. Are they somewhere else for docker?

Additional information

I'm filling this out on my phone, but I'll come back and edit it with more logs from my laptop if I can find them.

I did a search for this error and found several other issues, but they all seemed to be related large file moves, whereas I'm editing a 51kb text file. So I thought it merotrd a new issue.

Also, the "About & What's new" menu option in web seems broken. I get a spinner for a second, then the page refreshes. Fortunately "Administration settings" works and shows the server version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions