Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active July 13, 2017 21:40
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/05c53e79a5b2ec39224af59d5e7310c6 to your computer and use it in GitHub Desktop.
Save MasterDuke17/05c53e79a5b2ec39224af59d5e7310c6 to your computer and use it in GitHub Desktop.
$ perl6 --ll-exception -I lib/ t/getstore.t
1..4
Malformed UTF-8 at line 2 col 19613
at SETTING::src/core/Buf.pm:122 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:decode)
from SETTING::src/core/Buf.pm:117 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:decode)
from /home/dan/Source/perl6/modules/perl6-lwp-simple/lib/LWP/Simple.pm (LWP::Simple):126 (/home/dan/Source/perl6/modules/perl6-lwp-simple/lib/.precomp/945A45596BAC665209D825A62023F2075963D44A.1499977525.6683/C7/C77DE3106693AC86942564813406CE16EA7CCE55:)
from /home/dan/Source/perl6/modules/perl6-lwp-simple/lib/LWP/Simple.pm (LWP::Simple):110 (/home/dan/Source/perl6/modules/perl6-lwp-simple/lib/.precomp/945A45596BAC665209D825A62023F2075963D44A.1499977525.6683/C7/C77DE3106693AC86942564813406CE16EA7CCE55:)
from /home/dan/Source/perl6/modules/perl6-lwp-simple/lib/LWP/Simple.pm (LWP::Simple):106 (/home/dan/Source/perl6/modules/perl6-lwp-simple/lib/.precomp/945A45596BAC665209D825A62023F2075963D44A.1499977525.6683/C7/C77DE3106693AC86942564813406CE16EA7CCE55:)
from /home/dan/Source/perl6/modules/perl6-lwp-simple/lib/LWP/Simple.pm (LWP::Simple):87 (/home/dan/Source/perl6/modules/perl6-lwp-simple/lib/.precomp/945A45596BAC665209D825A62023F2075963D44A.1499977525.6683/C7/C77DE3106693AC86942564813406CE16EA7CCE55:request_shell)
from /home/dan/Source/perl6/modules/perl6-lwp-simple/lib/LWP/Simple.pm (LWP::Simple):31 (/home/dan/Source/perl6/modules/perl6-lwp-simple/lib/.precomp/945A45596BAC665209D825A62023F2075963D44A.1499977525.6683/C7/C77DE3106693AC86942564813406CE16EA7CCE55:get)
from /home/dan/Source/perl6/modules/perl6-lwp-simple/lib/LWP/Simple.pm (LWP::Simple):346 (/home/dan/Source/perl6/modules/perl6-lwp-simple/lib/.precomp/945A45596BAC665209D825A62023F2075963D44A.1499977525.6683/C7/C77DE3106693AC86942564813406CE16EA7CCE55:getstore)
from t/getstore.t:17 (<ephemeral file>:<unit>)
from t/getstore.t:1 (<ephemeral file>:<unit-outer>)
from gen/moar/stage2/NQPHLL.nqp:1589 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1806 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:evalfiles)
from gen/moar/stage2/NQPHLL.nqp:1731 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:command_eval)
from src/Perl6/Compiler.nqp:42 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Compiler.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:1677 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:command_line)
from gen/moar/main.nqp:47 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:MAIN)
from gen/moar/main.nqp:38 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<mainline>)
from <unknown>:1 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<main>)
from <unknown>:1 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<entry>)
================================================================================================
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.06.231.g.8.d.5.f.3324.a built on MoarVM version 2017.06.82.g.2.e.683.f.95,
running on arch (4.11.3.1.arch) / linux (4.11.9.1.ARCH)
------------------------------------------------------------------------------------------------
==28545== Memcheck, a memory error detector
==28545== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28545== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28545== 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 -I lib/ t/getstore.t
==28545==
1..4
ok 1 - getstore() returned success
ok 2 - Opened file handle written by getstore()
ok 3 - Found pattern in downloaded file
ok 4 - Delete the temporary file
==28545== Invalid read of size 8
==28545== at 0x4FD9B1D: MVM_fixed_size_destroy_thread (fixedsizealloc.c:375)
==28545== by 0x4FC2240: MVM_tc_destroy (threadcontext.c:85)
==28545== by 0x507C5CA: MVM_vm_destroy_instance (moar.c:490)
==28545== by 0x40107D: main (main.c:254)
==28545== Address 0xb82d268 is 488 bytes inside a block of size 1,024 free'd
==28545== at 0x4C2D16B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD9574: MVM_free (alloc.h:29)
==28545== by 0x4FD9574: MVM_fixed_size_destroy (fixedsizealloc.c:65)
==28545== by 0x507C595: MVM_vm_destroy_instance (moar.c:479)
==28545== by 0x40107D: main (main.c:254)
==28545== Block was alloc'd at
==28545== at 0x4C2BE7F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD9784: MVM_malloc (alloc.h:2)
==28545== by 0x4FD9784: add_page (fixedsizealloc.c:110)
==28545== by 0x4FD9784: alloc_slow_path (fixedsizealloc.c:135)
==28545== by 0x4FD9784: alloc_from_global (fixedsizealloc.c:185)
==28545== by 0x4FD9784: MVM_fixed_size_alloc (fixedsizealloc.c:203)
==28545== by 0x4FD9838: MVM_fixed_size_alloc_zeroed (fixedsizealloc.c:212)
==28545== by 0x4FA6CE0: init_named_used (args.c:16)
==28545== by 0x4FA6CE0: MVM_args_proc_init (args.c:25)
==28545== by 0x4FC0E1F: MVM_interp_run (interp.c:1795)
==28545== by 0x507BBC8: MVM_vm_run_file (moar.c:317)
==28545== by 0x4011E6: main (main.c:246)
==28545==
==28545== Invalid read of size 8
==28545== at 0x4FD9B27: add_to_global_bin_freelist (fixedsizealloc.c:220)
==28545== by 0x4FD9B27: MVM_fixed_size_destroy_thread (fixedsizealloc.c:376)
==28545== by 0x4FC2240: MVM_tc_destroy (threadcontext.c:85)
==28545== by 0x507C5CA: MVM_vm_destroy_instance (moar.c:490)
==28545== by 0x40107D: main (main.c:254)
==28545== Address 0x631af70 is 0 bytes inside a block of size 64 free'd
==28545== at 0x4C2D16B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x507C595: MVM_vm_destroy_instance (moar.c:479)
==28545== by 0x40107D: main (main.c:254)
==28545== Block was alloc'd at
==28545== at 0x4C2BE7F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD9452: MVM_malloc (alloc.h:2)
==28545== by 0x4FD9452: MVM_fixed_size_create (fixedsizealloc.c:27)
==28545== by 0x507B2C4: MVM_vm_create_instance (moar.c:94)
==28545== by 0x400FC7: main (main.c:229)
==28545==
==28545== Invalid read of size 8
==28545== at 0x4FD9B32: add_to_global_bin_freelist (fixedsizealloc.c:227)
==28545== by 0x4FD9B32: MVM_fixed_size_destroy_thread (fixedsizealloc.c:376)
==28545== by 0x4FC2240: MVM_tc_destroy (threadcontext.c:85)
==28545== by 0x507C5CA: MVM_vm_destroy_instance (moar.c:490)
==28545== by 0x40107D: main (main.c:254)
==28545== Address 0x631aff8 is 8 bytes inside a block of size 4,608 free'd
==28545== at 0x4C2D16B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD95A8: MVM_free (alloc.h:29)
==28545== by 0x4FD95A8: MVM_fixed_size_destroy (fixedsizealloc.c:71)
==28545== by 0x507C595: MVM_vm_destroy_instance (moar.c:479)
==28545== by 0x40107D: main (main.c:254)
==28545== Block was alloc'd at
==28545== at 0x4C2DF55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD9469: MVM_calloc (alloc.h:11)
==28545== by 0x4FD9469: MVM_fixed_size_create (fixedsizealloc.c:28)
==28545== by 0x507B2C4: MVM_vm_create_instance (moar.c:94)
==28545== by 0x400FC7: main (main.c:229)
==28545==
==28545== Invalid write of size 8
==28545== at 0x4FD9B3B: add_to_global_bin_freelist (fixedsizealloc.c:236)
==28545== by 0x4FD9B3B: MVM_fixed_size_destroy_thread (fixedsizealloc.c:376)
==28545== by 0x4FC2240: MVM_tc_destroy (threadcontext.c:85)
==28545== by 0x507C5CA: MVM_vm_destroy_instance (moar.c:490)
==28545== by 0x40107D: main (main.c:254)
==28545== Address 0xb82d268 is 488 bytes inside a block of size 1,024 free'd
==28545== at 0x4C2D16B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD9574: MVM_free (alloc.h:29)
==28545== by 0x4FD9574: MVM_fixed_size_destroy (fixedsizealloc.c:65)
==28545== by 0x507C595: MVM_vm_destroy_instance (moar.c:479)
==28545== by 0x40107D: main (main.c:254)
==28545== Block was alloc'd at
==28545== at 0x4C2BE7F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD9784: MVM_malloc (alloc.h:2)
==28545== by 0x4FD9784: add_page (fixedsizealloc.c:110)
==28545== by 0x4FD9784: alloc_slow_path (fixedsizealloc.c:135)
==28545== by 0x4FD9784: alloc_from_global (fixedsizealloc.c:185)
==28545== by 0x4FD9784: MVM_fixed_size_alloc (fixedsizealloc.c:203)
==28545== by 0x4FD9838: MVM_fixed_size_alloc_zeroed (fixedsizealloc.c:212)
==28545== by 0x4FA6CE0: init_named_used (args.c:16)
==28545== by 0x4FA6CE0: MVM_args_proc_init (args.c:25)
==28545== by 0x4FC0E1F: MVM_interp_run (interp.c:1795)
==28545== by 0x507BBC8: MVM_vm_run_file (moar.c:317)
==28545== by 0x4011E6: main (main.c:246)
==28545==
==28545== Invalid write of size 8
==28545== at 0x4FD9B3E: add_to_global_bin_freelist (fixedsizealloc.c:237)
==28545== by 0x4FD9B3E: MVM_fixed_size_destroy_thread (fixedsizealloc.c:376)
==28545== by 0x4FC2240: MVM_tc_destroy (threadcontext.c:85)
==28545== by 0x507C5CA: MVM_vm_destroy_instance (moar.c:490)
==28545== by 0x40107D: main (main.c:254)
==28545== Address 0x631aff8 is 8 bytes inside a block of size 4,608 free'd
==28545== at 0x4C2D16B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD95A8: MVM_free (alloc.h:29)
==28545== by 0x4FD95A8: MVM_fixed_size_destroy (fixedsizealloc.c:71)
==28545== by 0x507C595: MVM_vm_destroy_instance (moar.c:479)
==28545== by 0x40107D: main (main.c:254)
==28545== Block was alloc'd at
==28545== at 0x4C2DF55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28545== by 0x4FD9469: MVM_calloc (alloc.h:11)
==28545== by 0x4FD9469: MVM_fixed_size_create (fixedsizealloc.c:28)
==28545== by 0x507B2C4: MVM_vm_create_instance (moar.c:94)
==28545== by 0x400FC7: main (main.c:229)
==28545==
==28545==
==28545== HEAP SUMMARY:
==28545== in use at exit: 143,155 bytes in 129 blocks
==28545== total heap usage: 363,338 allocs, 363,209 frees, 150,248,439 bytes allocated
==28545==
==28545== LEAK SUMMARY:
==28545== definitely lost: 140,958 bytes in 62 blocks
==28545== indirectly lost: 480 bytes in 60 blocks
==28545== possibly lost: 0 bytes in 0 blocks
==28545== still reachable: 1,717 bytes in 7 blocks
==28545== suppressed: 0 bytes in 0 blocks
==28545== Rerun with --leak-check=full to see details of leaked memory
==28545==
==28545== For counts of detected and suppressed errors, rerun with: -v
==28545== ERROR SUMMARY: 53855 errors from 5 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment