Skip to content

Instantly share code, notes, and snippets.

@pmichaud
Created May 29, 2009 12:47
Show Gist options
  • Save pmichaud/119933 to your computer and use it in GitHub Desktop.
Save pmichaud/119933 to your computer and use it in GitHub Desktop.
$ cat x
my $x = 1+0i;
Q:PIR {
$P0 = find_lex '$x'
$P0 = $P0.'Complex'()
};
$ ./perl6 x
invoke() not implemented in class 'NameSpace'
current instr.: '_block14' pc 109 (EVAL_20:58) (x:3)
called from Sub '!UNIT_START' pc 18813 (src/builtins/guts.pir:470)
called from Sub 'perl6;PCT;HLLCompiler;eval' pc 949 (src/PCT/HLLCompiler.pir:530)
called from Sub 'perl6;Perl6;Compiler;eval' pc 259444 (src/gen_actions.pir:0)
called from Sub 'perl6;PCT;HLLCompiler;evalfiles' pc 1281 (src/PCT/HLLCompiler.pir:694)
called from Sub 'perl6;PCT;HLLCompiler;command_line' pc 1476 (src/PCT/HLLCompiler.pir:795)
called from Sub 'perl6;Perl6;Compiler;main' pc 259787 (src/gen_actions.pir:23947)
*** glibc detected *** ./perl6: double free or corruption (!prev): 0x08cf5a18 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6fda604]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb6fdc5b6]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0(mem_sys_free+0x2a)[0xb7e30d5a]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e32097]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e44646]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0(Parrot_exit+0x8b)[0xb7e280db]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e277db]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0(Parrot_ex_throw_from_c+0xb5)[0xb7e27895]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e27b91]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7f9c504]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7f9d01e]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7dd479d]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e8a1c0]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e890f0]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e45cd1]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0[0xb7e460f3]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0(Parrot_runops_fromc_args+0xc6)[0xb7e46fb6]
/home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0(Parrot_runcode+0x277)[0xb7e23e57]
./perl6[0x8048a7a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb6f81775]
./perl6[0x80488a1]
======= Memory map: ========
08048000-083e6000 r-xp 00000000 08:03 1592460 /home/pmichaud/rakudo/perl6
083e6000-083e7000 r--p 0039e000 08:03 1592460 /home/pmichaud/rakudo/perl6
083e7000-083e8000 rw-p 0039f000 08:03 1592460 /home/pmichaud/rakudo/perl6
085f7000-08f2a000 rw-p 085f7000 00:00 0 [heap]
b58d3000-b58d9000 r--s 00000000 08:03 1601546 /home/pmichaud/rakudo/parrot/runtime/parrot/library/P6object.pbc
b5a41000-b5a6f000 r--s 00000000 08:03 1601647 /home/pmichaud/rakudo/parrot/runtime/parrot/library/PGE.pbc
b5a6f000-b5a71000 r--s 00000000 08:03 1601644 /home/pmichaud/rakudo/parrot/runtime/parrot/library/PCT/Grammar.pbc
b5a71000-b5a72000 r--s 00000000 08:03 1601642 /home/pmichaud/rakudo/parrot/runtime/parrot/library/PCT.pbc
b6bd0000-b6bd8000 r--s 00000000 08:03 1601645 /home/pmichaud/rakudo/parrot/runtime/parrot/library/PCT/HLLCompiler.pbc
b6bd8000-b6bfb000 r--s 00000000 08:03 1601643 /home/pmichaud/rakudo/parrot/runtime/parrot/library/PCT/PAST.pbc
b6bfb000-b6bfd000 r--s 00000000 08:03 1601556 /home/pmichaud/rakudo/parrot/runtime/parrot/library/PGE/Util.pbc
b6d00000-b6d21000 rw-p b6d00000 00:00 0
b6d21000-b6e00000 ---p b6d21000 00:00 0
b6e39000-b6e3b000 rw-p b6e39000 00:00 0
b6e3b000-b6e48000 r-xp 00000000 08:02 1190225 /lib/libgcc_s.so.1
b6e48000-b6e49000 r--p 0000c000 08:02 1190225 /lib/libgcc_s.so.1
b6e49000-b6e4a000 rw-p 0000d000 08:02 1190225 /lib/libgcc_s.so.1
b6e4a000-b6f2e000 r-xp 00000000 08:02 1013155 /usr/lib/libstdc++.so.6.0.10
b6f2e000-b6f32000 r--p 000e3000 08:02 1013155 /usr/lib/libstdc++.so.6.0.10
b6f32000-b6f33000 rw-p 000e7000 08:02 1013155 /usr/lib/libstdc++.so.6.0.10
b6f33000-b6f39000 rw-p b6f33000 00:00 0
b6f39000-b6f68000 r-xp 00000000 08:02 1190240 /lib/libncurses.so.5.7
b6f68000-b6f6a000 r--p 0002e000 08:02 1190240 /lib/libncurses.so.5.7
b6f6a000-b6f6b000 rw-p 00030000 08:02 1190240 /lib/libncurses.so.5.7
b6f6b000-b70c7000 r-xp 00000000 08:02 1207931 /lib/tls/i686/cmov/libc-2.9.so
b70c7000-b70c8000 ---p 0015c000 08:02 1207931 /lib/tls/i686/cmov/libc-2.9.so
b70c8000-b70ca000 r--p 0015c000 08:02 1207931 /lib/tls/i686/cmov/libc-2.9.so
b70ca000-b70cb000 rw-p 0015e000 08:02 1207931 /lib/tls/i686/cmov/libc-2.9.so
b70cb000-b70ce000 rw-p b70cb000 00:00 0
b70ce000-b7ba4000 r--p 00000000 08:02 1012485 /usr/lib/libicudata.so.38.1
b7ba4000-b7ba5000 r--p 00ad5000 08:02 1012485 /usr/lib/libicudata.so.38.1
b7ba5000-b7ba6000 rw-p b7ba5000 00:00 0
b7ba6000-b7cc3000 r-xp 00000000 08:02 1012497 /usr/lib/libicuuc.so.38.1
b7cc3000-b7cc4000 ---p 0011d000 08:02 1012497 /usr/lib/libicuuc.so.38.1
b7cc4000-b7ccc000 r--p 0011d000 08:02 1012497 /usr/lib/libicuuc.so.38.1
b7ccc000-b7ccd000 rw-p 00125000 08:02 1012497 /usr/lib/libicuuc.so.38.1
b7ccd000-b7ccf000 rw-p b7ccd000 00:00 0
b7ccf000-b7cfb000 r-xp 00000000 08:02 1190284 /lib/libreadline.so.5.2
b7cfb000-b7cfc000 ---p 0002c000 08:02 1190284 /lib/libreadline.so.5.2
b7cfc000-b7cfd000 r--p 0002c000 08:02 1190284 /lib/libreadline.so.5.2
b7cfd000-b7d00000 rw-p 0002d000 08:02 1190284 /lib/libreadline.so.5.2
b7d00000-b7d01000 rw-p b7d00000 00:00 0
b7d01000-b7d0a000 r-xp 00000000 08:02 1207935 /lib/tls/i686/cmov/libcrypt-2.9.so
b7d0a000-b7d0b000 r--p 00008000 08:02 1207935 /lib/tls/i686/cmov/libcrypt-2.9.so
b7d0b000-b7d0c000 rw-p 00009000 08:02 1207935 /lib/tls/i686/cmov/libcrypt-2.9.so
b7d0c000-b7d33000 rw-p b7d0c000 00:00 0
b7d33000-b7d48000 r-xp 00000000 08:02 1207957 /lib/tls/i686/cmov/libpthread-2.9.so
b7d48000-b7d49000 r--p 00014000 08:02 1207957 /lib/tls/i686/cmov/libpthread-2.9.so
b7d49000-b7d4a000 rw-p 00015000 08:02 1207957 /lib/tls/i686/cmov/libpthread-2.9.so
b7d4a000-b7d4c000 rw-p b7d4a000 00:00 0
b7d4c000-b7d70000 r-xp 00000000 08:02 1207939 /lib/tls/i686/cmov/libm-2.9.so
b7d70000-b7d71000 r--p 00023000 08:02 1207939 /lib/tls/i686/cmov/libm-2.9.so
b7d71000-b7d72000 rw-p 00024000 08:02 1207939 /lib/tls/i686/cmov/libm-2.9.so
b7d72000-b7d73000 rw-p b7d72000 00:00 0
b7d73000-b7d75000 r-xp 00000000 08:02 1207937 /lib/tls/i686/cmov/libdl-2.9.so
b7d75000-b7d76000 r--p 00001000 08:02 1207937 /lib/tls/i686/cmov/libdl-2.9.so
b7d76000-b7d77000 rw-p 00002000 08:02 1207937 /lib/tls/i686/cmov/libdl-2.9.so
b7d7b000-b7d7f000 r--s 00000000 08:03 1601538 /home/pmichaud/rakudo/parrot/runtime/parrot/library/Getopt/Obj.pbc
b7d7f000-b7d81000 r--s 00000000 08:03 1601536 /home/pmichaud/rakudo/parrot/runtime/parrot/library/dumper.pbc
b7d81000-b7d82000 r--s 00000000 08:03 1601551 /home/pmichaud/rakudo/parrot/runtime/parrot/library/Parrot/Exception.pbc
b7d89000-b80c1000 r-xp 00000000 08:03 1614406 /home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0
b80c1000-b80c7000 r--p 00337000 08:03 1614406 /home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0
b80c7000-b80dd000 rw-p 0033d000 08:03 1614406 /home/pmichaud/rakudo/parrot/blib/lib/libparrot.so.1.2.0
b80dd000-b80df000 rw-p b80dd000 00:00 0
b80df000-b80e0000 r-xp b80df000 00:00 0 [vdso]
b80e0000-b80fc000 r-xp 00000000 08:02 1190183 /lib/ld-2.9.so
b80fc000-b80fd000 r--p 0001b000 08:02 1190183 /lib/ld-2.9.so
b80fd000-b80fe000 rw-p 0001c000 08:02 1190183 /lib/ld-2.9.so
bfbe9000-bfbfe000 rw-p bffeb000 00:00 0 [stack]
Aborted
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment