Skip to content

Instantly share code, notes, and snippets.

*** Error in `/home/dan/Source/perl6/rakudo/install/bin/moar': double free or corruption (fasttop): 0x00007fdaa8328e90 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7fdabdce5725]
/lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7fdabdcedf4a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fdabdcf1abc]
//home/dan/Source/perl6/rakudo/install/lib/libmoar.so(MVM_spesh_graph_destroy+0x5f)[0x7fdabe213f1f]
//home/dan/Source/perl6/rakudo/install/lib/libmoar.so(MVM_profile_instrument+0x2e3)[0x7fdabe24fb23]
//home/dan/Source/perl6/rakudo/install/lib/libmoar.so(MVM_frame_invoke+0xdc)[0x7fdabe1a2fbc]
//home/dan/Source/perl6/rakudo/install/lib/libmoar.so(+0x1ad3f3)[0x7fdabe1e43f3]
//home/dan/Source/perl6/rakudo/install/lib/libmoar.so(MVM_interp_run+0x114a9)[0x7fdabe19b069]
[dan@alexandria perl6]$ lsb_release -a
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
[dan@alexandria perl6]$ uname -a
Linux alexandria 4.5.3-1-ARCH #1 SMP PREEMPT Sat May 7 20:43:57 CEST 2016 x86_64 GNU/Linux
[dan@alexandria perl6]$ lscpu
Architecture: x86_64
dan@hermes:~/Source/perl6$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
dan@hermes:~/Source/perl6$ uname -a
Linux hermes 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
dan@hermes:~/Source/perl6$ lscpu
Architecture: x86_64
diff --git a/htmlify.p6 b/htmlify.p6
index 0a737a1..1edb598 100755
--- a/htmlify.p6
+++ b/htmlify.p6
@@ -192,11 +192,19 @@ sub process-pod-dir($dir, :&sorted-by = &[cmp], :$sparse) {
say "Processing $dir Pod files ...";
my $total = +@pod-sources;
my $kind = $dir.lc;
+ my @pod-files;
for @pod-sources.kv -> $num, (:key($filename), :value($file)) {
==1368== Syscall param write(buf) points to uninitialised byte(s)
==1368== at 0x555B770: __write_nocancel (in /usr/lib/libc-2.23.so)
==1368== by 0x54F14FE: _IO_file_write@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==1368== by 0x54F0AC2: new_do_write (in /usr/lib/libc-2.23.so)
==1368== by 0x54F1AFD: _IO_file_xsputn@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==1368== by 0x54E77B5: fwrite (in /usr/lib/libc-2.23.so)
==1368== by 0x5003DB8: MVM_mast_to_file (in /usr/lib/libmoar.so)
==1368== by 0x4F971BE: MVM_interp_run (in /usr/lib/libmoar.so)
==1368== by 0x5034F60: MVM_vm_run_file (in /usr/lib/libmoar.so)
==1368== by 0x400FE9: ??? (in /usr/bin/moar)
==6546== Syscall param write(buf) points to uninitialised byte(s)
==6546== at 0x555B770: __write_nocancel (in /usr/lib/libc-2.23.so)
==6546== by 0x54F14FE: _IO_file_write@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==6546== by 0x54F0AC2: new_do_write (in /usr/lib/libc-2.23.so)
==6546== by 0x54F1AFD: _IO_file_xsputn@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==6546== by 0x54E77B5: fwrite (in /usr/lib/libc-2.23.so)
==6546== by 0x5003DB8: MVM_mast_to_file (in /usr/lib/libmoar.so)
==6546== by 0x4F971BE: MVM_interp_run (in /usr/lib/libmoar.so)
==6546== by 0x5034F60: MVM_vm_run_file (in /usr/lib/libmoar.so)
==6546== by 0x400FE9: ??? (in /usr/bin/moar)
Writing specialized visualizations to html/images/ ...
^C==7554==
==7554== Process terminating with default action of signal 2 (SIGINT)
==7554== at 0x5B53EBC: __lll_lock_wait (in /usr/lib/libpthread-2.23.so)
==7554== by 0x5B4DB44: pthread_mutex_lock (in /usr/lib/libpthread-2.23.so)
==7554== by 0x5070678: uv_mutex_lock (in /home/dan/Source/perl6/install/lib/libmoar.so)
==7554== by 0x4FF552B: shift (in /home/dan/Source/perl6/install/lib/libmoar.so)
==7554== by 0x13E722DB: ???
==7554== by 0x50298E8: MVM_jit_enter_code (in /home/dan/Source/perl6/install/lib/libmoar.so)
==7554== by 0x4F90AB6: MVM_interp_run (in /home/dan/Source/perl6/install/lib/libmoar.so)
================================================================================================
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.05.168.g.5.ca.43.c.2 built on MoarVM version 2016.05.37.ga.126.e.0.f,
running on arch (4.5.2.1.arch) / linux (4.5.3.1.ARCH)
------------------------------------------------------------------------------------------------
==9191== Thread 7:
==9191== Invalid read of size 8
==9191== at 0x4F998AC: MVM_interp_run (in /home/dan/Source/perl6/install/lib/libmoar.so)
==13882== Syscall param write(buf) points to uninitialised byte(s)
==13882== at 0x5579770: __write_nocancel (in /usr/lib/libc-2.23.so)
==13882== by 0x550F4FE: _IO_file_write@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==13882== by 0x550EAC2: new_do_write (in /usr/lib/libc-2.23.so)
==13882== by 0x550FAFD: _IO_file_xsputn@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==13882== by 0x55057B5: fwrite (in /usr/lib/libc-2.23.so)
==13882== by 0x500D8C8: MVM_mast_to_file (driver.c:75)
==13882== by 0x4F9AD06: MVM_interp_run (interp.c:3105)
==13882== by 0x5051FD8: MVM_vm_run_file (moar.c:304)
==13882== by 0x400F63: main (main.c:191)
==17582== Syscall param write(buf) points to uninitialised byte(s)
==17582== at 0x5579770: __write_nocancel (in /usr/lib/libc-2.23.so)
==17582== by 0x550F4FE: _IO_file_write@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==17582== by 0x550EAC2: new_do_write (in /usr/lib/libc-2.23.so)
==17582== by 0x550FAFD: _IO_file_xsputn@@GLIBC_2.2.5 (in /usr/lib/libc-2.23.so)
==17582== by 0x55057B5: fwrite (in /usr/lib/libc-2.23.so)
==17582== by 0x500D608: MVM_mast_to_file (driver.c:75)
==17582== by 0x4F9AD06: MVM_interp_run (interp.c:3105)
==17582== by 0x5051D18: MVM_vm_run_file (moar.c:304)
==17582== by 0x400F63: main (main.c:191)