php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8521 php -l invalid page fault in module PHP4TS.DLL
Submitted: 2001-01-02 13:53 UTC Modified: 2001-04-16 06:35 UTC
From: tmelende at suffolk dot lib dot ny dot us Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.4 OS: windows 98se
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tmelende at suffolk dot lib dot ny dot us
New email:
PHP Version: OS:

 

 [2001-01-02 13:53 UTC] tmelende at suffolk dot lib dot ny dot us
# 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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-08 13:07 UTC] derick@php.net
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


 [2001-04-16 06:35 UTC] jmoore@php.net
Can you please test with the soon to be released 4.0.5 and reopen if it still fails. There was some fix for this IIRC.

-James
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 10:01:29 2025 UTC