Ticket #1907 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago

Behavior of "exit" opcode changed since 2.11.0

Reported by: coke Owned by: whiteknight
Priority: critical Milestone: 3.0
Component: core Version: master
Severity: high Keywords:
Cc: Language: perl6
Patch status: applied Platform: all

Description

This code:

.sub main :main
  exit 3
.end

until recently exited with no output. Recent versions of parrot carp about the line number the error occurred on.

After a incredibly painful bisect (due to the number of commits which resulted in a broken build), I narrowed it down to:

$ git bisect skip
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
2483c6885910577821531e8da67f2f0c00f26775
6e591fa60048bfaae0d9cbc70176a69afcaec3fd
9d84c875231122af41405c44ea44a9a21f1c157a
We cannot bisect more!

This change breaks a rakudo spectest.

Change History

Changed 11 years ago by coke

  • summary changed from Behavior of "exit" opcode changed since 2.11.1 to Behavior of "exit" opcode changed since 2.11.0

Changed 11 years ago by whiteknight

  • owner set to whiteknight

That bug is obnoxious, I thought that exit conditions were sufficiently exercised in our test suite to catch these kinds of things. The first commit you list is the likely culprit. I'll try to fix this one ASAP.

Changed 11 years ago by whiteknight

  • status changed from new to assigned
  • severity changed from medium to high
  • component changed from none to core
  • patch set to applied
  • priority changed from normal to critical
  • platform set to all
  • milestone set to 3.0

This should be fixed, with tests, in b3af8c9. Can somebody use this version to see if it fixes Rakudo's problems? We can close this ticket when we have passing tests in Rakudo.

Changed 11 years ago by whiteknight

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

This issue is fixed.

Note: See TracTickets for help on using tickets.