Created
May 31, 2019 15:21
-
-
Save dogbert17/ebfd1ff0ac02c4a86f4f6218f4d9b208 to your computer and use it in GitHub Desktop.
Failed assert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dogbert@dogbert-VirtualBox ~/repos/rakudo $ MVM_JIT_DISABLE=1 ./perl6-gdb-m -Ilib t/spec/S04-phasers/in-loop.rakudo.moar | |
================================================================================================ | |
This is Rakudo Perl 6 running in the debugger, which often allows the user to generate useful back- | |
traces to debug or report issues in Rakudo, the MoarVM backend or the currently running code. | |
This Rakudo version is 2019.03.1.539.g.5.e.79177 built on MoarVM version 2019.05.21.g.9.ed.86.e.4, | |
running on linuxmint (18.3.Sylvia) / linux (42.16.04.1.Ubuntu.SMP.Tue.Oct.10.16.32.20.UTC.2017) | |
Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help. | |
------------------------------------------------------------------------------------------------ | |
Reading symbols from /home/dogbert/repos/rakudo/nqp/MoarVM/../../install/bin/moar...done. | |
Starting program: /home/dogbert/repos/rakudo/install/bin/moar --execname=/home/dogbert/repos/rakudo/perl6-gdb-m --libpath=/home/dogbert/repos/rakudo --libpath=/home/dogbert/repos/rakudo/blib --libpath= --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib /home/dogbert/repos/rakudo/perl6.moarvm --nqp-lib=/home/dogbert/repos/rakudo/blib -Ilib t/spec/S04-phasers/in-loop.rakudo.moar | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7ffff6224700 (LWP 30241)] | |
WARNINGS for /home/dogbert/repos/rakudo/t/spec/S04-phasers/in-loop.rakudo.moar: | |
Useless use of constant integer 42 in sink context (line 166) | |
1..20 | |
not ok 1 - trait blocks work properly in for loop # TODO NEXT/LEAVE ordering RT #124952 | |
# Failed test 'trait blocks work properly in for loop' | |
# at t/spec/S04-phasers/in-loop.rakudo.moar line 37 | |
# expected: '(1 F)(1 E)(1 a)(1 N)(1 Lv)(2 E)(2 a)(2 b)(2 N)(2 Lv)(3 E)(3 a)(3 N)(3 Lv)(4 E)(4 Lv)(4 Lst)' | |
# got: '(1 F)(1 E)(1 a)(1 N)(1 Lv)(2 E)(2 a)(2 b)(2 Lv)(2 N)(3 E)(3 a)(3 N)(3 Lv)(4 E)(4 Lv)(4 Lst)' | |
not ok 2 - trait blocks work properly in for loop # TODO NEXT/LEAVE ordering RT #124952 | |
# Failed test 'trait blocks work properly in for loop' | |
# at t/spec/S04-phasers/in-loop.rakudo.moar line 68 | |
# expected: '(1 F1)(1 F2)(1 E1)(1 E2)(1 a)(1 N2)(1 N1)(1 Lv2)(1 Lv1)(2 E1)(2 E2)(2 a)(2 b)(2 N2)(2 N1)(2 Lv2)(2 Lv1)(3 E1)(3 E2)(3 a)(3 N2)(3 N1)(3 Lv2)(3 Lv1)(4 E1)(4 E2)(4 Lv2)(4 Lv1)(4 Lst2)(4 Lst1)' | |
# got: '(1 F1)(1 F2)(1 E1)(1 E2)(1 a)(1 N2)(1 N1)(1 Lv2)(1 Lv1)(2 E1)(2 E2)(2 a)(2 b)(2 Lv2)(2 Lv1)(2 N2)(2 N1)(3 E1)(3 E2)(3 a)(3 N2)(3 N1)(3 Lv2)(3 Lv1)(4 E1)(4 E2)(4 Lv2)(4 Lv1)(4 Lst1)(4 Lst2)' | |
ok 3 - LAST does not fire for empty loop | |
ok 4 - "last" statement called by LEAVE breaks out of while loop | |
ok 5 - LEAVE in while loop works as expected | |
ok 6 - no UnwindException with "last" and "ENTER" in for loop | |
ok 7 - LAST phaser without block does not put Mu in the iteration variable | |
ok 8 - LAST phaser with block does not put Mu in the iteration variable | |
ok 9 - FIRST in loop works fine with recursion | |
ok 10 - NEXT in loop works fine with recursion | |
ok 11 - LAST in loop works fine with recursion | |
ok 12 - NEXT can see outer $_ | |
ok 13 - LAST can see outer $_ | |
ok 14 - POST should not see outer $_ | |
Use of uninitialized value element of type Any in string context. | |
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful. | |
in block at t/spec/S04-phasers/in-loop.rakudo.moar line 174 | |
not ok 15 - KEEP should not see outer $_ # TODO KEEP should not see outer | |
# Failed test 'KEEP should not see outer $_' | |
# at t/spec/S04-phasers/in-loop.rakudo.moar line 174 | |
moar: src/gc/collect.c:589: MVM_gc_collect_free_nursery_uncopied: Assertion `item->sc_forward_u.forwarder != NULL' failed. | |
Thread 1 "moar" received signal SIGABRT, Aborted. | |
0x00007ffff6f8d428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 | |
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. | |
(gdb) bt | |
#0 0x00007ffff6f8d428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 | |
#1 0x00007ffff6f8f02a in __GI_abort () at abort.c:89 | |
#2 0x00007ffff6f85bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7ffff76e9f00 "item->sc_forward_u.forwarder != NULL", file=file@entry=0x7ffff76e9da1 "src/gc/collect.c", | |
line=line@entry=589, function=function@entry=0x7ffff76e9fc0 <__PRETTY_FUNCTION__.17170> "MVM_gc_collect_free_nursery_uncopied") at assert.c:92 | |
#3 0x00007ffff6f85c82 in __GI___assert_fail (assertion=0x7ffff76e9f00 "item->sc_forward_u.forwarder != NULL", file=0x7ffff76e9da1 "src/gc/collect.c", line=589, | |
function=0x7ffff76e9fc0 <__PRETTY_FUNCTION__.17170> "MVM_gc_collect_free_nursery_uncopied") at assert.c:101 | |
#4 0x00007ffff757572a in MVM_gc_collect_free_nursery_uncopied (executing_thread=0x604a60, tc=0x604a60, limit=0x7ffff6624f90) at src/gc/collect.c:589 | |
#5 0x00007ffff756d6a0 in finish_gc (tc=0x604a60, gen=0 '\000', is_coordinator=1 '\001') at src/gc/orchestrate.c:241 | |
#6 0x00007ffff756dc00 in run_gc (tc=0x604a60, what_to_do=0 '\000') at src/gc/orchestrate.c:418 | |
#7 0x00007ffff756e047 in MVM_gc_enter_from_allocator (tc=0x604a60) at src/gc/orchestrate.c:531 | |
#8 0x00007ffff756e8c3 in MVM_gc_allocate_nursery (tc=0x604a60, size=184) at src/gc/allocation.c:35 | |
#9 0x00007ffff756e6be in MVM_gc_allocate (tc=0x604a60, size=184) at src/gc/allocation.h:18 | |
#10 0x00007ffff756e94c in MVM_gc_allocate_zeroed (tc=0x604a60, size=184) at src/gc/allocation.c:52 | |
#11 0x00007ffff756ebb4 in MVM_gc_allocate_frame (tc=0x604a60) at src/gc/allocation.c:102 | |
#12 0x00007ffff7537ad4 in MVM_frame_move_to_heap (tc=0x604a60, frame=0x7ffff7fb93c8) at src/core/frame.c:634 | |
#13 0x00007ffff75359e1 in MVM_frame_force_to_heap (tc=0x604a60, frame=0x7ffff7fb93c8) at src/core/frame.h:213 | |
#14 0x00007ffff7536749 in allocate_frame (tc=0x604a60, static_frame=0x132fd00, spesh_cand=0x0, heap=1) at src/core/frame.c:250 | |
#15 0x00007ffff753744a in MVM_frame_invoke (tc=0x604a60, static_frame=0x132fd00, callsite=0x7ffff7c9d380 <inv_arg_callsite>, args=0x61a0c0, outer=0x369af48, code_ref=0x1573900, spesh_cand=-1) | |
at src/core/frame.c:518 | |
#16 0x00007ffff75a80f1 in invoke_handler (tc=0x604a60, invokee=0x1573900, callsite=0x7ffff7c9d380 <inv_arg_callsite>, args=0x61a0c0) at src/6model/reprs/MVMCode.c:10 | |
#17 0x00007ffff7505f45 in MVM_interp_run (tc=0x604a60, initial_invoke=0x7ffff7682553 <toplevel_initial_invoke>, invoke_data=0x6a1878) at src/core/interp.c:1048 | |
#18 0x00007ffff76826b8 in MVM_vm_run_file (instance=0x604010, filename=0x7fffffffe233 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:444 | |
#19 0x00000000004016b7 in main (argc=10, argv=0x7fffffffdda8) at src/main.c:302 | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment