Skip to content

Instantly share code, notes, and snippets.

@kumpera
Created June 6, 2016 20:20
Show Gist options
  • Save kumpera/9c4fec8760a3040a76814024ac35cffc to your computer and use it in GitHub Desktop.
Save kumpera/9c4fec8760a3040a76814024ac35cffc to your computer and use it in GitHub Desktop.
monodroid crash 2016-6-6
4:02:42] * Assertion: should not be reached at ./sgen-scan-object.h:101
[4:02:42]
[4:02:42]
[4:02:42]
[4:02:42] Native stacktrace:
[4:02:42]
[4:02:42] 0 mono 0x0015d186 mono_handle_native_sigsegv + 342
[4:02:42] 1 mono 0x001ad891 sigabrt_signal_handler + 129
[4:02:42] 2 libsystem_platform.dylib 0x91795deb _sigtramp + 43
[4:02:42] 3 ??? 0xffffffff 0x0 + 4294967295
[4:02:42] 4 libsystem_c.dylib 0x90c6629c abort + 155
[4:02:42] 5 mono 0x00301d11 monoeg_log_default_handler + 129
[4:02:42] 6 mono 0x00301e0b monoeg_assertion_message + 107
[4:02:42] 7 mono 0x002c60ad major_scan_object_no_evacuation + 3997
[4:02:42] 8 mono 0x002c7340 drain_gray_stack + 144
[4:02:42] 9 mono 0x002bc2d6 finish_gray_stack + 118
[4:02:42] 10 mono 0x002bb6e7 major_finish_collection + 215
[4:02:42] 11 mono 0x002b86cf major_do_collection + 95
[4:02:42] 12 mono 0x002b78a9 sgen_perform_collection + 601
[4:02:42] 13 mono 0x002b928d sgen_gc_collect + 77
[4:02:42] 14 mono 0x0026ed76 mono_domain_finalize + 86
[4:02:42] 15 mono 0x000ade1c mini_cleanup + 44
[4:02:42] 16 mono 0x00128370 mono_main + 7936
[4:02:42] 17 mono 0x000a0650 main + 768
[4:02:42] 18 mono 0x000a0345 start + 53
[4:02:42]
[4:02:42] Debug info from gdb:
[4:02:42]
[4:02:43] (lldb) command source -s 0 '/tmp/mono-gdb-commands.aeRedo'
[4:02:43] Executing commands in '/private/tmp/mono-gdb-commands.aeRedo'.
[4:02:43] (lldb) process attach --pid 14464
[4:02:44] warning: (i386) /Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/mscorlib.dll.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
[4:02:44] Process 14464 stopped
[4:02:44] Executable module set to "/usr/local/bin/mono".
[4:02:44] Architecture set to: i386-apple-macosx.
[4:02:44] (lldb) thread list
[4:02:44] Process 14464 stopped
[4:02:44] * thread #1: tid = 0x2e858099, 0x90f9dff2 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
[4:02:44] thread #2: tid = 0x2e85809a, 0x90f9d7ca libsystem_kernel.dylib`__psynch_cvwait + 10
[4:02:44] thread #3: tid = 0x2e85809b, 0x90f98fb6 libsystem_kernel.dylib`semaphore_wait_trap + 10
[4:02:44] thread #4: tid = 0x2e85809c, 0x90f9e992 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
[4:02:44] thread #5: tid = 0x2e85809d, 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] thread #6: tid = 0x2e85809e, 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] thread #7: tid = 0x2e85809f, 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] (lldb) thread backtrace all
[4:02:44] * thread #1: tid = 0x2e858099, 0x90f9dff2 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
[4:02:44] * frame #0: 0x90f9dff2 libsystem_kernel.dylib`__wait4 + 10
[4:02:44] frame #1: 0x90c84ec5 libsystem_c.dylib`waitpid$UNIX2003 + 48
[4:02:44] frame #2: 0x0015d24d mono`mono_handle_native_sigsegv + 541
[4:02:44] frame #3: 0x001ad891 mono`sigabrt_signal_handler + 129
[4:02:44] frame #4: 0x91795deb libsystem_platform.dylib`_sigtramp + 43
[4:02:44] frame #5: 0x90f9d953 libsystem_kernel.dylib`__pthread_kill + 11
[4:02:44] frame #6: 0x90c6629c libsystem_c.dylib`abort + 155
[4:02:44] frame #7: 0x00301d11 mono`monoeg_log_default_handler + 129
[4:02:44] frame #8: 0x00301e0b mono`monoeg_assertion_message + 107
[4:02:44] frame #9: 0x002c60ad mono`major_scan_object_no_evacuation + 3997
[4:02:44] frame #10: 0x002c7340 mono`drain_gray_stack + 144
[4:02:44] frame #11: 0x002bc2d6 mono`finish_gray_stack + 118
[4:02:44] frame #12: 0x002bb6e7 mono`major_finish_collection + 215
[4:02:44] frame #13: 0x002b86cf mono`major_do_collection + 95
[4:02:44] frame #14: 0x002b78a9 mono`sgen_perform_collection + 601
[4:02:44] frame #15: 0x002b928d mono`sgen_gc_collect + 77
[4:02:44] frame #16: 0x0026ed76 mono`mono_domain_finalize + 86
[4:02:44] frame #17: 0x000ade1c mono`mini_cleanup + 44
[4:02:44] frame #18: 0x00128370 mono`mono_main + 7936
[4:02:44] frame #19: 0x000a0650 mono`main + 768
[4:02:44] frame #20: 0x000a0345 mono`start + 53
[4:02:44]
[4:02:44] thread #2: tid = 0x2e85809a, 0x90f9d7ca libsystem_kernel.dylib`__psynch_cvwait + 10
[4:02:44] frame #0: 0x90f9d7ca libsystem_kernel.dylib`__psynch_cvwait + 10
[4:02:44] frame #1: 0x925f5d1d libsystem_pthread.dylib`_pthread_cond_wait + 728
[4:02:44] frame #2: 0x925f7bd9 libsystem_pthread.dylib`pthread_cond_wait$UNIX2003 + 71
[4:02:44] frame #3: 0x002d0852 mono`thread_func + 466
[4:02:44] frame #4: 0x925f35fb libsystem_pthread.dylib`_pthread_body + 144
[4:02:44] frame #5: 0x925f3485 libsystem_pthread.dylib`_pthread_start + 130
[4:02:44] frame #6: 0x925f8cf2 libsystem_pthread.dylib`thread_start + 34
[4:02:44]
[4:02:44] thread #3: tid = 0x2e85809b, 0x90f98fb6 libsystem_kernel.dylib`semaphore_wait_trap + 10
[4:02:44] frame #0: 0x90f98fb6 libsystem_kernel.dylib`semaphore_wait_trap + 10
[4:02:44] frame #1: 0x002f334a mono`mono_sem_wait + 26
[4:02:44] frame #2: 0x0027042e mono`finalizer_thread + 158
[4:02:44] frame #3: 0x0024a64c mono`start_wrapper + 492
[4:02:44] frame #4: 0x002faee0 mono`inner_start_thread + 240
[4:02:44] frame #5: 0x925f35fb libsystem_pthread.dylib`_pthread_body + 144
[4:02:44] frame #6: 0x925f3485 libsystem_pthread.dylib`_pthread_start + 130
[4:02:44] frame #7: 0x925f8cf2 libsystem_pthread.dylib`thread_start + 34
[4:02:44]
[4:02:44] thread #4: tid = 0x2e85809c, 0x90f9e992 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
[4:02:44] frame #0: 0x90f9e992 libsystem_kernel.dylib`kevent64 + 10
[4:02:44] frame #1: 0x91d08899 libdispatch.dylib`_dispatch_mgr_invoke + 238
[4:02:44] frame #2: 0x91d08532 libdispatch.dylib`_dispatch_mgr_thread + 52
[4:02:44]
[4:02:44] thread #5: tid = 0x2e85809d, 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] frame #0: 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] frame #1: 0x925f4dcf libsystem_pthread.dylib`_pthread_wqthread + 372
[4:02:44] frame #2: 0x925f8cce libsystem_pthread.dylib`start_wqthread + 30
[4:02:44]
[4:02:44] thread #6: tid = 0x2e85809e, 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] frame #0: 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] frame #1: 0x925f4dcf libsystem_pthread.dylib`_pthread_wqthread + 372
[4:02:44] frame #2: 0x925f8cce libsystem_pthread.dylib`start_wqthread + 30
[4:02:44]
[4:02:44] thread #7: tid = 0x2e85809f, 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] frame #0: 0x90f9e046 libsystem_kernel.dylib`__workq_kernreturn + 10
[4:02:44] frame #1: 0x925f4dcf libsystem_pthread.dylib`_pthread_wqthread + 372
[4:02:44] frame #2: 0x925f8cce libsystem_pthread.dylib`start_wqthread + 30
[4:02:44] (lldb) detach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment