httprequest fails with segmentation fault on OS X 10.6

N

Nava Carmon

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,965
Messages
2,570,148
Members
46,710
Latest member
FredricRen

Latest Threads

Top