#19301 [Com]: curl_exec crashes

From: Date: Mon, 23 Sep 2002 09:52:47 +0000
Subject: #19301 [Com]: curl_exec crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20082@lists.php.net to get a copy of this message
ID: 19301 Comment by: tomas.rollo@grafton.cz Reported By: honza@honza.info Status: Open Bug Type: cURL related Operating System: Windows XP Professional CZ PHP Version: 4.2.3 New Comment: It seems the bug doesn't affect only WinNT/2K/XP systems but it's also reproductible on Win98SE. Previous Comments: ------------------------------------------------------------------------ [2002-09-12 03:03:37] kja@filanet.dk Same issue was reported against PHP 4.2.1 in bug 17782. I can see that bug has been thought to be solved as it wasn't reproducible on Linux. Apparenly not the case. It must be a Windows only issue with CURL. The offending code is the functionality enabled with curl_setopt ($ch, CURLOPT_FILE, $fp); with that line enabled curl_exec() crashes (application error/GPF) both when running PHP from commandline and as module under Apache 1.3.26 Disabling above line with CURLOPT_FILE it works, but that is not very usefull in my case as I need CURLOPT_FILE :-) I assume the developer responsible for php_curl.dll (or someone else) will be able to debug this on Windows? From my point of view this issue is beginning to get a bit critical, so I wouldn't mind to see a quick solution.... ------------------------------------------------------------------------ [2002-09-09 07:38:14] sniper@php.net This is propably some win32 issue since I can not reproduce this with PHP 4.2.3 / PHP 4.3.0-dev on Linux. ------------------------------------------------------------------------ [2002-09-09 07:30:56] honza@honza.info Ooops, I wanted to write 4.2.3, not 4.3.2. Honza ------------------------------------------------------------------------ [2002-09-09 07:28:51] honza@honza.info Nope, PHP 4.3.2 was the first to get into the system. As I said, I even tested it on clean system (Win2000ProCZ) where nothing else got installed, not even web server (from W2000 i tried it only as php.exe executable), and it gave me the crash on a clean system as well. Honza ------------------------------------------------------------------------ [2002-09-09 05:59:19] sniper@php.net Just a thought..but did you have some older PHP installed in this machine before you installed 4.2.3? If so, make sure you replace ALL the existing files with the ones found in the new version. Most important one being php4ts.dll ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19301 -- Edit this bug report at http://bugs.php.net/?id=19301&edit=1

« previous php.bugs (#20082) next »