cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: application crashing when left idle

From: Smitha Rajan <smitharajan_at_tataelxsi.co.in>
Date: Thu, 6 May 2010 14:15:36 +0530

should we implement the locking mechanism in the code of my application or compiling openSSL with --enable-threads is enough??

-----Original Message-----
From: Kamil Dudka [mailto:kdudka_at_redhat.com]
Sent: Thu 5/6/2010 1:28 PM
To: Smitha Rajan
Cc: curl-users_at_cool.haxx.se
Subject: Re: application crashing when left idle
 
On Wednesday 05 of May 2010 08:02:59 Smitha Rajan wrote:
> 8 libcurl.4.dylib 0x00795991 ossl_connect_common + 209
> 9 libcurl.4.dylib 0x00796a4d Curl_ossl_connect + 29
> 10 libcurl.4.dylib 0x007a8985 Curl_ssl_connect + 53
> 11 libcurl.4.dylib 0x00785f25 Curl_http_connect + 165
> 12 libcurl.4.dylib 0x0078f4bb Curl_protocol_connect + 107
> 13 libcurl.4.dylib 0x00791c0f setup_conn + 687
> 14 libcurl.4.dylib 0x00791d4e Curl_connect + 110
> 15 libcurl.4.dylib 0x0079e639 Curl_perform + 153
> 16 com.polycom.CMADesktop 0x003f430f 0x1000 + 4141839
> 17 com.polycom.CMADesktop 0x003f4fd1 0x1000 + 4145105
> 18 com.polycom.CMADesktop 0x003efeb2 0x1000 + 4124338
> 19 com.apple.CoreFoundation 0x91396aad __invoking___ + 29
> 20 com.apple.CoreFoundation 0x91396a18 -[NSInvocation invoke] + 136
> 21 com.polycom.CMADesktop 0x003ee6b6 0x1000 + 4118198
> 22 com.apple.Foundation 0x95c0ade5 __NSThreadPerformPerform +
> 506 23 com.apple.CoreFoundation 0x9135c15b __CFRunLoopDoSources0 +
> 1563 24 com.apple.CoreFoundation 0x91359c1f __CFRunLoopRun + 1071 25
> com.apple.CoreFoundation 0x913590f4 CFRunLoopRunSpecific + 452 26
> com.apple.CoreFoundation 0x91358f21 CFRunLoopRunInMode + 97 27
> com.polycom.CMADesktop 0x003ef8e8 0x1000 + 4122856
> 28 com.apple.Foundation 0x95bf48dc -[NSThread main] + 45
> 29 com.apple.Foundation 0x95bf488c __NSThread__main__ + 1499
> 30 libSystem.B.dylib 0x94755a19 _pthread_start + 345
> 31 libSystem.B.dylib 0x9475589e thread_start + 34
>
> Can anybody please help me to resolve this crash??? Or is this crash
> already addressed??

Have you installed any locking function(s)?

http://curl.haxx.se/docs/faq.html#Is_libcurl_thread_safe

Note this question is more appropriate for curl-library_at_cool.haxx.se .

Kamil

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-06