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

Crash when pressing back to exit app #282

Closed
6 tasks done
pudup opened this issue Jan 29, 2024 · 13 comments
Closed
6 tasks done

Crash when pressing back to exit app #282

pudup opened this issue Jan 29, 2024 · 13 comments
Labels
Bug Something isn't working

Comments

@pudup
Copy link

pudup commented Jan 29, 2024

Steps to reproduce

It's a bit difficult to reproduce but I have it happen quite often

First the app needs to be launched normally.

Then leave the app without force closing it so that it's in the background.

Then the app needs to be removed from memory normally by the OS

Then when you open the app, it will resume but first it will show the splash screen, but definitely resumed from a cached state seemingly.

Then when you press back, the app crashes.

Expected behavior

Should just exit normally

Actual behavior

Crashes instead

Crash logs

App version: 0.16.2 (standard, 222e111, 3, 2024-01-27T18:31Z)
Android version: 13 (SDK 33; build T1SSIS33.1-75-7-3)
Device brand: motorola
Device manufacturer: motorola
Device name: rhodei (rhodei_g)
Device model: moto g62 5G
WebView: Android System WebView 120.0.6099.230

--------- beginning of main
01-29 23:57:30.175 25464 25464 E app.mihon: Not starting debugger since process cannot load the jdwp agent.
01-29 23:57:30.276 25464 25497 E SQLiteLog: (5) statement aborts at 2: [PRAGMA journal_mode=TRUNCATE] database is locked
01-29 23:57:30.353 25464 25522 E chromium: [ERROR:variations_seed_loader.cc(37)] Seed missing signature.
01-29 23:57:30.904 25464 25498 E SQLiteLog: (284) automatic index on C(manga_id)
01-29 23:57:30.904 25464 25498 E SQLiteLog: (284) automatic index on mangas_categories(manga_id)

Mihon version

0.16.3

Android version

13

Device

Moto G62

Other details

I've had this issue since Tachiyomi 0.15.3. AFAIK 0.15.2 and prior versions did not have it.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 0.16.2.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.
@pudup pudup added the Bug Something isn't working label Jan 29, 2024
@matheuscsoares
Copy link

I was about to open a new issue as this exact problem is also happening to me.
Here's my crash log, if it helps.
mihon_crash_logs.txt

@pudup
Copy link
Author

pudup commented Jan 29, 2024

@matheuscsoares Thanks for providing a log cuz my crashlog is broken.
It takes a bit of effort for me to reproduce it manually cuz phones these days have way too much RAM, so I couldn't regenerate the log.

@pudup
Copy link
Author

pudup commented Jan 29, 2024

Managed to reproduce it so I could get the error screen.

Screenshot_20240130-013203

Screenshot_20240130-013209

@CactusTheGuy
Copy link

Sorry about the mention above in issue #287, didn't know this opened, the closed is self close for being dumb dumb…

@CactusTheGuy
Copy link

I watched the app behavior before the crash. Able to know how to reproduce this reliably. But it require the app to be suspended by the OS.

Before the crash when exiting, when you enter the app, the app will freeze for a moment. That is when you have high chance to crash the app

@pudup
Copy link
Author

pudup commented Feb 1, 2024

To me it just seems like it's trying to move back to an activity that does not exist.

As an aside, if you move to another tab, like the Updates tab, and then back, it will not crash.

@dgw
Copy link

dgw commented Mar 2, 2024

In #436 it was suggested that this could have something to do with edge-swipe gestures. However I see regular navigation buttons in screenshots on this ticket, so that idea is probably a red herring.

@pinglebon-orig
Copy link

mihon_crash_logs.txt
Adding my own crash log as it doesn't seem to match the others.

@lin-ycv
Copy link

lin-ycv commented May 15, 2024

Here's my crash log, I use swipe gestures, only happens when I try to exit the app using the back gesture.
mihon_crash_logs.txt

@MajorTanya
Copy link
Contributor

Here's my crash log, I use swipe gestures, only happens when I try to exit the app using the back gesture. mihon_crash_logs.txt

This log does not contain anything actionable nor any sort of crash data.

@lin-ycv
Copy link

lin-ycv commented May 15, 2024

This log does not contain anything actionable nor any sort of crash data.

I pressed share crash logs from the crash screen, and chose Google drive, that was what it saved.

The crash was something about currentTab used multiple times

@MajorTanya
Copy link
Contributor

This log does not contain anything actionable nor any sort of crash data.

I pressed share crash logs from the crash screen, and chose Google drive, that was what it saved.

The crash was something about currentTab used multiple times

It's sadly a known problem where the "actual" crash doesn't make it to the log file sometimes (not any user's fault) - there is a fix for this in the works but may be some time before it's released in Mihon stable.

The currentTab key issue is well-known and currently without a fix or workaround.

@daredevil2033
Copy link

mihon_crash_logs.txt
Finally found the appropriate issue. Have a bunch of these logs with corresponding screenshots. This one conveniently has a stack trace already included. Never used swipe gestures so that has to be a dead end.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants