Edit report at https://bugs.php.net/bug.php?id=51307&edit=1
ID: 51307 Comment by: mattfic...@php.net Reported by: joerg dot klein at ifsam dot lu Summary: php.exe error on command line Status: Assigned Type: Bug Package: Reproducible crash Operating System: win32 only - Windows Server 2003 PHP Version: 5.3.6 Assigned To: pajoye Block user comment: N Private report: N New Comment: I can't download your reproduce script from http://ifsam.net/test.php or http://ifsam.net/test.zip. Both links return an HTTP404 error. Can you provide a new reproduce script or new link to it? Also, are you sure that the PHP release and the mysql and gd2 extensions are all compiled with VC9? Also, would you provide the exact Windows Server version you are using (run 'winver')? Previous Comments: ------------------------------------------------------------------------ [2011-08-19 09:07:26] joerg dot klein at ifsam dot lu I just updated to 5.3.7 and still get erros from the command line. This time I did some additional testing. I run some files with the different SAPIs (php.exe, php-cgi.exe, php-win.exe). One file runs fine with php-cgi.exe and get errors with php.exe and php-win.exe. Another file get an error with php-cgi.exe and runs fine with php.exe and php-win.exe. Both files run fine with the Apache SAPI (php5_apache2_2.dll). ------------------------------------------------------------------------ [2011-03-29 07:32:43] joerg dot klein at ifsam dot lu If it helps you to track down the problem, I can give you some more backtraces. For example using pear ------------------------------------------------------------------------ [2011-03-18 13:46:10] joerg dot klein at ifsam dot lu Thread 0 - System ID 736 Entry point php_cgi!mainCRTStartup Create time 18.03.2011 12:18:32 Time spent in user mode 0 Days 0:0:0.31 Time spent in kernel mode 0 Days 0:0:0.156 Function Arg 1 Arg 2 Arg 3 Source php5ts!zend_register_internal_class_ex+ba7 003f5098 100e1075 01864590 php5ts!_efree+2e 01864590 003f2918 1021e045 php5ts!closelog+55 101d7ba4 00000001 00000013 php5ts!zm_deactivate_syslog+5 00000001 00000013 003f2918 php5ts!zm_deactivate_basic+e4 00000001 00000013 003f2918 php5ts!module_registry_cleanup+1b 0198d1b8 003f2918 003f2918 php5ts!zend_hash_reverse_apply+3f 1058b280 10006640 003f2918 php5ts!zend_deactivate_modules+61 003f2918 00000002 003f2918 php5ts!php_request_shutdown+235 00000000 0040a4c8 00000001 php_cgi!main+e89 00000002 003f3f30 003f2f80 php_cgi!memset+160 00000000 00000000 7ffdd000 kernel32!ProcessIdToSessionId+209 00406a7a 00000000 00000000 PHP5TS!ZEND_REGISTER_INTERNAL_CLASS_EX+BA7In php-cgi__PID__932__Date__03_18_2011__Time_12_18_35PM__387__Second_Chance_Exception_C0000005.dmp the assembly instruction at php5ts!zend_register_internal_class_ex+ba7 in C:\php\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x6aebadf8 on thread 0 Module Information Image Name: C:\php\php5ts.dll Symbol Type: PDB Base address: 0x10000000 Time Stamp: Thu Mar 17 11:41:09 2011 Checksum: 0x005a6b72 Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 5.3.6 Managed DLL: False Internal Name: PHP Script Interpreter VB DLL: False Legal Copyright: Copyright © 1997-2010 The PHP Group Loaded Image Name: php5ts.dll Legal Trademarks: PHP Mapped Image Name: Original filename: php5ts.dll Module name: php5ts Private Build: Single Threaded: False Product Name: PHP Module Size: 5,75 MBytes Product Version: 5.3.6 Symbol File Name: C:\php\php5ts.pdb Special Build: & ------------------------------------------------------------------------ [2011-03-18 10:14:18] paj...@php.net Please provide a new backtrace then, if it crashes somewhere else. But I still have little clue about what's happening :) ------------------------------------------------------------------------ [2011-03-18 10:11:41] joerg dot klein at ifsam dot lu I tested 5.3.6 VC9 today. The crash is still there, but it occurs in another file. I just removed one comment line and the file works without a problem! As I Stated in my last post, it is impossible to write a short reproduceable script. Even when it crashes on my site, it won't do on your site. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=51307 -- Edit this bug report at https://bugs.php.net/bug.php?id=51307&edit=1