Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Loaded assembly: /Users/MM/Downloads/MenuTest/bin/Debug/MenuTest.app/Contents/MonoBundle/Xamarin.Mac.dll [External]
Loaded assembly: /Users/MM/Downloads/MenuTest/bin/Debug/MenuTest.app/Contents/MonoBundle/System.dll [External]
Loaded assembly: /Users/MM/Downloads/MenuTest/bin/Debug/MenuTest.app/Contents/MonoBundle/System.Net.Http.dll [External]
Loaded assembly: /Users/MM/Downloads/MenuTest/bin/Debug/MenuTest.app/Contents/MonoBundle/MenuTest.exe
Thread started: #2
Thread started: <Thread Pool> #3
Thread started: <Thread Pool> #4
Loaded assembly: /Users/MM/Downloads/MenuTest/bin/Debug/MenuTest.app/Contents/MonoBundle/Mono.Security.dll [External]
Thread started: <Thread Pool> #5
Thread started: <Thread Pool> #6
Loaded assembly: /Users/MM/Downloads/MenuTest/bin/Debug/MenuTest.app/Contents/MonoBundle/System.Core.dll [External]
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain (int,string[]) <IL 0x00093, 0xffffffff>
at AppKit.NSApplication.Main (string[]) [0x00041] in /Users/builder/data/lanes/1248/f2847d5f/source/xamcore/src/AppKit/NSApplication.cs:106
at MenuTest.MainClass.Main (string[]) [0x00007] in /Users/MM/Downloads/MenuTest/Main.cs:12
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
Native stacktrace:
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.huLeXr'
Executing commands in '/private/tmp/mono-gdb-commands.huLeXr'.
(lldb) process attach --pid 9833
Process 9833 stopped
Executable module set to "/Users/MM/Downloads/MenuTest/bin/Debug/MenuTest.app/Contents/MacOS/MenuTest".
Architecture set to: x86_64-apple-macosx.
(lldb) thread list
Process 9833 stopped
* thread #1: tid = 0x3896b, 0x00007fff93f1de20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0x3897b, 0x00007fff93f1e662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
thread #3: tid = 0x3897f, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #4: tid = 0x38980, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #5: tid = 0x38983, 0x00007fff93f19a56 libsystem_kernel.dylib`semaphore_wait_trap + 10
thread #6: tid = 0x38984, 0x00007fff93f1d91a libsystem_kernel.dylib`__recvfrom + 10
thread #7: tid = 0x389aa, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #8: tid = 0x389ae, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #9: tid = 0x389af, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #10: tid = 0x389b4, 0x00007fff93f1d716 libsystem_kernel.dylib`__psynch_cvwait + 10
thread #11: tid = 0x389b5, 0x00007fff93f1da3a libsystem_kernel.dylib`__semwait_signal + 10
thread #12: tid = 0x389b6, 0x00007fff93f19a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
thread #13: tid = 0x389b7, 0x00007fff93f19a1a libsystem_kernel.dylib`mach_msg_trap + 10
thread #14: tid = 0x389b9, 0x00007fff93f1d9aa libsystem_kernel.dylib`__select + 10
thread #15: tid = 0x389ba, 0x00007fff93f19a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
(lldb) thread backtrace all
* thread #1: tid = 0x3896b, 0x00007fff93f1de20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff93f1de20 libsystem_kernel.dylib`__wait4 + 8
frame #1: 0x00000001000dcda1 MenuTest`mono_handle_native_sigsegv(signal=<unavailable>, ctx=<unavailable>) + 433 at mini-exceptions.c:2323
frame #2: 0x000000010005daf4 MenuTest`mono_arch_handle_altstack_exception(sigctx=0x00000001021f0f48, fault_addr=<unavailable>, stack_ovf=0) + 84 at exceptions-amd64.c:861
frame #3: 0x00000001000f4c1b MenuTest`mono_sigsegv_signal_handler(_dummy=<unavailable>, _info=<unavailable>, context=<unavailable>) + 379 at mini.c:6858
frame #4: 0x00007fff95eb45aa libsystem_platform.dylib`_sigtramp + 26
frame #5: 0x00007fff8ed500a4 libobjc.A.dylib`objc_msgSend + 36
thread #2: tid = 0x3897b, 0x00007fff93f1e662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff93f1e662 libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x00007fff8e023421 libdispatch.dylib`_dispatch_mgr_invoke + 239
frame #2: 0x00007fff8e023136 libdispatch.dylib`_dispatch_mgr_thread + 52
thread #3: tid = 0x3897f, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff99b26f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff99b29fb9 libsystem_pthread.dylib`start_wqthread + 13
thread #4: tid = 0x38980, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff99b26f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff99b29fb9 libsystem_pthread.dylib`start_wqthread + 13
thread #5: tid = 0x38983, 0x00007fff93f19a56 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #0: 0x00007fff93f19a56 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x0000000100205ec7 MenuTest`mono_sem_wait(sem=0x000000010034b7e8, alertable=1) + 23 at mono-semaphore.c:103
frame #2: 0x000000010013c398 MenuTest`finalizer_thread(unused=<unavailable>) + 88 at gc.c:1077
frame #3: 0x00000001001d0a23 MenuTest`start_wrapper [inlined] start_wrapper_internal + 423 at threads.c:657
frame #4: 0x00000001001d087c MenuTest`start_wrapper(data=<unavailable>) + 44 at threads.c:704
frame #5: 0x000000010020699e MenuTest`inner_start_thread(arg=<unavailable>) + 222 at mono-threads-posix.c:84
frame #6: 0x0000000100229c63 MenuTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #7: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #9: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
thread #6: tid = 0x38984, 0x00007fff93f1d91a libsystem_kernel.dylib`__recvfrom + 10
frame #0: 0x00007fff93f1d91a libsystem_kernel.dylib`__recvfrom + 10
frame #1: 0x000000010004da49 MenuTest`socket_transport_recv(buf=0x0000000103403e05, len=11) + 121 at debugger-agent.c:1138
frame #2: 0x000000010003e963 MenuTest`debugger_thread [inlined] transport_recv(len=<unavailable>) + 33 at debugger-agent.c:1564
frame #3: 0x000000010003e942 MenuTest`debugger_thread(arg=<unavailable>) + 642 at debugger-agent.c:9586
frame #4: 0x000000010020699e MenuTest`inner_start_thread(arg=<unavailable>) + 222 at mono-threads-posix.c:84
frame #5: 0x0000000100229c63 MenuTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #6: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #7: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #8: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
thread #7: tid = 0x389aa, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff99b26f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff99b29fb9 libsystem_pthread.dylib`start_wqthread + 13
thread #8: tid = 0x389ae, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff99b26f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff99b29fb9 libsystem_pthread.dylib`start_wqthread + 13
thread #9: tid = 0x389af, 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff93f1de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff99b26f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff99b29fb9 libsystem_pthread.dylib`start_wqthread + 13
thread #10: tid = 0x389b4, 0x00007fff93f1d716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x00007fff93f1d716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff99b27c3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x00000001001e8ec3 MenuTest`_wapi_handle_timedwait_signal_handle [inlined] timedwait_signal_poll_cond(cond=<unavailable>, mutex=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) + 5 at handles.c:1519
frame #3: 0x00000001001e8ebe MenuTest`_wapi_handle_timedwait_signal_handle(handle=0x000000000000040e, timeout=<unavailable>, alertable=1, poll=<unavailable>) + 462 at handles.c:1609
frame #4: 0x00000001001f784d MenuTest`WaitForSingleObjectEx(handle=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) + 493 at wait.c:196
frame #5: 0x00000001001cced2 MenuTest`ves_icall_System_Threading_WaitHandle_WaitOne_internal [inlined] mono_wait_uninterrupted(alertable=<unavailable>) + 24 at threads.c:1357
frame #6: 0x00000001001cceba MenuTest`ves_icall_System_Threading_WaitHandle_WaitOne_internal(this=<unavailable>, handle=0x000000000000040e, ms=-1, exitContext=<unavailable>) + 74 at threads.c:1490
frame #7: 0x0000000108f207cf
frame #8: 0x0000000108f1f968
frame #9: 0x0000000108f1b028
frame #10: 0x00000001000f7038 MenuTest`mono_jit_runtime_invoke(method=<unavailable>, obj=0x0000000106222540, params=0x000000010b75be00, exc=0x0000000000000000) + 1592 at mini.c:6735
frame #11: 0x0000000100194ffe MenuTest`mono_runtime_invoke(method=0x0000000102b35d40, obj=0x0000000106222540, params=0x000000010b75be00, exc=0x0000000000000000) + 110 at object.c:2842
frame #12: 0x00000001001d0aa0 MenuTest`start_wrapper [inlined] start_wrapper_internal + 548 at threads.c:663
frame #13: 0x00000001001d087c MenuTest`start_wrapper(data=<unavailable>) + 44 at threads.c:704
frame #14: 0x000000010020699e MenuTest`inner_start_thread(arg=<unavailable>) + 222 at mono-threads-posix.c:84
frame #15: 0x0000000100229c63 MenuTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #16: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #17: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #18: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
thread #11: tid = 0x389b5, 0x00007fff93f1da3a libsystem_kernel.dylib`__semwait_signal + 10
frame #0: 0x00007fff93f1da3a libsystem_kernel.dylib`__semwait_signal + 10
frame #1: 0x00007fff92448dc0 libsystem_c.dylib`nanosleep + 200
frame #2: 0x00000001001f92aa MenuTest`SleepEx(ms=<unavailable>, alertable=1) + 202 at wthreads.c:290
frame #3: 0x00000001001ca6b4 MenuTest`monitor_thread(unused=<unavailable>) + 932 at threadpool.c:909
frame #4: 0x00000001001d0a23 MenuTest`start_wrapper [inlined] start_wrapper_internal + 423 at threads.c:657
frame #5: 0x00000001001d087c MenuTest`start_wrapper(data=<unavailable>) + 44 at threads.c:704
frame #6: 0x000000010020699e MenuTest`inner_start_thread(arg=<unavailable>) + 222 at mono-threads-posix.c:84
frame #7: 0x0000000100229c63 MenuTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #8: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #9: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #10: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
thread #12: tid = 0x389b6, 0x00007fff93f19a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #0: 0x00007fff93f19a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #1: 0x0000000100205e62 MenuTest`mono_sem_timedwait(sem=0x000000010034c4a0, timeout_ms=<unavailable>, alertable=1) + 226 at mono-semaphore.c:64
frame #2: 0x00000001001c8b42 MenuTest`async_invoke_thread(data=0x0000000000000000) + 1218 at threadpool.c:1678
frame #3: 0x00000001001d0a23 MenuTest`start_wrapper [inlined] start_wrapper_internal + 423 at threads.c:657
frame #4: 0x00000001001d087c MenuTest`start_wrapper(data=<unavailable>) + 44 at threads.c:704
frame #5: 0x000000010020699e MenuTest`inner_start_thread(arg=<unavailable>) + 222 at mono-threads-posix.c:84
frame #6: 0x0000000100229c63 MenuTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #7: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #9: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
thread #13: tid = 0x389b7, 0x00007fff93f19a1a libsystem_kernel.dylib`mach_msg_trap + 10
frame #0: 0x00007fff93f19a1a libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fff93f18d18 libsystem_kernel.dylib`mach_msg + 64
frame #2: 0x00007fff9464af15 CoreFoundation`__CFRunLoopServiceMachPort + 181
frame #3: 0x00007fff9464a539 CoreFoundation`__CFRunLoopRun + 1161
frame #4: 0x00007fff94649e75 CoreFoundation`CFRunLoopRunSpecific + 309
frame #5: 0x00007fff9194705e AppKit`_NSEventThread + 144
frame #6: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #7: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #8: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
thread #14: tid = 0x389b9, 0x00007fff93f1d9aa libsystem_kernel.dylib`__select + 10
frame #0: 0x00007fff93f1d9aa libsystem_kernel.dylib`__select + 10
frame #1: 0x0000000100204e6b MenuTest`mono_poll(ufds=0x0000000101225200, nfds=1, timeout=<unavailable>) + 395 at mono-poll.c:81
frame #2: 0x00000001001ca9c5 MenuTest`tp_poll_wait(p=0x000000010034c3b8) + 229 at tpool-poll.c:186
frame #3: 0x00000001001d0a23 MenuTest`start_wrapper [inlined] start_wrapper_internal + 423 at threads.c:657
frame #4: 0x00000001001d087c MenuTest`start_wrapper(data=<unavailable>) + 44 at threads.c:704
frame #5: 0x000000010020699e MenuTest`inner_start_thread(arg=<unavailable>) + 222 at mono-threads-posix.c:84
frame #6: 0x0000000100229c63 MenuTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #7: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #9: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
thread #15: tid = 0x389ba, 0x00007fff93f19a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #0: 0x00007fff93f19a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #1: 0x0000000100205e62 MenuTest`mono_sem_timedwait(sem=0x000000010034c440, timeout_ms=<unavailable>, alertable=1) + 226 at mono-semaphore.c:64
frame #2: 0x00000001001c8b42 MenuTest`async_invoke_thread(data=0x0000000000000000) + 1218 at threadpool.c:1678
frame #3: 0x00000001001d0a23 MenuTest`start_wrapper [inlined] start_wrapper_internal + 423 at threads.c:657
frame #4: 0x00000001001d087c MenuTest`start_wrapper(data=<unavailable>) + 44 at threads.c:704
frame #5: 0x000000010020699e MenuTest`inner_start_thread(arg=<unavailable>) + 222 at mono-threads-posix.c:84
frame #6: 0x0000000100229c63 MenuTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #7: 0x00007fff99b25899 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x00007fff99b2572a libsystem_pthread.dylib`_pthread_start + 137
frame #9: 0x00007fff99b29fc9 libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 9833 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.
=================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment