Skip navigation.
 
mlRe: Garbage Collection Caveats
FROM : Jacob Portukalian
DATE : Sun Nov 18 08:45:31 2007

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

Related mailsAuthorDate
mlRe: Garbage Collection Caveats Jacob Portukalian Nov 18, 08:45
mlunit testing of GC-required frameworks (was Re: Garbage Collection Caveats) Chris Hanson Nov 18, 19:26