Ticket #1938 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago

rakudo on parrot RELEASE_2_11_0-777-gef82f5c segfaults on role related tests

Reported by: moritz Owned by:
Priority: normal Milestone:
Component: none Version: 2.11.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

Rakudo on parrot RELEASE_2_11_0-777-gef82f5c fails three files from 'make spectest', and I'm not aware of any Rakudo changes that might have caused it. The issues mentioned in tt#1932 make it quite hard to bisect the problem (at least I haven't been able to).

The test summary is

t/spec/S14-roles/crony.t                                     (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/spec/S14-roles/mixin.rakudo                                (Wstat: 256 Tests: 9 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 23 tests but ran 9.
t/spec/integration/advent2009-day18.rakudo                   (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output

at least the last on is a segfault:

moritz@jacq:~/p6/rakudo>gdb ./perl6
runGNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/moritz/p6/rakudo/perl6...(no debugging symbols found)...done.
(gdb) run  t/spec/integration/advent2009-day18.rakudo
Starting program: /home/moritz/p6/rakudo/perl6 t/spec/integration/advent2009-day18.rakudo
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7a94a69 in do_sub_pragmas () from /home/moritz/p6/rakudo/parrot_install/lib/libparrot.so.2.11.0
(gdb) bt
#0  0x00007ffff7a94a69 in do_sub_pragmas () from /home/moritz/p6/rakudo/parrot_install/lib/libparrot.so.2.11.0
#1  0x00007ffff7a94e1f in PackFile_fixup_subs () from /home/moritz/p6/rakudo/parrot_install/lib/libparrot.so.2.11.0
#2  0x00007ffff7a4e402 in Parrot_api_run_bytecode () from /home/moritz/p6/rakudo/parrot_install/lib/libparrot.so.2.11.0
#3  0x0000000000401199 in main ()
(gdb)

Change History

Changed 11 years ago by moritz

  • status changed from new to closed
  • resolution set to fixed

Turns out the argument checking for named parameters was changed, which caused Rakudo to fail, and to segfault during backtrace generation, or some such.

This is now fixed in Rakudo, so I'm closing this ticket. The segfault still doesn't bode well, but I guess there are more pressing issues right now.

Note: See TracTickets for help on using tickets.