Closed yahonda closed 12 years ago
It seems to be issue with ruby-oci8 version 2.1.0, I reported the issue there https://github.com/kubo/ruby-oci8/issues/11
In the meantime changed this test to pending status if ruby-oci8 2.1.0 is used.
Thanks for the info and actions. I'll see the issue#11 at ruby-oci8.
Since ruby-oci8 2.1.1 has been released this error should have fixed however, got an following internal heap errors every time (3 of 3) I tested.
[1.9.3@rubyplsql] yahonda@myoel5 ~/work/ruby-plsql (function_with_cursor_parameter_with_ruby-oci8_211)
$ /home/yahonda/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -S rspec ./spec/plsql/procedure_spec.rb
........................................................................................................................link mismatch chunk 0x9466520 nchk 0x9466544 size 36
***** Internal heap ERROR kghfrmrg:nxt addr=0x9466544 ds=0x9466a14 *****
***** Dump of memory around addr 0x9466544:
Here is my environment.
Ruby 1.9.3-p194 Oracle 10.2.0.5(x86 32-bit) Oracle Linux 5.8
Here is the full output.
ruby-oci 2.1.2 resolves this issue.
$ /home/yahonda/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -S rspec ./spec/plsql/procedure_spec.rb
......................................................................................................................................
Finished in 15.45 seconds
134 examples, 0 failures
Always got a segmentation fault when "should execute function with cursor parameter and return record" executed.
Actually, I'm not sure how to find the cause of this segmentation fault yet.