curl / Mailing Lists / curl-library / Single Mail

curl-library

Crash while using multi handle

From: surya chandrika via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 9 Apr 2019 23:50:06 +0530

HI Libcurl

I observed below crash issue:

Usecase;
Have configured multiple threads (to divided external interfaces
logically), each has got its own multi handle (each multi handles have
curl easy handles ) which is used to post request to different host.
Initially i had only 2 threads with each having a multi handle initialized-
This was working fine.

Now we introduced a third thread in similar pattern and its getting crashed
with following dump.

#0 0x00007fd5ec69623b in raise () from /lib64/libpthread.so.0
#1 0x00007fd5f1316582 in skgesigOSCrash () from
/usr/lib/oracle/12.2/client64/lib/libclntsh.so.12.1
#2 0x00007fd5f19368a5 in kpeDbgSignalHandler () from
/usr/lib/oracle/12.2/client64/lib/libclntsh.so.12.1
#3 0x00007fd5f13168c0 in skgesig_sigactionHandler () from
/usr/lib/oracle/12.2/client64/lib/libclntsh.so.12.1
#4 <signal handler called>
#5 0x00007fd5ec2fb1d7 in raise () from /lib64/libc.so.6
#6 0x00007fd5ec2fc8c8 in abort () from /lib64/libc.so.6
#7 0x00007fd5ec33af07 in __libc_message () from /lib64/libc.so.6
#8 0x00007fd5ec342503 in _int_free () from /lib64/libc.so.6
#9 0x00007fd5ec345208 in _int_realloc () from /lib64/libc.so.6
#10 0x00007fd5ec346602 in realloc () from /lib64/libc.so.6
#11 0x00007fd5eaf4d274 in OPENSSL_sk_insert () from
/usr/local/openssl/lib/libcrypto.so.1.1
#12 0x00007fd5eae719ea in CONF_module_add () from
/usr/local/openssl/lib/libcrypto.so.1.1
#13 0x00007fd5eae711c9 in OPENSSL_load_builtin_modules () from
/usr/local/openssl/lib/libcrypto.so.1.1
#14 0x00007fd5f33a3e5b in Curl_ossl_init () from /lib64/libcurl.so.4
#15 0x00007fd5f337940b in global_init () from /lib64/libcurl.so.4
#16 0x00007fd5f33796a8 in curl_easy_init () from /lib64/libcurl.so.4
#17 0x00007fd5f3393df0 in Curl_conncache_init () from /lib64/libcurl.so.4
#18 0x00007fd5f337e3d8 in Curl_multi_handle () from /lib64/libcurl.so.4
#19 0x000000000052ab4e in General::CURLxxxxxx::
CURLxxxxxx (this=0x7fd5d85ba150, log_=0x12d5570) at yyyyyy.cc:452

Curl version;

curl 7.43.0 (x86_64-redhat-linux-gnu) libcurl/7.61.0 OpenSSL/1.1.0g
zlib/1.2.7

Also would like to know which is the compatible gnutls version for
libcurl Version: 7.64.0

Thanks,
Surya

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-04-09