#37171 [Opn->Fbk]: crashes when using curl_multi_*

From: Date: Sat, 22 Apr 2006 20:30:57 +0000
Subject: #37171 [Opn->Fbk]: crashes when using curl_multi_*
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96120@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.3RC3 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-04-22 20:26:06] bishopx at quick dot cz I already tried, crashing.. ------------------------------------------------------------------------ [2006-04-22 19:58:02] tony2001@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#96120) next »