Will Coleda <[EMAIL PROTECTED]> wrote:
> #3  0x001a8c6c in Parrot_Continuation_mark (interpreter=0x923400,
> pmc=0x984588) at continuation.c:53

Seems to be dead context.

Does this help?


--- parrot/classes/continuation.pmc     Mon Mar 22 13:38:09 2004
+++ parrot-leo/classes/continuation.pmc Fri Mar 26 21:04:51 2004
@@ -52,8 +52,10 @@
 */

     void mark () {
+#if 0
         struct Parrot_Sub * cc = (struct Parrot_Sub*)PMC_sub(SELF);
         mark_context(INTERP, &cc->ctx);
+#endif
     }

 /*
--- parrot/classes/coroutine.pmc        Wed Mar 24 18:02:16 2004
+++ parrot-leo/classes/coroutine.pmc    Fri Mar 26 21:08:45 2004
@@ -74,7 +74,7 @@
         struct Parrot_Coroutine *c = (struct Parrot_Coroutine *)PMC_sub(SELF);
         mark_stack(INTERP, c->co_control_stack);
         /* mark_stack(INTERP, c->co_pad_stack); */
-        SUPER();    /* mark rest */
+        mark_context(INTERP, &c->ctx);
     }
 }

Reply via email to