Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #43 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

Add Turn On GC, Dummy, message to assertion in function ruby_xmalloc, file gc.c, line 296

Reported by: pierce@… Owned by: lsansonetti@…
Priority: minor Milestone: MacRuby 0.2
Component: MacRuby Keywords:
Cc:

Description

[Session started at 2008-03-31 09:46:42 -0700.] Assertion failed: (auto_zone != NULL), function ruby_xmalloc, file gc.c, line 296.

The Debugger has exited due to signal 6 (SIGABRT).The Debugger has exited due to signal 6 (SIGABRT).

I'm guessing, but I bet that I have to turn GC on, because it has to be OFF for RubyCocoa, but ON for MacRuby. Someone should put a useful message on that assertion like "Hey dummy, turn on GC".

Change History

Changed 8 months ago by lsansonetti@…

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

Fixed in r183/trunk.

The following message is now printed in this case:

The client that links against MacRuby was not built for GC. Please turn on garbage collection (-fobjc-gc) and try again.
Note: See TracTickets for help on using tickets.