[wxruby-users] Segmentation Fault.

Christos Vasilakis lists at ruby-forum.com
Thu Aug 14 14:02:38 EDT 2008


Hi Alex and thank you for your replay.

All tests run on a clean ubuntu install with no previous wxruby 
instances(I had to reformat my hard drive some days ago)

Here is what I did:

I download the svn version of wxruby as described in the wiki:

http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource

cvasilak at casper:~$ svn co 
svn://rubyforge.org/var/svn/wxruby/trunk/wxruby2
...
...
Checked out revision 1751.

cvasilak at casper:~$ sudo rake
...
cvasilak at casper:~$ sudo rake gem WXRUBY_VERSION=1.9.7 (just to make it 
work, I didn't know what to supply as the wiki unfortunately doesn't 
specify what, ignore the version tag for now)
...
cvasilak at casper:~$ sudo gem install wxruby-1.9.7-x86-linux.gem

<installed succesfully in 
/usr/lib/ruby/gems/1.8/gems/wxruby-1.9.7-x86-linux/>

Tried to run the hello world found here:

http://wxruby.rubyforge.org/wiki/wiki.pl?Hello_World

cvasilak at casper:/home/cvasilak# ruby helloworld.rb
helloworld.rb:4: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i486-linux]

Aborted

The window doesn't even pop up I immediately get a segmentation fault.

I tried to run the other example mainly
http://wxruby.rubyforge.org/wiki/wiki.pl?Using_Dialogs_To_Talk_To_Users

Although it runs fine when I close the window I get

cvasilak at casper:/home/cvasilak# ruby okcancel.rb
okcancel.rb:36: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i486-linux]

Aborted

I tried to run the minimal example found in the samples directory of the 
wxruby but I get the same segmentation fault when I exit.

Some details:

cvasilak at casper:/home/cvasilak# ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]

cvasilak at casper:/home/cvasilak# gem -v
1.2.0

libwxbase2.8-0 2.8.7.1-0ubuntu-3 (default by repository)
libwxgtk2.8-0 2.8.7.1-0ubuntu-3 (default by repository)


Let me know of any tests you want me to run.

Regards,
Christos














-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list