Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created October 1, 2016 15:03
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/9ab9ec5bdbc483bfe63213bf26f82316 to your computer and use it in GitHub Desktop.
Save MasterDuke17/9ab9ec5bdbc483bfe63213bf26f82316 to your computer and use it in GitHub Desktop.
Perl 6 segfault
================================================================================================
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)
------------------------------------------------------------------------------------------------
==30661== Memcheck, a memory error detector
==30661== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==30661== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==30661== 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 -e await\ (for\ ^7\ {\ start\ ‘/etc/hostname’.IO\ ~~\ :e\ })
==30661==
==30661==
==30661== Process terminating with default action of signal 6 (SIGABRT): dumping core
==30661== at 0x54EF04F: raise (in /usr/lib/libc-2.24.so)
==30661== by 0x54F0479: abort (in /usr/lib/libc-2.24.so)
==30661== by 0x507B366: uv_mutex_destroy (thread.c:114)
==30661== by 0x4FFEDA1: gc_free (ConcBlockingQueue.c:72)
==30661== by 0x4FCC0C4: MVM_gc_collect_free_nursery_uncopied (collect.c:580)
==30661== by 0x4FC8B46: MVM_gc_global_destruction (orchestrate.c:511)
==30661== by 0x505CDF1: MVM_vm_destroy_instance (moar.c:391)
==30661== by 0x400D2D: main (main.c:194)
==30661==
==30661== HEAP SUMMARY:
==30661== in use at exit: 75,325,294 bytes in 170,455 blocks
==30661== total heap usage: 222,962 allocs, 52,507 frees, 89,868,041 bytes allocated
==30661==
==30661== LEAK SUMMARY:
==30661== definitely lost: 10,398 bytes in 187 blocks
==30661== indirectly lost: 22,368 bytes in 668 blocks
==30661== possibly lost: 393,264 bytes in 7,026 blocks
==30661== still reachable: 74,899,264 bytes in 162,574 blocks
==30661== suppressed: 0 bytes in 0 blocks
==30661== Rerun with --leak-check=full to see details of leaked memory
==30661==
==30661== For counts of detected and suppressed errors, rerun with: -v
==30661== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
./install/bin/perl6-valgrind-m: line 11: 30661 Killed 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