Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created July 8, 2017 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/3f461a964e0a92426a5a923543b6e454 to your computer and use it in GitHub Desktop.
Save MasterDuke17/3f461a964e0a92426a5a923543b6e454 to your computer and use it in GitHub Desktop.
perl Configure.pl --prefix=/home/dan/Source/perl6/install/ && time make -j6 install
Creating tools/build/install-jvm-runner.pl ...
Cleaning up ...
You can now use 'make' to build NQP.
After that, 'make test' will run some tests and
'make install' will install NQP.
/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen
/home/dan/Source/perl6/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \
--output=gen/moar/stage1/ModuleLoader.moarvm src/vm/moar/ModuleLoader.nqp
/usr/bin/perl tools/build/gen-moar-runner.pl "/home/dan/Source/perl6/install/bin/moar"
/usr/bin/perl tools/build/gen-cat.pl moar src/how/Archetypes.nqp src/how/RoleToRoleApplier.nqp src/how/NQPConcreteRoleHOW.nqp src/how/RoleToClassApplier.nqp src/how/NQPCurriedRoleHOW.nqp src/how/NQPParametricRoleHOW.nqp src/how/NQPClassHOW.nqp src/how/NQPNativeHOW.nqp src/how/NQPAttribute.nqp src/how/NQPModuleHOW.nqp src/how/EXPORTHOW.nqp > gen/moar/stage1/nqpmo.nqp
/home/dan/Source/perl6/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \
--output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
=================================================================
==20908==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x7fdd957ebec0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6ec0)
#1 0x7fdd94b701c0 in MVM_malloc src/core/alloc.h:2
#2 0x7fdd94b701c0 in MVM_decoder_configure src/6model/reprs/Decoder.c:131
#3 0x7fdd94a3a8ed in MVM_interp_run src/core/interp.c:4976
#4 0x7fdd94c99aaf in MVM_vm_run_file src/moar.c:318
#5 0x55b8b38451dd in main src/main.c:246
#6 0x7fdd941983f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0)
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7fdd957ebec0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6ec0)
#1 0x7fdd94c2a8a6 in MVM_malloc src/core/alloc.h:2
#2 0x7fdd94c2a8a6 in MVM_string_decode_stream_sep_from_strings src/strings/decode_stream.c:638
#3 0x7fdd94b70665 in MVM_decoder_set_separators src/6model/reprs/Decoder.c:168
#4 0x7fdd94a11b51 in MVM_interp_run src/core/interp.c:4984
#5 0x7fdd94c99aaf in MVM_vm_run_file src/moar.c:318
#6 0x55b8b38451dd in main src/main.c:246
#7 0x7fdd941983f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0)
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7fdd957ebec0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6ec0)
#1 0x7fdd94c2aa62 in MVM_malloc src/core/alloc.h:2
#2 0x7fdd94c2aa62 in MVM_string_decode_stream_sep_from_strings src/strings/decode_stream.c:648
#3 0x7fdd94b70665 in MVM_decoder_set_separators src/6model/reprs/Decoder.c:168
#4 0x7fdd94a11b51 in MVM_interp_run src/core/interp.c:4984
#5 0x7fdd94c99aaf in MVM_vm_run_file src/moar.c:318
#6 0x55b8b38451dd in main src/main.c:246
#7 0x7fdd941983f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0)
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7fdd957ebec0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6ec0)
#1 0x7fdd94c2ad6d in MVM_malloc src/core/alloc.h:2
#2 0x7fdd94c2ad6d in cache_sep_info src/strings/decode_stream.c:590
#3 0x7fdd94c2ad6d in MVM_string_decode_stream_sep_from_strings src/strings/decode_stream.c:656
#4 0x7fdd94b70665 in MVM_decoder_set_separators src/6model/reprs/Decoder.c:168
#5 0x7fdd94a11b51 in MVM_interp_run src/core/interp.c:4984
#6 0x7fdd94c99aaf in MVM_vm_run_file src/moar.c:318
#7 0x55b8b38451dd in main src/main.c:246
#8 0x7fdd941983f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0)
SUMMARY: AddressSanitizer: 64 byte(s) leaked in 4 allocation(s).
Makefile:240: recipe for target 'gen/moar/stage1/nqpmo.moarvm' failed
make: *** [gen/moar/stage1/nqpmo.moarvm] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment