From owner-freebsd-mono@freebsd.org Thu May 12 16:41:49 2016 Return-Path: Delivered-To: freebsd-mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0F6FB37EE6 for ; Thu, 12 May 2016 16:41:49 +0000 (UTC) (envelope-from bounce+8cc18d.d053-freebsd-mono=freebsd.org@markheppner.com) Received: from mail-s91.mailgun.info (mail-s91.mailgun.info [184.173.153.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87C1E1318 for ; Thu, 12 May 2016 16:41:49 +0000 (UTC) (envelope-from bounce+8cc18d.d053-freebsd-mono=freebsd.org@markheppner.com) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=markheppner.com; q=dns/txt; s=krs; t=1463071307; h=Content-Type: To: From: Subject: Message-ID: Date: MIME-Version: Sender; bh=XVs9GbHgcWs4e6ma1KJTzO1zrVqJFUAhkoJE2mzApxk=; b=ccU/H8CDed0JYDofThCJsnzjwjvta95PsZqzuSYhCD3X38p3esc1F63A6rjiIj0eKuF2pKyR DI6xogdSujy6dQ40rr0qRoEPLnF2azyW+jDmUC12mkLYCFhIgEZEk2Uar0VbLKN9jEP+eZDK 1eaD+HRp4hw5ajccDkXXp57Vh7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=markheppner.com; s=krs; q=dns; h=Sender: MIME-Version: Date: Message-ID: Subject: From: To: Content-Type; b=hSg/8LhCnHHKSRI9CTcfVHD3n3EhCBESmkxDjVTe5dUEDQmKqWAtwBZLmvDGx+AJbfsXJ9 2Q4ReWsugcsX7s3wvW4zOOv0y27JVF7lVPtmA/TQYjcZkjfpKMtnpfJKTMCsf/L3A6qzmDsw NQM3WGpy2P1F2ohMFGMq+RcGaXf7Q= Sender: freebsd@markheppner.com X-Mailgun-Sid: WyJhNGEyOSIsICJmcmVlYnNkLW1vbm9AZnJlZWJzZC5vcmciLCAiZDA1MyJd Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by mxa.mailgun.org with ESMTP id 5734ac3a.100bcaf0-in6; Thu, 12 May 2016 16:15:54 -0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id n129so266072784wmn.1 for ; Thu, 12 May 2016 09:15:54 -0700 (PDT) X-Gm-Message-State: AOPr4FXlwOhUNweo6ibNpSd02qv5mo53TypvifGAzje3i7uHrpVJN0r5BvxcmctL007+5Jg3HhY7bnuqugYfBQ== MIME-Version: 1.0 X-Received: by 10.194.104.138 with SMTP id ge10mr10285468wjb.85.1463069753355; Thu, 12 May 2016 09:15:53 -0700 (PDT) Received: by 10.28.167.203 with HTTP; Thu, 12 May 2016 09:15:53 -0700 (PDT) Date: Thu, 12 May 2016 12:15:53 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Sonarr/Mono crash with SIGSEGV on 10.3-STABLE From: Mark Heppner To: freebsd-mono@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2016 16:41:49 -0000 I was able to run sonarr-2.0.0.3953 on mono-4.2.3.4 on 10.2-STABLE. After upgrading to 10.3-STABLE, the program now crashes with this stacktrace: [Info] Bootstrap: Starting Sonarr - /usr/local/share/sonarr/NzbDrone.exe - Version 2.0.0.3953 [Info] AppFolderInfo: Data directory is being overridden to [/usr/local/sonarr] Stacktrace: at <0xffffffff> at (wrapper managed-to-native) System.Diagnostics.Process.ProcessName_internal (intptr) <0xffffffff> at System.Diagnostics.Process.get_ProcessName () <0x00047> at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.get_ProcessName () <0xffffffff> at NzbDrone.Common.EnvironmentInfo.RuntimeInfoBase.InternalIsProduction () <0x00080> at NzbDrone.Common.EnvironmentInfo.RuntimeInfoBase..cctor () <0x00010> at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> at <0xffffffff> at NzbDrone.Mono.MonoRuntimeProvider..ctor (NzbDrone.Common.IServiceProvider,NLog.Logger) <0x00024> at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object[]) <0x0012c> at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) <0x0053b> at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.ResolveOptions) <0x0004d> at TinyIoC.TinyIoCContainer/SingletonFactory.GetObject (System.Type,TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) <0x0009b> at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer/TypeRegistration,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) <0x000be> at TinyIoC.TinyIoCContainer.Resolve (System.Type,string) <0x0007c> at NzbDrone.Common.Composition.Container/<>c__DisplayClass4.b__3 (TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads) <0x00066> at TinyIoC.TinyIoCContainer/DelegateFactory.GetObject (System.Type,TinyIoC.TinyIoCContainer,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) <0x00035> at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer/TypeRegistration,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) <0x000be> at TinyIoC.TinyIoCContainer.Resolve (System.Type) <0x0007f> at TinyIoC.TinyIoCContainer.Resolve () <0x00032> at NzbDrone.Common.Composition.Container.Resolve () <0x00041> at NzbDrone.Host.Bootstrap.GetApplicationMode (NzbDrone.Common.EnvironmentInfo.IStartupContext) <0x000c9> at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext,NzbDrone.Host.IUserAlert,System.Action`1) <0x001c6> at NzbDrone.Console.ConsoleApp.Main (string[]) <0x000a2> at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff> ================================================================= 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. ================================================================= I confirmed this in Virtualbox by installing 10.2 with the same version of mono and sonarr listed, started sonarr successfully, then upgraded to 10.3, and was unable to start sonarr. I reported the issue on the sonarr forums, but to me, this seems more like an issue with mono on FreeBSD.