Hi gurus and nubys,

Actually I don't have a clue on why this happens, but it seem it is 
related to readline.

The segfaults happens whith an input like:
Something::SomethingElse.foo
when written like this:
Somet<tab>::Something<tab>.fo<tab><enter>

example (obviously you won't see the tabs but they're there :)

C:\Documents and Settings\gabriele\Desktop>irb --simple-prompt
 >> require 'active_record'
=> true
 >> ActiveRecord::Base.table_name
c:/programmi/ruby/lib/ruby/1.8/irb/input-method.rb:99: [BUG] 
Segmentation fault
ruby 1.8.2 (2004-07-29) [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.

C:\Documents and Settings\gabriele\Desktop>irb --simple-prompt
 >> Object::Kernel.require # written by hand
ArgumentError: wrong number of arguments (0 for 1)
         from (irb):1:in `require'
         from (irb):1
 >> Object::Kernel.require
c:/programmi/ruby/lib/ruby/1.8/irb/input-method.rb:97: [BUG] 
Segmentation fault
ruby 1.8.2 (2004-07-29) [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.


running on win xp pro