Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while real time monitoring music library, Archlinux ARM #1019

Closed
onny opened this issue Feb 28, 2019 · 3 comments
Closed

Crash while real time monitoring music library, Archlinux ARM #1019

onny opened this issue Feb 28, 2019 · 3 comments
Labels
bug Something isn't working stale Stale and will be closed if no activity occurs

Comments

@onny
Copy link

onny commented Feb 28, 2019

Describe the bug

Jellyfin server crashes while streaming music.

To Reproduce

Crash after about 30 seconds playing any random song.

Expected behavior

Play song without crash.

Logs

Feb 28 10:21:26 picloud dotnet[25342]: ffprobe version n4.1.1 Copyright (c) 2007-2019 the FFmpeg developers
Feb 28 10:21:26 picloud dotnet[25342]:   built with gcc 8.2.1 (GCC) 20181127
Feb 28 10:21:26 picloud dotnet[25342]:   configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-omx --enable-shared --enable-version3 --host-cflags='"-fPIC"'
Feb 28 10:21:26 picloud dotnet[25342]:   libavutil      56. 22.100 / 56. 22.100
Feb 28 10:21:26 picloud dotnet[25342]:   libavcodec     58. 35.100 / 58. 35.100
Feb 28 10:21:26 picloud dotnet[25342]:   libavformat    58. 20.100 / 58. 20.100
Feb 28 10:21:26 picloud dotnet[25342]:   libavdevice    58.  5.100 / 58.  5.100
Feb 28 10:21:26 picloud dotnet[25342]:   libavfilter     7. 40.101 /  7. 40.101
Feb 28 10:21:26 picloud dotnet[25342]:   libswscale      5.  3.100 /  5.  3.100
Feb 28 10:21:26 picloud dotnet[25342]:   libswresample   3.  3.100 /  3.  3.100
Feb 28 10:21:26 picloud dotnet[25342]:   libpostproc    55.  3.100 / 55.  3.100
Feb 28 10:21:27 picloud dotnet[25342]: Input #0, flac, from 'file:/mnt/audio/music/Roudoudou/Tout l'univers. Listener's Digest (1998)/07_-_Roudoudou_-_Peace_and_tranquility_to_earth.flac':
Feb 28 10:21:27 picloud dotnet[25342]:   Metadata:
Feb 28 10:21:27 picloud dotnet[25342]:     ARTIST          : Roudoudou
Feb 28 10:21:27 picloud dotnet[25342]:     TITLE           : Peace and tranquility to earth
Feb 28 10:21:27 picloud dotnet[25342]:     ALBUM           : Tout l'univers. Listener's Digest
Feb 28 10:21:27 picloud dotnet[25342]:     DATE            : 1998
Feb 28 10:21:27 picloud dotnet[25342]:     track           : 07
Feb 28 10:21:27 picloud dotnet[25342]:     GENRE           : Electronic
Feb 28 10:21:27 picloud dotnet[25342]:     COMMENT         : Track 7
Feb 28 10:21:27 picloud dotnet[25342]:   Duration: 00:04:13.71, start: 0.000000, bitrate: 849 kb/s
Feb 28 10:21:27 picloud dotnet[25342]:     Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Feb 28 10:21:59 picloud dotnet[25342]: [10:21:59] [FTL] Unhandled Exception
Feb 28 10:21:59 picloud dotnet[25342]: System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
Feb 28 10:21:59 picloud dotnet[25342]:    --- End of inner exception stack trace ---
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.ThrowIfExceptional()
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.CheckThrow(Boolean authSuccessCheck, Boolean shutdownCheck)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.CheckOldKeyDecryptedData(Memory`1 buffer)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.HandleQueuedCallback(Object& queuedStateRequest)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.FinishHandshakeRead(Int32 newState)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.RehandshakeCompleteCallback(IAsyncResult result)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.AsyncProtocolRequest.CompleteUserWithError(Exception e)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_1(Object state)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.QueueUserWorkItemCallbackDefaultContext.<>c.<.cctor>b__5_0(Object state)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Feb 28 10:21:59 picloud dotnet[25342]: --- End of stack trace from previous location where exception was thrown ---
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.QueueUserWorkItemCallbackDefaultContext.ExecuteWorkItem()
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.ThreadPoolWorkQueue.Dispatch()
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Feb 28 10:21:59 picloud dotnet[25342]: Unhandled Exception: System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
Feb 28 10:21:59 picloud dotnet[25342]:    --- End of inner exception stack trace ---
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.ThrowIfExceptional()
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.CheckThrow(Boolean authSuccessCheck, Boolean shutdownCheck)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.CheckOldKeyDecryptedData(Memory`1 buffer)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.HandleQueuedCallback(Object& queuedStateRequest)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.FinishHandshakeRead(Int32 newState)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.Security.SslState.RehandshakeCompleteCallback(IAsyncResult result)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.AsyncProtocolRequest.CompleteUserWithError(Exception e)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_1(Object state)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.QueueUserWorkItemCallbackDefaultContext.<>c.<.cctor>b__5_0(Object state)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Feb 28 10:21:59 picloud dotnet[25342]: --- End of stack trace from previous location where exception was thrown ---
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.QueueUserWorkItemCallbackDefaultContext.ExecuteWorkItem()
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading.ThreadPoolWorkQueue.Dispatch()
Feb 28 10:21:59 picloud dotnet[25342]:    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Feb 28 10:22:09 picloud systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
Feb 28 10:22:09 picloud systemd[1]: jellyfin.service: Failed with result 'signal'.
Feb 28 10:22:09 picloud systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.
Feb 28 10:22:09 picloud systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 224.
Feb 28 10:22:09 picloud systemd[1]: Stopped Jellyfin Media Server.
Feb 28 10:22:09 picloud systemd[1]: Started Jellyfin Media Server.

System (please complete the following information):

  • OS: Archlinux ARM
  • Browser: Chrome
  • Jellyfin Version: 10.2.1
@onny onny added the bug Something isn't working label Feb 28, 2019
@onny
Copy link
Author

onny commented Feb 28, 2019

This issue seems not to be related with streaming and more with real time monitoring and media fetching, according to this issue found in the emby forum: https://emby.media/community/index.php?/topic/61219-emy-server-suddenly-started-crashing/
After disabling real time monitoring and metadata fetching for the music library, the server doesn't crash anymore.

@onny onny changed the title Crash while streaming on Archlinux ARM Crash while real time monitoring music library, Archlinux ARM Feb 28, 2019
@DrPandemic
Copy link
Contributor

Same root problem than #465

@anthonylavado anthonylavado added this to Needs triage in Issue Triage for Main Repo Jul 4, 2019
@stale
Copy link

stale bot commented Jul 29, 2019

Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

@stale stale bot added the stale Stale and will be closed if no activity occurs label Jul 29, 2019
@stale stale bot closed this as completed Aug 5, 2019
Issue Triage for Main Repo automation moved this from Needs triage to Closed/Done Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Stale and will be closed if no activity occurs
Projects
Development

No branches or pull requests

2 participants