Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(lldb) bt
* thread #53: tid = 0x49c757, 0x00007fff9f5e5206 libsystem_kernel.dylib`__semwait_signal + 10, name = 'tid_222cf'
frame #0: 0x00007fff9f5e5206 libsystem_kernel.dylib`__semwait_signal + 10
frame #1: 0x00007fff8f4c1d17 libsystem_c.dylib`nanosleep + 199
frame #2: 0x00007fff8f4c1b77 libsystem_c.dylib`sleep + 42
* frame #3: 0x000000010252dd3a libmonosgen-2.0.dylib`mono_handle_native_sigsegv(signal=<unavailable>, ctx=<unavailable>, info=<unavailable>) + 154 at mini-exceptions.c:2189 [opt]
frame #4: 0x0000000102583a6a libmonosgen-2.0.dylib`mono_arch_handle_altstack_exception(sigctx=0x000000010f57ff48, siginfo=<unavailable>, fault_addr=<unavailable>, stack_ovf=0) + 90 at exceptions-amd64.c:808 [opt]
frame #5: 0x0000000102482858 libmonosgen-2.0.dylib`mono_sigsegv_signal_handler(_dummy=<unavailable>, _info=<unavailable>, context=<unavailable>) + 392 at mini-runtime.c:2876 [opt]
frame #6: 0x00007fff8c4e2eaa libsystem_platform.dylib`_sigtramp + 26
frame #7: 0x00000001026a4359 libmonosgen-2.0.dylib`copy_object_no_checks [inlined] sgen_vtable_get_descriptor(vtable=0x0000000000000000) + 1 at sgen-client-mono.h:39 [opt]
frame #8: 0x00000001026a4358 libmonosgen-2.0.dylib`copy_object_no_checks(obj=0x0000000102fb06f0, queue=0x0000000102809700) + 24 at sgen-copy-object.h:64 [opt]
frame #9: 0x00000001026a3ab3 libmonosgen-2.0.dylib`simple_nursery_serial_scan_object [inlined] simple_nursery_serial_copy_object_from_obj(queue=0x0000000102809700) + 59 at sgen-minor-copy-object.h:200 [opt]
frame #10: 0x00000001026a3a78 libmonosgen-2.0.dylib`simple_nursery_serial_scan_object(full_object=<unavailable>, desc=<unavailable>, queue=0x0000000102809700) + 2376 at sgen-scan-object.h:67 [opt]
frame #11: 0x0000000102689e15 libmonosgen-2.0.dylib`collect_nursery [inlined] sgen_drain_gray_stack + 62 at sgen-gc.c:553 [opt]
frame #12: 0x0000000102689dd7 libmonosgen-2.0.dylib`collect_nursery(unpin_queue=<unavailable>, finish_up_concurrent_mark=0) + 631 at sgen-gc.c:1566 [opt]
frame #13: 0x0000000102689766 libmonosgen-2.0.dylib`sgen_perform_collection(requested_size=4760, generation_to_collect=0, reason="Nursery full", wait_to_finish=0) + 550 at sgen-gc.c:2250 [opt]
frame #14: 0x000000010267ffc1 libmonosgen-2.0.dylib`sgen_alloc_obj_nolock(vtable=0x00007f9b73b0f030, size=4760) + 689 at sgen-alloc.c:274 [opt]
frame #15: 0x000000010267d5eb libmonosgen-2.0.dylib`mono_gc_alloc_vector(vtable=0x00007f9b73b0f030, size=4760, max_length=197) + 123 at sgen-mono.c:1736 [opt]
frame #16: 0x0000000102ab6896
(lldb) frame select 8
frame #8: 0x00000001026a4358 libmonosgen-2.0.dylib`copy_object_no_checks(obj=0x0000000102fb06f0, queue=0x0000000102809700) + 24 at sgen-copy-object.h:64 [opt]
(lldb) p mono_type_get_full_name(((MonoObject*)0x0000000102fb06f0)->vtable->klass)
error: Execution was interrupted, reason: Attempted to dereference an invalid pointer..
The process has been returned to the state before expression evaluation.
(lldb) p sgen_nursery_start
(char *) $0 = 0x0000000102c00000 "ᯘ\x9c\x01"
(lldb) p sgen_nursery_end
(char *) $1 = 0x0000000103000000 ""
(lldb) ((MonoObject*)0x0000000102fb06f0)->vtable
error: '((MonoObject*)0x0000000102fb06f0)->vtable' is not a valid command.
error: Unrecognized command '((MonoObject*)0x0000000102fb06f0)->vtable'.
(lldb) p ((MonoObject*)0x0000000102fb06f0)->vtable
(MonoVTable *) $2 = 0x0000000000000000
(lldb) p *((MonoObject*)0x0000000102fb06f0)
(MonoObject) $3 = {
vtable = 0x0000000000000000
synchronisation = 0x0000000000000001
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment