jellyfin / jellyfin-kodi

Jellyfin Plugin for Kodi
https://jellyfin.org
GNU General Public License v3.0
785 stars 105 forks source link

Lock-up during sync if accessing music library #866

Open oddstr13 opened 1 month ago

oddstr13 commented 1 month ago

Describe the bug

Accessing Music library during initial sync of the music library causes Kodi and the addon to lock up, requiring killing of the process.

To Reproduce

  1. Reset database
  2. Start syncing Music library
  3. Attempt to open Music library while the sync is still running
  4. Observe that the syncing stalled, and that the Music library does not load

System (please complete the following information):

Additional context I've encountered this before, but it seems I haven't documented it with an issue (or I failed to find it now).


lockup lock-up freeze crash music library scan accessing loading opening

mikul9 commented 1 month ago

I'm seeing the same problem with Movies and Music running under Docker on Kodi 21.0.1. It seems to get at or near the same point each time and freeze. Restarting Kodi restarts the sync from the beginning only for it to fail again.

oddstr13 commented 1 month ago

@mikul9 This issue is only triggered by manually attempting to open the music library while the scan is running. If you are seeing freeze happening without attempting to enter the library, it is likely a different issue. This could, of course, be affected by the skin in use I suppose.

mikul9 commented 1 month ago

Thanks I'll open a new issue