cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_easy_perform() crash

From: <as2k1_at_newmail.ru>
Date: Thu, 12 Apr 2007 20:50:54 +0400

Hi all and sorry for my poor english.

My program (named "payguide") uses libcurl. It crashes sometimes on curl_easy_perform() call.
My program uses shared objects and threads (a lot - more than 100).

I use CURLOPT_TIMEOUT and CURLOPT_NOSIGNAL.

I need to know, if it's an error in my program or in libcurl.
Curl version is 7.15.1.

Backtrace:

./payguide(_Z14signal_handleri+0xf3)[0x804ca5f]
[0xb7f5a420]
/lib/libc.so.6(__libc_free+0x49)[0xb7a50299]
/usr/lib/libcrypto.so.0.9.8(CRYPTO_free+0x2d)[0xb7c302fd]
/usr/lib/libcrypto.so.0.9.8(ERR_clear_error+0x72)[0xb7c97382]
/usr/lib/libssl.so.0.9.8(ssl23_connect+0x56)[0xb7d48726]
/usr/lib/libssl.so.0.9.8(SSL_connect+0x2a)[0xb7d5512a]
/usr/lib/libcurl.so.3(Curl_ossl_connect+0x57c)[0xb799b0bc]
/usr/lib/libcurl.so.3(Curl_ssl_connect+0x31)[0xb79a9961]
/usr/lib/libcurl.so.3(Curl_http_connect+0xae)[0xb798cffe]
/usr/lib/libcurl.so.3(Curl_protocol_connect+0xd0)[0xb7996650]
/usr/lib/libcurl.so.3[0xb79968cf]
/usr/lib/libcurl.so.3(Curl_connect+0x7e)[0xb7996ece]
/usr/lib/libcurl.so.3[0xb79a2d99]
/usr/lib/libcurl.so.3(Curl_perform+0x56)[0xb79a3026]
/usr/lib/libcurl.so.3(curl_easy_perform+0x41)[0xb79a37d1]
/raid/server/payguide/modules/paysys/libcyberplat.so(_Z19SendDataToCyberPlatPcP14cyberplat_initP4SPayiP19cyberplat_prim_init+0x2a7)[0xb79bd281]
/raid/server/payguide/modules/paysys/libcyberplat.so(SendData+0x27e)[0xb79bd6bc]
./payguide[0x804dc2c]
./payguide(_Z6WorkExPv+0x228)[0x80529d2]
/lib/libpthread.so.0[0xb7f46604]
/lib/libc.so.6(__clone+0x5e)[0xb7aa885e]
Received on 2007-04-12