#37171 [NEW]: crashes when using curl_multi_*
| From: | bishopx at quick dot cz | Date: | Sat, 22 Apr 2006 19:49:49 +0000 |
| Subject: | #37171 [NEW]: crashes when using curl_multi_* | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-96117@lists.php.net to get a copy of this message | ||
From: bishopx at quick dot cz
Operating system: win32
PHP version: 5.1.2
PHP Bug Type: cURL related
Bug description: crashes when using curl_multi_*
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 bug report at http://bugs.php.net/?id=37171&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37171&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37171&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37171&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37171&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37171&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37171&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37171&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37171&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37171&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37171&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37171&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37171&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37171&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37171&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37171&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37171&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37171&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37171&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37171&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37171&r=mysqlcfg