Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) ObjCRuntime.Messaging.IntPtr_objc_msgSend (intptr,intptr) <IL 0x00012, 0xffffffff>
at ObjCRuntime.Runtime.GetNSObject (intptr) [0x00070] in /Users/builder/data/lanes/xamcore-lion-1.10-branch/2ff3e7b7/source/xamcore/maccore/src/ObjCRuntime/Runtime.mac.cs:205
at ObjCRuntime.NSObjectMarshaler`1.MarshalNativeToManaged (intptr) [0x00002] in /Users/builder/data/lanes/xamcore-lion-1.10-branch/2ff3e7b7/source/xamcore/maccore/src/ObjCRuntime/NSObjectMarshaler.cs:35
at (wrapper native-to-managed) object.[AppKit.NSWindow+_NSWindowDelegate.CoreGraphics.CGSize WillResize(AppKit.NSWindow, CoreGraphics.CGSize)] (intptr,Foundation.NSObject,ObjCRuntime.Selector,AppKit.NSWindow,CoreGraphics.CGSize) <IL 0x000bd, 0xffffffff>
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/xamcore-lion-1.10-branch/2ff3e7b7/source/xamcore/src/AppKit/NSApplication.cs:105
at MacBanking.MainClass.Main (string[]) [0x00007] in /Users/donblas/Downloads/WindowTest/WindowTest/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.g3nUFm'
Executing commands in '/private/tmp/mono-gdb-commands.g3nUFm'.
(lldb) process attach --pid 54556
Process 54556 stopped
Executable module set to "/Users/donblas/Downloads/WindowTest/WindowTest/bin/Debug/WindowTest.app/Contents/MacOS/WindowTest".
Architecture set to: x86_64h-apple-macosx.
(lldb) thread list
Process 54556 stopped
* thread #1: tid = 0x5aea15, 0x00007fff92c58902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0x5aea29, 0x00007fff92c59232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
thread #3: tid = 0x5aea2b, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #4: tid = 0x5aea2d, 0x00007fff92c5351a libsystem_kernel.dylib`semaphore_wait_trap + 10
thread #5: tid = 0x5aea2e, 0x00007fff92c5833a libsystem_kernel.dylib`__recvfrom + 10
thread #6: tid = 0x5aea31, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #7: tid = 0x5aea32, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #8: tid = 0x5aea5a, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #9: tid = 0x5aea65, 0x00007fff92c534de libsystem_kernel.dylib`mach_msg_trap + 10
(lldb) thread backtrace all
* thread #1: tid = 0x5aea15, 0x00007fff92c58902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff92c58902 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x00000001000ce663 WindowTest`mono_handle_native_sigsegv(signal=<unavailable>, ctx=<unavailable>) + 435 at mini-exceptions.c:2323
frame #2: 0x000000010005047b WindowTest`mono_arch_handle_altstack_exception(sigctx=0x000000010215df48, fault_addr=<unavailable>, stack_ovf=0) + 91 at exceptions-amd64.c:902
frame #3: 0x00000001000e2c4b WindowTest`mono_sigsegv_signal_handler(_dummy=11, info=0x000000010215dee0, context=0x000000010215df48) + 379 at mini.c:6860
frame #4: 0x00007fff8b30af1a libsystem_platform.dylib`_sigtramp + 26
frame #5: 0x00007fff90afe0de libobjc.A.dylib`objc_msgSend + 30
thread #2: tid = 0x5aea29, 0x00007fff92c59232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff92c59232 libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x00007fff84222d91 libdispatch.dylib`_dispatch_mgr_invoke + 247
frame #2: 0x00007fff84222a6a libdispatch.dylib`_dispatch_mgr_thread + 52
thread #3: tid = 0x5aea2b, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff9212d6c3 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff9212b40d libsystem_pthread.dylib`start_wqthread + 13
thread #4: tid = 0x5aea2d, 0x00007fff92c5351a libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #0: 0x00007fff92c5351a libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x00000001001fb71c WindowTest`mono_sem_wait(sem=<unavailable>, alertable=<unavailable>, sem=0x000000010034a748, alertable=1) + 28 at mono-semaphore.c:103
frame #2: 0x000000010012eced WindowTest`finalizer_thread(unused=<unavailable>) + 509 at gc.c:1077
frame #3: 0x00000001001c1ea9 WindowTest`start_wrapper [inlined] start_wrapper_internal(data=0x0000600000027720) + 572 at threads.c:660
frame #4: 0x00000001001c1c6d WindowTest`start_wrapper(data=0x0000600000027720) + 29 at threads.c:707
frame #5: 0x00000001001fc37e WindowTest`inner_start_thread(arg=0x0000000102200794) + 286 at mono-threads-posix.c:100
frame #6: 0x000000010021d263 WindowTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #7: 0x00007fff9212d268 libsystem_pthread.dylib`_pthread_body + 131
frame #8: 0x00007fff9212d1e5 libsystem_pthread.dylib`_pthread_start + 176
frame #9: 0x00007fff9212b41d libsystem_pthread.dylib`thread_start + 13
thread #5: tid = 0x5aea2e, 0x00007fff92c5833a libsystem_kernel.dylib`__recvfrom + 10
frame #0: 0x00007fff92c5833a libsystem_kernel.dylib`__recvfrom + 10
frame #1: 0x000000010003442a WindowTest`socket_transport_recv(buf=0x0000000103403e05, len=11) + 138 at debugger-agent.c:1131
frame #2: 0x000000010002eb22 WindowTest`debugger_thread(arg=<unavailable>) + 13762 at debugger-agent.c:1557
frame #3: 0x00000001001fc37e WindowTest`inner_start_thread(arg=0x00007fff5fbff3a0) + 286 at mono-threads-posix.c:100
frame #4: 0x000000010021d263 WindowTest`GC_start_routine(arg=<unavailable>) + 83 at pthread_support.c:1502
frame #5: 0x00007fff9212d268 libsystem_pthread.dylib`_pthread_body + 131
frame #6: 0x00007fff9212d1e5 libsystem_pthread.dylib`_pthread_start + 176
frame #7: 0x00007fff9212b41d libsystem_pthread.dylib`thread_start + 13
thread #6: tid = 0x5aea31, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff9212d6c3 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff9212b40d libsystem_pthread.dylib`start_wqthread + 13
thread #7: tid = 0x5aea32, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff9212d6c3 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff9212b40d libsystem_pthread.dylib`start_wqthread + 13
thread #8: tid = 0x5aea5a, 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff92c5894a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff9212d6c3 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff9212b40d libsystem_pthread.dylib`start_wqthread + 13
thread #9: tid = 0x5aea65, 0x00007fff92c534de libsystem_kernel.dylib`mach_msg_trap + 10
frame #0: 0x00007fff92c534de libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fff92c5264f libsystem_kernel.dylib`mach_msg + 55
frame #2: 0x00007fff84827b34 CoreFoundation`__CFRunLoopServiceMachPort + 212
frame #3: 0x00007fff84826ffb CoreFoundation`__CFRunLoopRun + 1371
frame #4: 0x00007fff84826858 CoreFoundation`CFRunLoopRunSpecific + 296
frame #5: 0x00007fff8b65b19b AppKit`_NSEventThread + 137
frame #6: 0x00007fff9212d268 libsystem_pthread.dylib`_pthread_body + 131
frame #7: 0x00007fff9212d1e5 libsystem_pthread.dylib`_pthread_start + 176
frame #8: 0x00007fff9212b41d libsystem_pthread.dylib`thread_start + 13
(lldb) detach
=================================================================
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.
=================================================================
Process 54556 detached
(lldb) quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.