curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: multi threaded curl segmentation fault

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 18 Jun 2019 13:18:01 +0200 (CEST)

On Tue, 18 Jun 2019, Siarhei Siniak via curl-library wrote:

> I'm experiencing a rare segmentation fault within libcurl method.
> A stack trace is as follows:
> #0  0x00007f6f80308b98 in getrn () at lib.so
> #1  0x00007f6f80308ffd in lh_delete () at lib.so
> #2  0x00007f6f8030a0b1 in int_thread_del_item () at lib.so
> #3  0x00007f6f8030b130 in ERR_remove_thread_state () at lib.so
> #4  0x00007f6f80288876 in Curl_close () at lib.so
> #5  0x00007f6f8026177d in curl_easy_cleanup () at lib.so
>
> The stack trace varies, but is within Curl_close().

Is it always in OpenSSL? What OpenSSL version? If before 1.1, do you have the
necessary OpenSSL mutex callbacks setup?

> curl:x64-linux                                     7.61.1-2

-- 
  / daniel.haxx.se | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/

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