revanced-manager icon indicating copy to clipboard operation
revanced-manager copied to clipboard

bug 1.26.0-dev.9 version crashes when opening

Open AlexeiCrystal opened this issue 2 months ago • 6 comments

Bug description

I found the setting for installing preview versions and installed this version. I tried to open the installed application, but it crashes.

Version of ReVanced Manager and version & name of app you are patching

1.26.0-dev.9

Installation method

None

ReVanced Manager logs

Logs from LogFox:

FATAL EXCEPTION: main
Process: app.revanced.manager.flutter, PID: 5322
java.lang.RuntimeException: Unable to start activity ComponentInfo{app.revanced.manager.flutter/app.revanced.manager.flutter.ExportSettingsActivity}: java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 2274280 bytes
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3771)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3938)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2291)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:210)
	at android.os.Looper.loop(Looper.java:299)
	at android.app.ActivityThread.main(ActivityThread.java:8319)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1038)
Caused by: java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 2274280 bytes
	at android.app.ActivityClient.finishActivity(ActivityClient.java:156)
	at android.app.Activity.finish(Activity.java:6544)
	at android.app.Activity.finish(Activity.java:6578)
	at app.revanced.manager.flutter.ExportSettingsActivity.onCreate(Unknown Source:198)
	at android.app.Activity.performCreate(Activity.java:8163)
	at android.app.Activity.performCreate(Activity.java:8130)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1330)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3744)
	... 12 more
Caused by: android.os.TransactionTooLargeException: data parcel size 2274280 bytes
	at android.os.BinderProxy.transactNative(Native Method)
	at android.os.BinderProxy.transact(BinderProxy.java:629)
	at android.app.IActivityClientController$Stub$Proxy.finishActivity(IActivityClientController.java:1496)
	at android.app.ActivityClient.finishActivity(ActivityClient.java:153)
	... 19 more

Patch logs


Acknowledgements

  • [x] I have checked all open and closed bug reports and this is not a duplicate.
  • [x] I have chosen an appropriate title.
  • [x] All requested information has been provided properly.
  • [x] The bug is only related to ReVanced Manager.

AlexeiCrystal avatar Oct 23 '25 19:10 AlexeiCrystal

Related to (at the moment) untraceable migration bug

This time seems to be from flutter side not compose

validcube avatar Oct 24 '25 00:10 validcube

android.os.TransactionTooLargeException: data parcel size 2274280 bytes

Is 2MB a normal size for data migration? Or is unrelated and unimportant additional data coming along for the ride?

LisoUseInAIKyrios avatar Nov 06 '25 02:11 LisoUseInAIKyrios

By looking here, the migration data should just be the shared prefs, the keystore and selected patches file. I don't know why it ends up being 2MB, since the individual files should be nowhere near that size. I guess maybe JSON is making it blow up?

Axelen123 avatar Nov 07 '25 20:11 Axelen123

Unless debug logging is added to Flutter manager so it's logging what is actually exported, the cause of the problem will remain speculative.

LisoUseInAIKyrios avatar Nov 07 '25 21:11 LisoUseInAIKyrios

Unless debug logging is added to Flutter manager so it's logging what is actually exported, the cause of the problem will remain speculative.

It's possible to do that locally, but the difficult part would be publishing that fix

Ushie avatar Nov 07 '25 23:11 Ushie

Maybe ReVanced Manager Compose can mediate the small number of users by instructing them to reduce the content by clearing unnecessary settings like patch selection

Or just skip the migration, it's not particularly a necessity

Ushie avatar Nov 07 '25 23:11 Ushie