Created
February 22, 2017 16:08
-
-
Save dogbert17/9b61cf9bf7d178ca2e1ca60a52672c76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 ~/test.pl6 | |
================================================================= | |
==19309== ERROR: AddressSanitizer: heap-use-after-free on address 0x9104f210 at pc 0xb582f4a2 bp 0x9b7f18e8 sp 0x9b7f18dc | |
WRITE of size 4 at 0x9104f210 thread T13 | |
#0 0xb582f4a1 in zero_slots /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:235 | |
#1 0xb582f4a1 in set_size_internal /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:342 | |
#2 0xb582f4a1 in push /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:441 | |
#3 0xb56eef11 in MVM_interp_run /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/interp.c:2202 | |
#4 0xb5764667 in start_thread /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/threads.c:77 | |
#5 0xb5a62796 in uv__thread_start /home/dogbert/repos/rakudo/nqp/MoarVM/3rdparty/libuv/src/unix/thread.c:49 | |
#6 0xb61af9c6 (/usr/lib/i386-linux-gnu/libasan.so.0+0x1a9c6) | |
#7 0xb619f2ac (/usr/lib/i386-linux-gnu/libasan.so.0+0xa2ac) | |
#8 0xb539ef71 in start_thread (/lib/i386-linux-gnu/libpthread.so.0+0x6f71) | |
#9 0xb549ff8d (/lib/i386-linux-gnu/libc.so.6+0xebf8d) | |
0x9104f210 is located 0 bytes inside of 32-byte region [0x9104f210,0x9104f230) | |
freed by thread T6 here: | |
#0 0xb61ab9b4 (/usr/lib/i386-linux-gnu/libasan.so.0+0x169b4) | |
#1 0xb582e35c in MVM_realloc /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/alloc.h:20 | |
#2 0xb582e35c in set_size_internal /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:338 | |
#3 0xb582e35c in push /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:441 | |
#4 0xb56eef11 in MVM_interp_run /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/interp.c:2202 | |
#5 0xb5764667 in start_thread /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/threads.c:77 | |
#6 0xb5a62796 in uv__thread_start /home/dogbert/repos/rakudo/nqp/MoarVM/3rdparty/libuv/src/unix/thread.c:49 | |
#7 0xb549ff8d (/lib/i386-linux-gnu/libc.so.6+0xebf8d) | |
previously allocated by thread T13 here: | |
#0 0xb61ab854 (/usr/lib/i386-linux-gnu/libasan.so.0+0x16854) | |
#1 0xb582ece7 in MVM_malloc /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/alloc.h:2 | |
#2 0xb582ece7 in set_size_internal /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:338 | |
#3 0xb582ece7 in push /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:441 | |
#4 0xb56eef11 in MVM_interp_run /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/interp.c:2202 | |
#5 0xb5764667 in start_thread /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/threads.c:77 | |
#6 0xb5a62796 in uv__thread_start /home/dogbert/repos/rakudo/nqp/MoarVM/3rdparty/libuv/src/unix/thread.c:49 | |
#7 0xb549ff8d (/lib/i386-linux-gnu/libc.so.6+0xebf8d) | |
Thread T13 created by T0 here: | |
#0 0xb619f1d0 (/usr/lib/i386-linux-gnu/libasan.so.0+0xa1d0) | |
#1 0xb5a627f0 in uv_thread_create /home/dogbert/repos/rakudo/nqp/MoarVM/3rdparty/libuv/src/unix/thread.c:66 | |
#2 0xb56d9c3f in MVM_interp_run /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/interp.c:4003 | |
#3 0xb5a3fe32 in MVM_vm_run_file /home/dogbert/repos/rakudo/nqp/MoarVM/src/moar.c:309 | |
#4 0x80490e1 in main /home/dogbert/repos/rakudo/nqp/MoarVM/src/main.c:201 | |
#5 0xb53cdaf2 (/lib/i386-linux-gnu/libc.so.6+0x19af2) | |
Thread T6 created by T0 here: | |
#0 0xb619f1d0 (/usr/lib/i386-linux-gnu/libasan.so.0+0xa1d0) | |
#1 0xb5a627f0 in uv_thread_create /home/dogbert/repos/rakudo/nqp/MoarVM/3rdparty/libuv/src/unix/thread.c:66 | |
#2 0xb56d9c3f in MVM_interp_run /home/dogbert/repos/rakudo/nqp/MoarVM/src/core/interp.c:4003 | |
#3 0xb5a3fe32 in MVM_vm_run_file /home/dogbert/repos/rakudo/nqp/MoarVM/src/moar.c:309 | |
#4 0x80490e1 in main /home/dogbert/repos/rakudo/nqp/MoarVM/src/main.c:201 | |
#5 0xb53cdaf2 (/lib/i386-linux-gnu/libc.so.6+0x19af2) | |
SUMMARY: AddressSanitizer: heap-use-after-free /home/dogbert/repos/rakudo/nqp/MoarVM/src/6model/reprs/VMArray.c:251 zero_slots | |
Shadow bytes around the buggy address: | |
0x32209df0: fd fa fa fa fd fd fd fa fa fa fd fd fd fd fa fa | |
0x32209e00: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa | |
0x32209e10: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd | |
0x32209e20: fd fa fa fa fd fd fd fd fa fa fd fd fd fa fa fa | |
0x32209e30: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fd | |
=>0x32209e40: fa fa[fd]fd fd fd fa fa fd fd fd fa fa fa fd fd | |
0x32209e50: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa | |
0x32209e60: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa | |
0x32209e70: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd | |
0x32209e80: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa | |
0x32209e90: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa | |
Shadow byte legend (one shadow byte represents 8 application bytes): | |
Addressable: 00 | |
Partially addressable: 01 02 03 04 05 06 07 | |
Heap left redzone: fa | |
Heap righ redzone: fb | |
Freed Heap region: fd | |
Stack left redzone: f1 | |
Stack mid redzone: f2 | |
Stack right redzone: f3 | |
Stack partial redzone: f4 | |
Stack after return: f5 | |
Stack use after scope: f8 | |
Global redzone: f9 | |
Global init order: f6 | |
Poisoned by user: f7 | |
ASan internal: fe | |
==19309== ABORTING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment