I answer from myself:
In my method I’ve opened a connection to Oracle, call a stored
procedure and not closed the cursor
HERE the code:
conn = OCI8.new(“user”, “pass”, “tns_name_entry”)
res = conn.parse(“begin my_stored_procedure
(:in, :out1,:out2,:out3,:out4,:out5,:out6,:out7); end;”)
res.bind_param(‘:in’,“#{@cli}”[3,“#{@cli}”.length],String,32)
res.bind_param(‘:out1’,nil,String,128)
res.bind_param(‘:out2’,nil,String,128)
res.bind_param(‘:out3’,nil,String,128)
res.bind_param(‘:out4’,nil,String,128)
res.bind_param(‘:out5’,nil,String,128)
res.bind_param(‘:out6’,nil,String,128)
res.bind_param(‘:out7’,nil,String,128)
res.exec
res.close # I’ve added this… now it seems work …
conn.logoff
On Dec 29, 2:15 pm, Ro [email protected] wrote:
Anyone knows how to fix that?
[…]
/set.rb:202: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
Aborted
[…]
and server shut down 
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.