# Help with WebBrick

**URL:** <https://www.ruby-forum.com/t/help-with-webbrick/180801>\
**Category:** Rails\
**Created:** [December 29, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/help-with-webbrick/180801 "2009-12-29T14:20:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoRoRo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@RoRoRo](https://www.ruby-forum.com/u/RoRoRo)\
**Post date:** [December 29, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/help-with-webbrick/180801/1 "2009-12-29T14:20:01Z")

</div>

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 removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

---

<div class="post-metadata">

**Author:** ![RoRoRo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@RoRoRo](https://www.ruby-forum.com/u/RoRoRo)\
**Post date:** [December 29, 2009, 3:08pm UTC](https://www.ruby-forum.com/t/help-with-webbrick/180801/2 "2009-12-29T15:08:01Z")

</div>

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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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 removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).
