cURL / Mailing Lists / curl-library / Single Mail

curl-library

Fw: Crash in libcurl?

From: Tomasz Cybulski <cbull_at_wp.pl>
Date: Tue, 19 Dec 2006 16:22:30 +0100

 After upgrading from 7.15.5 to 7.16.0 instead of wrongly counted running
 transfers in curl_multi_perform after curl_multi_remove_handle on active
 transfer, I'm getting a crash.

 the order of functions is like:

 start some cHandle transfer and add to mHandle

 then

 curl_multi_remove_handle(mHandle, cHandle)

 and then crash some time later in libcurl.dll (when libcurl thread receives
 its time?)

 if I add line:
while (!transferDone) doMultiPerform();

 before curl_multi_remove_handle then I'm getting no crash.

 Is it possible that fix to the bugs with incorectlly counted transfers is
 causing crash now?

Windows and VC++.

 Regards,
Tomasz
Received on 2006-12-19