ID: 27750 Updated by: [EMAIL PROTECTED] Reported By: richard dot quadling at carval dot co dot uk -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows XP Pro SP1 PHP Version: 4.3.5 New Comment:
I cannot reproduce this. Please make sure that you have removed traces of the old php install. Also do you have any extensions enabled in your php.ini? Try without any extensions. Previous Comments: ------------------------------------------------------------------------ [2004-03-29 14:31:13] mike at microspread dot com I got the error when running phpinfo.php. Seems that I get a valid page back, but then get this "PHP Script Interpreter" error. When I click on more info, it says... szAppName: php.exe szAppVer: 4.3.5.5 szModName: php4ts.dll szModVer: 4.3.5.5 offset: 000c0674 There are also the same two attached files, if required I can reproduce and send them. Hope this helps ------------------------------------------------------------------------ [2004-03-29 06:32:16] richard dot quadling at carval dot co dot uk Description: ------------ The following script (which is from a working script for V4.3.4) runs but does not close down properly. <?php function CloseScript() { global $asLog; $asLog[] = 'Finished'; } $asLog = array('Started'); CloseScript(); print_r($asLog); ?> produces output of ... Array ( [0] => Started [1] => Finished ) The above script is from a program to download antivirus updates, store them on our server and inform all clients that a new update is available and track their compliance with upgrading. The error signature is (available when you click "To see what data this error report contains, click here"). AppName: php.exe AppVer: 4.3.5.5 ModName: unknown ModVer: 0.0.0.0 Offset: 00bb41f0 An appcompat.txt file is also produced ... <?xml version="1.0" encoding="UTF-16"?> <DATABASE> <EXE NAME="php.exe" FILTER="GRABMI_FILTER_PRIVACY"> <MATCHING_FILE NAME="php.exe" SIZE="24576" CHECKSUM="0xF7CC6784" BIN_FILE_VERSION="4.3.5.5" BIN_PRODUCT_VERSION="4.3.5.0" PRODUCT_VERSION="4.3.5" FILE_DESCRIPTION="PHP Script Interpreter" COMPANY_NAME="The PHP Group" PRODUCT_NAME="PHP Thread Safe Command Line Interface" FILE_VERSION="4.3.5.5" ORIGINAL_FILENAME="php.exe" INTERNAL_NAME="php-cli" LEGAL_COPYRIGHT="Copyright © 2002 The PHP Group" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x40000" UPTO_BIN_FILE_VERSION="4.3.5.5" UPTO_BIN_PRODUCT_VERSION="4.3.5.0" LINK_DATE="03/25/2004 14:20:57" UPTO_LINK_DATE="03/25/2004 14:20:57" VER_LANGUAGE="English (United States) [0x409]" /> </EXE> <EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY"> <MATCHING_FILE NAME="kernel32.dll" SIZE="930304" CHECKSUM="0xCBCCF8A9" BIN_FILE_VERSION="5.1.2600.1106" BIN_PRODUCT_VERSION="5.1.2600.1106" PRODUCT_VERSION="5.1.2600.1106" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.1106 (xpsp1.020828-1920)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE7ED3" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.1106" UPTO_BIN_PRODUCT_VERSION="5.1.2600.1106" LINK_DATE="08/29/2002 10:40:40" UPTO_LINK_DATE="08/29/2002 10:40:40" VER_LANGUAGE="English (United States) [0x409]" /> </EXE> </DATABASE> I have restored V4.3.4 and the problem is not present. It seems that this is ONLY with CLI version. I use Sambar Server and the ISAPI module. If I run the same script via the browser (all on the same pc), then no problems. Regards, Richard Quadling. P.S. Is there a debug build available for the windows version. I do NOT have access to a Microsoft C compiler. Reproduce code: --------------- <?php function CloseScript() { global $asLog; $asLog[] = 'Finished'; } $asLog = array('Started'); CloseScript(); print_r($asLog); ?> Expected result: ---------------- Array ( [0] => Started [1] => Finished ) without a crash. Actual result: -------------- Array ( [0] => Started [1] => Finished ) with a crash. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27750&edit=1