Last active
April 11, 2017 16:53
-
-
Save MasterDuke17/cdf5793ea077a2dd4dc33503efb29c35 to your computer and use it in GitHub Desktop.
SEGV when profiling htmlify.p6
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
================================================================================================ | |
This is Rakudo Perl 6 running in valgrind, a tool for debugging and profiling programs. | |
Running a program in valgrind usually takes *a lot* more time than running it directly, | |
so please be patient. | |
This Rakudo version is 2017.03.219.gb.6838.ee.4.d built on MoarVM version 2017.03.127.g.66.dd.8.c.93, | |
running on arch (4.9.3.1.arch) / linux (4.10.6.1.ARCH) | |
------------------------------------------------------------------------------------------------ | |
==27033== Memcheck, a memory error detector | |
==27033== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. | |
==27033== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info | |
==27033== Command: /home/dan/Source/perl6/install/bin/moar --full-cleanup --execname=../install/bin/perl6-valgrind-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm --profile --profile-filename=h1.json -I ../modules/Pod-To-HTML/lib/,../modules/oo-monitors/lib/ htmlify.p6 --no-highlight --sparse=50 --parallel=1 | |
==27033== | |
Initializing ... | |
Creating html/subdirectories ... | |
Reading type graph ... | |
==27033== Invalid write of size 1 | |
==27033== at 0x1537AD99: ??? | |
==27033== by 0x5047D88: MVM_jit_enter_code (compile.c:139) | |
==27033== by 0x4FB2042: MVM_interp_run (interp.c:5560) | |
==27033== by 0x5073DD8: MVM_vm_run_file (moar.c:323) | |
==27033== by 0x400F02: main (main.c:213) | |
==27033== Address 0x0 is not stack'd, malloc'd or (recently) free'd | |
==27033== | |
==27033== | |
==27033== Process terminating with default action of signal 11 (SIGSEGV): dumping core | |
==27033== Access not within mapped region at address 0x0 | |
==27033== at 0x1537AD99: ??? | |
==27033== by 0x5047D88: MVM_jit_enter_code (compile.c:139) | |
==27033== by 0x4FB2042: MVM_interp_run (interp.c:5560) | |
==27033== by 0x5073DD8: MVM_vm_run_file (moar.c:323) | |
==27033== by 0x400F02: main (main.c:213) | |
==27033== If you believe this happened as a result of a stack | |
==27033== overflow in your program's main thread (unlikely but | |
==27033== possible), you can try to increase the size of the | |
==27033== main thread stack using the --main-stacksize= flag. | |
==27033== The main thread stack size used in this run was 8388608. | |
==27033== | |
==27033== HEAP SUMMARY: | |
==27033== in use at exit: 148,634,443 bytes in 611,874 blocks | |
==27033== total heap usage: 1,540,154 allocs, 928,280 frees, 506,754,614 bytes allocated | |
==27033== | |
==27033== LEAK SUMMARY: | |
==27033== definitely lost: 118,336 bytes in 486 blocks | |
==27033== indirectly lost: 1,907,906 bytes in 2,358 blocks | |
==27033== possibly lost: 2,307,912 bytes in 7,773 blocks | |
==27033== still reachable: 144,300,289 bytes in 601,257 blocks | |
==27033== of which reachable via heuristic: | |
==27033== newarray : 48 bytes in 1 blocks | |
==27033== suppressed: 0 bytes in 0 blocks | |
==27033== Rerun with --leak-check=full to see details of leaked memory | |
==27033== | |
==27033== For counts of detected and suppressed errors, rerun with: -v | |
==27033== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) | |
../install/bin/perl6-valgrind-m: line 11: 27033 Segmentation fault (core dumped) valgrind /home/dan/Source/perl6/install/bin/moar --full-cleanup --execname="$0" --libpath="/home/dan/Source/perl6/install/share/nqp/lib" --libpath="/home/dan/Source/perl6/install/share/perl6/lib" --libpath="/home/dan/Source/perl6/install/share/perl6/runtime" /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment