#47766 [Opn->Fbk]: php-cgi.exe crashes

From: Date: Sun, 05 Apr 2009 22:38:35 +0000
Subject: #47766 [Opn->Fbk]: php-cgi.exe crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-135556@lists.php.net to get a copy of this message
ID: 47766 Updated by: pajoye@php.net Reported By: ipseno at yahoo dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Win XP SP3 PHP Version: 5.3CVS-2009-03-24 (snap) Assigned To: pajoye New Comment: Thansk for the backtrace, I still need a script to reproduce the problem. Or can you give me access to this box or to the app you use? The crash looks weird, in the lexer. Previous Comments: ------------------------------------------------------------------------ [2009-04-05 22:23:03] ipseno at yahoo dot com And my answer to your templated request is above at: [25 Mar 1:16pm UTC] ipseno at yahoo dot com I've just downloaded latest 5.3.0RC2-dev, Build Date: Apr 5 2009 22:55:43 Crash still occurs, by returning 500 Internal server error. Here is a brand new Crash report that gives best info so far... Thread 0 - System ID 3192Entry point php_cgi!mainCRTStartup Create time 6.4.2009 0:16:56 Time spent in user mode 0 Days 0:0:0.0 Time spent in kernel mode 0 Days 0:0:0.78 Function Arg 1 Arg 2 Arg 3 Source php5!lex_scan+2c26 00c0c8e4 00000001 0000002f php5!zendlex+2f 00c0c8dc 00c0deac 00fdce30 php5!zendparse+15a 00fdce30 00000002 00000040 php5!compile_file+b0 00c0deac 00000008 00c0cc48 php5!phar_open_from_filename+2d6 00c0deac 00000008 00c0deac php5!zend_execute_scripts+4e 00000008 00000000 00000003 php5!php_execute_script+1c8 00c0deac 0040a4f0 00000001 php_cgi!main+ab0 00000001 00dc2be8 00dc3080 php_cgi!memset+160 00000000 00000000 7ffdf000 kernel32!BaseProcessStart+23 004061ea 00000000 00000000 PHP5!LEX_SCAN+2C26In php-cgi__PID__4564__Date__04_06_2009__Time_12_17_03AM__46__Second_Chance_Exception_C0000005.dmp the assembly instruction at php5!lex_scan+2c26 in D:\Program Files\php\php5.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x02331000 on thread 0Module Information Image Name: D:\Program Files\php\php5.dll Symbol Type: PDB Base address: 0x10000000 Time Stamp: Sun Apr 05 23:56:26 2009 Checksum: 0x00550f1f Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 5.3.0RC2-dev Managed DLL: False Internal Name: PHP Script Interpreter VB DLL: False Legal Copyright: Copyright © 1997-2008 The PHP Group Loaded Image Name: php5.dll Legal Trademarks: PHP Mapped Image Name: Original filename: php5.dll Module name: php5 Private Build: Single Threaded: False Product Name: PHP Module Size: 5,45 MBytes Product Version: 5.3.0RC2-dev Symbol File Name: D:\Interport\php-debug-pack-5.3-nts-win32-VC9-x86-latest\php5.pdb Special Build: & ------------------------------------------------------------------------ [2009-03-29 12:00:39] pajoye@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2009-03-29 11:45:19] ipseno at yahoo dot com I have just used lattest windows snapshot of VC9 x86 Non Thread Safe. Bug is still present, so crash still occurs. ------------------------------------------------------------------------ [2009-03-29 06:05:39] scottmac@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Pretty sure this was fixed on Wednesday / Thursday. ------------------------------------------------------------------------ [2009-03-29 03:42:47] ipseno at yahoo dot com Thread 0 - System ID 7056Entry point php_cgi+61ea Create time 29.3.2009 1:37:02 Time spent in user mode 0 Days 0:0:0.0 Time spent in kernel mode 0 Days 0:0:0.93 Function Arg 1 Arg 2 Arg 3 Source php5!lex_scan+2c06 00c0c8e4 00000001 0000002f php5!zend_register_auto_global+7f 00000000 00000000 00000000 PHP5!LEX_SCAN+2C06WARNING - DebugDiag was not able to locate debug symbols for php5.dll, so the information below may be incomplete. In php-cgi__PID__6828__Date__03_29_2009__Time_01_37_08AM__796__Second_Chance_Exception_C0000005.dmp the assembly instruction at php5!lex_scan+2c06 in D:\Program Files\php\php5.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x02461000 on thread 0Module Information Image Name: D:\Program Files\php\php5.dll Symbol Type: Export Base address: 0x10000000 Time Stamp: Tue Mar 24 15:58:10 2009 Checksum: 0x0055c816 Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 5.3.0RC2-dev Managed DLL: False Internal Name: PHP Script Interpreter VB DLL: False Legal Copyright: Copyright © 1997-2008 The PHP Group Loaded Image Name: php5.dll Legal Trademarks: PHP Mapped Image Name: Original filename: php5.dll Module name: php5 Private Build: Single Threaded: False Product Name: PHP Module Size: 5,45 MBytes Product Version: 5.3.0RC2-dev Symbol File Name: php5.dll Special Build: & ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/47766 -- Edit this bug report at http://bugs.php.net/?id=47766&edit=1

« previous php.bugs (#135556) next »