mihonapp / mihon

Free and open source manga reader for Android
Apache License 2.0
10.18k stars 461 forks source link

Crash app at startup #616

Closed PaulLabat closed 7 months ago

PaulLabat commented 7 months ago

Steps to reproduce

I just wait a few hours without using it, typically a night. Then I launch the app and the crash appear.

Expected behavior

The app should not crash

Actual behavior

Just after the launch, the app loop crashes. The app display the stack trace but as it keep crashing I can't show you the screenshot.

Crash logs

2024-04-03 10:17:49.086 29633-29633 AndroidRuntime pid-29633 E FATAL EXCEPTION: main Process: app.mihon:error_handler, PID: 29633 java.lang.IllegalStateException: scroll observation scope does not exist at androidx.work.CoroutineWorker$$ExternalSyntheticLambda0.run$androidx$compose$ui$contentcapture$AndroidContentCaptureManager$$InternalSyntheticLambda$2$29484e630669854f791886d414d611f34252a816fc574150be2de4c0841480a1$0(Unknown Source:307) at androidx.work.CoroutineWorker$$ExternalSyntheticLambda0.run(Unknown Source:3067) 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:8501) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Mihon version

0.16.4

Android version

Android 14

Device

Google Pixel 6

Other details

Sometime, to fix the crash, I just reboot the phone.

Acknowledgements

Smol-Ame commented 7 months ago

It's a Google issue with their QPR update, either downgrade to 0.16.2 or use Mihon Preview for now.

If you want, you can restart your phone, then immediately try to create a backup, otherwise, restore your data using autobackup file, and set the app back to your current Mihon folder