From: r_luca at tiscali dot it Operating system: windows vista PHP version: 5.2.5 PHP Bug Type: cURL related Bug description: curl_multi_* crashes apache randomly
Description: ------------ Using curl multi to send requests and retrieving the header with a callback function, apache crashes randomly (sometimes after 100 requests, other times after 600 or 6000 or 25000, sometimes it doesn't). Reproduce code: --------------- http://www.pastebin.org/28896 Actual result: -------------- Thread 70 - System ID 4680 Entry point msvcrt!_endthreadex+6f Create time 10/04/2008 23.15.14 Time spent in user mode 0 Days 0:0:0.0 Time spent in kernel mode 0 Days 0:0:0.0 Function Arg 1 Arg 2 Arg 3 Source php_curl!get_module+17ed8 044d9748 00000000 11338e90 php_curl!get_module+11f51 044d9718 0e2e0888 044d9748 php_curl!get_module+b47d 11c30008 04256218 05aacbb8 php_curl!get_module+24d82 00000000 00000000 00000000 PHP_CURL!GET_MODULE+17ED8WARNING - DebugDiag was not able to locate debug symbols for php_curl.dll, so the information below may be incomplete. In httpd__PID__2004__Date__04_10_2008__Time_11_15_14PM__470__Second_Chance_Exception_C0000005.dmp the assembly instruction at php_curl!get_module+17ed8 in c:\php5\ext\php_curl.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000008 on thread 70 -- Edit bug report at http://bugs.php.net/?id=44687&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44687&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44687&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44687&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44687&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44687&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44687&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44687&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44687&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44687&r=support Expected behavior: http://bugs.php.net/fix.php?id=44687&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44687&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44687&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44687&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44687&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44687&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44687&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44687&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44687&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44687&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44687&r=mysqlcfg