cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multithread curl. unexpected SIGSEGV

From: Gokhan Sengun <gokhansengun_at_gmail.com>
Date: Mon, 17 Sep 2012 05:25:49 -0700

> I can't post here all program sources, but here is some info:
>
> I setup curl (via curl_easy_setopt) for multithread environment:
> // CURL *handle ch;
> curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L);
> curl_easy_setopt(ch, CURLOPT_DNS_USE_GLOBAL_CACHE, 0L);
> curl_easy_setopt(ch, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP);
> curl_easy_setopt(ch, CURLOPT_PROTOCOLS, CURLPROTO_HTTP);
>

I will give a try to a wild guess here. Try increasing the stack size of
your thread. There are several anomalies that could not be explained
otherwise :-)

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-17