Skip to content

Instantly share code, notes, and snippets.

@perlpilot
Created November 10, 2011 15:15
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 perlpilot/1355083 to your computer and use it in GitHub Desktop.
Save perlpilot/1355083 to your computer and use it in GitHub Desktop.
...
/usr/bin/perl tools/build/gen-cat.pl src/how/Archetypes.pm src/how/RoleToRoleApplier.pm src/how/NQPConcreteRoleHOW.pm src/how/RoleToClassApplier.pm src/how/NQPParametricRoleHOW.pm src/how/NQPClassHOW.pm src/how/NQPNativeHOW.pm src/how/NQPAttribute.pm src/how/NQPModuleHOW.pm src/how/EXPORTHOW.pm > src/stage1/gen/nqp-mo.pm
/usr/local/bin/parrot --library=src/stage0 src/stage0/nqp.pbc \
--target=pir --output=src/stage1/gen/nqp-mo.pir \
--setting=NULL src/stage1/gen/nqp-mo.pm
src/pmc.c:587: failed assertion 'init'
Backtrace - Obtained 23 stack frames (max trace depth is 32).
/usr/local/lib/libparrot.so.3.9.0(+0xd037a) [0x400f337a]
/usr/local/lib/libparrot.so.3.9.0(Parrot_confess+0x9a) [0x400f333a]
/usr/local/lib/libparrot.so.3.9.0(Parrot_pmc_new_init+0x5e) [0x4013beee]
dynext/nqp_ops.so(+0x5520e) [0x41a8e20e]
dynext/nqp_ops.so(+0x56ced) [0x41a8fced]
dynext/nqp_ops.so(+0x560f0) [0x41a8f0f0]
dynext/nqp_ops.so(+0x54c99) [0x41a8dc99]
dynext/nqp_ops.so(Parrot_nqp_dynop_setup+0x143) [0x41a4b4d3]
/usr/local/lib/libparrot.so.3.9.0(+0x11ae07) [0x4013de07]
/usr/local/lib/libparrot.so.3.9.0(+0x11a349) [0x4013d349]
/usr/local/lib/libparrot.so.3.9.0(+0xf2600) [0x40115600]
/usr/local/lib/libparrot.so.3.9.0(Parrot_pcc_invoke_from_sig_object+0x18c) [0x4010ec0c]
/usr/local/lib/libparrot.so.3.9.0(Parrot_ext_call+0x105) [0x400f4255]
/usr/local/lib/libparrot.so.3.9.0(+0x21f4ca) [0x402424ca]
/usr/local/lib/libparrot.so.3.9.0(Parrot_pcc_invoke_from_sig_object+0x13a) [0x4010ebba]
/usr/local/lib/libparrot.so.3.9.0(Parrot_ext_call+0x105) [0x400f4255]
/usr/local/lib/libparrot.so.3.9.0(+0x12124d) [0x4014424d]
/usr/local/lib/libparrot.so.3.9.0(+0x120fee) [0x40143fee]
/usr/local/lib/libparrot.so.3.9.0(Parrot_cx_begin_execution+0x11d) [0x40143f0d]
/usr/local/lib/libparrot.so.3.9.0(Parrot_pf_execute_bytecode_program+0x185) [0x401519b5]
/usr/local/lib/libparrot.so.3.9.0(Parrot_api_run_bytecode+0x120) [0x400edb70]
/usr/local/bin/parrot() [0x8049143]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x403fa113]
Attempting to get PIR backtrace. No guarantees. Here goes...
current instr.: '' pc 230 (src/stage0/NQP-s0.pir:125) (src/stage2/gen/NQP.pm:0)
called from Sub '__PARROT_ENTRY_MAIN__args' pc 322 (frontend/parrot2/prt0.pir:153)
called from Sub '__PARROT_ENTRY_MAIN__' pc 352 (frontend/parrot2/prt0.pir:175)
make: *** [src/stage1/nqpmo.pbc] Aborted
@Benabik
Copy link

Benabik commented Nov 10, 2011

Replicated on OS X with Parrot 7f1fc69 and NQP 4bc5cae:

/usr/local/bin/parrot --library=src/stage0 src/stage0/nqp.pbc \
        --target=pir --output=src/stage1/gen/nqp-mo.pir \
        --setting=NULL src/stage1/gen/nqp-mo.pm
src/pmc.c:587: failed assertion 'init'
Backtrace - Obtained 23 stack frames (max trace depth is 32).
0   libparrot.dylib                     0x0000000108f498cb Parrot_print_backtrace + 59
1   libparrot.dylib                     0x0000000108f49b1e Parrot_confess + 190
2   libparrot.dylib                     0x0000000108facb2b Parrot_pmc_new_init + 107
3   nqp_ops.bundle                      0x0000000109719a7e create_stable + 46
4   nqp_ops.bundle                      0x000000010971c600 type_object_for + 64
5   nqp_ops.bundle                      0x000000010971a6ed SixModelObject_bootstrap_knowhow + 93
6   nqp_ops.bundle                      0x000000010971984e SixModelObject_initialize + 414
7   nqp_ops.bundle                      0x00000001096c8563 Parrot_nqp_dynop_setup + 323
8   libparrot.dylib                     0x0000000108fafb51 runops_fast_core + 193
9   libparrot.dylib                     0x0000000108faedb1 runops_int + 273
10  libparrot.dylib                     0x0000000108f796f5 runops + 517
11  libparrot.dylib                     0x0000000108f6f7ff Parrot_pcc_invoke_from_sig_object + 495
12  libparrot.dylib                     0x0000000108f4c7cf Parrot_ext_call + 607
13  libparrot.dylib                     0x00000001091056ce Parrot_Task_invoke + 382
14  libparrot.dylib                     0x0000000108f6f78f Parrot_pcc_invoke_from_sig_object + 383
15  libparrot.dylib                     0x0000000108f4c7cf Parrot_ext_call + 607
16  libparrot.dylib                     0x0000000108fb8b1b Parrot_cx_next_task + 395
17  libparrot.dylib                     0x0000000108fb8bbb Parrot_cx_outer_runloop + 139
18  libparrot.dylib                     0x0000000108fb8dd3 Parrot_cx_begin_execution + 355
19  libparrot.dylib                     0x0000000108fc98dd Parrot_pf_execute_bytecode_program + 477
20  libparrot.dylib                     0x0000000108f42d14 Parrot_api_run_bytecode + 468
21  parrot                              0x0000000108ec3b82 main + 722
22  parrot                              0x0000000108ec38a4 start + 52
Attempting to get PIR backtrace.  No guarantees.  Here goes...
current instr.: '' pc 230 (src/stage0/NQP-s0.pir:125) (src/stage2/gen/NQP.pm:0)
called from Sub '__PARROT_ENTRY_MAIN__args' pc 322 (frontend/parrot2/prt0.pir:153)
called from Sub '__PARROT_ENTRY_MAIN__' pc 352 (frontend/parrot2/prt0.pir:175)
make: *** [src/stage1/nqpmo.pbc] Abort trap: 6

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