Crash when typing <tab> in irb

Hi! I'm running Ruby 1.8.2 on WindowsXP Pro SP2.
I fired up 'irb' and require a module I created with SWIG.
I then type the name of my class and a tab character to see
what kind of methods are available for it, and I get the
following:

···

=================================================================
irb(main):001:0> load 'Contract.rb'
RubyBarChart Module V0.01 ...
=> true
irb(main):002:0> RubyBarChart::c:/ruby/lib/ruby/1.8/irb/input-method.rb:97: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Have I done something wrong with my module? Maybe I need to provide
some kind of reflection method in it?

Thanks!
-- Glenn

Glenn M. Lewis wrote:

I fired up 'irb' and require a module I created with SWIG.
I then type the name of my class and a tab character to see
what kind of methods are available for it, and I get the
following:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

This is because of readline which is known to be odd on win32. It's a good idea to turn readline support off, but when I did that it involved deleting DLLs from the Ruby directory and removing lines of code from other files. I hope it has become easier and someone is able to tell...

Hi,

Which version of rubyinstaller are you using.
I remember this readline problem was fixed since rubyinstaller 1.8.2-15.
http://rubyforge.org/projects/rubyinstaller/

HTH,

···

On 9/16/05, Glenn M. Lewis <noSpam@nospam.com> wrote:

Hi! I'm running Ruby 1.8.2 on WindowsXP Pro SP2.
I fired up 'irb' and require a module I created with SWIG.
I then type the name of my class and a tab character to see
what kind of methods are available for it, and I get the
following:

=================================================================
irb(main):001:0> load 'Contract.rb'
RubyBarChart Module V0.01 ...
=> true
irb(main):002:0> RubyBarChart::c:/ruby/lib/ruby/1.8/irb/input-method.rb:97: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Have I done something wrong with my module? Maybe I need to provide
some kind of reflection method in it?

Thanks!
-- Glenn

--
http://nohmad.sub-port.net