cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Segmentation fault

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 20 Aug 2010 20:35:51 -0700

On Fri, Aug 20, 2010 at 09:52:54PM -0500, Manuel Argüelles wrote:
> Hello all,
>
> I'm having a segmentation fault while using libcurl with the easy interface,
> it is a multithread application.
>
> First curl_global_init is called, before starting any thread, then there's a
> function that calls curl_easy_init, some curl_easy_setopt, curl_easy_perform
> and finally curl_easy_cleanup.
>
> The function is called from different threads.

Are you sharing the same easy handles in different threads? That's a no-no.
Which resolver are you using, on which platform?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-21