ID:               19301
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Assigned
 Bug Type:         cURL related
 Operating System: Windows XP Professional CZ
 PHP Version:      4.2.3
-Assigned To:      
+Assigned To:      jmoore
 New Comment:

Ill have a look at this on friday and see if I can reproduce this and
get a stack trace then hopefully fix it.

If anyone wants a play before hand then they are welcome to.

- James


Previous Comments:
------------------------------------------------------------------------

[2002-09-25 04:12:59] [EMAIL PROTECTED]

Have just tried that on Win2K. The problem still exists, both when
running php as standalone and sapi module under Apache 1.3.26

------------------------------------------------------------------------

[2002-09-24 09:23:38] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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....

------------------------------------------------------------------------

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

Reply via email to