Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Last active March 23, 2017 20:24
Show Gist options
  • Save dogbert17/96bd5e34a7d3f5e1550c14e5f6179b81 to your computer and use it in GitHub Desktop.
Save dogbert17/96bd5e34a7d3f5e1550c14e5f6179b81 to your computer and use it in GitHub Desktop.
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6-valgrind-m t/spec/S17-supply/supplier-preserving.t
================================================================================================
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.27.ga.123.eb.310 built on MoarVM version 2017.03.22.ga.00278.e.6,
running on ubuntu (14.04.3.LTS.Trusty.Tahr) / linux (3.19.0.32.generic)
------------------------------------------------------------------------------------------------
==1758== Memcheck, a memory error detector
==1758== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1758== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1758== Command: /home/dogbert/repos/rakudo/install/bin/moar --execname=./perl6-ugga --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=. /home/dogbert/repos/rakudo/perl6.moarvm --nqp-lib=blib t/spec/S17-supply/supplier-preserving.t
==1758==
==1758== Invalid read of size 4
==1758== at 0x419D114: adjust_nursery (bigintops.c:13)
==1758== by 0x419D114: MVM_bigint_radix (bigintops.c:1072)
==1758== by 0x40CB3B9: MVM_interp_run (interp.c:3468)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758== Address 0x75a8908 is 0 bytes inside a block of size 16 free'd
==1758== at 0x402B3D8: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1758== by 0x419D1F4: MVM_free (alloc.h:29)
==1758== by 0x419D1F4: store_bigint_result (bigintops.c:201)
==1758== by 0x419D1F4: MVM_bigint_radix (bigintops.c:1069)
==1758== by 0x40CB3B9: MVM_interp_run (interp.c:3468)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758==
==1758== Invalid read of size 4
==1758== at 0x419D11A: adjust_nursery (bigintops.c:13)
==1758== by 0x419D11A: MVM_bigint_radix (bigintops.c:1072)
==1758== by 0x40CB3B9: MVM_interp_run (interp.c:3468)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758== Address 0x75a8908 is 0 bytes inside a block of size 16 free'd
==1758== at 0x402B3D8: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1758== by 0x419D1F4: MVM_free (alloc.h:29)
==1758== by 0x419D1F4: store_bigint_result (bigintops.c:201)
==1758== by 0x419D1F4: MVM_bigint_radix (bigintops.c:1069)
==1758== by 0x40CB3B9: MVM_interp_run (interp.c:3468)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758==
==1758== Invalid read of size 4
==1758== at 0x41993C6: adjust_nursery (bigintops.c:13)
==1758== by 0x41993C6: MVM_bigint_gcd (bigintops.c:459)
==1758== by 0x40CC67E: MVM_interp_run (interp.c:3393)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758== Address 0x94ce9a8 is 0 bytes inside a block of size 16 free'd
==1758== at 0x402B3D8: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1758== by 0x41994B5: MVM_free (alloc.h:29)
==1758== by 0x41994B5: store_bigint_result (bigintops.c:201)
==1758== by 0x41994B5: MVM_bigint_gcd (bigintops.c:457)
==1758== by 0x40CC67E: MVM_interp_run (interp.c:3393)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758==
==1758== Invalid read of size 4
==1758== at 0x41993D2: adjust_nursery (bigintops.c:13)
==1758== by 0x41993D2: MVM_bigint_gcd (bigintops.c:459)
==1758== by 0x40CC67E: MVM_interp_run (interp.c:3393)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758== Address 0x94ce9a8 is 0 bytes inside a block of size 16 free'd
==1758== at 0x402B3D8: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1758== by 0x41994B5: MVM_free (alloc.h:29)
==1758== by 0x41994B5: store_bigint_result (bigintops.c:201)
==1758== by 0x41994B5: MVM_bigint_gcd (bigintops.c:457)
==1758== by 0x40CC67E: MVM_interp_run (interp.c:3393)
==1758== by 0x41A6755: MVM_vm_run_file (moar.c:310)
==1758== by 0x8048D87: main (main.c:212)
==1758==
1..1
ok 1 - Received expected messages (0)
ok 2 - Received expected messages (1)
ok 3 - Received expected messages (2)
ok 4 - Received expected messages (3)
ok 5 - Received expected messages (4)
ok 6 - Received expected messages (5)
ok 7 - Received expected messages (6)
ok 8 - Received expected messages (7)
ok 9 - Received expected messages (8)
ok 10 - Received expected messages (9)
ok 11 - Close called as expected
1..11
ok 1 - No races in Supplier::Preserving
==1758==
==1758== HEAP SUMMARY:
==1758== in use at exit: 146,302,737 bytes in 257,037 blocks
==1758== total heap usage: 341,035 allocs, 83,998 frees, 171,167,119 bytes allocated
==1758==
==1758== LEAK SUMMARY:
==1758== definitely lost: 1,360 bytes in 10 blocks
==1758== indirectly lost: 0 bytes in 0 blocks
==1758== possibly lost: 231,580 bytes in 7,247 blocks
==1758== still reachable: 146,069,797 bytes in 249,780 blocks
==1758== suppressed: 0 bytes in 0 blocks
==1758== Rerun with --leak-check=full to see details of leaked memory
==1758==
==1758== For counts of detected and suppressed errors, rerun with: -v
==1758== ERROR SUMMARY: 70 errors from 4 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment