[wxruby-users] Segmentation Fault.
Christos Vasilakis
lists at ruby-forum.com
Thu Aug 14 17:56:41 EDT 2008
Hi Alex,
Using your recommentation I tried the following:
First I have unistalled the wx-ruby gem
root at casper:/home/cvasilak/wxruby/wxruby2# gem uninstall wxruby
Successfully uninstalled wxruby-1.9.7-x86-linux
<<Take notice that is a fake version number I have previously installed
from the svn trunk, I just used the same version number of the release
to keep the "rake gem" happy. This is not the official release and *no*
previous instances of the wxruby is installed in the system.>>
Then I tried to:
root at casper:/home/cvasilak/wxruby/wxruby2# ruby
/home/cvasilak/helloworld.rb
/home/cvasilak/helloworld.rb:1:in `require': no such file to load -- wx
(LoadError)
from /home/cvasilak/helloworld.rb:1
Which is OK since the wxruby library is not installed in the system.
Then I tried to:
root at casper:/home/cvasilak/wxruby/wxruby2# ruby -I lib/
/home/cvasilak/helloworld.rb
/home/cvasilak/helloworld.rb:4: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i486-linux]
Aborted
I tried the second example but this time I get a window but upon exit I
receive the segmentation fault.
That's really weird because as you say I use the same configuration as
yours(Ubuntu 8.04, 2.8.7 wxwidgets etc). I don't know if it helps but
the only thing that I manually installed as far as ruby is concerned is
the rubygem ver 1.2.0 because the rubygem package that comes with ubuntu
is quite old(0.9.4)
Here is a list of gems installed in the system
root at casper:/home/cvasilak/wxruby/wxruby2# gem list --local
*** LOCAL GEMS ***
hoe (1.7.0) (dependencies)
rake (0.8.1) (dependencies)
ruby-pg (0.7.9.2008.01.28) (for postgresql access)
rubyforge (1.0.0) (dependencies)
RubyRRDtool (0.6.0) (for statistics using RRD technology)
Let me know if you need more information.
Christos
PS Tomorrow is a public holiday here in Greece and I would be out of
office and home (I will be in my father's village with no net access) so
If I don't answer you immediately, bear with me, I would be back on
Saturday.
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list