rebelonion / Dantotsu

Anilist client based on Saikou
https://dantotsu.app
Other
1.75k stars 119 forks source link

App crashing when opening manga details #427

Open arkeleom opened 5 months ago

arkeleom commented 5 months ago

Hi, since some time ago, almost eqch time i open a manga chapter list, or the details, the app is crashing due to webview, hope it helps to find a solution

Date/time: Sun Jun 16 00:23:32 GMT+02:00 2024 Device: SM-T870 OS version: 13 App version: 3.1.0 App version code: 300100000 SDK version: 33 Manufacturer: samsung Brand: samsung Product: gts7lwifieea Device: gts7lwifi Hardware: qcom Host: VPDJR1012 ID: TP1A.220624.014 Type: user User: dpi Tags: release-keys Time: 1712135732000 Radio: null Bootloader: T870XXS5DXD1 Board: kona Fingerprint: samsung/gts7lwifieea/gts7lwifi:13/TP1A.220624.014/T870XXS5DXD1:user/release-keys Supported ABIs: arm64-v8a, armeabi-v7a, armeabi Supported 32 bit ABIs: armeabi-v7a, armeabi Supported 64 bit ABIs: arm64-v8a Is emulator: false

Thread: main Activity: MediaDetailsActivity Exception: Binary XML file line #41 in ani.dantotsu:layout/item_title_trailer: Binary XML file line #41 in ani.dantotsu:layout/item_title_trailer: Error inflating class android.webkit.WebView Stack trace: android.view.InflateException: Binary XML file line #41 in ani.dantotsu:layout/item_title_trailer: Binary XML file line #41 in ani.dantotsu:layout/item_title_trailer: Error inflating class android.webkit.WebView Caused by: android.view.InflateException: Binary XML file line #41 in ani.dantotsu:layout/item_title_trailer: Error inflating class android.webkit.WebView Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at android.view.LayoutInflater.createView(LayoutInflater.java:876) at android.view.LayoutInflater.createView(LayoutInflater.java:798) at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:952) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:972) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1026) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1145) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1148) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1148) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106) at android.view.LayoutInflater.inflate(LayoutInflater.java:692) at android.view.LayoutInflater.inflate(LayoutInflater.java:544) at ani.dantotsu.databinding.ItemTitleTrailerBinding.inflate(ItemTitleTrailerBinding.java:55) at ani.dantotsu.media.MediaInfoFragment$onViewCreated$3.invoke(MediaInfoFragment.kt:329) at ani.dantotsu.media.MediaInfoFragment$onViewCreated$3.invoke(MediaInfoFragment.kt:94) at ani.dantotsu.media.MediaInfoFragment$sam$androidx_lifecycle_Observer$0.onChanged(Unknown Source:2) at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133) at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:151) at androidx.lifecycle.LiveData.setValue(LiveData.java:309) at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50) at androidx.lifecycle.LiveData$1.run(LiveData.java:93) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8810) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) Caused by: java.lang.RuntimeException: Using WebView from more than one process at once with the same data directory is not supported. https://crbug.com/558377 : Current process ani.dantotsu (pid 3496), lock owner ani.dantotsu:error_process (pid 316) at org.chromium.android_webview.AwDataDirLock.b(chromium-TrichromeWebViewGoogle6432.aab-stable-642216533:201) at org.chromium.android_webview.AwBrowserProcess.j(chromium-TrichromeWebViewGoogle6432.aab-stable-642216533:16) at com.android.webview.chromium.L.d(chromium-TrichromeWebViewGoogle6432.aab-stable-642216533:203) at com.android.webview.chromium.L.b(chromium-TrichromeWebViewGoogle6432.aab-stable-642216533:42) at com.android.webview.chromium.L.f(chromium-TrichromeWebViewGoogle6432.aab-stable-642216533:4) at com.android.webview.chromium.WebViewChromiumFactoryProvider.l(chromium-TrichromeWebViewGoogle6432.aab-stable-642216533:8) at com.android.webview.chromium.WebViewChromium.init(chromium-TrichromeWebViewGoogle6432.aab-stable-642216533:97) at android.webkit.WebView.(WebView.java:448) at android.webkit.WebView.(WebView.java:368) at android.webkit.WebView.(WebView.java:350) at android.webkit.WebView.(WebView.java:337) ... 34 more