I have submitted a message about invalid char before. After unable to solve the issue, I have installed a new SDK 3.5 and now I get a new error. From dos I get "sql_code: -23101" error but under cygwin, the error is more descriptive.
In my code, I just call
Informix.connect('dbname@central','uid','password')
Here is the error:
/usr/local/lib/ruby/gems/1.9.0/gems/ruby-informix-0.7.1-x86-mswin32/lib/informix
c.so: [BUG] Segmentation fault
ruby 1.9.0 (2008-03-01 revision 15664) [i386-cygwin]
-- control frame ----------
c:0008 p:-67315550 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:0009 s:0016 b:0016 l:000015 d:000015 TOP /usr/local/lib/ruby/gems/1.
9.0/gems/ruby-informix-0.7.1-x86-mswin32/lib/informix.rb:30
c:0005 p:---- s:0014 b:0014 l:000013 d:000013 FINISH :set_encoding
c:0004 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC :require
c:0003 p:0019 s:0008 b:0008 l:000007 d:000007 TOP example_informix.rb:2
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP <dummy toplevel>:19
---------------------------
DBG> : "/usr/local/lib/ruby/gems/1.9.0/gems/ruby-informix-0.7.1-x86-mswin32/lib/
informix.rb:30:in `require'"
DBG> : "/usr/local/lib/ruby/gems/1.9.0/gems/ruby-informix-0.7.1-x86-mswin32/lib/
informix.rb:30:in `<top (required)>'"
DBG> : "example_informix.rb:2:in `require'"
DBG> : "example_informix.rb:2:in `<main>'"
Thanks,
|