• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting scanning stack overflow

     
    • 0 Vote(s) - 0 Average

    scanning stack overflow

    kritixxx
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Aug
    Reputation: 0
    Country:Germany
    #1
    Today, 12:38 AM
    Hey!

    I have the following problem with my Jellyfin instance on version 10.11 RC5:

    When I try to scan my media library, I always get a stack overflow after a few seconds:

    Code:
    [02:23:34] [DBG] [9] Microsoft.EntityFrameworkCore.Database.Command: Closing data reader to 'main' on server '/config/data/jellyfin.db'.
    [02:23:34] [DBG] [9] Microsoft.EntityFrameworkCore.Database.Command: A data reader for 'main' on server '/config/data/jellyfin.db' is being disposed after spending 0ms reading results.
    [02:23:34] [DBG] [9] Microsoft.EntityFrameworkCore.Database.Connection: Closing connection to database 'main' on server '/config/data/jellyfin.db'.
    [02:23:34] [DBG] [9] Microsoft.EntityFrameworkCore.Database.Connection: Closed connection to database 'main' on server '/config/data/jellyfin.db' (0ms).
    [02:23:35] [DBG] [18] MediaBrowser.Providers.Manager.ProviderManager: OnRefreshProgress 1b454bd2bf3ef6082eb502dfda636fde 10
    [02:23:35] [DBG] [18] MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler: Enqueue new Workset of 8 items.
    [02:23:35] [DBG] [12] MediaBrowser.Providers.Manager.ProviderManager: OnRefreshProgress f4dda38cd82a250f2d1cb08db0c166cf 15.933774834437084
    [02:23:35] [DBG] [18] MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler: Nested invocation detected, process in-place.
    [02:23:35] [DBG] [18] MediaBrowser.Providers.Manager.ProviderManager: OnRefreshStart e6437fb410bf6441eef1b26239fe1f15
    [02:23:35] [DBG] [18] MediaBrowser.Providers.Manager.ProviderManager: OnRefreshProgress e6437fb410bf6441eef1b26239fe1f15 5
    [02:23:35] [DBG] [24] MediaBrowser.Providers.Manager.ProviderManager: OnRefreshProgress f4dda38cd82a250f2d1cb08db0c166cf 15.935430463576159
    Stack overflow.
      at Jellyfin.Server.Implementations.Item.BaseItemRepository.TranslateQuery(System.Linq.IQueryable`1<Jellyfin.Database.Implementations.Entities.BaseItemEntity>, Jellyfin.Database.Implementations.JellyfinDbContext, MediaBrowser.Controller.Entities.InternalItemsQuery)
      at Jellyfin.Server.Implementations.Item.BaseItemRepository.GetItemList(MediaBrowser.Controller.Entities.InternalItemsQuery)
      at MediaBrowser.Controller.Entities.Folder.GetCachedChildren()
      at MediaBrowser.Controller.Entities.Folder.LoadChildren()
      at MediaBrowser.Controller.Entities.Folder.get_Children()
      at MediaBrowser.Controller.Entities.Folder.GetActualChildrenDictionary()
      at MediaBrowser.Controller.Entities.Folder+<ValidateChildrenInternal2>d__68.MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(System.IProgress`1<Double>, Boolean, Boolean, Boolean, MediaBrowser.Controller.Providers.MetadataRefreshOptions, MediaBrowser.Controller.Providers.IDirectoryService, System.Threading.CancellationToken)
      at MediaBrowser.Controller.Entities.Folder+<ValidateChildrenInternal>d__66.MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(System.IProgress`1<Double>, Boolean, Boolean, Boolean, MediaBrowser.Controller.Providers.MetadataRefreshOptions, MediaBrowser.Controller.Providers.IDirectoryService, System.Threading.CancellationToken)
      at MediaBrowser.Controller.Entities.Folder+<>c__DisplayClass72_0.<ValidateSubFolders>b__0(MediaBrowser.Controller.Entities.Folder, System.IProgress`1<Double>)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler+<>c__DisplayClass18_1`1[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<Enqueue>b__5(System.Object)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler+<ProcessItem>d__17.MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler.ProcessItem(TaskQueueItem)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler+<Enqueue>d__18`1[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler.Enqueue[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon[], System.Func`3<System.__Canon,System.IProgress`1<Double>,System.Threading.Tasks.Task>, System.IProgress`1<Double>, System.Threading.CancellationToken)
      at MediaBrowser.Controller.Entities.Folder+<RunTasks>d__73`1[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.Entities.Folder.RunTasks[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`3<System.__Canon,System.IProgress`1<Double>,System.Threading.Tasks.Task>, System.Collections.Generic.IList`1<System.__Canon>, System.IProgress`1<Double>, System.Threading.CancellationToken)
      at MediaBrowser.Controller.Entities.Folder+<ValidateSubFolders>d__72.MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(System.Collections.Generic.IList`1<MediaBrowser.Controller.Entities.Folder>, MediaBrowser.Controller.Providers.IDirectoryService, System.IProgress`1<Double>, System.Threading.CancellationToken)
      at MediaBrowser.Controller.Entities.Folder+<ValidateChildrenInternal2>d__68.MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(System.IProgress`1<Double>, Boolean, Boolean, Boolean, MediaBrowser.Controller.Providers.MetadataRefreshOptions, MediaBrowser.Controller.Providers.IDirectoryService, System.Threading.CancellationToken)
      at MediaBrowser.Controller.Entities.Folder+<ValidateChildrenInternal>d__66.MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(System.IProgress`1<Double>, Boolean, Boolean, Boolean, MediaBrowser.Controller.Providers.MetadataRefreshOptions, MediaBrowser.Controller.Providers.IDirectoryService, System.Threading.CancellationToken)
      at MediaBrowser.Controller.Entities.Folder+<>c__DisplayClass72_0.<ValidateSubFolders>b__0(MediaBrowser.Controller.Entities.Folder, System.IProgress`1<Double>)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler+<>c__DisplayClass18_1`1[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<Enqueue>b__5(System.Object)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler+<ProcessItem>d__17.MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler.ProcessItem(TaskQueueItem)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler+<Enqueue>d__18`1[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
      at MediaBrowser.Controller.LibraryTaskScheduler.LimitedConcurrencyLibraryScheduler.Enqueue[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon[], System.Func`3<System.__Canon,System.IProgress`1<Double>,System.Threading.Tasks.Task>, System.IProgress`1<Double>, System.Threading.CancellationToken)

    The debug log doesn't spit out anything useful. I don't have any problems with this under 10.10.7.
    The whole thing runs under Unraid in a Docker container.
    I also tested it with a completely fresh installation of 10.11 RC5. Incidentally, 10.11 RC4 seemed to have the same problem.

    Thank you very much!

    PS: Jellyfin crashes completely at that moment Slightly-frowning-face
    jsonting
    Offline

    Junior Member

    Posts: 12
    Threads: 3
    Joined: 2024 May
    Reputation: 0
    #2
    1 hour ago
    i have this same problem too, scanning halfway then error window saying

    "A new guard page for the stack cannot be created"

    Then Jellyfin just stopped i need to start it again.

    Log doesn't show anything at all. 

    And this really messed up my entire library, i reinstalled and now i'm seeing old collections in search but not in collection section
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode