Skip to content

Instantly share code, notes, and snippets.

@pjcollins
Created May 27, 2016 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjcollins/fb79e3df1922be39f76896cced1fe1db to your computer and use it in GitHub Desktop.
Save pjcollins/fb79e3df1922be39f76896cced1fe1db to your computer and use it in GitHub Desktop.
Peters-iMac:web-tests petercollins$ make Console-Run-Martin
/Applications/Xcode.app/Contents/Developer/usr/bin/make ASYNCTESTS_COMMAND=local TARGET_NAME=Console-Run-Martin .Console-Run-Martin
/Applications/Xcode.app/Contents/Developer/usr/bin/make ASYNCTESTS_ARGS="--features=+Experimental --debug --log-level=5" TEST_CATEGORY=Martin .Console-Internal-Run
mono ./Console/Xamarin.WebTests.Console/bin/Debug/Xamarin.WebTests.Console.exe --features=+Experimental --debug --log-level=5 --category=Martin \
--result=TestResult-Console-Run-Martin.xml local
Got test: [PathBasedTestCase: [TestPathNode: Tree=[TestPathTree(1): Builder=ReflectionTestSuiteBuilder, Host=[TestBuilderHost: Name=Xamarin.WebTests.Console, Builder=ReflectionTestSuiteBuilder]], Path=[TestPath: ID=1, Identifier=suite, Name=Xamarin.WebTests.Console, Parameter=Xamarin.WebTests.Console]]]
RUN: [PathBasedTestCase: [TestPathNode: Tree=[TestPathTree(1): Builder=ReflectionTestSuiteBuilder, Host=[TestBuilderHost: Name=Xamarin.WebTests.Console, Builder=ReflectionTestSuiteBuilder]], Path=[TestPath: ID=1, Identifier=suite, Name=Xamarin.WebTests.Console, Parameter=Xamarin.WebTests.Console]]]
Running [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttpWorking(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]
[HttpsTestRunner:MartinTest]: RUN
[HttpsTestRunner:MartinTest]: GOT RESPONSE InternalServerError False Error: SecureChannelFailure (The authentication or decryption has failed.)
Finished [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttpWorking(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]: Error
Finished [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttpWorking(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]: Success
Finished [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttpWorking(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]: Error
Running [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttp(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]
[HttpsTestRunner:MartinTest]: RUN
[HttpsTestRunner:MartinTest]: GOT RESPONSE InternalServerError False Error: SecureChannelFailure (The authentication or decryption has failed.)
Finished [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttp(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]: Error
Finished [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttp(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]: Success
Finished [Xamarin.WebTests.Console.WebTests.MartinTest.TestMartinHttp(MartinTest,MartinTest,DotNet:DotNet:MartinTest,runner)]: Error
RUN DONE: True [TestResult: Name=[Xamarin.WebTests.Console], Status=Success]
Got result: [TestResult: Name=[Xamarin.WebTests.Console], Status=Success]
2 tests, 2 passed, 4 errors, 0 ignored.
Total time: 00:00:00.2473220.
Result writting to TestResult-Console-Run-Martin.xml.
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Net.Sockets.Socket.Close_internal (intptr,int&) <0x00012>
at System.Net.Sockets.SafeSocketHandle.ReleaseHandle () <0x001a7>
at System.Runtime.InteropServices.SafeHandle.DangerousReleaseInternal (bool) <0x000ff>
at System.Runtime.InteropServices.SafeHandle.InternalDispose () <0x00030>
at System.Runtime.InteropServices.SafeHandle.Dispose (bool) <0x00025>
at System.Runtime.InteropServices.SafeHandle.Dispose () <0x00025>
at System.Net.Sockets.Socket.Dispose (bool) <0x00067>
at System.Net.Sockets.Socket.Dispose () <0x00018>
at System.Net.Sockets.Socket.Close () <0x00017>
at System.Net.WebConnection.Close (bool) <0x00143>
at System.Net.WebConnection.InitConnection (object) <0x002f3>
at System.Net.WebConnection.<WebConnection>m__0 (object) <0x00017>
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001bb>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00033>
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x0005a>
at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x001d8>
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x00017>
at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) <0x0004c>
Native stacktrace:
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.TUqDrO'
Executing commands in '/tmp/mono-gdb-commands.TUqDrO'.
(lldb) process attach --pid 28197
warning: (i386) /Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.5/mscorlib.dll.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Process 28197 stopped
* thread #1: tid = 0xebd9f, 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_303', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10
libsystem_kernel.dylib`__psynch_cvwait:
-> 0x925a93ea <+10>: jae 0x925a93fa ; <+26>
0x925a93ec <+12>: calll 0x925a93f1 ; <+17>
0x925a93f1 <+17>: popl %edx
0x925a93f2 <+18>: movl 0x10a9bc2f(%edx), %edx
Executable module set to "/usr/local/bin/mono".
Architecture set to: i386-apple-macosx.
(lldb) thread list
Process 28197 stopped
* thread #1: tid = 0xebd9f, 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_303', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0xebda0, 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10
thread #3: tid = 0xebda1, 0x925a24d6 libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'tid_1303'
thread #4: tid = 0xebda2, 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
thread #5: tid = 0xebda3, 0x925aa7fa libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
thread #6: tid = 0xebda5, 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
thread #7: tid = 0xebda6, 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
thread #8: tid = 0xebdb6, 0x925a9cee libsystem_kernel.dylib`__wait4 + 10, name = 'tid_330b'
(lldb) thread backtrace all
* thread #1: tid = 0xebd9f, 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_303', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x92ee6538 libsystem_pthread.dylib`_pthread_cond_wait + 757
frame #2: 0x92ee8276 libsystem_pthread.dylib`pthread_cond_wait$UNIX2003 + 71
frame #3: 0x002789d5 mono`mono_os_cond_timedwait [inlined] mono_os_cond_wait(cond=0x7b9cd638, mutex=0x7b9cd60c) + 12 at mono-os-mutex.h:105 [opt]
frame #4: 0x002789c9 mono`mono_os_cond_timedwait(cond=<unavailable>, mutex=<unavailable>, timeout_ms=<unavailable>) + 185 at mono-os-mutex.h:120 [opt]
frame #5: 0x0027874b mono`_wapi_handle_timedwait_signal_handle(handle=0x00000400, timeout=<unavailable>, alertable=<unavailable>, poll=<unavailable>, alerted=0xbffd93f0) + 507 at handles.c:1554 [opt]
frame #6: 0x00278548 mono`_wapi_handle_timedwait_signal(timeout=4294967295, poll=0, alerted=0xbffd925c) + 56 at handles.c:1475 [opt]
frame #7: 0x0028c994 mono`wapi_WaitForMultipleObjectsEx(numobjects=<unavailable>, handles=<unavailable>, waitall=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) + 1700 at wait.c:615 [opt]
frame #8: 0x001e4bb9 mono`wait_for_tids(wait=<unavailable>, timeout=<unavailable>) + 73 at threads.c:2841 [opt]
frame #9: 0x001e49a2 mono`mono_thread_manage + 882 at threads.c:3139 [opt]
frame #10: 0x000b8ee1 mono`mono_main(argc=<unavailable>, argv=<unavailable>) + 8401 at driver.g.c:2163 [opt]
frame #11: 0x0002997a mono`main [inlined] mono_main_with_options(argc=8, argc=8, argc=8, argv=0xbffd9850, argv=0xbffd9850, argv=0xbffd9850) + 74 at main.c:20 [opt]
frame #12: 0x00029959 mono`main(argc=8, argv=0xbffd9850) + 41 at main.c:53 [opt]
frame #13: 0x00029925 mono`start + 53
thread #2: tid = 0xebda0, 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x925a93ea libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x92ee6538 libsystem_pthread.dylib`_pthread_cond_wait + 757
frame #2: 0x92ee8276 libsystem_pthread.dylib`pthread_cond_wait$UNIX2003 + 71
frame #3: 0x002723ab mono`thread_func [inlined] mono_os_cond_wait(mutex=0xb00810b0) + 18 at mono-os-mutex.h:105 [opt]
frame #4: 0x00272399 mono`thread_func(thread_data=0x00000000) + 457 at sgen-thread-pool.c:118 [opt]
frame #5: 0x92ee5780 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x92ee56f6 libsystem_pthread.dylib`_pthread_start + 155
frame #7: 0x92ee2f7a libsystem_pthread.dylib`thread_start + 34
thread #3: tid = 0xebda1, 0x925a24d6 libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'tid_1303'
frame #0: 0x925a24d6 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x0020e53e mono`finalizer_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) + 14 at mono-os-semaphore.h:72 [opt]
frame #2: 0x0020e530 mono`finalizer_thread [inlined] mono_coop_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) + 10 at mono-coop-semaphore.h:40 [opt]
frame #3: 0x0020e526 mono`finalizer_thread(unused=0x00000000) + 118 at gc.c:711 [opt]
frame #4: 0x001e7999 mono`start_wrapper [inlined] start_wrapper_internal + 540 at threads.c:717 [opt]
frame #5: 0x001e777d mono`start_wrapper(data=<unavailable>) + 29 at threads.c:764 [opt]
frame #6: 0x002a1a7d mono`inner_start_thread(arg=<unavailable>) + 349 at mono-threads-posix.c:92 [opt]
frame #7: 0x92ee5780 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x92ee56f6 libsystem_pthread.dylib`_pthread_start + 155
frame #9: 0x92ee2f7a libsystem_pthread.dylib`thread_start + 34
thread #4: tid = 0xebda2, 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x92ee534b libsystem_pthread.dylib`_pthread_wqthread + 1289
frame #2: 0x92ee2f56 libsystem_pthread.dylib`start_wqthread + 34
thread #5: tid = 0xebda3, 0x925aa7fa libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x925aa7fa libsystem_kernel.dylib`kevent_qos + 10
frame #1: 0x91c947ea libdispatch.dylib`_dispatch_mgr_invoke + 234
frame #2: 0x91c943be libdispatch.dylib`_dispatch_mgr_thread + 52
thread #6: tid = 0xebda5, 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x92ee534b libsystem_pthread.dylib`_pthread_wqthread + 1289
frame #2: 0x92ee2f56 libsystem_pthread.dylib`start_wqthread + 34
thread #7: tid = 0xebda6, 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x925a9d5e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x92ee534b libsystem_pthread.dylib`_pthread_wqthread + 1289
frame #2: 0x92ee2f56 libsystem_pthread.dylib`start_wqthread + 34
thread #8: tid = 0xebdb6, 0x925a9cee libsystem_kernel.dylib`__wait4 + 10, name = 'tid_330b'
frame #0: 0x925a9cee libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x93e657dc libsystem_c.dylib`waitpid$UNIX2003 + 48
frame #2: 0x000f259d mono`mono_handle_native_sigsegv(signal=11, ctx=0x02d57fe0, info=0x02d57fa0) + 541 at mini-exceptions.c:2348 [opt]
frame #3: 0x001425e2 mono`mono_arch_handle_altstack_exception(sigctx=<unavailable>, siginfo=<unavailable>, fault_addr=<unavailable>, stack_ovf=0) + 162 at exceptions-x86.c:1107 [opt]
frame #4: 0x00034e93 mono`mono_sigsegv_signal_handler(_dummy=<unavailable>, _info=<unavailable>, context=<unavailable>) + 467 at mini-runtime.c:2888 [opt]
frame #5: 0x9a1e679b libsystem_platform.dylib`_sigtramp + 43
frame #6: 0x92ee343f libsystem_pthread.dylib`pthread_mutex_unlock + 12
frame #7: 0x001ec539 mono`mono_threadpool_ms_io_remove_socket [inlined] mono_os_mutex_unlock + 361 at mono-os-mutex.h:85 [opt]
frame #8: 0x001ec531 mono`mono_threadpool_ms_io_remove_socket [inlined] mono_coop_mutex_unlock + 5 at mono-coop-mutex.h:71 [opt]
frame #9: 0x001ec52c mono`mono_threadpool_ms_io_remove_socket(fd=<unavailable>) + 348 at threadpool-ms-io.c:624 [opt]
frame #10: 0x001d0f5d mono`ves_icall_System_Net_Sockets_Socket_Close_internal(sock=9, error=0xb064291c) + 29 at socket-io.c:692 [opt]
frame #11: 0x029aae30
frame #12: 0x029aacc0
frame #13: 0x018ac6d0 mscorlib.dll.dylib`System_Runtime_InteropServices_SafeHandle_DangerousReleaseInternal_bool + 256
frame #14: 0x018ac561 mscorlib.dll.dylib`System_Runtime_InteropServices_SafeHandle_InternalDispose + 49
frame #15: 0x018ac3d6 mscorlib.dll.dylib`System_Runtime_InteropServices_SafeHandle_Dispose_bool + 38
frame #16: 0x018ac3a6 mscorlib.dll.dylib`System_Runtime_InteropServices_SafeHandle_Dispose + 38
frame #17: 0x029aaac0
frame #18: 0x029aaa39
frame #19: 0x029aaa10
frame #20: 0x02d7a2ec
frame #21: 0x02d2c3fc
frame #22: 0x02d2bd90
frame #23: 0x019709e0 mscorlib.dll.dylib`System_Threading_QueueUserWorkItemCallback_WaitCallback_Context_object + 80
frame #24: 0x0196a19c mscorlib.dll.dylib`System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 444
frame #25: 0x01969fd4 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 52
frame #26: 0x0197095b mscorlib.dll.dylib`System_Threading_QueueUserWorkItemCallback_System_Threading_IThreadPoolWorkItem_ExecuteWorkItem + 91
frame #27: 0x0196f109 mscorlib.dll.dylib`System_Threading_ThreadPoolWorkQueue_Dispatch + 473
frame #28: 0x01970788 mscorlib.dll.dylib`System_Threading__ThreadPoolWaitCallback_PerformWaitCallback + 24
frame #29: 0x0066732d
frame #30: 0x000386c7 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=<unavailable>, params=<unavailable>, exc=<unavailable>) + 951 at mini-runtime.c:2578 [opt]
frame #31: 0x00210c56 mono`mono_runtime_invoke(method=0x7d1dd520, obj=<unavailable>, params=<unavailable>, exc=<unavailable>) + 150 at object.c:2897 [opt]
frame #32: 0x001eab78 mono`worker_thread(data=0x00000000) + 1880 at threadpool-ms.c:647 [opt]
frame #33: 0x001e7999 mono`start_wrapper [inlined] start_wrapper_internal + 540 at threads.c:717 [opt]
frame #34: 0x001e777d mono`start_wrapper(data=<unavailable>) + 29 at threads.c:764 [opt]
frame #35: 0x002a1a7d mono`inner_start_thread(arg=<unavailable>) + 349 at mono-threads-posix.c:92 [opt]
frame #36: 0x92ee5780 libsystem_pthread.dylib`_pthread_body + 138
frame #37: 0x92ee56f6 libsystem_pthread.dylib`_pthread_start + 155
frame #38: 0x92ee2f7a libsystem_pthread.dylib`thread_start + 34
(lldb) detach
Process 28197 detached
(lldb) quit
=================================================================
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.
=================================================================
make[2]: *** [.Console-Internal-Run] Abort trap: 6
make[1]: *** [.Console-Run-Martin] Error 2
make: *** [Console-Run-Martin] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment