Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created October 2, 2016 20:19
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/e98b6e661aef2d467232c47b3a443b19 to your computer and use it in GitHub Desktop.
Save MasterDuke17/e98b6e661aef2d467232c47b3a443b19 to your computer and use it in GitHub Desktop.
RT #129787
================================================================================================
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 2016.09.100.g.46.e.0.ede built on MoarVM version 2016.09.15.gc.8.b.4228,
running on arch (4.7.3.1.arch) / linux (4.7.4.1.ARCH)
------------------------------------------------------------------------------------------------
==939== Memcheck, a memory error detector
==939== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==939== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==939== 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 t.p6
==939==
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
bad
1
bad
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
==939== Thread 2:
==939== Invalid read of size 8
==939== at 0x507944D: uv__write (stream.c:844)
==939== by 0x507A71F: uv_write2 (stream.c:1398)
==939== by 0x4FD0614: MVM_io_syncstream_write_str (syncstream.c:200)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x4FB571D: start_thread (threads.c:77)
==939== by 0x507B266: uv__thread_start (thread.c:49)
==939== by 0x5B65453: start_thread (in /usr/lib/libpthread-2.24.so)
==939== Address 0xd059dc0 is 112 bytes inside a block of size 192 free'd
==939== at 0x4C2AD90: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==939== by 0x5079310: uv__write_callbacks (stream.c:940)
==939== by 0x5079ED4: uv__stream_io (stream.c:1265)
==939== by 0x5072302: uv__run_pending (core.c:741)
==939== by 0x5072302: uv_run (core.c:343)
==939== by 0x4FD0624: MVM_io_syncstream_write_str (syncstream.c:207)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x505CC98: MVM_vm_run_file (moar.c:304)
==939== by 0x400ED3: main (main.c:191)
==939== Block was alloc'd at
==939== at 0x4C29BBE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==939== by 0x4FD05CC: MVM_malloc (alloc.h:2)
==939== by 0x4FD05CC: MVM_io_syncstream_write_str (syncstream.c:197)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x4FB571D: start_thread (threads.c:77)
==939== by 0x507B266: uv__thread_start (thread.c:49)
==939== by 0x5B65453: start_thread (in /usr/lib/libpthread-2.24.so)
==939==
==939== Invalid read of size 4
==939== at 0x5079451: uv__write (stream.c:844)
==939== by 0x507A71F: uv_write2 (stream.c:1398)
==939== by 0x4FD0614: MVM_io_syncstream_write_str (syncstream.c:200)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x4FB571D: start_thread (threads.c:77)
==939== by 0x507B266: uv__thread_start (thread.c:49)
==939== by 0x5B65453: start_thread (in /usr/lib/libpthread-2.24.so)
==939== Address 0xd059db8 is 104 bytes inside a block of size 192 free'd
==939== at 0x4C2AD90: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==939== by 0x5079310: uv__write_callbacks (stream.c:940)
==939== by 0x5079ED4: uv__stream_io (stream.c:1265)
==939== by 0x5072302: uv__run_pending (core.c:741)
==939== by 0x5072302: uv_run (core.c:343)
==939== by 0x4FD0624: MVM_io_syncstream_write_str (syncstream.c:207)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x505CC98: MVM_vm_run_file (moar.c:304)
==939== by 0x400ED3: main (main.c:191)
==939== Block was alloc'd at
==939== at 0x4C29BBE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==939== by 0x4FD05CC: MVM_malloc (alloc.h:2)
==939== by 0x4FD05CC: MVM_io_syncstream_write_str (syncstream.c:197)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x4FB571D: start_thread (threads.c:77)
==939== by 0x507B266: uv__thread_start (thread.c:49)
==939== by 0x5B65453: start_thread (in /usr/lib/libpthread-2.24.so)
==939==
==939== Invalid read of size 8
==939== at 0x5079469: uv__write (stream.c:863)
==939== by 0x507A71F: uv_write2 (stream.c:1398)
==939== by 0x4FD0614: MVM_io_syncstream_write_str (syncstream.c:200)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x4FB571D: start_thread (threads.c:77)
==939== by 0x507B266: uv__thread_start (thread.c:49)
==939== by 0x5B65453: start_thread (in /usr/lib/libpthread-2.24.so)
==939== Address 0x18 is not stack'd, malloc'd or (recently) free'd
==939==
==939==
==939== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==939== Access not within mapped region at address 0x18
==939== at 0x5079469: uv__write (stream.c:863)
==939== by 0x507A71F: uv_write2 (stream.c:1398)
==939== by 0x4FD0614: MVM_io_syncstream_write_str (syncstream.c:200)
==939== by 0x4FCE395: MVM_io_write_string (io.c:214)
==939== by 0x4F95087: MVM_interp_run (interp.c:3491)
==939== by 0x4FB571D: start_thread (threads.c:77)
==939== by 0x507B266: uv__thread_start (thread.c:49)
==939== by 0x5B65453: start_thread (in /usr/lib/libpthread-2.24.so)
==939== If you believe this happened as a result of a stack
==939== overflow in your program's main thread (unlikely but
==939== possible), you can try to increase the size of the
==939== main thread stack using the --main-stacksize= flag.
==939== The main thread stack size used in this run was 8388608.
==939==
==939== HEAP SUMMARY:
==939== in use at exit: 57,755,986 bytes in 221,837 blocks
==939== total heap usage: 243,888 allocs, 22,051 frees, 71,577,372 bytes allocated
==939==
==939== LEAK SUMMARY:
==939== definitely lost: 8,778 bytes in 184 blocks
==939== indirectly lost: 22,368 bytes in 668 blocks
==939== possibly lost: 393,168 bytes in 7,020 blocks
==939== still reachable: 57,331,672 bytes in 213,965 blocks
==939== suppressed: 0 bytes in 0 blocks
==939== Rerun with --leak-check=full to see details of leaked memory
==939==
==939== For counts of detected and suppressed errors, rerun with: -v
==939== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment