From: Jonathan P. <jp...@dc...> - 2005-09-16 22:35:38
|
On 16 Sep 2005, at 23:16, Dave Howell wrote: > So the packaged installer turns out to install powerpc-darwin7.8.0 > instead of the 7.9.0 I'd been getting from source. On the other > hand, it actually worked. That's the good news. > > The bad news is, if I tab rapidly through an outline view in my > program, or I think just use it beyond a certain point, I still get > an unexpected abort: > > /Users/snarke/Personal/Programming/My Programs/My Ruby Programs/2Du/ > build/2Du.app/Contents/Resources/ProjectInterface.rb:88: [BUG] > Segmentation fault > ruby 1.8.2 (2004-12-25) [powerpc-darwin7.8.0] The 'powerpc-darwin*' bit from the version is a direct result of the version of Mac OS X that was used to build the software - it's not an indicator of software version. (7.8.0 is OSX 10.3.8, 7.9.0 is 10.3.9, etc). The crash you're seeing could be a result of a bug in your ruby code that does things with Objective C/Cocoa. As a result, you'll need to try the same debugging techniques that would be needed with a plain Cocoa application. Try running it under the debugger from Xcode and you should be able to see where the particular crash is occurring. Another possibility is that the crash is a result of normal ruby exception being thrown, which the Objective C runtime doesn't know how to deal with it. The CVS version of RubyCocoa has support for handling these correctly. |