R
Rainer
Hello,
I have a problem trying to get wxruby to work with Ruby 1.9.1 on
Windows xp.
I typed "gem install wxruby"
I tried to run the sample "bigdemo.rb", which had already been working
under Ruby 1.8.6 some time ago.
This is what I get:
wxruby2.so: [BUG] Segmentation fault
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
c:0008 p:-2799958 s:0022 b:0022 l:000021 d:000021 TOP
c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :require
c:0006 p:0011 s:0016 b:0016 l:000015 d:000015 TOP c:/ruby/lib/ruby/
gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/lib/wx.rb:12
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :require
c:0003 p:0026 s:0007 b:0007 l:001f5c d:001088 EVAL bigdemo.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001f5c d:001f5c TOP <main>:352
---------------------------
-- Ruby level backtrace
information-----------------------------------------
c:/ruby/lib/ruby/gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/lib/wx.rb:
12:in `require'
c:/ruby/lib/ruby/gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/lib/wx.rb:
12:in `<top (required)>'
bigdemo.rb:8:in `require'
bigdemo.rb:8:in `<main>'
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
The file "c:/ruby/lib/ruby/gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/
lib/wxruby2.so" is where it should be.
I uninstalled and reinstalled wxWidgets again, using version 2.8.10
from http://wxwidgets.org/downloads/ with the Windows Installer
wxMSW). Again, no cigar.
Does anybody know what's going on here?
Kind regards,
Rainer
I have a problem trying to get wxruby to work with Ruby 1.9.1 on
Windows xp.
I typed "gem install wxruby"
I tried to run the sample "bigdemo.rb", which had already been working
under Ruby 1.8.6 some time ago.
This is what I get:
c:/ruby/lib/ruby/gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/lib/ruby bigdemo.rb
wxruby2.so: [BUG] Segmentation fault
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
c:0008 p:-2799958 s:0022 b:0022 l:000021 d:000021 TOP
c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :require
c:0006 p:0011 s:0016 b:0016 l:000015 d:000015 TOP c:/ruby/lib/ruby/
gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/lib/wx.rb:12
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :require
c:0003 p:0026 s:0007 b:0007 l:001f5c d:001088 EVAL bigdemo.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001f5c d:001f5c TOP <main>:352
---------------------------
-- Ruby level backtrace
information-----------------------------------------
c:/ruby/lib/ruby/gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/lib/wx.rb:
12:in `require'
c:/ruby/lib/ruby/gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/lib/wx.rb:
12:in `<top (required)>'
bigdemo.rb:8:in `require'
bigdemo.rb:8:in `<main>'
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
Exit code: 3
The file "c:/ruby/lib/ruby/gems/1.9.1/gems/wxruby-2.0.0-x86-mswin32-60/
lib/wxruby2.so" is where it should be.
I uninstalled and reinstalled wxWidgets again, using version 2.8.10
from http://wxwidgets.org/downloads/ with the Windows Installer
wxMSW). Again, no cigar.
Does anybody know what's going on here?
Kind regards,
Rainer