Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created September 30, 2016 21:56
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/ae868132b8cf9cb7103b00541cea8291 to your computer and use it in GitHub Desktop.
Save MasterDuke17/ae868132b8cf9cb7103b00541cea8291 to your computer and use it in GitHub Desktop.
Perl 6 segfault
This Rakudo version is 2016.09.93.g.83.d.733.c built on MoarVM version 2016.09.3.g.9.b.39.aa.5,
running on debian (8.jessie) / linux (3.16.0.4.amd.64)
------------------------------------------------------------------------------------------------
==13908== Memcheck, a memory error detector
==13908== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==13908== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==13908== Command: /home/bisectable/.rakudobrew/moar-nom/install/bin/moar --full-cleanup --execname=/home/bisectable/.rakudobrew/bin/../moar-nom/install/bin/perl6-valgrind-m --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/nqp/lib --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/perl6/lib --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/perl6/runtime /home/bisectable/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm build.p6
==13908==
==13914== Memcheck, a memory error detector
==13914== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==13914== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==13914== Command: /home/bisectable/.rakudobrew/moar-nom/install/bin/moar --full-cleanup --execname=/home/bisectable/.rakudobrew/bin/../moar-nom/install/bin/perl6-valgrind-m --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/nqp/lib --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/perl6/lib --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/perl6/runtime /home/bisectable/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm --target=mbc --output=/home/bisectable/.perl6/precomp/E13D00E952F1927861F3B9C2CC6F8EF46EA373CE.1475272163.98812/AB/ABC2BE03ECE07BFE6E2858BFA91C2AF8086C324E.bc --source-name=site#sources/ABC2BE03ECE07BFE6E2858BFA91C2AF8086C324E\ (File::Temp) /home/bisectable/.rakudobrew/moar-nom/install/share/perl6/site/sources/ABC2BE03ECE07BFE6E2858BFA91C2AF8086C324E
==13914==
==13920== Memcheck, a memory error detector
==13920== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==13920== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==13920== Command: /home/bisectable/.rakudobrew/moar-nom/install/bin/moar --full-cleanup --execname=/home/bisectable/.rakudobrew/bin/../moar-nom/install/bin/perl6-valgrind-m --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/nqp/lib --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/perl6/lib --libpath=/home/bisectable/.rakudobrew/moar-nom/install/share/perl6/runtime /home/bisectable/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm --target=mbc --output=/home/bisectable/.perl6/precomp/E13D00E952F1927861F3B9C2CC6F8EF46EA373CE.1475272163.98812/93/9348C8241DCB23010628352BB28803635DAB3C87.bc --source-name=site#sources/9348C8241DCB23010628352BB28803635DAB3C87\ (File::Directory::Tree) /home/bisectable/.rakudobrew/moar-nom/install/share/perl6/site/sources/9348C8241DCB23010628352BB28803635DAB3C87
==13920==
==13920== Syscall param write(buf) points to uninitialised byte(s)
==13920== at 0x559AC00: __write_nocancel (syscall-template.S:81)
==13920== by 0x5533422: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1253)
==13920== by 0x5532AE2: new_do_write (fileops.c:530)
==13920== by 0x5533A35: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1335)
==13920== by 0x5529AAC: fwrite (iofwrite.c:43)
==13920== by 0x5019808: MVM_mast_to_file (driver.c:75)
==13920== by 0x4FA59E3: MVM_interp_run (interp.c:3105)
==13920== by 0x50601A8: MVM_vm_run_file (moar.c:304)
==13920== by 0x400FDE: main (main.c:191)
==13920== Address 0x7472c04 is 4,900 bytes inside a block of size 13,816 alloc'd
==13920== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==13920== by 0x5018BC5: MVM_malloc (alloc.h:2)
==13920== by 0x5018BC5: form_bytecode_output (compiler.c:1427)
==13920== by 0x5018BC5: MVM_mast_compile (compiler.c:1602)
==13920== by 0x50197BC: MVM_mast_to_file (driver.c:75)
==13920== by 0x4FA59E3: MVM_interp_run (interp.c:3105)
==13920== by 0x50601A8: MVM_vm_run_file (moar.c:304)
==13920== by 0x400FDE: main (main.c:191)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment