#19301 [Com]: curl_exec crashes
| From: | kja at filanet dot dk | Date: | Thu, 12 Sep 2002 08:03:37 +0000 |
| Subject: | #19301 [Com]: curl_exec crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19209@lists.php.net to get a copy of this message | ||
ID: 19301
Comment by: kja@filanet.dk
Reported By: honza@honza.info
Status: Open
Bug Type: cURL related
Operating System: Windows XP Professional CZ
PHP Version: 4.2.3
New Comment:
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....
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2002-09-09 05:52:51] honza@honza.info
OK, there are important news: I downloaded the older PHP 4.1.2 and
checked it there, and it works. The example that crashed in 4.2.3 works
without a problem in 4.1.2. Hope this information helps, now I'll keep
4.1.2 until it gets corrected.
Honza
------------------------------------------------------------------------
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