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

TrustExtensionRepositoryMigration causes app freezing after update app #938

Closed
6 tasks done
cuong-tran opened this issue Jun 21, 2024 · 2 comments
Closed
6 tasks done
Labels
Bug Something isn't working
Milestone

Comments

@cuong-tran
Copy link
Contributor

Steps to reproduce

  1. Install Mihon version 0.16.5 (latest commit: 2a01a2a)
  2. Update app to newer version (from commit: 6d4267b)

Expected behavior

App should be able to run normally

Actual behavior

App freeze at splash screen and won't run

Crash logs

2024-06-21 19:07:50.222 13640-13640 nativeloader app.mihon.debug D Configuring clns-6 for other apk /data/app/~~FEpjXFtCFMTcW_TFyaRLvA==/app.mihon.debug-139DY4b-TpanAwz9xg1UCg==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~FEpjXFtCFMTcW_TFyaRLvA==/app.mihon.debug-139DY4b-TpanAwz9xg1UCg==/lib/arm64:/data/app/~~FEpjXFtCFMTcW_TFyaRLvA==/app.mihon.debug-139DY4b-TpanAwz9xg1UCg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/app.mihon.debug
2024-06-21 19:07:50.241 13640-13640 GraphicsEnvironment app.mihon.debug V Currently set values for:
2024-06-21 19:07:50.241 13640-13640 GraphicsEnvironment app.mihon.debug V angle_gl_driver_selection_pkgs=[]
2024-06-21 19:07:50.241 13640-13640 GraphicsEnvironment app.mihon.debug V angle_gl_driver_selection_values=[]
2024-06-21 19:07:50.242 13640-13640 GraphicsEnvironment app.mihon.debug V ANGLE GameManagerService for app.mihon.debug: false
2024-06-21 19:07:50.242 13640-13640 GraphicsEnvironment app.mihon.debug V app.mihon.debug is not listed in per-application setting
2024-06-21 19:07:50.242 13640-13640 GraphicsEnvironment app.mihon.debug V Neither updatable production driver nor prerelease driver is supported.
2024-06-21 19:07:50.273 13640-13640 WM-WrkMgrInitializer app.mihon.debug D Initializing WorkManager with default configuration.
2024-06-21 19:07:50.292 13640-13640 WM-PackageManagerHelper app.mihon.debug D Skipping component enablement for androidx.work.impl.background.systemjob.SystemJobService
2024-06-21 19:07:50.292 13640-13640 WM-Schedulers app.mihon.debug D Created SystemJobScheduler and enabled SystemJobService
2024-06-21 19:07:50.312 13640-13640 app.mihon.debug app.mihon.debug W Accessing hidden method Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder; (unsupported, reflection, allowed)
2024-06-21 19:07:50.314 13640-13640 ShizukuProvider app.mihon.debug D Initialize Sui: false
2024-06-21 19:07:50.340 13640-13690 Compatibil...geReporter app.mihon.debug D Compat change id reported: 160794467; UID 10219; state: ENABLED
2024-06-21 19:07:50.349 13640-13690 Compatibil...geReporter app.mihon.debug D Compat change id reported: 194532703; UID 10219; state: ENABLED
2024-06-21 19:07:50.349 13640-13690 Compatibil...geReporter app.mihon.debug D Compat change id reported: 253665015; UID 10219; state: ENABLED
2024-06-21 19:07:50.430 13640-13640 App app.mihon.debug D Migration from 6 to 7
2024-06-21 19:07:50.445 13640-13640 ContextScope app.mihon.debug D Running migration: { name = SetupBackupCreateMigration, version = -1.0 }
2024-06-21 19:07:50.446 13640-13640 ContextScope app.mihon.debug D Running migration: { name = SetupLibraryUpdateMigration, version = -1.0 }
2024-06-21 19:07:50.446 13640-13640 ContextScope app.mihon.debug D Running migration: { name = TrustExtensionRepositoryMigration, version = 7.0 }
2024-06-21 19:07:50.478 13640-13699 libEGL app.mihon.debug D loaded /vendor/lib64/egl/libEGL_emulation.so
2024-06-21 19:07:50.481 13640-13699 libEGL app.mihon.debug D loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
2024-06-21 19:07:50.483 13640-13699 libEGL app.mihon.debug D loaded /vendor/lib64/egl/libGLESv2_emulation.so

Mihon version

versionCode = 7

Android version

Android 14

Device

Android Emulator

Other details

https://github.com/mihonapp/mihon/compare/2a01a2ac..6d4267b3

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.5.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.
@cuong-tran cuong-tran added the Bug Something isn't working label Jun 21, 2024
@cuong-tran cuong-tran changed the title TrustExtensionRepositoryMigration causes app to freeze TrustExtensionRepositoryMigration causes app freezing after update app Jun 21, 2024
@AntsyLich AntsyLich added this to the v0.17.0 milestone Jul 11, 2024
@AntsyLich
Copy link
Member

The underlying issue is quite different. It only seems like TrustExtensionRepositoryMigration is causing the freezing while in reality it freezes after migration is completed

@MajorTanya
Copy link
Contributor

The underlying issue is quite different. It only seems like TrustExtensionRepositoryMigration is causing the freezing while in reality it freezes after migration is completed

Yeah, any migration that uses coroutine stuff itself causes this hang-up (works with a dummy migration that literally just calls delay(100).

cuong-tran pushed a commit to komikku-app/komikku that referenced this issue Aug 12, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 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

3 participants