Skip to content

Instantly share code, notes, and snippets.

@hoelzro
Created July 17, 2012 19: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 hoelzro/3131624 to your computer and use it in GitHub Desktop.
Save hoelzro/3131624 to your computer and use it in GitHub Desktop.
use v6;
use DBIish;
my $dbh = DBIish.connect('SQLite', :database</home/rob/.hexe/data.db>);
loop (my $i = 0; $i < 1_000_000; $i++) {
say $i if $i % 1_000 == 0;
}
@hoelzro
Copy link
Author

hoelzro commented Jul 17, 2012

src/gc/gc_gms.c:1155: failed assertion '!PObj_on_free_list_TEST(pmc) || !"Resurrecting of dead objects is not supported"'  
Backtrace - Obtained 30 stack frames (max trace depth is 32).
/lib/libparrot.so.4.5.0(+0x194205) [0x7f0283dfc205]
/lib/libparrot.so.4.5.0(Parrot_confess+0x8a) [0x7f0283dfc1ca]
/lib/libparrot.so.4.5.0(+0x1a2e3f) [0x7f0283e0ae3f]
/lib/libparrot.so.4.5.0(Parrot_gc_mark_PMC_alive_fun+0x5d) [0x7f0283e0180d]
/usr/lib/parrot/4.5.0/dynext/nqp_ops.so(+0x9fddd) [0x7f02800ceddd]
/usr/lib/parrot/4.5.0/dynext/nqp_group.so(+0x1fbff) [0x7f0280555bff]
/lib/libparrot.so.4.5.0(+0x1a2409) [0x7f0283e0a409]
/lib/libparrot.so.4.5.0(+0x1a1b05) [0x7f0283e09b05]
/lib/libparrot.so.4.5.0(+0x1a3628) [0x7f0283e0b628]
/lib/libparrot.so.4.5.0(Parrot_gc_new_pmc_header+0x53) [0x7f0283e01ef3]
/lib/libparrot.so.4.5.0(+0x1e12dc) [0x7f0283e492dc]
/lib/libparrot.so.4.5.0(Parrot_pmc_new+0x117) [0x7f0283e48aa7]
/lib/libparrot.so.4.5.0(Parrot_pcc_reuse_continuation+0x18c) [0x7f0283e215ac]
/lib/libparrot.so.4.5.0(+0x138a05) [0x7f0283da0a05]
/lib/libparrot.so.4.5.0(+0x1e3b89) [0x7f0283e4bb89]
/lib/libparrot.so.4.5.0(+0x1e3032) [0x7f0283e4b032]
/lib/libparrot.so.4.5.0(+0x1b7da1) [0x7f0283e1fda1]
/lib/libparrot.so.4.5.0(Parrot_pcc_invoke_from_sig_object+0x190) [0x7f0283e188f0]
/lib/libparrot.so.4.5.0(Parrot_ext_call+0x188) [0x7f0283dfcdc8]
/lib/libparrot.so.4.5.0(+0x300083) [0x7f0283f68083]
/lib/libparrot.so.4.5.0(Parrot_pcc_invoke_from_sig_object+0x12b) [0x7f0283e1888b]
/lib/libparrot.so.4.5.0(Parrot_ext_call+0x188) [0x7f0283dfcdc8]
/lib/libparrot.so.4.5.0(+0x1ea839) [0x7f0283e52839]
/lib/libparrot.so.4.5.0(+0x1ea5ad) [0x7f0283e525ad]
/lib/libparrot.so.4.5.0(Parrot_cx_begin_execution+0x11c) [0x7f0283e524cc]
/lib/libparrot.so.4.5.0(Parrot_pf_execute_bytecode_program+0x183) [0x7f0283e61243]
/lib/libparrot.so.4.5.0(Parrot_api_run_bytecode+0x1a8) [0x7f0283df4e78]
perl6(main+0x1a6) [0x40128d]
/lib/libc.so.6(__libc_start_main+0xf5) [0x7f02838e5725]
perl6() [0x401019]
Attempting to get PIR backtrace.  No guarantees.  Here goes...
current instr.: '_block1813' pc 150 ((file unknown):110) (test.p6:7)
called from Sub '_block1811' pc 14 ((file unknown):21) (test.p6:1)
called from Sub 'nqp;HLL;Compiler;_block1783' pc 32523 (src/stage2/gen/NQPHLL.pir:13490) (src/stage2/gen/NQPHLL.pm:1243)
called from Sub 'nqp;HLL;Compiler;eval' pc 32343 (src/stage2/gen/NQPHLL.pir:13399) (src/stage2/gen/NQPHLL.pm:1233)
called from Sub 'nqp;HLL;Compiler;evalfiles' pc 35552 (src/stage2/gen/NQPHLL.pir:14970) (src/stage2/gen/NQPHLL.pm:1442)
called from Sub 'nqp;HLL;Compiler;_block1876' pc 33855 (src/stage2/gen/NQPHLL.pir:14181) (src/stage2/gen/NQPHLL.pm:1352)
called from Sub 'nqp;HLL;Compiler;command_eval' pc 33576 (src/stage2/gen/NQPHLL.pir:14056) (src/stage2/gen/NQPHLL.pm:1341)
called from Sub 'nqp;Perl6;Compiler;command_eval' pc 1213 (src/gen/perl6-compiler.pir:486) (src/Perl6/Compiler.nqp:18)
called from Sub 'nqp;HLL;Compiler;command_line' pc 33302 (src/stage2/gen/NQPHLL.pir:13924) (src/stage2/gen/NQPHLL.pm:1328)
called from Sub 'MAIN' pc 1045 (src/gen/perl6.pir:398) (src/main.nqp src/gen/main-version.nqp:41)
called from Sub '_block1000' pc 105 (src/gen/perl6.pir:73) (src/main.nqp src/gen/main-version.nqp:1)
Aborted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment