Ticket #1498 (closed bug: fixed)

Opened 12 years ago

Last modified 12 years ago

gc_inf core breaks build.

Reported by: coke Owned by:
Priority: normal Milestone:
Component: GC Version: 2.1.1
Severity: low Keywords:
Cc: Language:
Patch status: Platform:

Description

Apply this patch:

$ svn diff
Index: include/parrot/settings.h
===================================================================
--- include/parrot/settings.h   (revision 44660)
+++ include/parrot/settings.h   (working copy)
@@ -38,7 +38,7 @@
  * MS  -- stop-the-world mark & sweep
  * INF -- infinite memory "collector"
  */
-#define PARROT_GC_DEFAULT_TYPE MS
+#define PARROT_GC_DEFAULT_TYPE INF

 /*
  * JIT/i386 can use the CGP run core for external functions instead

as directed to enable gc_inf, and the build dies with:

./miniparrot config_lib.pasm > runtime/parrot/include/config.fpmc
src/gc/api.c:278: failed assertion 'interp->gc_sys->finalize_gc_system'
Backtrace - Obtained 7 stack frames (max trace depth is 32).
/home/coke/sandbox/parrot/blib/lib/libparrot.so.2.1.0 [0x400ea712]
/home/coke/sandbox/parrot/blib/lib/libparrot.so.2.1.0(Parrot_confess+0x9a) [0x400ea87a]
/home/coke/sandbox/parrot/blib/lib/libparrot.so.2.1.0 [0x400f755d]
/home/coke/sandbox/parrot/blib/lib/libparrot.so.2.1.0(initialize_interpreter+0x78) [0x4010bfd8]
./miniparrot [0x8049aec]
/lib/i686/nosegneg/libc.so.6(__libc_start_main+0xe5) [0x40e40b55]
./miniparrot [0x8048f11]
/bin/sh: line 1:  8341 Aborted                 (core dumped) ./miniparrot config_lib.pasm > runtime/parrot/include/config.fpmc
make: *** [runtime/parrot/include/config.fpmc] Error 134

We need to make sure that this code is fixed, and tested as part of fulltest, or we need to remove it.

Change History

Changed 12 years ago by bacek

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

Fixed in r45206-7.

Note: See TracTickets for help on using tickets.