Hi guys,
Thought I would turn here for some help as I found my sonarr had stopped running today and when trying to start it dies with a mono error. Have any of you seen/solved this?
I am running ubuntu 12.04, latest mono version and I have tried rebooting the server and reinstalling mono. Thanks
[Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.3530
[Debug] ProcessProvider: Found 0 processes with the name: NzbDrone.Console
[Debug] ProcessProvider: Found 1 processes with the name: NzbDrone
[Debug] ProcessProvider: - [11913] NzbDrone
[Info] MigrationLogger: *** Migrating data source=/home/desktop/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods.sqlite3_prepare_v2 (intptr,intptr,int,intptr&,intptr&) <0xffffffff>
at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection,string,System.Data.SQLite.SQLiteStatement,uint,string&) <0x0049f>
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x002c5>
at System.Data.SQLite.SQLiteCommand.GetStatement (int) <0x0002f>
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteCommand.GetStatement (int) <0xffffffff>
at System.Data.SQLite.SQLiteDataReader.NextResult () <0x00577>
at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior) <0x00295>
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior) <0xffffffff>
at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior) <0x00043>
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior) <0x00037>
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () <0x0001b>
at System.Data.SQLite.SQLiteConnection.Open () <0x01b1c>
at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen () <0x00035>
at FluentMigrator.Runner.Processors.SQLite.SqliteProcessor.Exists (string,object[]) <0x00037>
at FluentMigrator.Runner.Processors.SQLite.SqliteProcessor.TableExists (string,string) <0x00052>
at FluentMigrator.Runner.VersionLoader.get_AlreadyCreatedVersionTable () <0x0005a>
at FluentMigrator.Runner.VersionLoader.LoadVersionInfo () <0x0006b>
at FluentMigrator.Runner.VersionLoader..ctor (FluentMigrator.Runner.IMigrationRunner,System.Reflection.Assembly,FluentMigrator.IMigrationConventions) <0x005ef>
at FluentMigrator.Runner.MigrationRunner..ctor (System.Reflection.Assembly,FluentMigrator.Runner.Initialization.IRunnerContext,FluentMigrator.IMigrationProcessor) <0x004e7>
at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.MigrateToLatest (string,NzbDrone.Core.Datastore.Migration.Framework.MigrationType,System.Action`1<NzbDrone.Core.Datastore.Migration.Framework.NzbDroneMigrationBase>) <0x001eb>
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType,System.Action`1<NzbDrone.Core.Datastore.Migration.Framework.NzbDroneMigrationBase>) <0x00146>
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer) <0x0002c>
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes,NzbDrone.Common.EnvironmentInfo.StartupContext) <0x00073>
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext,NzbDrone.Host.IUserAlert,System.Action`1<NzbDrone.Common.Composition.IContainer>) <0x00157>
at NzbDrone.Console.ConsoleApp.Main (string[]) <0x0006f>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono() [0x4b3f7c]
mono() [0x50c30f]
mono() [0x423637]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f565043ecb0]
/lib/x86_64-linux-gnu/libc.so.6(+0x8b56d) [0x7f56500fc56d]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x2df21) [0x7f564c494f21]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x38f85) [0x7f564c49ff85]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x391eb) [0x7f564c4a01eb]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x3f454) [0x7f564c4a6454]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x4e249) [0x7f564c4b5249]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x66407) [0x7f564c4cd407]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x667e2) [0x7f564c4cd7e2]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x66c41) [0x7f564c4cdc41]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x6c5a8) [0x7f564c4d35a8]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x6ec22) [0x7f564c4d5c22]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x725fe) [0x7f564c4d95fe]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x765d1) [0x7f564c4dd5d1]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(+0x769c9) [0x7f564c4dd9c9]
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0(sqlite3_prepare_v2+0x18) [0x7f564c4ddc18]
[0x41e16818]
Debug info from gdb:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f564ee08700 (LWP 11914)]
0x00007f565043e88d in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
Id Target Id Frame
2 Thread 0x7f564ee08700 (LWP 11914) "Finalizer" 0x00007f565043cfd0 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
* 1 Thread 0x7f5650f5a780 (LWP 11913) "mono" 0x00007f565043e88d in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
Thread 2 (Thread 0x7f564ee08700 (LWP 11914)):
#0 0x00007f565043cfd0 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x000000000062cf48 in mono_sem_wait (sem=sem@entry=0x97aec0, alertable=alertable@entry=1) at mono-semaphore.c:101
#2 0x00000000005a3c4d in finalizer_thread (unused=<optimised out>) at gc.c:1077
#3 0x0000000000588274 in start_wrapper_internal (data=<optimised out>) at threads.c:660
#4 start_wrapper (data=<optimised out>) at threads.c:707
#5 0x0000000000631c56 in inner_start_thread (arg=0x7fff8e940390) at mono-threads-posix.c:84
#6 0x00007f5650436e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007f565016438d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f5650f5a780 (LWP 11913)):
#0 0x00007f565043e88d in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00000000004b4009 in mono_handle_native_sigsegv (signal=signal@entry=11, ctx=ctx@entry=0x7fff8e93e6c0) at mini-exceptions.c:2323
#2 0x000000000050c30f in mono_arch_handle_altstack_exception (sigctx=sigctx@entry=0x7fff8e93e6c0, fault_addr=<optimised out>, stack_ovf=stack_ovf@entry=0) at exceptions-amd64.c:902
#3 0x0000000000423637 in mono_sigsegv_signal_handler (_dummy=7, info=0x7fff8e93e7f0, context=0x7fff8e93e6c0) at mini.c:6861
#4 <signal handler called>
#5 0x00007f56500fc56d in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x00007f564c494f21 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#7 0x00007f564c49ff85 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8 0x00007f564c4a01eb in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9 0x00007f564c4a6454 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007f564c4b5249 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007f564c4cd407 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007f564c4cd7e2 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#13 0x00007f564c4cdc41 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#14 0x00007f564c4d35a8 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#15 0x00007f564c4d5c22 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#16 0x00007f564c4d95fe in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#17 0x00007f564c4dd5d1 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#18 0x00007f564c4dd9c9 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#19 0x00007f564c4ddc18 in sqlite3_prepare_v2 () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#20 0x0000000041e16818 in ?? ()
#21 0x00007f564ebc6018 in ?? ()
#22 0x00007f564e8ad998 in ?? ()
#23 0x00000000010f4930 in ?? ()
#24 0x0000000000000000 in ?? ()
=================================================================
Got a SIGSEGV 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)