kubo / ruby-oci8

Ruby-oci8 - Oracle interface for ruby
Other
169 stars 75 forks source link

ruby-oci8 2.1.2 gets Segmentation fault at oracle_enhanced_oci_connection.rb:240 #22

Closed yahonda closed 11 years ago

yahonda commented 12 years ago

Tested with Oracle enhanced adapter rails4 branch and ruby-oci8 2.1.2. Got Segmentation fault.

active_record/connection_adapters/oracle_enhanced_oci_connection.rb:240: [BUG] Segmentation fault
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

You can see full stack trace https://gist.github.com/3996085

$ ruby -v
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]
$ uname -r
2.6.39-300.17.1.el6uek.x86_64

- Oracle Database 11g 11.2.0.3.0 + PSU 11.2.0.3.4 (14275605) x86-64

It does not reproduce when tested with the latest master branch at github. I'm thinking it is dup of #20. But not sure.

agarbutt commented 11 years ago

Yes, i me at least, this looks exactly like the issue I have been seeing.

kubo commented 11 years ago

IMO, it is probably same issue with #20 because it got SEGV in OCILobRead_nb. If you get same issue with ruby-oci8 2.1.3, report it again.

yahonda commented 11 years ago

Thanks for the info and release 2.1.3. It works good. I'll report if happens.