Bug #2736 Updated: PHP crash on read socket
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 13:00:50 +0000 |
| Subject: | Bug #2736 Updated: PHP crash on read socket | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10720@lists.php.net to get a copy of this message | ||
ID: 2736
Updated by: sander@php.net
Reported By: eloj@altavista.net
-Status: Open
+Status: Bogus
Bug Type: Reproducible Crash
Operating System: Windows'95 (v4.0.1111)
PHP Version: 3.0 Latest CVS (17/11/1999)
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[1999-11-17 11:15:49] eloj@altavista.net
Version: PHP4-beta2 (binary download from www.php.net)
Modules: MySQL
Info: Reporting the same bug as in #2519
Desc: Any try to _read_ from a socket will cause the crash, though
writing is - it appears - okay. In the following code rem'ing out the
fgets() removes the crash. fgetc() and fread() crashes also.
<code><pre>
$fp=fsockopen("localhost", 80);
if($fp){
fputs($fp,"GET / HTTP/1.0\n\n");
$dummy=fgets($fp,128);
fclose($fp);
}
</pre></code>
I wish I could give a call traceback, but since this is Windows, this
will have to do:
PHP caused an invalid pagefault in
module <unknown> at address 0000:00000003.
Register:
EAX=0076135c CS=0137 EIP=00000003 EFLGS=00010213
EBX=0063fb60 SS=013f ESP=0063fb24 EBP=00000001
ECX=14fb6300 DS=013f ESI=0076135c FS=109f
EDX=0063fb60 ES=013f EDI=00000004 GS=0000
Byte at CS:EIP:
00 65 04 70 00 16 00 b4 08 65 04 70 00 65 04 70
Stackdump:
10032741 0063fb60 00000004 00775981 00000014 00000001 00000000 10013893
0076135c 0063fb60 00000004 0063fb58 00000004 00000000 10013dec 00000014
I'm using a normal non-beta WinSock2 from Microsoft, version 4.10.1656
(QFE)
If you need more info, don't hesitate to contact me (I might be able to
aid in debugging if you cannot reproduce this). This is a real
showstopper. :-(
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=2736&edit=1