From: Peter W A W. <pet...@gm...> - 2015-05-05 00:55:56
|
I’m looking into using Ruby and gtk+3 on Raspberry Pi to see if it can be used by children as young as 7 or 8. First, I need to become familiar with Ruby/gtk3. I’m hoping to do that on my laptop which runs under OS X Yosemite. I’ve installed X-Windows, gtk+3 and the gtk3 Ruby Gem. Whenever, I run a Ruby script using gtk3, I get this warning message: 2015-05-04 11:05:36.967 ruby[32956:4463982] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. The short sample scripts that I have then work as expected but whenever, I close a gtk3 window, I get segmentation fault: [BUG] pthread_mutex_unlock: Invalid argument (EINVAL) ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14] ... [BUG] Segmentation fault at 0x00000000000030 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14] I’d appreciate any guidance in how to overcome these issues. Thanks in advance. Peter |