Ticket #1003 (closed bug: fixed)
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
Note: See
TracTickets for help on using
tickets.