cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Segmentation fault using libcURL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 25 Dec 2010 22:59:31 +0100 (CET)

On Fri, 24 Dec 2010, Alessio Sangalli wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x40020b60 (LWP 820)]
> 0x40147b30 in addbyter () from /usr/lib/libcurl.so.4

> I am now carefully checking the multi-threading related options. Any hint in
> the meanwhile?

Maker sure you don't use signals (CURLOPT_NOSIGNAL) and if you use an
SSL-based protocol: setup the crypto library's mutex callback.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-25