Httprequest fails with segmentation fault on OS X 10.6

Hello,

Our application sends requests to a server using httpclient 2.1.5.1,
which uses webrick's httprequest.
Sometimes it fails on segmentation fault:
10/5/09 6:02:29 PM [0x0-0x3ab3ab].com.myapp.gateway.MyApp[13365]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httprequest.rb:148:
[BUG] Segmentation fault

My question is what can be a cause of such a fault? May be I should
catch some kind of connection exception to prevent a crash at least?
This haven't happened on Leopard with Ruby 1.8.6. Snow Leopard has Ruby
1.8.7 integrated. My app is built with RubyCocoa 0.13.2, which is
integrated in 10.6 either.

Any advice or direction will be appreciated, since i'm really new to
ruby.

ยทยทยท

--
Posted via http://www.ruby-forum.com/.