Skip to content

The app crashes when queuing many series for download #2492

@sassy-lily

Description

@sassy-lily

Steps to reproduce

  1. Select "many" series.
  2. From the three dots menu choose download then all.

Expected behavior

The downloads get queued.

Actual behavior

The app crashes.

Crash logs

App version: 3.1.6 (standard, 062e1c697, 50, 2025-11-08T21:31:52.646688067)
Android version: 10 (SDK 29)
Android build ID: QP1A.190711.020.T835XXU5CVG2
Device brand: samsung
Device manufacturer: samsung
Device name: gts4llte
Device model: SM-T835
Device product name: gts4lltexx           ******************************************************************************************************************************************************************************************************************************
           Exception that caused crash
           ******************************************************************************************************************************************************************************************************************************
           java.lang.Throwable: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:860)
at androidx.compose.ui.graphics.AndroidPaint.<init>(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:36)
at androidx.core.app.NotificationCompat$Builder.build(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:3)
at eu.kanade.tachiyomi.data.download.DownloadNotifier.onPaused(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:101)
at eu.kanade.tachiyomi.data.download.Downloader.queueChapters(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:174)
at eu.kanade.tachiyomi.data.download.DownloadManager.downloadChapters(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:46)
at eu.kanade.tachiyomi.data.download.DownloadManager.downloadChapters$default(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:6)
at eu.kanade.tachiyomi.ui.library.LibraryPresenter$downloadChapters$1$1.invokeSuspend(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:132)
at eu.kanade.tachiyomi.ui.library.LibraryPresenter$downloadChapters$1$1.invoke(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:2)
at eu.kanade.tachiyomi.ui.library.LibraryPresenter$downloadChapters$1$1.invoke(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:1)
at org.nekomanga.util.system.IterableAsyncKt$mapAsync$2$deferredResults$1$1.invokeSuspend(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:33)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:12)
at kotlinx.coroutines.DispatchedTask.run(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:130)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:4)
at kotlinx.coroutines.scheduling.TaskImpl.run(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:3)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:1)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(r8-map-id-2e01761a4316e7281d3f86964cdec0653673f5651e0182c6d4b04b1ec0f03b57:58)
Suppressed: java.util.ConcurrentModificationException
	... 17 more
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@48356da, Dispatchers.IO]

           ******************************************************************************************************************************************************************************************************************************
           ******************************************************************************************************************************************************************************************************************************
--------- beginning of main
11-09 15:01:44.165 13818 13818 E o:error_handle: Not starting debugger since process cannot load the jdwp agent.
11-09 15:01:44.172 13818 13818 D ActivityThread: setConscryptValidator
11-09 15:01:44.172 13818 13818 D ActivityThread: setConscryptValidator - put
11-09 15:01:44.211 13818 13818 I MultiDex: VM with version 2.1.0 has multidex support
11-09 15:01:44.211 13818 13818 I MultiDex: Installing application
11-09 15:01:44.211 13818 13818 I MultiDex: VM has multidex support, MultiDex support library is disabled.
11-09 15:01:44.218 13818 13818 I WebViewFactory: Loading com.google.android.webview version 141.0.7390.122 (code 739012233)
11-09 15:01:44.228 13818 13818 W linker  : Warning: "/data/app/com.google.android.trichromelibrary_739012233-8JNu5pW2lhfWdiDhCuHwjA==/base.apk!/lib/arm64-v8a/libmonochrome_64.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
11-09 15:01:44.255 13818 13818 I cr_WVCFactoryProvider: version=141.0.7390.122 (739012233) minSdkVersion=29 multiprocess=true packageId=127 splits=<none>
11-09 15:01:44.264 13818 15299 E chromium: [1109/150144.264111:ERROR:android_webview/browser/variations/variations_seed_loader.cc:39] Seed missing signature.
11-09 15:01:44.270 13818 13818 I cr_LibraryLoader: Successfully loaded native library
11-09 15:01:44.271 13818 13818 I cr_CachingUmaRecorder: Flushed 7 samples from 7 histograms, 0 samples were dropped.
11-09 15:01:44.368 13818 13818 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
11-09 15:01:44.418 13818 13818 W Iconics : At least one font needs to be registered first
11-09 15:01:44.418 13818 13818 W Iconics :     via com.mikepenz.iconics.Iconics.registerFont(Iconics.kt:117)
11-09 15:01:44.494 13818 13818 D AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found
11-09 15:01:44.540 13818 13818 D PhoneWindow: forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4268 com.android.internal.policy.DecorView.updateColorViews:1513 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3246 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2474 
11-09 15:01:44.540 13818 13818 D PhoneWindow: forceLight changed to false [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4274 com.android.internal.policy.DecorView.updateColorViews:1513 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3246 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2620 
11-09 15:01:44.540 13818 13818 I MultiWindowDecorSupport: updateCaptionType >> DecorView@9b0e46e[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
11-09 15:01:44.540 13818 13818 D MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@9b0e46e[]
11-09 15:01:44.563 13818 13818 D ViewRootImpl@1e57bcc[CrashActivity]: setView = com.android.internal.policy.DecorView@9b0e46e TM=true MM=false
11-09 15:01:45.388 13818 13818 I Choreographer: Skipped 48 frames!  The application may be doing too much work on its main thread.
11-09 15:01:45.535 13818 13818 D ViewRootImpl@1e57bcc[CrashActivity]: Relayout returned: old=(0,0,1600,2560) new=(0,0,1600,2560) req=(1600,2560)0 dur=6 res=0x7 s={true 542318153728} ch=true
11-09 15:01:45.535 13818 15316 D OpenGLRenderer: createReliableSurface : 0x7eb561d5c0(0x7e44ae5000)
11-09 15:01:45.535 13818 15316 I AdrenoGLES: QUALCOMM build                   : f3ac570, I0807496fd3
11-09 15:01:45.535 13818 15316 I AdrenoGLES: Build Date                       : 09/04/20
11-09 15:01:45.535 13818 15316 I AdrenoGLES: OpenGL ES Shader Compiler Version: EV031.27.05.03
11-09 15:01:45.535 13818 15316 I AdrenoGLES: Local Branch                     : 
11-09 15:01:45.535 13818 15316 I AdrenoGLES: Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.8.4.R1.10.00.00.559.047
11-09 15:01:45.535 13818 15316 I AdrenoGLES: Remote Branch                    : NONE
11-09 15:01:45.535 13818 15316 I AdrenoGLES: Reconstruct Branch               : NOTHING
11-09 15:01:45.535 13818 15316 I AdrenoGLES: Build Config                     : C O 9.0.3 AArch64
11-09 15:01:45.539 13818 15316 I AdrenoGLES: PFP: 0x005ff113, ME: 0x005ff066
11-09 15:01:45.550 13818 15316 D OpenGLRenderer: makeCurrent EglSurface : 0x0 -> 0x0
11-09 15:01:45.566 13818 15316 D OpenGLRenderer: makeCurrent EglSurface : 0x0 -> 0x7eb579c180
11-09 15:01:45.573 13818 15316 W Gralloc3: mapper 3.x is not supported
11-09 15:01:45.658 13818 13818 D ViewRootImpl@1e57bcc[CrashActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
11-09 15:01:45.659 13818 13818 D InputMethodManager: prepareNavigationBarInfo() DecorView@9b0e46e[CrashActivity]
11-09 15:01:45.659 13818 13818 D InputMethodManager: getNavigationBarColor() -1291845632
11-09 15:01:45.660 13818 13818 D InputMethodManager: prepareNavigationBarInfo() DecorView@9b0e46e[CrashActivity]
11-09 15:01:45.660 13818 13818 D InputMethodManager: getNavigationBarColor() -1291845632
11-09 15:01:45.660 13818 13818 D InputMethodManager: startInputInner - Id : 0
11-09 15:01:45.660 13818 13818 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
11-09 15:01:45.662 13818 13818 D ViewRootImpl@1e57bcc[CrashActivity]: MSG_RESIZED: frame=(0,0,1600,2560) ci=(0,48,0,30) vi=(0,48,0,30) or=1
11-09 15:01:45.664 13818 13818 D InputMethodManager: prepareNavigationBarInfo() DecorView@9b0e46e[CrashActivity]
11-09 15:01:45.664 13818 13818 D InputMethodManager: getNavigationBarColor() -1291845632
11-09 15:01:45.665 13818 13818 D InputMethodManager: startInputInner - Id : 0
11-09 15:01:46.365 13818 15284 I o:error_handle: Background young concurrent copying GC freed 601871(21MB) AllocSpace objects, 33(1948KB) LOS objects, 61% free, 15MB/39MB, paused 530us total 203.610ms
11-09 15:01:47.750 13818 13818 D ViewRootImpl@1e57bcc[CrashActivity]: ViewPostIme pointer 0
11-09 15:01:47.824 13818 13818 D ViewRootImpl@1e57bcc[CrashActivity]: ViewPostIme pointer 1

Neko version

3.1.6

Android version

10

Device

Samsung Galaxy Tab S4

Other details

n/a

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have updated the app to the newest version Latest.
  • I have filled out all of the requested information in this form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions