cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl crash at Curl_ossl_close function call

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Feb 2009 16:17:40 +0100 (CET)

On Mon, 16 Feb 2009, Sandeep Kale wrote:

> curl 7.18.2 (sparc-sun-solaris2.10) libcurl/7.18.2 OpenSSL/0.9.7d zlib/1.1.3

That OpenSSL version is almost five years old. I'd suggest you upgrade it and
see if the problem remains.

> libcurl APIs are used in a http client module which simply connects to a
> service via proxy , submits the request and tries to get back the response
> from the server. However for some reason the code crashed due to "signal
> SIGSEGV in realfree()" and the generated core shows below stats:

Are you by any chance using this in a multi-threded way and forgot to setup
the OpenSSL mutex callbacks?

-- 
  / daniel.haxx.se
Received on 2009-02-16