SimonSchubert / LinuxCommandLibrary

1M+ downloads Linux reference app with basics, tips and formatted man pages
http://linuxcommandlibrary.com/
Apache License 2.0
799 stars 63 forks source link

Crash on open #6

Closed Uj947nXmRqV2nRaWshKtHzTvckUUpD closed 2 years ago

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented 2 years ago

Android 11

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented 2 years ago

<<< log_count = 9 >>> [07-08 01:21:09.640 10507:10507 E/mandbibliothec] Unknown bits set in runtime_flags: 0x800000

[07-08 01:21:09.938 10507:10507 E/mandbibliothec] [frame_perf] perfboost open tb_ctl file failed, isApp[1], errno=No such file or directory

[07-08 01:21:09.939 10507:10507 E/libprocessgroup] set_timerslack_ns write failed: Operation not permitted

[07-08 01:21:09.939 1214:1871 W/DisplayIdentification] Invalid EDID: falling back to serial number due to missing display name.

[07-08 01:21:09.939 1214:1871 W/DisplayIdentification] Invalid EDID: falling back to ASCII text due to missing serial number.

[07-08 01:21:10.056 10507:10507 W/mandbibliothec] Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)

[07-08 01:21:10.057 10507:10507 W/mandbibliothec] Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)

[07-08 01:21:10.328 10507:10507 E/AndroidRuntime] FATAL EXCEPTION: main Process: com.inspiredandroid.linuxcommandbibliotheca, PID: 10507 java.io.FileNotFoundException: database.db at android.content.res.AssetManager.nativeOpenAsset(Native Method) at android.content.res.AssetManager.open(AssetManager.java:881) at android.content.res.AssetManager.open(AssetManager.java:858) at org.example.common.PlatformKt.copyDatabase(platform.kt:30) at com.inspiredandroid.linuxcommandbibliotheca.ui.screens.InitializeDatabaseScreenKt$InitializeDatabaseScreen$3$1$1.invokeSuspend(InitializeDatabaseScreen.kt:42) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [androidx.compose.runtime.BroadcastFrameClock@a5d95a5, StandaloneCoroutine{Cancelling}@f2d7a, AndroidUiDispatcher@cadb92b]

[07-08 01:21:10.409 1708:1877 W/ActivityManager] setHasOverlayUi called on unknown pid: 10507

SimonSchubert commented 2 years ago

Which app version did you try? https://github.com/SimonSchubert/LinuxCommandLibrary/releases/tag/v3.0.1 ? Previous didn't include database.db and the missing file seems to be the reason for the crash

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented 2 years ago

3.0.1.71 from izzyOnDroid

SimonSchubert commented 2 years ago

Version 3.0.0 (2022-07-05) misses the database but Version 3.0.1 (2022-07-07) looks fine.

Can you do a fresh install of Version 3.0.1 (2022-07-07)? I just did and works fine for me https://apt.izzysoft.de/fdroid/index/apk/com.inspiredandroid.linuxcommandbibliotheca

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented 2 years ago

yes, it was freshly installed yesterday, but crashing. i uninstalled then reinstalled again, and today it works. Maybe it was the previous version on izzyondroid.