Michael Delaporta
mdela****@gmail*****
Mon Feb 12 23:12:45 JST 2007
I'm working on a cocoa-ruby app and am running into an issue. I'm adding an NSProgressIndicator to a custom view, and it's causing the program to crash when the progress indicator is animating. I'm getting "Exception stack level too deep raised during heart beat. Ignoring....", then eventually "Test1.app/Contents/Resources/rb_main.rb:22: [BUG] cross-thread violation on rb_gc()". I was able to isolate the problem in the little test application attached. There's a line that calls NSProgressIndicator.setDoubleValue(). With that line commented out, the app works fine. When active, the line causes the progress indicator to start animating, and a few seconds later the app crashes. I was able to reproduce this with the 0.10 build and the latest unstable svn build (1547). I'm just learning both Ruby and Cocoa, so I apologize in advance if I've made a newbie error. If there's a more appropriate list to post this question, please let me know. Thanks. -Michael- -------------- next part -------------- A non-text attachment was scrubbed... Name: Test1.zip Type: application/zip Size: 20984 bytes Desc: not available Url : http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/attachments/20070212/0ae0117c/attachment.zip