• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Garbage Collection Caveats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage Collection Caveats


  • Subject: Re: Garbage Collection Caveats
  • From: Jacob Portukalian <email@hidden>
  • Date: Sat, 17 Nov 2007 23:45:31 -0800

Target OS: Leopard (10.5.1)
IDE: Xcode 3.0
Language: Objective-C 2.0

Project: a multi-player blackjack game

Problem: When I am testing the shoe/deck/card classes with a unit test bundle and I build it with the Garbage Collection Supported option, my test builds perfectly. When I use the Garbage Collection Required option my script fails with the following message:


Test rig '/Developer/Tools/otest' exited abnormally with code 5 (it may have crashed).


Any ideas on why it would do this or what to look for? I suspect that it has something to do with a couple hundred card objects being generated and then the garbage collector getting ahold of them before I'm done with them, but I have no idea how to verify this theory or test it out.

Thanks!

Jacob Portukalian
Student: Math / Electrical Engineering
Pasadena City College
Pasadena, CA 91106
(626) 679 - 5421

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • unit testing of GC-required frameworks (was Re: Garbage Collection Caveats)
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Including <Agl/agl.h> ...
  • Next by Date: CATextLayer and CAConstraint
  • Previous by thread: Re: Including <Agl/agl.h> ...
  • Next by thread: unit testing of GC-required frameworks (was Re: Garbage Collection Caveats)
  • Index(es):
    • Date
    • Thread