Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Last active February 6, 2017 14:04
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 dogbert17/a74e36cd2dd4843773134b6bcbc78931 to your computer and use it in GitHub Desktop.
Save dogbert17/a74e36cd2dd4843773134b6bcbc78931 to your computer and use it in GitHub Desktop.
partial valgrind of spectest (only 28 files) HARNESS_TYPE=6 TEST_JOBS=2
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6-valgrind-m -Ilib t/harness6 --fudge --tests-from-file=t/spectest.data
================================================================================================
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.01.148.gf.24968997 built on MoarVM version 2017.01.25.g.70.d.4.bd.53,
running on ubuntu (14.04.3.LTS.Trusty.Tahr) / linux (3.19.0.32.generic)
------------------------------------------------------------------------------------------------
==5823== Memcheck, a memory error detector
==5823== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==5823== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==5823== Command: /home/dogbert/repos/rakudo/install/bin/moar --full-cleanup --execname=./perl6-valgrind-m --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 -Ilib t/harness6 --fudge --tests-from-file=t/spectest.data
...
==5486== 4,194,304 bytes in 1 blocks are still reachable in loss record 2,917 of 2,920
==5486== at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5486== by 0x41173DB: MVM_calloc (alloc.h:11)
==5486== by 0x411767F: MVM_gc_collect (collect.c:73)
==5486== by 0x41139CB: run_gc (orchestrate.c:328)
==5486== by 0x4113F11: MVM_gc_enter_from_interrupt (orchestrate.c:510)
==5486== by 0x41140F5: MVM_gc_allocate_nursery (allocation.c:18)
==5486== by 0x411403C: MVM_gc_allocate (allocation.h:13)
==5486== by 0x411418B: MVM_gc_allocate_zeroed (allocation.c:49)
==5486== by 0x4114335: MVM_gc_allocate_object (allocation.c:86)
==5486== by 0x412EE0F: MVM_repr_alloc_init (reprconv.c:13)
==5486== by 0x4125FC5: async_read (procops.c:744)
==5486== by 0x4126675: async_spawn_stderr_bytes_read (procops.c:840)
==5486==
==5486== 60,489,728 bytes in 923 blocks are still reachable in loss record 2,918 of 2,920
==5486== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5486== by 0x4123C23: MVM_malloc (alloc.h:2)
==5486== by 0x4125F71: on_alloc (procops.c:734)
==5486== by 0x41E5041: uv__read (stream.c:1111)
==5486== by 0x41E56CE: uv__stream_io (stream.c:1241)
==5486== by 0x41D2B27: uv__io_poll (linux-core.c:345)
==5486== by 0x41D8B13: uv_run (core.c:351)
==5486== by 0x411E1C3: enter_loop (eventloop.c:64)
==5486== by 0x413A0F3: invoke_handler (MVMCFunction.c:9)
==5486== by 0x40FBA92: thread_initial_invoke (threads.c:56)
==5486== by 0x40C83C9: MVM_interp_run (interp.c:87)
==5486== by 0x40FBB10: start_thread (threads.c:77)
==5486==
==5486== 62,914,560 bytes in 15 blocks are still reachable in loss record 2,919 of 2,920
==5486== at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5486== by 0x40EE08E: MVM_calloc (alloc.h:11)
==5486== by 0x40EE11A: MVM_tc_create (threadcontext.c:15)
==5486== by 0x40FB982: MVM_thread_new (threads.c:25)
==5486== by 0x40E044F: MVM_interp_run (interp.c:3668)
==5486== by 0x40FBB10: start_thread (threads.c:77)
==5486== by 0x41E6DDC: uv__thread_start (thread.c:49)
==5486== by 0x46C1F71: start_thread (pthread_create.c:312)
==5486== by 0x45B1F8D: clone (clone.S:129)
==5486==
==5486== 67,108,864 bytes in 16 blocks are still reachable in loss record 2,920 of 2,920
==5486== at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5486== by 0x41173DB: MVM_calloc (alloc.h:11)
==5486== by 0x411767F: MVM_gc_collect (collect.c:73)
==5486== by 0x41139CB: run_gc (orchestrate.c:328)
==5486== by 0x4113E0A: MVM_gc_enter_from_allocator (orchestrate.c:462)
==5486== by 0x4114127: MVM_gc_allocate_nursery (allocation.c:32)
==5486== by 0x411403C: MVM_gc_allocate (allocation.h:13)
==5486== by 0x411418B: MVM_gc_allocate_zeroed (allocation.c:49)
==5486== by 0x4114335: MVM_gc_allocate_object (allocation.c:86)
==5486== by 0x40D380A: MVM_interp_run (interp.c:1773)
==5486== by 0x40FBB10: start_thread (threads.c:77)
==5486== by 0x41E6DDC: uv__thread_start (thread.c:49)
==5486==
==5486== LEAK SUMMARY:
==5486== definitely lost: 6,008 bytes in 59 blocks
==5486== indirectly lost: 3,360 bytes in 24 blocks
==5486== possibly lost: 240,644 bytes in 7,334 blocks
==5486== still reachable: 272,629,258 bytes in 380,764 blocks
==5486== suppressed: 0 bytes in 0 blocks
==5486==
==5486== For counts of detected and suppressed errors, rerun with: -v
==5486== ERROR SUMMARY: 19 errors from 19 contexts (suppressed: 0 from 0)
Killed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment