From: jan at ecotech dot se Operating system: Vista SP1 PHP version: 5.2.6 PHP Bug Type: Reproducible crash Bug description: php5ts.dll crashes apache
Description: ------------ I constantly can reproduce a crash of Apache due to php5ts.dll in some pages. I use: * Apache 2.2.9 * PHP 5.2.6 * Windows Vista SP1 Apache restarts with following problem signature: Problem signature: Problem Event Name: APPCRASH Application Name: httpd.exe Application Version: 2.2.9.0 Application Timestamp: 4852383f Fault Module Name: php5ts.dll Fault Module Version: 5.2.6.6 Fault Module Timestamp: 481b8f4b Exception Code: c0000005 Exception Offset: 0000af6f OS Version: 6.0.6001.2.1.0.256.1 Locale ID: 1053 Additional Information 1: 6353 Additional Information 2: 8a82b40956bba3220ef12e86f3167b20 Additional Information 3: e918 Additional Information 4: cfc3e5129a8641c7e1f390d0ea7f83d4 Read our privacy statement: http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409 Reproduce code: --------------- It doesn't really matter what code I use. Sometimes it crashes on phpinfo(), sometimes on a var_dump( $_POST ). etc. Actual result: -------------- The stack trace can be found: http://www.madwax.se/php-crash-info/ Analysis Summary Type Description Recommendation Error In httpd__PID__4120__Date__07_19_2008__Time_11_40_07PM__394__First chance exception 0XC0000005.dmp the assembly instruction at php5ts!_zend_mm_free_int+35f in C:\Ecoweb\apps\PHP\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 8 Please follow up with the vendor The PHP Group for C:\Ecoweb\apps\PHP\php5ts.dll Error In httpd__PID__4120__Date__07_19_2008__Time_11_40_14PM__79__Second_Chance_Exception_C0000005.dmp the assembly instruction at php5ts!_zend_mm_free_int+35f in C:\Ecoweb\apps\PHP\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 8 Please follow up with the vendor The PHP Group for C:\Ecoweb\apps\PHP\php5ts.dll Information DebugDiag determined that this dump file (httpd__PID__4120__Date__07_19_2008__Time_11_40_07PM__394__First chance exception 0XC0000005.dmp) is a crash dump and did not perform any hang analysis. If you wish to enable combined crash and hang analysis for crash dumps, edit the CrashHangAnalysis.asp script (located in the DebugDiag\Scripts folder) and set the g_DoCombinedAnalysis constant to True. Information DebugDiag determined that this dump file (httpd__PID__4120__Date__07_19_2008__Time_11_40_14PM__79__Second_Chance_Exception_C0000005.dmp) is a crash dump and did not perform any hang analysis. If you wish to enable combined crash and hang analysis for crash dumps, edit the CrashHangAnalysis.asp script (located in the DebugDiag\Scripts folder) and set the g_DoCombinedAnalysis constant to True. Table Of Contents httpd__PID__4120__Date__07_19_2008__Time_11_40_14PM__79__Second_Chance_Exception_C0000005.dmp Faulting Thread Faulting Module Information httpd__PID__4120__Date__07_19_2008__Time_11_40_07PM__394__First chance exception 0XC0000005.dmp Faulting Thread Faulting Module Information Report for httpd__PID__4120__Date__07_19_2008__Time_11_40_14PM__79__Second_Chance_Exception_C0000005.dmp Report for httpd__PID__4120__Date__07_19_2008__Time_11_40_14PM__79__Second_Chance_Exception_C0000005.dmp Type of Analysis Performed Crash Analysis Machine Name TJOCKIS Operating System Windows Vista Service Pack 1 Number Of Processors 2 Process ID 4120 Process Image C:\Ecoweb\apps\Apache2.2\bin\httpd.exe System Up-Time 02:10:02 Process Up-Time 00:02:08 Thread 8 - System ID 4612 Entry point msvcrt!_endthreadex+6f Create time 2008-07-19 23:38:07 Time spent in user mode 0 Days 0:0:1.171 Time spent in kernel mode 0 Days 0:0:0.500 Function Arg 1 Arg 2 Arg 3 Source php5ts!_zend_mm_free_int+35f 04110f30 00000b10 01c0311c php5ts!_efree+39 06934190 01c9c537 068cea94 php5ts!free_estring+c 068cea94 769d9d32 040e97d8 php5ts!zend_hash_destroy+27 040cf168 040cf130 040cf0e8 php5ts!shutdown_compiler+b0 040e97d8 040e97d8 040e97d8 php5ts!zend_deactivate+cf 040e97d8 009b4a10 040e97d8 php5ts!php_request_shutdown+2c9 00000000 00283573 009fe820 php5apache2_2!php_apache_request_dtor+8 009fe820 040e97d8 00000004 php5apache2_2!php_handler+643 009fe820 009b4a10 009fe820 libhttpd!ap_run_handler+21 009fe820 009fe820 009fe820 libhttpd!ap_invoke_handler+ae 00000000 025fe9f0 02c1ff00 libhttpd!ap_die+24e 009fe820 00000000 009e36a0 libhttpd!ap_get_request_note+1c9c 025fe9f0 025fe9f0 025fe9f0 libhttpd!ap_run_process_connection+21 025fe9f0 00924ea0 02c1ff48 libhttpd!ap_process_connection+33 025fe9f0 009ee7f0 00000000 libhttpd!ap_regkey_value_remove+c7c 025fe9e8 dc9fc8a4 00000000 msvcrt!_endthreadex+44 02c1ff94 76b64911 025ee208 msvcrt!_endthreadex+ce 025ee208 02c1ffd4 76eee4b6 kernel32!BaseThreadInitThunk+e 025ee208 7443b351 00000000 ntdll!__RtlUserThreadStart+23 769e2da8 025ee208 00000000 ntdll!_RtlUserThreadStart+1b 769e2da8 025ee208 00000000 PHP5TS!_ZEND_MM_FREE_INT+35FIn httpd__PID__4120__Date__07_19_2008__Time_11_40_14PM__79__Second_Chance_Exception_C0000005.dmp the assembly instruction at php5ts!_zend_mm_free_int+35f in C:\Ecoweb\apps\PHP\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 8 Module Information Image Name: C:\Ecoweb\apps\PHP\php5ts.dll Symbol Type: PDB Base address: 0x01c00000 Time Stamp: Sat May 03 00:01:47 2008 Checksum: 0x00000000 Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 5.2.6.6 Managed DLL: False Internal Name: php5ts.dll VB DLL: False Legal Copyright: Copyright © 1997-2007 The PHP Group Loaded Image Name: php5ts.dll Legal Trademarks: PHP Mapped Image Name: C:\Ecoweb\apps\PHP\php5ts.dll Original filename: php5ts.dll Module name: php5ts Private Build: Single Threaded: False Product Name: PHP Script Interpreter Module Size: 4,93 MBytes Product Version: 5.2.6 Symbol File Name: C:\Ecoweb\apps\php-dbgpack\php5ts.pdb Special Build: & Report for httpd__PID__4120__Date__07_19_2008__Time_11_40_07PM__394__First chance exception 0XC0000005.dmp Report for httpd__PID__4120__Date__07_19_2008__Time_11_40_07PM__394__First chance exception 0XC0000005.dmp Type of Analysis Performed Crash Analysis Machine Name TJOCKIS Operating System Windows Vista Service Pack 1 Number Of Processors 2 Process ID 4120 Process Image C:\Ecoweb\apps\Apache2.2\bin\httpd.exe System Up-Time 02:09:58 Process Up-Time 00:02:01 Thread 8 - System ID 4612 Entry point msvcrt!_endthreadex+6f Create time 2008-07-19 23:38:07 Time spent in user mode 0 Days 0:0:1.171 Time spent in kernel mode 0 Days 0:0:0.500 Function Arg 1 Arg 2 Arg 3 Source php5ts!_zend_mm_free_int+35f 04110f30 00000b10 01c0311c php5ts!_efree+39 06934190 01c9c537 068cea94 php5ts!free_estring+c 068cea94 769d9d32 040e97d8 php5ts!zend_hash_destroy+27 040cf168 040cf130 040cf0e8 php5ts!shutdown_compiler+b0 040e97d8 040e97d8 040e97d8 php5ts!zend_deactivate+cf 040e97d8 009b4a10 040e97d8 php5ts!php_request_shutdown+2c9 00000000 00283573 009fe820 php5apache2_2!php_apache_request_dtor+8 009fe820 040e97d8 00000004 php5apache2_2!php_handler+643 009fe820 009b4a10 009fe820 libhttpd!ap_run_handler+21 009fe820 009fe820 009fe820 libhttpd!ap_invoke_handler+ae 00000000 025fe9f0 02c1ff00 libhttpd!ap_die+24e 009fe820 00000000 009e36a0 libhttpd!ap_get_request_note+1c9c 025fe9f0 025fe9f0 025fe9f0 libhttpd!ap_run_process_connection+21 025fe9f0 00924ea0 02c1ff48 libhttpd!ap_process_connection+33 025fe9f0 009ee7f0 00000000 libhttpd!ap_regkey_value_remove+c7c 025fe9e8 dc9fc8a4 00000000 msvcrt!_endthreadex+44 02c1ff94 76b64911 025ee208 msvcrt!_endthreadex+ce 025ee208 02c1ffd4 76eee4b6 kernel32!BaseThreadInitThunk+e 025ee208 7443b351 00000000 ntdll!__RtlUserThreadStart+23 769e2da8 025ee208 00000000 ntdll!_RtlUserThreadStart+1b 769e2da8 025ee208 00000000 PHP5TS!_ZEND_MM_FREE_INT+35FIn httpd__PID__4120__Date__07_19_2008__Time_11_40_07PM__394__First chance exception 0XC0000005.dmp the assembly instruction at php5ts!_zend_mm_free_int+35f in C:\Ecoweb\apps\PHP\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 8 Module Information Image Name: C:\Ecoweb\apps\PHP\php5ts.dll Symbol Type: PDB Base address: 0x01c00000 Time Stamp: Sat May 03 00:01:47 2008 Checksum: 0x00000000 Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 5.2.6.6 Managed DLL: False Internal Name: php5ts.dll VB DLL: False Legal Copyright: Copyright © 1997-2007 The PHP Group Loaded Image Name: php5ts.dll Legal Trademarks: PHP Mapped Image Name: C:\Ecoweb\apps\PHP\php5ts.dll Original filename: php5ts.dll Module name: php5ts Private Build: Single Threaded: False Product Name: PHP Script Interpreter Module Size: 4,93 MBytes Product Version: 5.2.6 Symbol File Name: C:\Ecoweb\apps\php-dbgpack\php5ts.pdb Special Build: & -- Edit bug report at http://bugs.php.net/?id=45567&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45567&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45567&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45567&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45567&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45567&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45567&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45567&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45567&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45567&r=support Expected behavior: http://bugs.php.net/fix.php?id=45567&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45567&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45567&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45567&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45567&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45567&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45567&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45567&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45567&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45567&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45567&r=mysqlcfg
