FXRuby 1.4.6 works fine except I call FXFileDialog.new.

My enviroment is :
windows 98
cygwin version 2.427
ruby 1.8.1 (2003-12-25)

The program I ran is foxhello-1.4.6.rb :

#require 'rubygems'
#require_gem 'fxruby'
require 'fox14'

include Fox

theApp = FXApp.new

theMainWindow = FXMainWindow.new(theApp, "Hello")
theDialog = FXFileDialog.new(theMainWindow, "filedialog") # this is line 
10

The result is :

$ ruby foxhello-1.4.6.rb
foxhello-1.4.6.rb:10: [BUG] Segmentation fault
ruby 1.8.1 (2003-12-25) [i386-cygwin]


I also run the same program using FXRuby 1.2.6, it works fine.
Is this is a bug of FXRuby 1.4.6?

Best ragards,

uncutstone

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