linuxserver / docker-sonarr

GNU General Public License v3.0
810 stars 140 forks source link

sonarr crashes on latest build #83

Closed klara31 closed 5 years ago

klara31 commented 5 years ago

I am running Sonarr in a docker container on a Ubuntu host. Sonar crashes in docker with the latest update. There is no debug log written, but when running sonarr from the command line, the following info is dumped on screen:

[Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.5252
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Migrating data source=/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Migrating data source=/config/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController:   http://*:8989/sonarr/
[Info] OwinHostController:   http://*:8989/
[Info] NancyBootstrapper: Starting Web Server
* Assertion at mini-generic-sharing.c:599, condition `inflated_method->klass == inflated_class' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at NzbDrone.Api.NzbDroneRestModule`1<TResource_REF>..ctor () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\NzbDroneRestModule.cs:13
  at NzbDrone.Api.Update.UpdateModule..ctor (NzbDrone.Core.Update.IRecentUpdateProvider) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\Update\UpdateModule.cs:12
  at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object[]) [0x00008] in <3833a6edf2074b959d3dab898627f0ac>:0
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x00125] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3561
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.ResolveOptions) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3485
  at TinyIoC.TinyIoCContainer/SingletonFactory.GetObject (System.Type,TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x0002c] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:2738
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer/TypeRegistration,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x00010] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3228
  at TinyIoC.TinyIoCContainer.<ResolveAllInternal>b__134_2 (TinyIoC.TinyIoCContainer/TypeRegistration) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3650
  at System.Linq.Enumerable/WhereSelectEnumerableIterator`2<TSource_REF, TResult_REF>.MoveNext () [0x0004d] in <9a2f23a52d30476eafb596a55ecb4b63>:0
  at System.Linq.Enumerable/<CastIterator>d__34`1<TResult_REF>.MoveNext () [0x00065] in <9a2f23a52d30476eafb596a55ecb4b63>:0
  at Nancy.Routing.RouteCache.BuildCache (System.Collections.Generic.IEnumerable`1<Nancy.INancyModule>) [0x000b2] in <63c44d6f8d7e4f339a987bf9eb94d931>:0
  at Nancy.Routing.RouteCache..ctor (Nancy.INancyModuleCatalog,Nancy.INancyContextFactory,Nancy.Routing.IRouteSegmentExtractor,Nancy.Routing.IRouteDescriptionProvider,Nancy.Culture.ICultureService,System.Collections.Generic.IEnumerable`1<Nancy.Routing.IRouteMetadataProvider>) [0x00042] in <63c44d6f8d7e4f339a987bf9eb94d931>:0
  at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object[]) [0x00030] in <3833a6edf2074b959d3dab898627f0ac>:0
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x00125] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3561
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.ResolveOptions) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3485
  at TinyIoC.TinyIoCContainer/SingletonFactory.GetObject (System.Type,TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x0002c] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:2738
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer/TypeRegistration,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x00010] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3228
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x000ba] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3536
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.ResolveOptions) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3485
  at TinyIoC.TinyIoCContainer/SingletonFactory.GetObject (System.Type,TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x0002c] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:2738
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer/TypeRegistration,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x00010] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3228
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x000ba] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3536
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.ResolveOptions) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3485
  at TinyIoC.TinyIoCContainer/SingletonFactory.GetObject (System.Type,TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x0002c] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:2738
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer/TypeRegistration,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x00010] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3228
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x000ba] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3536
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.ResolveOptions) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3485
  at TinyIoC.TinyIoCContainer/SingletonFactory.GetObject (System.Type,TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x0002c] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:2738
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer/TypeRegistration,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) [0x00010] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:3228
  at TinyIoC.TinyIoCContainer.Resolve (System.Type) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:1429
  at TinyIoC.TinyIoCContainer.Resolve<ResolveType_REF> () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\TinyIoC.cs:1548
  at NzbDrone.Api.TinyIoCNancyBootstrapper.GetEngineInternal () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\TinyIoCNancyBootstrapper.cs:52
  at Nancy.Bootstrapper.NancyBootstrapperBase`1<TContainer_REF>.SafeGetNancyEngineInstance () [0x00001] in <63c44d6f8d7e4f339a987bf9eb94d931>:0
  at Nancy.Bootstrapper.NancyBootstrapperBase`1<TContainer_REF>.GetEngine () [0x00014] in <63c44d6f8d7e4f339a987bf9eb94d931>:0
  at Nancy.Owin.NancyMiddleware.UseNancy (Nancy.Owin.NancyOptions) [0x0003e] in <63c44d6f8d7e4f339a987bf9eb94d931>:0
  at Owin.AppBuilderExtensions.UseNancy (Owin.IAppBuilder,Nancy.Owin.NancyOptions) [0x00014] in <ae03e45571ba4c4d82b8e79053aec0dd>:0
  at NzbDrone.Host.Owin.MiddleWare.NancyMiddleWare.Attach (Owin.IAppBuilder) [0x00037] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Owin\MiddleWare\NancyMiddleWare.cs:26
  at NzbDrone.Host.Owin.OwinAppFactory.BuildApp (Owin.IAppBuilder) [0x00069] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:78
  at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp (Microsoft.Owin.Hosting.Engine.StartContext) [0x000dc] in <156bc201d67344fc8c447eacc81c7678>:0
  at Microsoft.Owin.Hosting.Engine.HostingEngine.Start (Microsoft.Owin.Hosting.Engine.StartContext) [0x00060] in <156bc201d67344fc8c447eacc81c7678>:0
  at NzbDrone.Host.Owin.OwinAppFactory.CreateApp (System.Collections.Generic.List`1<string>) [0x0004e] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:52
  at NzbDrone.Host.Owin.OwinHostController.StartServer () [0x0008a] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Owin\OwinHostController.cs:53
  at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00042] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\ApplicationServer.cs:61
  at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes) [0x0007b] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Router.cs:47
  at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes,NzbDrone.Common.EnvironmentInfo.StartupContext) [0x0003d] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:78
  at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext,NzbDrone.Host.IUserAlert,System.Action`1<NzbDrone.Common.Composition.IContainer>) [0x00075] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:41
  at NzbDrone.Console.ConsoleApp.Main (string[]) [0x00029] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Console\ConsoleApp.cs:37
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00051] in <4ab8fcf2f612456ca6955b5d3c671cc8>:0
/proc/self/maps:
00400000-0082c000 r-xp 00000000 08:01 661908                             /usr/bin/mono-sgen
00a2c000-00a32000 r--p 0042c000 08:01 661908                             /usr/bin/mono-sgen
00a32000-00a37000 rw-p 00432000 08:01 661908                             /usr/bin/mono-sgen
00a37000-00a4e000 rw-p 00000000 00:00 0
01d8c000-03832000 rw-p 00000000 00:00 0                                  [heap]
40354000-40364000 rwxp 00000000 00:00 0
40bbd000-40ddd000 rwxp 00000000 00:00 0
7fcef8000000-7fcef8021000 rw-p 00000000 00:00 0
7fcef8021000-7fcefc000000 ---p 00000000 00:00 0
7fceff258000-7fceff25a000 rw-p 00000000 00:00 0
7fceff25c000-7fceff2dc000 rw-p 00000000 00:00 0
7fceff2df000-7fceff329000 r--p 00000000 08:01 664494                     /usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
7fceff329000-7fceff32d000 r--p 00000000 08:01 926819                     /opt/NzbDrone/Microsoft.AspNet.SignalR.Owin.dll.mdb
7fceff32d000-7fceff338000 r--p 00000000 08:01 926769                     /opt/NzbDrone/Microsoft.AspNet.SignalR.Owin.dll
7fceff338000-7fceff33c000 rw-p 00000000 00:00 0
7fceff33e000-7fceff342000 r--p 00000000 08:01 926738                     /opt/NzbDrone/antlr.runtime.dll.mdb
7fceff342000-7fceff348000 r--p 00000000 08:01 926862                     /opt/NzbDrone/antlr.runtime.dll
7fceff348000-7fceff38b000 r--p 00000000 08:01 926864                     /opt/NzbDrone/System.Data.SQLite.dll
7fceff38b000-7fceff390000 r--p 00000000 08:01 926717                     /opt/NzbDrone/SharpRaven.dll.mdb
7fceff390000-7fceff3a0000 r--p 00000000 08:01 926136                     /opt/NzbDrone/SharpRaven.dll
7fceff3a0000-7fceff3ca000 r--p 00000000 08:01 926776                     /opt/NzbDrone/RestSharp.dll
7fceff3ca000-7fceff3ce000 r--p 00000000 08:01 926665                     /opt/NzbDrone/Prowlin.dll
7fceff3ce000-7fceff3d6000 r--p 00000000 08:01 926173                     /opt/NzbDrone/Org.Mentalis.dll
7fceff3d6000-7fceff3dc000 r--p 00000000 08:01 926880                     /opt/NzbDrone/OAuth.dll
7fceff3dc000-7fceff3e2000 r--p 00000000 08:01 926810                     /opt/NzbDrone/NzbDrone.Mono.dll
Memory around native instruction pointer (0x7fcf08f89428):
0x7fcf08f89418  48 63 f0 48 63 d7 b8 ea 00 00 00 48 63 f9 0f 05  Hc.Hc......Hc...
0x7fcf08f89428  48 3d 00 f0 ff ff 77 20 f3 c3 66 0f 1f 44 00 00  H=....w ..f..D..
0x7fcf08f89438  85 c9 7f df 89 ca f7 da 81 e1 ff ff ff 7f 0f 44  ...............D
0x7fcf08f89448  d6 89 d1 eb ce 0f 1f 00 48 8b 15 21 ea 38 00 f7  ........H..!.8..

Native stacktrace:

        mono() [0x4b32b5]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7fcf09545390]
        /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7fcf08f89428]
        /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7fcf08f8b02a]
        mono() [0x6e2d89]
        mono() [0x6f7e5b]
        mono(monoeg_assertion_message+0xa3) [0x6f8323]
        mono() [0x4bdc0c]
        mono() [0x4be73b]
        mono() [0x4be476]
        mono() [0x4be671]
        mono() [0x4c3cf3]
        mono() [0x4c3e62]
        mono() [0x4b6046]
        [0x40354887]

Debug info from gdb:

mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

=================================================================
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.
=================================================================

Aborted (core dumped)

System Information

Sonarr Version: 2.0.0.5252 Operating System: Ubuntu 18.04 Docker: version 18.09.0, build 4d60db4 If you need additional information or traces, please let me know.

Issue is also posted on https://github.com/Sonarr/Sonarr/issues/2833

thelamer commented 5 years ago

I cannot reproduce this with the current release. Please update and post here if this issue is still occurring.