Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created April 13, 2019 12:17
Show Gist options
  • Save MasterDuke17/d481ccee733e5a8bf68d4b47759eb0b6 to your computer and use it in GitHub Desktop.
Save MasterDuke17/d481ccee733e5a8bf68d4b47759eb0b6 to your computer and use it in GitHub Desktop.
[dan@alexandria p6]$ ASAN_OPTIONS=detect_leaks=0 LD_PRELOAD=/usr/lib/libasan.so p6 9.p6 >master-asan2.log
AddressSanitizer:DEADLYSIGNAL
=================================================================
==30990==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7efc17659f96 bp 0x7efbfb0a2600 sp 0x7efbfb0a2590 T7)
==30990==The signal is caused by a READ memory access.
==30990==Hint: address points to the zero page.
#0 0x7efc17659f95 in gc_mark src/6model/reprs/MVMStaticFrameSpesh.c:34
#1 0x7efc1757d74d in MVM_gc_mark_collectable src/gc/collect.c:439
#2 0x7efc17577674 in MVM_gc_root_add_gen2s_to_worklist src/gc/roots.c:325
#3 0x7efc1757a746 in MVM_gc_collect src/gc/collect.c:155
#4 0x7efc1756e5ba in run_gc src/gc/orchestrate.c:409
#5 0x7efc1756dd4c in MVM_gc_enter_from_allocator src/gc/orchestrate.c:526
#6 0x7efc17570d48 in MVM_gc_allocate_nursery src/gc/allocation.c:35
#7 0x7efc17570d48 in MVM_gc_allocate src/gc/allocation.h:18
#8 0x7efc17570d48 in MVM_gc_allocate_zeroed src/gc/allocation.c:52
#9 0x7efc17570d48 in MVM_gc_allocate_frame src/gc/allocation.c:102
#10 0x7efc174f7370 in allocate_frame src/core/frame.c:250
#11 0x7efc174f389b in MVM_frame_invoke src/core/frame.c:494
#12 0x7efc175f7779 in invoke_handler src/6model/reprs/MVMCode.c:10
#13 0x7efc174fa1fc in MVM_frame_try_return src/core/frame.c:1005
#14 0x7efc0c7cf411 (<unknown module>)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV src/6model/reprs/MVMStaticFrameSpesh.c:34 in gc_mark
Thread T7 created by T3 here:
#0 0x7efc186444a5 in __interceptor_pthread_create /build/gcc/src/gcc/libsanitizer/asan/asan_interceptors.cc:202
#1 0x7efc1786d60f in uv_thread_create_ex 3rdparty/libuv/src/unix/thread.c:236
Thread T3 created by T0 here:
#0 0x7efc186444a5 in __interceptor_pthread_create /build/gcc/src/gcc/libsanitizer/asan/asan_interceptors.cc:202
#1 0x7efc1786d60f in uv_thread_create_ex 3rdparty/libuv/src/unix/thread.c:236
==30990==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment