[wxruby-users] wxRuby segfault on exit

Lucas Levin lucaslevin at gmail.com
Tue Apr 22 02:27:08 EDT 2008


On reflection, that probably wasn't anywhere near enough info.

> Please say which platform you're on, and what version you're using. And 
> could you show us some simple, complete code that demonstrates the 
> error, or at least indicate which sample(s) you're talking about?
I'm running GNOME version 2.22.1 on Ubuntu 8.04 release candidate (it is
possible this is the problem, I'll use a livecd later to check on an
earlier ubuntu). I'm using the gem retrieved using 'gem install wxruby',
which is 1.9.5.

As for some code none of the samples I tried worked. Here is nothing.rb
(minus comments):
begin
  require 'rubygems' 
rescue LoadError
end
require 'wx'
Wx::App.run do 
  frame = Wx::Frame.new(nil, :title => "Minimal wxRuby App")
  frame.show
end

Gives this:
minimal/nothing.rb:13: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i486-linux]

Aborted

> Again, can you give us a clue about what symbol was missing? And what 
> wxWidgets you are building against?
I'm using 2.8.7.1, BUT I also have version 2.6.3.2 runtime installed for VLC.
I don't have the i18n package or the wx-common package installed.
As the the missing symbol, I don't know right now but I'll get back to you.
If it is of any significance, during installation it said the PrinterDC component would be skipped for some reason.

Thanks,
Lucas



More information about the wxruby-users mailing list