ID: 8663
Updated by: jmoore
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Reproduceable crash
PHP Version: 4.0.4
Assigned To: 
Comments:

Reproduced under Apache and ISAPI under win2k.

- James

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

[2001-01-11 16:59:07] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to