#19301 [Com]: curl_exec crashes

From: Date: Wed, 25 Sep 2002 09:12:59 +0000
Subject: #19301 [Com]: curl_exec crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20268@lists.php.net to get a copy of this message
ID: 19301 Comment by: kja@filanet.dk Reported By: honza@honza.info Status: Feedback Bug Type: cURL related Operating System: Windows XP Professional CZ PHP Version: 4.2.3 New Comment: Have just tried that on Win2K. The problem still exists, both when running php as standalone and sapi module under Apache 1.3.26 Previous Comments: ------------------------------------------------------------------------ [2002-09-24 09:23:38] wez@php.net Could you try to reproduce this with a non-stable snapshot? http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-09-24 08:41:05] daniel@haxx.se Could this be related to how Windows DLLs vs apps works? In Windows, you can't open a file and pass the handle of that file to have it read from or written to in a DLL. They somehow don't allow that kind of data to be shared like that. It seems as if it could be, the PHP code opens the file and passes the handle to the DLL that deals with it... Just my thoughts. I might be completely wrong. ------------------------------------------------------------------------ [2002-09-23 04:52:47] tomas.rollo@grafton.cz It seems the bug doesn't affect only WinNT/2K/XP systems but it's also reproductible on Win98SE. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#20268) next »