openfoodfacts-androidapp icon indicating copy to clipboard operation
openfoodfacts-androidapp copied to clipboard

RuntimeException: android.os.TransactionTooLargeException: data parcel size 1083376 bytes

Open sentry-io[bot] opened this issue 2 years ago • 4 comments

Sentry Issue: OPENFOODFACTS-ANDROID-3GN

TransactionTooLargeException: data parcel size 1083376 bytes
    at android.os.BinderProxy.transactNative(BinderProxy.java)
    at android.os.BinderProxy.transact(BinderProxy.java:640)
    at android.app.IActivityClientController$Stub$Proxy.activityStopped(IActivityClientController.java:1297)
    at android.app.ActivityClient.activityStopped(ActivityClient.java:83)
    at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:143)
...
(8 additional frame(s) were not displayed)

RuntimeException: android.os.TransactionTooLargeException: data parcel size 1083376 bytes
    at android.app.ActivityClient.activityStopped(ActivityClient.java:86)
    at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:143)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:233)
...
(5 additional frame(s) were not displayed)

sentry-io[bot] avatar Apr 07 '22 13:04 sentry-io[bot]

now the #1 bug

teolemon avatar Apr 07 '22 13:04 teolemon

absolutely no idea how to reproduce, it says in Stack Overflow it might be related to intents, but I don't believe that many people "Share to Open Food Facts"

teolemon avatar Apr 07 '22 13:04 teolemon

Maybe related to onSaveInstanceState in ContinuousScanActivity or MainActivity

VaiTon avatar Apr 07 '22 15:04 VaiTon

It means we save too much things when the app goes into background (hard to reproduce)

g123k avatar Apr 07 '22 16:04 g123k