cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl 7.21.0

From: Alona Rossen <arossen_at_opentext.com>
Date: Wed, 2 Apr 2014 15:56:00 +0000

Hello All,

Our application crashes in libcurl with the following stack:

Segmentation fault in addbyter at 0x22f8a1b8 ($t2)
0x22f8a1b8 (addbyter+0x18) 98650000 stb r3,0x0(r5)
(dbx) where
addbyter() at 0x22f8a1b8
dprintf_formatf() at 0x22f8a2b4
curl_mvsnprintf() at 0x22f8bc24
Curl_failf() at 0x22f8d2cc
(dbx)

We do set NOSIGNALS option and we do use SSL library's mutex callbacks.
However, we do not explicitely clear CRYPTO mutexes, since our application misses code similar to the following:

static void kill_locks(void)
{
int i;
CRYPTO_set_locking_callback(NULL);
for (i=0; i<CRYPTO_num_locks(); i++)
pthread_mutex_destroy(&(lockarray[i]));
OPENSSL_free(lockarray);
}

Please advise.

Thank you,
Alona

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-02