[PHP-DEV] PHP 4.0 Bug #8521 Updated: php -l invalid page fault in module PHP4TS.DLL From: derick <email protected>
Date: 01/08/01

ID: 8521
Updated by: derick
Reported By: tmelende <email protected>
Status: Open
Bug Type: Reproduceable crash
Assigned To:
Comments:

I could reproduce it, no backtrace, but in this line the error occurs:

zend_opcode.c:141

ZEND_API void destroy_op_array(zend_op_array *op_array)
{
zend_op *opline = op_array->opcodes; // <- THIS LINE
zend_op *end = op_array->opcodes+op_array->last;

if (op_array->static_variables) {
zend_hash_destroy(op_array->static_variables);
FREE_HASHTABLE(op_array->static_variables);
}

op_Array = 0x00000000
opline = 0xcccccccc

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

[2001-01-02 13:53:47] tmelende <email protected>
# description of error
trying to use the php syntax check like so:
php -l test.php

Get the following windows error:
PHP caused an invalid page fault in
module PHP4TS.DLL at 017f:100903e7.
Registers:
EAX=00000000 CS=017f EIP=100903e7 EFLGS=00010206
EBX=00000000 SS=0187 ESP=0063fcfc EBP=0063fd28
ECX=00000000 DS=0187 ESI=00000000 FS=0c8f
EDX=00781d40 ES=0187 EDI=00761a74 GS=0000
Bytes at CS:EIP:
8b 46 14 8b 6e 10 8d 0c 80 8d 14 48 8b 46 30 85
Stack dump:
00000000 0063fd28 00000000 10003c29 00000000 00000001 00000002 00761e00 00787b20 78022024 00760720 0063fdc4 00401ad9 0063fd78 00761e70 00761940

# A short script that reproduces the problem
<?
  echo "hello world

?>
(ending double quote and semi-colon are missing on purpose)

# The list of modules you compiled PHP with (your configure line)
[PHP Modules]
standard
bcmath
Calendar
com
ftp
mysql
odbc
pcre
session
xml
wddx

[Zend Modules]

# A gdb backtrace.
can I do this on windows?

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

Full Bug description available at: http://bugs.php.net/?id=8521

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>