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
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
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