From: Allison N. <dem...@me...> - 2009-05-16 20:40:45
|
Hi everyone, I installed OS X 10.5.7 yesterday, as well as MacRuby 0.4. Since then, whenever I run one of my RubyCocoa apps, I get the following bug: [BUG] object allocation during garbage collection phase ruby 1.8.6 (2008-08-11) [universal-darwin9.0] The application has been stable for over 6 months. Just to be sure, I recovered a version from 3 months ago off TimeMachine, and it still doesn't work, so the bug is definately coming from the environment, not the app. Worse yet, the same bug appears in multiple different places in the app, not just in one particular part of the code, for example during a call to an NSEncoding method, or whilst handling an NSTimer event. Checking the console logs, I now see this appearing all of the time for RubyCocoa apps, when it has never before appeared in the logs: 16/05/09 22:33:20 [0x0-0xa60a6].com.apple.Xcode[2048] Xcode(2048,0xb0103000) malloc: free_garbage: garbage ptr = 0x45d8240, has non-zero refcount = 1 I'll typically see this trace about 50 times during the execution of any RubyCocoa app. Apparently this is a bug in the Ruby interpretor. I don't know which of these installs (10.5.7 or MacRuby) borked my machine, or indeed if it was an interaction beween the two of them, but be aware that you may have this problem before installing either. Alli |