Skip to content

Instantly share code, notes, and snippets.

@mastoj
Created December 1, 2015 09:13
Show Gist options
  • Save mastoj/1d6e03fa3b81da230c8b to your computer and use it in GitHub Desktop.
Save mastoj/1d6e03fa3b81da230c8b to your computer and use it in GitHub Desktop.
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0xffffffff>
at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00053>
at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x0005f>
at System.MonoCustomAttrs.RetrieveAttributeUsageNoCache (System.Type) <0x00063>
at System.MonoCustomAttrs.RetrieveAttributeUsage (System.Type) <0x000ab>
at System.MonoCustomAttrs.IsDefined (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x000ff>
at System.MonoType.IsDefined (System.Type,bool) <0x0001f>
at Xunit.Sdk.Reflector/ReflectionTypeInfo.HasAttribute (System.Type) <0x00025>
at Xunit.Sdk.TypeUtility.HasRunWith (Xunit.Sdk.ITypeInfo) <0x0001d>
at Xunit.Sdk.TypeUtility.IsTestClass (Xunit.Sdk.ITypeInfo) <0x00033>
at Xunit.Sdk.TestClassCommandFactory.Make (Xunit.Sdk.ITypeInfo) <0x00013>
at Xunit.Sdk.TestClassCommandFactory.Make (System.Type) <0x0004b>
at Xunit.Sdk.Executor/EnumerateTests..ctor (Xunit.Sdk.Executor,object) <0x001cf>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object (object,intptr,intptr,intptr) <0xffffffff>
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) <0xffffffff>
at System.Reflection.MonoCMethod.InternalInvoke (object,object[]) <0x00033>
at System.Reflection.MonoCMethod.DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000eb>
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x00037>
at System.Activator.CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) <0x0029e>
at System.Activator.CreateInstance (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence) <0x0007f>
at System.AppDomain.CreateInstance (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence) <0x00053>
at (wrapper remoting-invoke-with-check) System.AppDomain.CreateInstance (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence) <0xffffffff>
at System.AppDomain.CreateInstanceAndUnwrap (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence) <0x00057>
at (wrapper remoting-invoke-with-check) System.AppDomain.CreateInstanceAndUnwrap (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence) <0xffffffff>
at (wrapper xdomain-dispatch) System.AppDomain.CreateInstanceAndUnwrap (object,byte[]&,byte[]&,string,string,bool) <0xffffffff>
at (wrapper xdomain-invoke) System.AppDomain.CreateInstanceAndUnwrap (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence) <0xffffffff>
at (wrapper remoting-invoke-with-check) System.AppDomain.CreateInstanceAndUnwrap (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence) <0xffffffff>
at Xunit.AppDomainManager_AppDomain.CreateObject<TObject> (System.Reflection.AssemblyName,string,object[]) <0x00087>
at Xunit.Xunit1Executor.CreateObject (string,object[]) <0x0002d>
at Xunit.Xunit1Executor.EnumerateTests (System.Web.UI.ICallbackEventHandler) <0x0007b>
at Xunit.Xunit1.Find (System.Predicate`1<Xunit.Abstractions.ITestCaseDiscoveryMessage>,bool,Xunit.Abstractions.IMessageSink) <0x000f8>
at Xunit.Xunit1.Xunit.Abstractions.ITestFrameworkDiscoverer.Find (bool,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions) <0x000af>
at Xunit.XunitFrontController.Find (bool,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions) <0x00036>
at Xunit.ConsoleClient.Program.ExecuteAssembly (object,Xunit.XunitProjectAssembly,bool,bool,System.Nullable`1<bool>,System.Nullable`1<int>,bool,bool,bool,bool,Xunit.XunitFilters) <0x004ec>
at Xunit.ConsoleClient.Program.RunProject (Xunit.XunitProject,bool,System.Nullable`1<bool>,System.Nullable`1<bool>,System.Nullable`1<int>,bool,bool,bool,bool) <0x005c7>
at Xunit.ConsoleClient.Program.Main (string[]) <0x00353>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 mono 0x00102656 mono_handle_native_sigsegv + 342
1 mono 0x00152dc1 sigabrt_signal_handler + 129
2 libsystem_platform.dylib 0x9b84603b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 libsystem_c.dylib 0x98ad9dee abort + 156
5 mono 0x002a2891 monoeg_log_default_handler + 129
6 mono 0x002a298b monoeg_assertion_message + 107
7 mono 0x0015b86c mono_class_from_typeref_checked + 1132
8 mono 0x0019b213 method_from_memberref + 323
9 mono 0x00198bea mono_get_method_from_token + 218
10 mono 0x00198a42 mono_get_method_checked + 226
11 mono 0x001988d7 mono_get_method_full + 71
12 mono 0x00198887 mono_get_method + 39
13 mono 0x00230b29 mono_custom_attrs_from_index + 345
14 mono 0x00230d74 mono_custom_attrs_from_class + 148
15 mono 0x00231606 mono_reflection_get_custom_attrs_info + 614
16 mono 0x002320d5 mono_reflection_get_custom_attrs_by_type + 37
17 mono 0x00185cb2 custom_attrs_get_by_type + 114
18 ??? 0x02e897e8 0x0 + 48797672
19 ??? 0x02e896f4 0x0 + 48797428
20 ??? 0x02e88d68 0x0 + 48794984
21 ??? 0x02e88c2c 0x0 + 48794668
22 ??? 0x02e88b5c 0x0 + 48794460
23 ??? 0x02e57128 0x0 + 48591144
24 ??? 0x02efb3f0 0x0 + 49263600
25 ??? 0x02efb3c6 0x0 + 49263558
26 ??? 0x02efb396 0x0 + 49263510
27 ??? 0x02efb29c 0x0 + 49263260
28 ??? 0x02efb0ac 0x0 + 49262764
29 ??? 0x02efb084 0x0 + 49262724
30 ??? 0x02ea2be8 0x0 + 48901096
31 ??? 0x02ea30ca 0x0 + 48902346
32 mono 0x000517bf mono_jit_runtime_invoke + 751
33 mono 0x0021415f mono_runtime_invoke + 127
34 mono 0x0021b2d4 mono_runtime_invoke_array + 1684
35 mono 0x0018be0c ves_icall_InternalInvoke + 892
36 ??? 0x02e47000 0x0 + 48525312
37 ??? 0x02e46f24 0x0 + 48525092
38 ??? 0x02e46b14 0x0 + 48524052
39 ??? 0x02e46a18 0x0 + 48523800
40 ??? 0x02e44edf 0x0 + 48516831
41 ??? 0x02e88248 0x0 + 48792136
42 ??? 0x02e8818c 0x0 + 48791948
43 ??? 0x02e88104 0x0 + 48791812
44 ??? 0x02e87f88 0x0 + 48791432
45 ??? 0x02e87efc 0x0 + 48791292
46 ??? 0x02e87a38 0x0 + 48790072
47 ??? 0x02c3e09a 0x0 + 46391450
48 ??? 0x02c3dd84 0x0 + 46390660
49 ??? 0x02c3dbe0 0x0 + 46390240
50 ??? 0x02e11d56 0x0 + 48307542
51 ??? 0x02e12294 0x0 + 48308884
52 ??? 0x02e11599 0x0 + 48305561
53 ??? 0x02e11468 0x0 + 48305256
54 ??? 0x02e1135f 0x0 + 48304991
55 ??? 0x007df275 0x0 + 8254069
56 ??? 0x004ea8f0 0x0 + 5155056
57 ??? 0x004e1804 0x0 + 5117956
58 ??? 0x004e1b1f 0x0 + 5118751
59 mono 0x000517bf mono_jit_runtime_invoke + 751
60 mono 0x0021415f mono_runtime_invoke + 127
61 mono 0x0021a1e1 mono_runtime_exec_main + 401
62 mono 0x00219f84 mono_runtime_run_main + 660
63 mono 0x000cc21d mono_jit_exec + 93
64 mono 0x000ce4f0 mono_main + 7904
65 mono 0x00043af0 main + 768
66 mono 0x000437e5 start + 53
67 ??? 0x00000008 0x0 + 8
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.p6Rily'
Executing commands in '/tmp/mono-gdb-commands.p6Rily'.
(lldb) process attach --pid 1229
warning: (i386) /Library/Frameworks/Mono.framework/Versions/4.0.4/lib/mono/4.5/mscorlib.dll.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Process 1229 stopped
* thread #1: tid = 0x5447, 0x989b4e16 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x989b4e16 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
-> 0x989b4e16 <+10>: jae 0x989b4e26 ; <+26>
0x989b4e18 <+12>: calll 0x989b4e1d ; <+17>
0x989b4e1d <+17>: popl %edx
0x989b4e1e <+18>: movl 0x8531207(%edx), %edx
Executable module set to "/usr/local/bin/mono".
Architecture set to: i386-apple-macosx.
(lldb) thread list
Process 1229 stopped
* thread #1: tid = 0x5447, 0x989b4e16 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0x5448, 0x989aea0a libsystem_kernel.dylib`semaphore_wait_trap + 10
thread #3: tid = 0x5449, 0x989b58ce libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
thread #4: tid = 0x544a, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #5: tid = 0x544b, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #6: tid = 0x544c, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #7: tid = 0x544d, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
(lldb) thread backtrace all
* thread #1: tid = 0x5447, 0x989b4e16 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x989b4e16 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x98af9b19 libsystem_c.dylib`waitpid$UNIX2003 + 48
frame #2: 0x0010271d mono`mono_handle_native_sigsegv + 541
frame #3: 0x00152dc1 mono`sigabrt_signal_handler + 129
frame #4: 0x9b84603b libsystem_platform.dylib`_sigtramp + 43
thread #2: tid = 0x5448, 0x989aea0a libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #0: 0x989aea0a libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x0029716a mono`mono_sem_wait + 26
frame #2: 0x0021207a mono`finalizer_thread + 154
frame #3: 0x001f0085 mono`start_wrapper + 517
frame #4: 0x0029c6b0 mono`inner_start_thread + 240
frame #5: 0x961f3c25 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x961f3b9b libsystem_pthread.dylib`_pthread_start + 162
frame #7: 0x961f0e32 libsystem_pthread.dylib`thread_start + 34
thread #3: tid = 0x5449, 0x989b58ce libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x989b58ce libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x921e673f libdispatch.dylib`_dispatch_mgr_invoke + 245
frame #2: 0x921e63a2 libdispatch.dylib`_dispatch_mgr_thread + 52
thread #4: tid = 0x544a, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x961f372a libsystem_pthread.dylib`_pthread_wqthread + 939
frame #2: 0x961f0e0e libsystem_pthread.dylib`start_wqthread + 30
thread #5: tid = 0x544b, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x961f372a libsystem_pthread.dylib`_pthread_wqthread + 939
frame #2: 0x961f0e0e libsystem_pthread.dylib`start_wqthread + 30
thread #6: tid = 0x544c, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x961f372a libsystem_pthread.dylib`_pthread_wqthread + 939
frame #2: 0x961f0e0e libsystem_pthread.dylib`start_wqthread + 30
thread #7: tid = 0x544d, 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x989b4e6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x961f372a libsystem_pthread.dylib`_pthread_wqthread + 939
frame #2: 0x961f0e0e libsystem_pthread.dylib`start_wqthread + 30
(lldb) detach
=================================================================
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.
=================================================================
(lldb) quit
Process 1229 detached
Running build failed.
Error:
System.Exception: xUnit2 reported an error (Error Code 134)
at Fake.Testing.XUnit2+ResultHandling+failBuildWithMessage@199-3.Invoke (System.String message) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Core.OptionModule.Iterate[String] (Microsoft.FSharp.Core.FSharpFunc`2 action, Microsoft.FSharp.Core.FSharpOption`1 option) [0x00000] in <filename unknown>:0
at Fake.Testing.XUnit2+ResultHandling+failBuildIfXUnitReportedError@203-2.Invoke (Microsoft.FSharp.Core.FSharpOption`1 option) [0x00000] in <filename unknown>:0
at Fake.Testing.XUnit2+ResultHandling+failBuildIfXUnitReportedError@202-3.Invoke (Int32 x) [0x00000] in <filename unknown>:0
at Fake.Testing.XUnit2.xUnit2 (Microsoft.FSharp.Core.FSharpFunc`2 setParams, IEnumerable`1 assemblies) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Core.Unit _arg3) [0x00000] in <filename unknown>:0
at Fake.TargetHelper+targetFromTemplate@195[Microsoft.FSharp.Core.Unit].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Fake.TargetHelper.runSingleTarget (Fake.TargetTemplate`1 target) [0x00000] in <filename unknown>:0
Status: Failure
1) System.Exception: xUnit2 reported an error (Error Code 134)
at Fake.Testing.XUnit2+ResultHandling+failBuildWithMessage@199-3.Invoke (System.String message) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Core.OptionModule.Iterate[String] (Microsoft.FSharp.Core.FSharpFunc`2 action, Microsoft.FSharp.Core.FSharpOption`1 option) [0x00000] in <filename unknown>:0
at Fake.Testing.XUnit2+ResultHandling+failBuildIfXUnitReportedError@203-2.Invoke (Microsoft.FSharp.Core.FSharpOption`1 option) [0x00000] in <filename unknown>:0
at Fake.Testing.XUnit2+ResultHandling+failBuildIfXUnitReportedError@202-3.Invoke (Int32 x) [0x00000] in <filename unknown>:0
at Fake.Testing.XUnit2.xUnit2 (Microsoft.FSharp.Core.FSharpFunc`2 setParams, IEnumerable`1 assemblies) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Core.Unit _arg3) [0x00000] in <filename unknown>:0
at Fake.TargetHelper+targetFromTemplate@195[Microsoft.FSharp.Core.Unit].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Fake.TargetHelper.runSingleTarget (Fake.TargetTemplate`1 target) [0x00000] in <filename unknown>:0
mono /xunit.runner.console/tools/xunit.console.exe "/LibAAS.Tests.dll" "/LibASS.Tests.dll" -parallel none -html ".test/xunit.html"
xUnit.net Console Runner (32-bit .NET 4.0.30319.17020)
Discovering: LibAAS.Tests
Can't find custom attr constructor image: /private/var/folders/xv/j02mdhqs2vs4rws7g7scyn25qf40_j/T/2c82eeb6-296d-46b4-b180-219325c94d73/2c82eeb6-296d-46b4-b180-219325c94d73/assembly/shadow/2a007137/19d57f48_33d50e7f_00000002/LibAAS.Tests.dll mtoken: 0x0a00000f
* Assertion at class.c:283, condition `!mono_loader_get_last_error ()' not met
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment