From: Peter W A W. <pet...@gm...> - 2015-05-05 03:51:17
|
Many thanks Mario. I’ve filed a bug report as you suggested. Regards Peter > On 5 May 2015, at 09:33, Mario Steele <ma...@ru...> wrote: > > Hello Peter, > > The best thing that I can suggest, is to run a Simple Example, like so: > ------------------------------------------------------------------ > require 'gtk3' > > win = Gtk::Window.new > win.signal_connect("destroy") do > Gtk.main_quit > end > > win.title = "Hello World" > win.show_all > Gtk.main > ------------------------------------------------------------------ > > Then when the Program crashes with the segfault, copy everything that Ruby Spews out, the backtrace, ruby stack, all of it, and goto http://github.com/ruby-gnome2/ruby-gnome2 <http://github.com/ruby-gnome2/ruby-gnome2> and file a new Bug with the group there. Also include, what version you are using, if you are using from a gem install, or from a git clone from github. And it may be of interest to try the latest development version from the Git Repository, to see if the issue occurs or not, and go from there. Ruby-Gnome2 is in the process of converting from pure C bindings, to a C Stub for things that Ruby can't handle, and the rest being binded through GObjectIntrospection, and the majority of the work is being done in this tree. > > hth, > > Mario Steele > Ruby Developer > C# Developer > Java Developer > > On Mon, May 4, 2015 at 8:55 PM, Peter W A Wood <pet...@gm... <mailto:pet...@gm...>> wrote: > 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 > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y> > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... <mailto:rub...@li...> > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en <https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en> > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en |