Skip to content

Instantly share code, notes, and snippets.

@DavidKarlas
Created October 31, 2015 09:40
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 DavidKarlas/3c6f37cc75c3ef301085 to your computer and use it in GitHub Desktop.
Save DavidKarlas/3c6f37cc75c3ef301085 to your computer and use it in GitHub Desktop.
2015-10-31 10:39:19.001 mono[56773:2861067] error: * Assertion at socket-io.c:2757, condition `info' not met
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Net.Sockets.Socket.cancel_blocking_socket_operation (System.Threading.Thread) <IL 0x00025, 0xffffffff>
at System.Net.Sockets.SafeSocketHandle.AbortRegisteredThreads () [0x00036] in /private/tmp/source-mono-master-32/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono/mcs/class/System/System.Net.Sockets/SafeSocketHandle.cs:117
at System.Net.Sockets.SafeSocketHandle.ReleaseHandle () [0x00094] in /private/tmp/source-mono-master-32/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono/mcs/class/System/System.Net.Sockets/SafeSocketHandle.cs:69
at System.Runtime.InteropServices.SafeHandle.DangerousReleaseInternal (bool) [0x000c7] in /private/tmp/source-mono-master-32/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono/mcs/class/corlib/System.Runtime.InteropServices/SafeHandle.cs:215
at System.Runtime.InteropServices.SafeHandle.InternalFinalize () [0x0000b] in /private/tmp/source-mono-master-32/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono/mcs/class/corlib/System.Runtime.InteropServices/SafeHandle.cs:157
at System.Runtime.InteropServices.SafeHandle.Dispose (bool) [0x00011] in /private/tmp/source-mono-master-32/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono/external/referencesource/mscorlib/system/runtime/interopservices/safehandle.cs:262
at System.Runtime.InteropServices.SafeHandle.Finalize () [0x00000] in /private/tmp/source-mono-master-32/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono/external/referencesource/mscorlib/system/runtime/interopservices/safehandle.cs:199
at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <IL 0x00054, 0xffffffff>
Native stacktrace:
0 mono 0x0018e4f6 mono_handle_native_sigsegv + 342
1 mono 0x001f9b21 sigabrt_signal_handler + 145
2 libsystem_platform.dylib 0x983ef79b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 libsystem_c.dylib 0x900de8c8 abort + 156
5 libxammac.dylib 0x0a3ce4fb _ZL12log_callbackPKcS0_S0_iPv + 91
6 mono 0x00337de4 log_adapter + 164
7 mono 0x003524bb monoeg_assertion_message + 107
8 mono 0x00286388 icall_cancel_blocking_socket_operation + 136
9 ??? 0x423d29fc 0x0 + 1111304700
10 ??? 0x423d2898 0x0 + 1111304344
11 ??? 0x0f1e3924 0x0 + 253638948
12 ??? 0x037c80b7 0x0 + 58491063
13 ??? 0x11b0680c 0x0 + 296773644
14 ??? 0x0f1e3594 0x0 + 253638036
15 ??? 0x11b06743 0x0 + 296773443
16 ??? 0x0826ab1d 0x0 + 136751901
17 mono 0x002bce28 mono_gc_run_finalize + 808
18 mono 0x002bdef2 finalizer_thread + 402
19 mono 0x002984b6 start_wrapper + 486
20 mono 0x0034ac92 inner_start_thread + 274
21 libsystem_pthread.dylib 0x90f77794 _pthread_body + 138
22 libsystem_pthread.dylib 0x90f7770a _pthread_body + 0
23 libsystem_pthread.dylib 0x90f74fa6 thread_start + 34
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.O4xUPX'
Executing commands in '/tmp/mono-gdb-commands.O4xUPX'.
(lldb) process attach --pid 56773
Process 56773 stopped
* thread #1: tid = 0x2ba806, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_50b', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
libsystem_kernel.dylib`__psynch_cvwait:
-> 0x9eb944a2 <+10>: jae 0x9eb944b2 ; <+26>
0x9eb944a4 <+12>: calll 0x9eb944a9 ; <+17>
0x9eb944a9 <+17>: popl %edx
0x9eb944aa <+18>: movl 0x58a9b77(%edx), %edx
Executable module set to "/Library/Frameworks/Mono.framework/Versions/4.3.0/bin/mono".
Architecture set to: i386-apple-macosx.
(lldb) thread list
Process 56773 stopped
* thread #1: tid = 0x2ba806, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_50b', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0x2ba809, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
thread #3: tid = 0x2ba80b, 0x9eb94da6 libsystem_kernel.dylib`__wait4 + 10, name = 'tid_1603'
thread #4: tid = 0x2ba80d, 0x9eb958b2 libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
thread #5: tid = 0x2ba80e, 0x9eb946fe libsystem_kernel.dylib`__recvfrom + 10, name = 'tid_1507'
thread #6: tid = 0x2ba912, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'CVDisplayLink'
thread #7: tid = 0x2ba91a, 0x9eb8e07a libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.NSEventThread'
thread #8: tid = 0x2ba91b, 0x9eb947de libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
thread #9: tid = 0x2ba91c, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
thread #10: tid = 0x2bbf05, 0x9eb94e16 libsystem_kernel.dylib`__workq_kernreturn + 10
thread #11: tid = 0x2bbff8, 0x9eb94e16 libsystem_kernel.dylib`__workq_kernreturn + 10
(lldb) thread backtrace all
* thread #1: tid = 0x2ba806, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_50b', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x90f78549 libsystem_pthread.dylib`_pthread_cond_wait + 757
frame #2: 0x90f7bd1b libsystem_pthread.dylib`pthread_cond_timedwait$UNIX2003 + 71
frame #3: 0x00325d2c mono`_wapi_handle_timedwait_signal_handle [inlined] timedwait_signal_poll_cond(cond=<unavailable>, mutex=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) + 78 at handles.c:1515 [opt]
frame #4: 0x00325cde mono`_wapi_handle_timedwait_signal_handle(handle=<unavailable>, timeout=<unavailable>, alertable=<unavailable>, poll=<unavailable>, alerted=<unavailable>) + 414 at handles.c:1630 [opt]
frame #5: 0x003357f8 mono`wapi_WaitForSingleObjectEx(handle=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) + 456 at wait.c:185 [opt]
frame #6: 0x002bd114 mono`mono_domain_finalize [inlined] guarded_wait(alertable=1) + 36 at gc.c:85 [opt]
frame #7: 0x002bd0f0 mono`mono_domain_finalize(domain=<unavailable>, timeout=<unavailable>) + 256 at gc.c:411 [opt]
frame #8: 0x000da3ac mono`mini_cleanup(domain=0x7cc56480) + 44 at mini-runtime.c:3548 [opt]
frame #9: 0x00157aa6 mono`mono_main(argc=<unavailable>, argv=<unavailable>) + 8118 at driver.g.c:2129 [opt]
frame #10: 0x000cbd35 mono`start + 53
thread #2: tid = 0x2ba809, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x90f78549 libsystem_pthread.dylib`_pthread_cond_wait + 757
frame #2: 0x90f7a287 libsystem_pthread.dylib`pthread_cond_wait$UNIX2003 + 71
frame #3: 0x00320592 mono`thread_func(thread_data=0x00000000) + 466 at sgen-thread-pool.c:118 [opt]
frame #4: 0x90f77794 libsystem_pthread.dylib`_pthread_body + 138
frame #5: 0x90f7770a libsystem_pthread.dylib`_pthread_start + 155
frame #6: 0x90f74fa6 libsystem_pthread.dylib`thread_start + 34
thread #3: tid = 0x2ba80b, 0x9eb94da6 libsystem_kernel.dylib`__wait4 + 10, name = 'tid_1603'
frame #0: 0x9eb94da6 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x900fe541 libsystem_c.dylib`waitpid$UNIX2003 + 48
frame #2: 0x0018e5bd mono`mono_handle_native_sigsegv(signal=6, ctx=0xb01829ec, info=0xb01829ac) + 541 at mini-exceptions.c:2234 [opt]
frame #3: 0x001f9b21 mono`sigabrt_signal_handler(_dummy=<unavailable>, _info=<unavailable>, context=<unavailable>) + 145 at mini-posix.c:218 [opt]
frame #4: 0x983ef79b libsystem_platform.dylib`_sigtramp + 43
thread #4: tid = 0x2ba80d, 0x9eb958b2 libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x9eb958b2 libsystem_kernel.dylib`kevent_qos + 10
frame #1: 0x94da1792 libdispatch.dylib`_dispatch_mgr_invoke + 234
frame #2: 0x94da1366 libdispatch.dylib`_dispatch_mgr_thread + 52
thread #5: tid = 0x2ba80e, 0x9eb946fe libsystem_kernel.dylib`__recvfrom + 10, name = 'tid_1507'
frame #0: 0x9eb946fe libsystem_kernel.dylib`__recvfrom + 10
frame #1: 0x900fe744 libsystem_c.dylib`recv$UNIX2003 + 55
frame #2: 0x001c3718 mono`socket_transport_recv(buf=<unavailable>, len=<unavailable>) + 168 at debugger-agent.c:1135 [opt]
frame #3: 0x001b46e9 mono`debugger_thread [inlined] transport_recv(len=11) + 23 at debugger-agent.c:1520 [opt]
frame #4: 0x001b46d2 mono`debugger_thread(arg=0x00000000) + 1490 at debugger-agent.c:9613 [opt]
frame #5: 0x0034ac92 mono`inner_start_thread(arg=<unavailable>) + 274 at mono-threads-posix.c:92 [opt]
frame #6: 0x90f77794 libsystem_pthread.dylib`_pthread_body + 138
frame #7: 0x90f7770a libsystem_pthread.dylib`_pthread_start + 155
frame #8: 0x90f74fa6 libsystem_pthread.dylib`thread_start + 34
thread #6: tid = 0x2ba912, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'CVDisplayLink'
frame #0: 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x90f78549 libsystem_pthread.dylib`_pthread_cond_wait + 757
frame #2: 0x90f7a287 libsystem_pthread.dylib`pthread_cond_wait$UNIX2003 + 71
frame #3: 0x9bbf1a0d CoreVideo`CVDisplayLink::runIOThread() + 931
frame #4: 0x9bbf12bb CoreVideo`startIOThread(void*) + 159
frame #5: 0x90f77794 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x90f7770a libsystem_pthread.dylib`_pthread_start + 155
frame #7: 0x90f74fa6 libsystem_pthread.dylib`thread_start + 34
thread #7: tid = 0x2ba91a, 0x9eb8e07a libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.NSEventThread'
frame #0: 0x9eb8e07a libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x9eb8d464 libsystem_kernel.dylib`mach_msg + 68
frame #2: 0x9960e246 CoreFoundation`__CFRunLoopServiceMachPort + 214
frame #3: 0x9960d651 CoreFoundation`__CFRunLoopRun + 1521
frame #4: 0x9960cdf6 CoreFoundation`CFRunLoopRunSpecific + 390
frame #5: 0x9960cc5b CoreFoundation`CFRunLoopRunInMode + 123
frame #6: 0x98a58fa2 AppKit`_NSEventThread + 291
frame #7: 0x90f77794 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x90f7770a libsystem_pthread.dylib`_pthread_start + 155
frame #9: 0x90f74fa6 libsystem_pthread.dylib`thread_start + 34
thread #8: tid = 0x2ba91b, 0x9eb947de libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
frame #0: 0x9eb947de libsystem_kernel.dylib`__select + 10
frame #1: 0x9964f320 CoreFoundation`__CFSocketManager + 912
frame #2: 0x90f77794 libsystem_pthread.dylib`_pthread_body + 138
frame #3: 0x90f7770a libsystem_pthread.dylib`_pthread_start + 155
frame #4: 0x90f74fa6 libsystem_pthread.dylib`thread_start + 34
thread #9: tid = 0x2ba91c, 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x9eb944a2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x90f78549 libsystem_pthread.dylib`_pthread_cond_wait + 757
frame #2: 0x90f7a287 libsystem_pthread.dylib`pthread_cond_wait$UNIX2003 + 71
frame #3: 0x045aefd9 libgdk-quartz-2.0.0.dylib`select_thread_func(arg=0x00000000) + 185 at gdkeventloop-quartz.c:245
frame #4: 0x90f77794 libsystem_pthread.dylib`_pthread_body + 138
frame #5: 0x90f7770a libsystem_pthread.dylib`_pthread_start + 155
frame #6: 0x90f74fa6 libsystem_pthread.dylib`thread_start + 34
thread #10: tid = 0x2bbf05, 0x9eb94e16 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x9eb94e16 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x90f7735f libsystem_pthread.dylib`_pthread_wqthread + 1289
frame #2: 0x90f74f82 libsystem_pthread.dylib`start_wqthread + 34
thread #11: tid = 0x2bbff8, 0x9eb94e16 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x9eb94e16 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x90f7735f libsystem_pthread.dylib`_pthread_wqthread + 1289
frame #2: 0x90f74f82 libsystem_pthread.dylib`start_wqthread + 34
(lldb) detach
Process 56773 detached
(lldb) quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment