I have been experiencing these same issues for roughly a week now. Crashes, typically in the early morning and the last thing in Sonarr’s log is an RSS Sync.
I have already reinstalled Sonarr without any change.
Previously…
Ubuntu 14.04
Linux version 3.13.0-77-generic (buildd@lcy01-30) (gcc version 4.8.2 (Ubuntu 4.8 .2-19ubuntu1) ) #121-Ubuntu SMP Wed Jan 20 10:50:42 UTC 2016
Sonarr Version: 2.0.0.3732
Mono Version: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 09:52:44 UTC 2015)
Log pulled with: mono --debug /opt/NzbDrone/NzbDrone.exe &>sonarrcrash
System.Byte[] doesn’t implement interface System.IFormatProvider
Stacktrace:
at <0xffffffff>
at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x000de>
at byte.Parse (string,System.Globalization.NumberStyles,System.IFormatProvider) <0x00023>
at System.Convert.ToByte (string,System.IFormatProvider) <0x0002b>
at string.System.IConvertible.ToByte (System.IFormatProvider) <0x00011>
at NzbDrone.Common.Extensions.StreamExtensions.ToBytes (System.IO.Stream) [0x00013] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Extensions\StreamExtensions.cs:16
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest,System.Net.CookieContainer) [0x00100] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispa$
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest,System.Net.CookieContainer) [0x0003c] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDis$
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest) [0x00081] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpClient.cs:70
at NzbDrone.Core.Indexers.HttpIndexerBase1<T_REF>.FetchIndexerResponse (NzbDrone.Core.Indexers.IndexerRequest) [0x00044] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:276
at NzbDrone.Core.Indexers.HttpIndexerBase1.FetchPage (NzbDrone.Core.Indexers.IndexerRequest,NzbDrone.Core.Indexers.IParseIndexerResponse) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerB$
at NzbDrone.Core.Indexers.HttpIndexerBase1<T_REF>.FetchReleases (NzbDrone.Core.Indexers.IndexerPageableRequestChain,bool) [0x0009b] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:142
at NzbDrone.Core.Indexers.HttpIndexerBase1.FetchRecent () [0x00015] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:51
at NzbDrone.Core.Indexers.FetchAndParseRssService/<>c__DisplayClass5.b__2 () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\FetchAndParseRssService.cs:50
at System.Threading.Tasks.Task.InnerInvoke () <0x0004f>
at System.Threading.Tasks.Task.Execute () <0x00055>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x00055>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x0016e>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00020>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00116>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000ee>
at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork (object) <0x00057>
at System.Threading.ThreadHelper.ThreadStart_Context (object) <0x000d0>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x0016e>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00020>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) <0x00059>
at System.Threading.ThreadHelper.ThreadStart (object) <0x0004c>
at (wrapper runtime-invoke) .runtime_invoke_void__this___object (object,intptr,intptr,intptr)
Native stacktrace:
mono() [0x49cf0c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f7c35d1d340]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f7c3597ecc9]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f7c359820d8]
mono() [0x62a329]
mono() [0x62a537]
mono() [0x62a5e2]
mono() [0x49f037]
mono() [0x49f410]
[0x40a1005d]
Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Appears to be a similar mono native crash to an older one I found.
I remembered that I had ran a dist-upgrade to update SABnzbd fully. I noticed my kernel got upgraded to 3.13.0-77. I reverted back to kernel 3.13.0-74. First I made sure the old kernel was still there and then I purged the new:
dpkg --list | grep linux-image
ii linux-image-3.13.0-74-generic 3.13.0-74.118 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-77-generic 3.13.0-77.121 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-74-generic 3.13.0-74.118 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-77-generic 3.13.0-77.121 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-generic 3.13.0.77.83 amd64 Generic Linux kernel image
apt-get purge linux-image-3.13.0-77-generic
Now…
Ubuntu 14.04
Linux version 3.13.0-74-generic (buildd@lcy01-07) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015
Sonarr Version: 2.0.0.3732
Mono Version: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 09:52:44 UTC 2015)
It crashed again on me but I was not logging.