Bug #8663 Updated: Script with incorrect syntax crashes php4ts.dll (seems similar to #8521)
| From: | jmoore@php.net | Date: | Thu, 26 Apr 2001 18:53:41 +0000 |
| Subject: | Bug #8663 Updated: Script with incorrect syntax crashes php4ts.dll (seems similar to #8521) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52534@lists.php.net to get a copy of this message | ||
ID: 8663
Updated by: jmoore
Reported By: melis@cs.utwente.nl
Old-Status: Open
Status: Closed
Bug Type: Reproduceable crash
PHP Version: 4.0.4
Assigned To:
Comments:
THis has been fixed in latest CVS, and will be included in 4.0.6 thanks for your report.
- James
Previous Comments:
---------------------------------------------------------------------------
[2001-04-26 14:25:50] jmoore@php.net
Reproduced under Apache and ISAPI under win2k.
- James
---------------------------------------------------------------------------
[2001-01-11 16:59:07] melis@cs.utwente.nl
I have three php files as follows:
--f1.php--
<?php
include "f2.php";
include "f3.php";
?>
----------
--f2.php--
<?php
# only seems to occur in a switch statement
switch ($t) {
default:
die (; # a syntax error, on purpose
}
?>
----------
--f3.php--
<?php
$x = 0; # there needs to be some statement here for the bug to occur
?>
----------
When running f1.php through php.exe I get
PHP caused an invalid page fault in
module PHP4TS.DLL at 015f:1008e147.
Registers:
EAX=00000001 CS=015f EIP=1008e147 EFLGS=00010206
EBX=006601ec SS=0167 ESP=0063f410 EBP=00791710
ECX=00000000 DS=0167 ESI=00791714 FS=541f
EDX=007910dc ES=0167 EDI=006601e4 GS=0000
Bytes at CS:EIP:
66 ff 48 0a 8b 06 66 8b 48 0a 66 85 c9 75 40 50
Stack dump:
007612f0 100a46bb 00791714 00791990 007612f0 007918e0 0065ea04 006601c4 006601c4 00000001 007910dc
006601ec 81709050 00000000 00000000 0063f470
Couldn't generate a backtrace, the borland debugger refused to work on this error. It seems to
be similar to the problem described in bug #8521. In both cases a simple syntax error crashes the
DLL. In this case, however, the include directives seem to have something to do with the bug. Simply
copying the contents of f2 and f3 into f1 does not cause a crash.
PHP is 4.0.4 windows installer from your website.
Bye,
Paul
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8663&edit=2