cURL / Mailing Lists / curl-users / Single Mail


Re: problem with multi perform

From: Daniel Stenberg <>
Date: Mon, 17 Dec 2007 11:15:46 +0100 (CET)

On Mon, 17 Dec 2007, zaheer ahmad wrote:

(I removed the webkit list as a receiver for my mail since they don't allow me
to post to their list anyway since I'm not a subscriber.)

> I am using gtk version of webkit which uses curl. iam facing a crash in curl
> when opening certain pages.

webkit uses libcurl and since this is a libcurl-related question I think we
should deal with it on the curl-library mailing list. I'm CC'ing my reply to
that list now, please take follow-ups there!

Can you please tell us what operating system and what libcurl version you're

> 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/
> #1 0xb604859e in curl_multi_perform () from /usr/local/lib/

Can you please elaborate a lot more on when and how this happens or even
better provide a small sample code that repeats the problem?

  Commercial curl and libcurl Technical Support:
Received on 2007-12-17