This patch should also be applied, or initialize_core_pmcs will fault with
PARROT_GC_DEBUG set.

diff -u -r1.52 embed.c
--- embed.c     21 Dec 2002 10:07:34 -0000      1.52
+++ embed.c     21 Dec 2002 21:34:32 -0000
@@ -32,6 +32,8 @@
         we set up our own in embed.c:Parrot_runcode()?
 */
 {
+    if (stacktop)
+        interpreter->lo_var_ptr = stacktop;
     static INTVAL world_inited = 0;
     if (!world_inited) {
         /* global_setup.c:init_world sets up some vtable stuff.
@@ -43,8 +45,6 @@
     }
     else
         Parrot_initialize_core_pmcs(interpreter);
-    if (stacktop)
-        interpreter->lo_var_ptr = stacktop;
 }

 void


-- 
Jason

Reply via email to