Ticket #1003 (closed bug: fixed)

Opened 12 years ago

Last modified 11 years ago

Call an exited coroutine fails since some time

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

Description

In t/pmc/coroutine.t there is a TODO test that is actually failing, and segfaulting at less in some systems.

There is a comment in src/pmc/coroutine.pmc following a fix for avoiding the segfault that I suppose worked sometimes, signed rgr, 7-Oct-06

I have a fix that uses an attribute to mark that the coroutine is yielding, but I'm not sure about what to do with the old fix.

I'm not sure about how to fix the test case. Returning in the last usage is valid, or an exception must be thrown?

I'll commit the fix with references to this ticket in a few minutes.

Change History

Changed 12 years ago by NotFound

Fix committed in r41244.

Changed 11 years ago by jkeenan

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

The fix was committed in Sept 2009 but the ticket was never closed. Doing so now.

Thank you very much.

kid51

Note: See TracTickets for help on using tickets.