curl / Mailing Lists / curl-library / Single Mail


Re: SIGSEGV after curl_easy_cleanup in libuv app.

From: Vitaliy T <>
Date: Sat, 8 Apr 2017 21:18:42 +0300

On 6 April 2017 at 23:41, Vitaliy T <> wrote:
> The error occurs when all workers are completed their job. You have to
> wait a bit before SIGSEGV would occur. I am not sure if I am doing
> something wrong:
> 1. Is it safe to call curl_easy_* functions from threads?
> 2. Is it my mistake because of I coded libuv incorrectly?
> 3. Do I need to apply some special patches to libcurl in my case?

Solved via curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1L);
This should be mentioned in the "CURL everything" book, IMHO.

With Best Regards,
Vitaliy V. Tokarev
Received on 2017-04-08