Jellyfin Forum
Random crashes on 10.9.1 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Random crashes on 10.9.1 (/t-random-crashes-on-10-9-1)



Random crashes on 10.9.1 - Jay George - 2024-05-17

So I have Jellyfin running on a raspberry pi4, since the latest update to 10.9.1 i get random crashes.

I'm running through docker.  I was 20 minutes into what i was watching when it crashed, i have attached the last 100 lines of the log and the last one is at the time it crashed.

[15:09:14] [INF] [34] Trakt.Helpers.LibraryManagerEventsHelper: Timer elapsed - processing queued items
[15:09:14] [INF] [34] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Remove to process
[15:09:14] [INF] [34] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Add to process
[15:09:14] [INF] [34] Trakt.Helpers.LibraryManagerEventsHelper: Processing 1 movies with event type Update
[15:09:14] [ERR] [34] Trakt.Helpers.LibraryManagerEventsHelper: Error in OnQueueTimerCallbackInternal
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
  at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
  at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
  at Trakt.Helpers.LibraryManagerEventsHelper.<>c__DisplayClass9_0.<ProcessQueuedMovieEvents>b__1(Movie lev)
  at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
  at System.Collections.Generic.HashSet
1.UnionWith(IEnumerable1 other)
  at System.Collections.Generic.HashSet
1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer)
  at Trakt.Helpers.LibraryManagerEventsHelper.ProcessQueuedMovieEvents(IReadOnlyCollection1 events, TraktUser traktUser, EventType eventType)
  at Trakt.Helpers.LibraryManagerEventsHelper.OnQueueTimerCallbackInternal()
  at Trakt.Helpers.LibraryManagerEventsHelper.OnQueueTimerCallback(Object state)
[15:09:25] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:09:31] [INF] [11] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/films/The Man from Earth (2007)/The Man from Earth (2007) Bluray-1080p Proper.mkv" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:09:31] [INF] [25] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/films/The Man from Earth (2007)/The Man from Earth (2007) Bluray-1080p Proper.en.srt" -threads 0 -v warning -print_format json -show_streams -show_format
[15:09:37] [INF] [19] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Started library sync
[15:09:37] [INF] [19] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Library Sync: Updated 1 items
[15:09:37] [INF] [19] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Finished library sync, taking 00:00:00.2960958
[15:09:38] [INF] [28] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/films/Enola Holmes (2020)/Enola Holmes (2020).mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:09:39] [INF] [11] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/films/Enola Holmes (2020)/Enola Holmes (2020).en.srt" -threads 0 -v warning -print_format json -show_streams -show_format
fileConfused-facefilms/Enola Holmes (2020)/Enola Holmes (2020).en.srt: Invalid data found when processing input
[15:09:39] [ERR] [34] MediaBrowser.Providers.MediaInfo.SubtitleResolver: Error getting external streams from /films/Enola Holmes (2020)/Enola Holmes (2020).en.srt
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
  at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable
1 videoType, CancellationToken cancellationToken)
  at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken)
  at MediaBrowser.Providers.MediaInfo.MediaInfoResolver.GetExternalStreamsAsync(Video video, Int32 startIndex, IDirectoryService directoryService, Boolean clearCache, CancellationToken cancellationToken)
[15:09:39] [INF] [34] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/films/Enola Holmes (2020)/Enola Holmes (2020).eng.srt" -threads 0 -v warning -print_format json -show_streams -show_format
[15:09:40] [WRN] [34] MediaBrowser.XbmcMetadata.Providers.MovieNfoProvider: Trailer URL uses a deprecated format : pluginConfused-face/plugin.video.youtube/?action=play_video&videoid=1d0Zf9sXlHk. Using pluginConfused-face/plugin.video.youtube/play/?video_id=1d0Zf9sXlHk instead is advised.
[15:09:40] [WRN] [34] MediaBrowser.XbmcMetadata.Providers.MovieNfoProvider: Trailer URL uses a deprecated format : pluginConfused-face/plugin.video.youtube/?action=play_video&videoid=v-pi-bYAWxo. Using pluginConfused-face/plugin.video.youtube/play/?video_id=v-pi-bYAWxo instead is advised.
[15:09:45] [INF] [16] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Started library sync
[15:09:45] [INF] [16] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Library Sync: Updated 1 items
[15:09:45] [INF] [16] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Finished library sync, taking 00:00:00.3500406
[15:09:50] [INF] [31] Trakt.Helpers.LibraryManagerEventsHelper: Timer elapsed - processing queued items
[15:09:50] [INF] [31] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Remove to process
[15:09:50] [INF] [31] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Add to process
[15:09:50] [INF] [31] Trakt.Helpers.LibraryManagerEventsHelper: Processing 2 movies with event type Update
[15:09:50] [ERR] [31] Trakt.Helpers.LibraryManagerEventsHelper: Error in OnQueueTimerCallbackInternal
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
  at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
  at System.Linq.Enumerable.Any[TSource](IEnumerable
1 source, Func2 predicate)
  at Trakt.Helpers.LibraryManagerEventsHelper.<>c__DisplayClass9_0.<ProcessQueuedMovieEvents>b__1(Movie lev)
  at System.Linq.Enumerable.WhereEnumerableIterator
1.MoveNext()
  at System.Collections.Generic.HashSet1.UnionWith(IEnumerable1 other)
  at System.Collections.Generic.HashSet1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer)
  at Trakt.Helpers.LibraryManagerEventsHelper.ProcessQueuedMovieEvents(IReadOnlyCollection
1 events, TraktUser traktUser, EventType eventType)
  at Trakt.Helpers.LibraryManagerEventsHelper.OnQueueTimerCallbackInternal()
  at Trakt.Helpers.LibraryManagerEventsHelper.OnQueueTimerCallback(Object state)
[15:09:55] [INF] [3] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:10:12] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:10:12] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:10:12] [INF] [28] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:10:12] [INF] [28] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:10:12] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:10:12] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:10:13] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:10:20] [INF] [16] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.4.205 closed
[15:10:25] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:10:55] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:11:25] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:11:55] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:12:25] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:12:55] [INF] [36] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:13:25] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:13:55] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:13:57] [INF] [23] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.5.15 closed
[15:14:25] [INF] [27] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:14:55] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:15:07] [INF] [36] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for homeass has succeeded.
[15:15:07] [INF] [36] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user homeass: 0/0
[15:15:07] [INF] [36] Emby.Server.Implementations.Session.SessionManager: Logging out access token 9a08e430e1534d608d6ee5b517920a8f
[15:15:07] [INF] [36] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user 1fc34b2c-5f9b-4596-a423-d41def0801e0
[15:15:08] [INF] [36] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.5.15 request
[15:15:10] [INF] [25] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:10] [INF] [3] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:10] [INF] [25] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:10] [INF] [24] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:10] [INF] [3] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:10] [INF] [3] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:11] [INF] [3] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:23] [INF] [16] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:23] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:23] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:24] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:24] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:24] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:25] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:15:29] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for homeass. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[15:15:55] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:16:25] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:16:55] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:17:25] [INF] [31] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:17:55] [INF] [36] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:18:25] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:18:55] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:19:25] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:19:55] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
[15:20:27] [INF] [42] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds


I'm not too sure what causes it, I cant see any errors in the log, it just stops till i restart the container.

Any other info needed please let me know, any ideas would be welcomed.


RE: Random crashes on 10.9.1 - TheDreadPirate - 2024-05-17

Can you post your full log to pastebin? If nothing in Jellyfin is the root causes, perhaps check the system log? Unstable CPU overclock or RAM XMP profile?


RE: Random crashes on 10.9.1 - PoMpls - 2024-05-17

Something similar happens to me since I updated to 10.9.x

Well, mine hangs, if instead of restarting it I wait 5-10 minutes and it responds again.

When that happens, this appears in the LOG:

Code:
Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets

And all connected clients stop responding.

System: Unraid 6.12.10...before updating to 10.9 I never had this problem


RE: Random crashes on 10.9.1 - Mel_Gibson_Real - 2024-05-17

(2024-05-17, 04:49 PM)PoMpls Wrote: Something similar happens to me since I updated to 10.9.x

Well, mine hangs, if instead of restarting it I wait 5-10 minutes and it responds again.

When that happens, this appears in the LOG:

Code:
Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets

And all connected clients stop responding.

System: Unraid 6.12.10...before updating to 10.9 I never had this problem

I get the exact same issue, still doing work on narrowing down whats causing it. Doesnt seem to be a pattern currently. Ubuntu 24.02LXC with an a310 doing the transcoding. No major cpu or drive activity during freezes. Direct or transcoded playback doesnt seem to effect it. Disabled trickplay, tried different clients and browsers. Going to try disabling the a310 and checking ffmpeg logs to see if its causing an issue. but so far that log is the only thing consistent with the freezes.


RE: Random crashes on 10.9.1 - TheDreadPirate - 2024-05-17

Do you have plugins installed that haven't been updated for 10.9?


RE: Random crashes on 10.9.1 - PoMpls - 2024-05-17

(2024-05-17, 05:07 PM)Mel_Gibson_Real Wrote:
(2024-05-17, 04:49 PM)PoMpls Wrote: Something similar happens to me since I updated to 10.9.x

Well, mine hangs, if instead of restarting it I wait 5-10 minutes and it responds again.

When that happens, this appears in the LOG:

Code:
Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets

And all connected clients stop responding.

System: Unraid 6.12.10...before updating to 10.9 I never had this problem

I get the exact same issue, still doing work on narrowing down whats causing it. Doesnt seem to be a pattern currently. Ubuntu 24.02LXC with an a310 doing the transcoding. No major cpu or drive activity during freezes. Direct or transcoded playback doesnt seem to effect it. Disabled trickplay, tried different clients and browsers. Going to try disabling the a310 and checking ffmpeg logs to see if its causing an issue. but so far that log is the only thing consistent with the freezes.


It is totally unpredictable, you cannot reproduce that failure on purpose...

Yesterday mine failed about 5 times in less than 5 hours... and today it hasn't failed at all in more than 10 hours...

(2024-05-17, 05:12 PM)TheDreadPirate Wrote: Do you have plugins installed that haven't been updated for 10.9?

I only have these:

[Image: u9Bbci0.png]

and themerr I disabled it to test and it kept failing


RE: Random crashes on 10.9.1 - Mel_Gibson_Real - 2024-05-19

I havent checked my plugins, will let everyone know if that fixes it


RE: Random crashes on 10.9.1 - Mel_Gibson_Real - 2024-05-20

I both updated to 10.9.2 and removed unsupported plugins. Havent had any crashes yet with about 3hrs of streaming. Seems like its fixed for good, most likely it was the plugins ill just have to keep tabs on when they update.