-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Describe the bug
There are many crashes reported due to Input dispatching timed out on CustomFileValidator.scanDirs method. See screenshots below. All crashes for the wikimedfr app.
Some crash reports I have received over the mail(For some different issues), some of them we already fixed, and the last one will be fixed by kiwix/kiwix-android#4502.
The Play Store reported issue we already fixed in kiwix/kiwix-android#4403.
Screenshots
Logs received over mail
Exception Details:
Caused by: android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { xflg=0x4 cmp=org.kiwix.kiwixcustomwikimedfr/org.kiwix.kiwixmobile.core.downloader.downloadManager.DownloadMonitorService }: app is in background uid UidRecord{a5061ef u0a274 TPSL bg:+20m18s387ms idle change:cached|procstate procs:0 seq(2399067,2399029)} caps=-------TI
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2042)
at android.app.ContextImpl.startService(ContextImpl.java:1997)
at android.content.ContextWrapper.startService(ContextWrapper.java:855)
at android.content.ContextWrapper.startService(ContextWrapper.java:855)
at org.kiwix.kiwixmobile.core.main.CoreMainActivity.onStop(SourceFile:14)
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1740)
at android.app.Activity.performStop(Activity.java:9511)
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:6074)
... 16 more
Exception Details:
java.lang.IllegalStateException: Fragment CustomReaderFragment{cc8bbea} (76bfcaff-dac2-427f-a056-efcfa3b80182) not attached to an activity.
at androidx.fragment.app.Fragment.requireActivity(SourceFile:18)
at org.kiwix.kiwixmobile.core.main.CoreReaderFragment.manageExternalLaunchAndRestoringViewState(SourceFile:61)
at org.kiwix.kiwixmobile.core.main.CoreReaderFragment.manageExternalLaunchAndRestoringViewState$default(SourceFile:7)
at org.kiwix.kiwixmobile.custom.main.CustomReaderFragment$openObbOrZim$1$1.invokeSuspend(SourceFile:348)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
at kotlinx.coroutines.DispatchedTask.run(SourceFile:107)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:192)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:818)Metadata
Metadata
Assignees
Labels
No labels