cURL / Mailing Lists / curl-users / Single Mail

curl-users

problem with multi perform

From: zaheer ahmad <zaheer.mot_at_gmail.com>
Date: Mon, 17 Dec 2007 14:55:14 +0530

hi all,
Iam using gtk version of webkit which uses curl. iam facing a crash in curl
when opening certain pages.
the reason seems to be that curl is using the handle (i.e. write callbacks
are invoked) even after its removed from the multihandle (code below).

curl_multi_remove_handle(m_curlMultiHandle, d->m_handle);
curl_easy_cleanup(d->m_handle);

backtrace for the crash
#0 0xb60480a2 in multi_runsingle () from /usr/local/lib/libcurl.so.4
#1 0xb604859e in curl_multi_perform () from /usr/local/lib/libcurl.so.4

Any inputs would be very helpful.

thanks,
Zaheer
Received on 2007-12-17