#37171 [Opn->Fbk]: crashes when using curl_multi_*
| From: | tony2001@php.net | Date: | Sat, 22 Apr 2006 19:58:02 +0000 |
| Subject: | #37171 [Opn->Fbk]: crashes when using curl_multi_* | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96118@lists.php.net to get a copy of this message | ||
ID: 37171
Updated by: tony2001@php.net
Reported By: bishopx at quick dot cz
-Status: Open
+Status: Feedback
Bug Type: cURL related
Operating System: win32
PHP Version: 5.1.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-04-22 19:49:49] bishopx at quick dot cz
Description:
------------
php_curl.dll is the cause of frequent crashes when using curl_multi_*()
functions, especially curl*_close() and curl_multi_remove_handle().
However, even other functions sometimes cause a crash (I removed the
above ones). The situation in the latest snapshots remains the same.
It looks like a poor thread synchronisation.
Apache 2.2.x used.
Reproduce code:
---------------
This should work fine:
http://php.net/manual/en/function.curl-multi-exec.php#48813
..but you may have to increase the number of links in $connomains, or
change them to pictures.
Expected result:
----------------
The code doesn't crash the webserver.
Actual result:
--------------
The code often crashes the webserver (not always).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37171&edit=1