cURL / Mailing Lists / curl-library / Single Mail

curl-library

Crashes occurring while using curl easy interface ...

From: Mukul Kedare <kedare.mukul_at_gmail.com>
Date: Fri, 8 May 2009 03:05:14 +0530

Hi all,

I am using curl easy interface in my C application, and getting
crash(segmentation faults) in between.
Mine is a multithreaded application where in each thread has its own curl
handle, this curl handle is
used for all the curl easy requests for that thread.

Code flow is some what like this,

void * threadproc (void *){

    CURL *curl_handle;
    curl_handle = curl_easy_init();
    for(;;){
        do curl easy request processing;
    }

    /*never comes here*/
    curl_easy_cleanup(curl_handle);
}

I am using curl-7.19.0 with c-ares.

Attached is the file containg core dump trace generated during all the
crashes I observed.

Please help me out in finding out the causes/solution for these crashes.

Regards
Mukul

Received on 2009-05-07