Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created March 15, 2018 17:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rolfbjarne/beaf9a6f6ca59f53e60c3283ae1210eb to your computer and use it in GitHub Desktop.
(lldb) run
Process 27722 launched: '/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/arm64-darwin-mono-sgen' (x86_64)
Mono Ahead of Time compiler - compiling assembly /Users/rolf/Downloads/mtouch-cache/64/Build/TeacherStudio.ViewModels.dll
AOTID 95245C6C-342F-EE02-CE52-2793A7CA9D1F
* Assertion at ../../../../external/mono/mono/mini/aot-compiler.c:6475, condition `p - buf < buf_size' not met
Process 27722 stopped
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007fff9fd14d42 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7fff9fd14d42 <+10>: jae 0x7fff9fd14d4c ; <+20>
0x7fff9fd14d44 <+12>: movq %rax, %rdi
0x7fff9fd14d47 <+15>: jmp 0x7fff9fd0dcaf ; cerror_nocancel
0x7fff9fd14d4c <+20>: retq
0x7fff9fd14d4d <+21>: nop
0x7fff9fd14d4e <+22>: nop
0x7fff9fd14d4f <+23>: nop
libsystem_kernel.dylib`__pthread_markcancel:
0x7fff9fd14d50 <+0>: movl $0x200014c, %eax ; imm = 0x200014C
0x7fff9fd14d55 <+5>: movq %rcx, %r10
0x7fff9fd14d58 <+8>: syscall
0x7fff9fd14d5a <+10>: jae 0x7fff9fd14d64 ; <+20>
0x7fff9fd14d5c <+12>: movq %rax, %rdi
0x7fff9fd14d5f <+15>: jmp 0x7fff9fd0dcaf ; cerror_nocancel
0x7fff9fd14d64 <+20>: retq
0x7fff9fd14d65 <+21>: nop
0x7fff9fd14d66 <+22>: nop
0x7fff9fd14d67 <+23>: nop
libsystem_kernel.dylib`__pthread_sigmask:
0x7fff9fd14d68 <+0>: movl $0x2000149, %eax ; imm = 0x2000149
0x7fff9fd14d6d <+5>: movq %rcx, %r10
0x7fff9fd14d70 <+8>: syscall
Target 0: (arm64-darwin-mono-sgen) stopped.
(lldb) bt
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x00007fff9fd14d42 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff9fe02457 libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00000001006bc50e arm64-darwin-mono-sgen`abort + 14
frame #3: 0x000000010044d864 arm64-darwin-mono-sgen`mono_log_write_logfile(log_domain=0x0000000000000000, level=G_LOG_LEVEL_ERROR, hdr=0, message="* Assertion at ../../../../external/mono/mono/mini/aot-compiler.c:6475, condition `p - buf < buf_size' not met\n") at mono-log-common.c:135
frame #4: 0x000000010044371c arm64-darwin-mono-sgen`structured_log_adapter(log_domain=0x0000000000000000, log_level=G_LOG_LEVEL_ERROR, message="* Assertion at ../../../../external/mono/mono/mini/aot-compiler.c:6475, condition `p - buf < buf_size' not met\n", user_data=0x0000000000000000) at mono-logger.c:458
frame #5: 0x000000010047170d arm64-darwin-mono-sgen`monoeg_g_logv(log_domain=0x0000000000000000, log_level=G_LOG_LEVEL_ERROR, format="* Assertion at %s:%d, condition `%s' not met\n", args=0x00007fff5fbfedb0) at goutput.c:115
frame #6: 0x0000000100471b04 arm64-darwin-mono-sgen`monoeg_assertion_message(format="* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:135
frame #7: 0x0000000100113f4d arm64-darwin-mono-sgen`emit_exception_debug_info(acfg=0x0000000101807400, cfg=0x0000000102366600, store_seq_points=0) at aot-compiler.c:6475
frame #8: 0x00000001000fcf69 arm64-darwin-mono-sgen`emit_exception_info(acfg=0x0000000101807400) at aot-compiler.c:9665
frame #9: 0x00000001000f5b8c arm64-darwin-mono-sgen`mono_compile_assembly(ass=0x0000000100d08970, opts=387000831, aot_options="mtriple=arm64-ios,data-outfile=ccache/arm64/TeacherStudio.ViewModels.aotdata.arm64,static,asmonly,direct-icalls,full,nodebug,dwarfdebug,msym-dir=/Msym,outfile=ccache/arm64/TeacherStudio.ViewModels.dll.s", global_aot_state=0x00007fff5fbff448) at aot-compiler.c:12791
frame #10: 0x00000001000ec162 arm64-darwin-mono-sgen`main_thread_handler(user_data=0x00007fff5fbff740) at driver.g.c:1260
frame #11: 0x00000001000ea7ff arm64-darwin-mono-sgen`mono_main(argc=5, argv=0x00007fff5fbff830) at driver.g.c:2417
frame #12: 0x0000000100001f9e arm64-darwin-mono-sgen`mono_main_with_options(argc=5, argv=0x00007fff5fbff830) at main.c:47
frame #13: 0x00000001000016cd arm64-darwin-mono-sgen`main(argc=5, argv=0x00007fff5fbff830) at main.c:340
frame #14: 0x00007fff9fbe6235 libdyld.dylib`start + 1
(lldb) up 7
frame #7: 0x0000000100113f4d arm64-darwin-mono-sgen`emit_exception_debug_info(acfg=0x0000000101807400, cfg=0x0000000102366600, store_seq_points=0) at aot-compiler.c:6475
6472
6473 acfg->stats.ex_info_size += p - buf;
6474
-> 6475 g_assert (p - buf < buf_size);
6476
6477 /* Emit info */
6478 /* The GC Map requires 4 byte alignment */
(lldb) p p - buf
(long) $0 = 8362
(lldb) p buf_size
(int) $1 = 5888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment