#44797 [Opn->Fbk]: php_curl.dll crash. Offset: 00018ed8. ModName: php_curl.dll ModVer: 5.2.5.5.
| From: | felipe@php.net | Date: | Wed, 23 Apr 2008 02:24:22 +0000 |
| Subject: | #44797 [Opn->Fbk]: php_curl.dll crash. Offset: 00018ed8. ModName: php_curl.dll ModVer: 5.2.5.5. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-124443@lists.php.net to get a copy of this message | ||
ID: 44797
Updated by: felipe@php.net
Reported By: dmitrij at stepanov dot lv
-Status: Open
+Status: Feedback
Bug Type: cURL related
Operating System: Windows XP
PHP Version: 5.2.5
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2008-04-22 10:23:02] dmitrij at stepanov dot lv
Description:
------------
My configuration: Windows XP, PHP 5.2.5. cURL extension periodically is
crashing at offset 00018ed8. I use both curl_* and curl_multi_*. Also,
cURL extension has memory leaks. After about 30 minutes of intensive use
of cURL functions, i get memory usage over 1G.
Reproduce code:
---------------
i create 12 handles with curl_init(), configure them, create one
curl_multi_init() handle, pass all 12 handles to multi handle with
curl_multi_add_handle() and call curl_multi_exec(). after successful
execution of requests, i curl_multi_remove_handle() all handles from
multi handle, close them with curl_close(), and close multi handle with
curl_multi_close(). After repeating this sequence 100 - 200 times, i get
lotsa memory leaks and even crash.
Expected result:
----------------
No memory leaks. No crash.
Actual result:
--------------
Memory leaks, crash at offset 00018ed8
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44797&edit=1