Receiving a SIGSEGV crash from local runs just before the LaunchTestAsync step

This is a pretty sporadic issue and just started happening last week. I'm using mono version 5.4 but it's also happening on 5.8 and 5.10. I'm not sure where to look now.

Skipping IDE integration as important properties are configured. To force IDE integration, add .PreferIdeSettings() to ConfigureApp.
Stacktrace:

at <0xffffffff>
at (wrapper managed-to-native) Xamarin.UITest.Shared.iOS.Queries.QueryConnectediOSDevices/NativeMethods.AMDeviceNotificationUnsubscribe (intptr) [0x00002] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.Shared.iOS.Queries.QueryConnectediOSDevices/DeviceFinder.GetConnectedDevices (string) [0x000be] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.Shared.iOS.Queries.QueryConnectediOSDevices.Execute () [0x00005] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.Shared.Execution.Executor/c__AnonStorey01<TResult_REF>.<>m__0 () [0x00000] in <0ea59db5aaf943039918d5008bfc5053>:0 at Xamarin.UITest.Shared.Execution.Executor.WrapQuery<TResult_REF> (System.Func1) [0x00000] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.Shared.Execution.Executor.Execute (Xamarin.UITest.Shared.Execution.IQuery`1) [0x0001a] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.iOS.iOSAppLauncher.ResolveConnectediOSDevice (string) [0x0001e] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.iOS.iOSAppLauncher.LaunchAppLocal (Xamarin.UITest.Configuration.IiOSAppConfiguration,Xamarin.UITest.Shared.Http.HttpClient,bool) [0x00015] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.iOS.iOSAppLauncher.LaunchApp (Xamarin.UITest.Configuration.IiOSAppConfiguration,Xamarin.UITest.Shared.Http.HttpClient,Xamarin.UITest.TestCloud.TestCloudiOSAppConfiguration,Xamarin.UITest.Shared.Http.HttpClient,Xamarin.UITest.Shared.Http.HttpClient,bool) [0x0007a] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.iOS.iOSApp..ctor (Xamarin.UITest.Configuration.IiOSAppConfiguration,Xamarin.UITest.Shared.Execution.IExecutor) [0x002de] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.iOS.iOSApp..ctor (Xamarin.UITest.Configuration.IiOSAppConfiguration) [0x00000] in <0ea59db5aaf943039918d5008bfc5053>:0
at Xamarin.UITest.Configuration.iOSAppConfigurator.StartApp (Xamarin.UITest.Configuration.AppDataMode) [0x00017] in <0ea59db5aaf943039918d5008bfc5053>:0
at MyApp.AppManager.StartApp (bool) [0x00083] in <6d8253c68d6e463581b2846cd65887ef>:0
at MyApp.BaseTestFixture.Setup () [0x000a8] in <6d8253c68d6e463581b2846cd65887ef>:0
at MyApp.BaseTestFixture.BeforeEachTest () [0x00008] in <6d8253c68d6e463581b2846cd65887ef>:0
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004d] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) [0x0000c] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00032] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at NUnit.Core.Reflect.InvokeMethod (System.Reflection.MethodInfo,object,object[]) [0x0000b] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.Reflect.InvokeMethod (System.Reflection.MethodInfo,object) [0x00001] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestMethod.RunSetUp () [0x0002d] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestMethod.RunTest () [0x0001b] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.NUnitTestMethod.RunTest () [0x00001] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestMethod.RunRepeatedTest () [0x00039] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestMethod.RunTestInContext () [0x001ac] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestMethod.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x0004e] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunAllTests (NUnit.Core.TestResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x000ec] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuite (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00161] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuiteInContext (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x0001c] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00030] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestFixture.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00018] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunAllTests (NUnit.Core.TestResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x000ec] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuite (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00161] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuiteInContext (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x0001c] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00030] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunAllTests (NUnit.Core.TestResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x000ec] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuite (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00161] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuiteInContext (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x0001c] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00030] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunAllTests (NUnit.Core.TestResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x000ec] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuite (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00161] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.RunSuiteInContext (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x0001c] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) [0x00030] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.SimpleTestRunner.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter,bool,NUnit.Core.LoggingThreshold) [0x00040] in <746131cbfdc6477ab4c97256f2af20a6>:0
at NUnit.Core.TestRunnerThread.TestRunnerThreadProc () [0x00002] in <746131cbfdc6477ab4c97256f2af20a6>:0
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00014] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x0002b] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004d] in <4fdc5ed61a074cafb49fa42deb20d521>:0

Native stacktrace:

0   mono                                0x00000001083403d1 mono_handle_native_crash + 257
1   mono                                0x00000001083a7e86 altstack_handle_and_restore + 70
2   ???                                 0x000000010de14550 0x0 + 4527834448
3   ???                                 0x000000010de1e61d 0x0 + 4527875613
4   ???                                 0x000000010de0bc6c 0x0 + 4527799404
5   ???                                 0x000000010ddbef43 0x0 + 4527484739
6   ???                                 0x000000010d98ef93 0x0 + 4523093907
7   ???                                 0x000000010d98e123 0x0 + 4523090211
8   ???                                 0x000000010d8c6c93 0x0 + 4522273939
9   ???                                 0x000000010d8c5d6b 0x0 + 4522270059
10  mono                                0x000000010829a5f4 mono_jit_runtime_invoke + 1316
11  mono                                0x0000000108492238 do_runtime_invoke + 88
12  mono                                0x0000000108495edb mono_runtime_try_invoke_array + 1451
13  mono                                0x00000001083f4077 ves_icall_InternalInvoke + 647
14  ???                                 0x000000010d8c5c91 0x0 + 4522269841
15  ???                                 0x000000010bb5732b 0x0 + 4491408171
16  ???                                 0x000000010d8c5903 0x0 + 4522268931
17  ???                                 0x000000010d8c4eab 0x0 + 4522266283

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

Sign In or Register to comment.