Bug #81204 [NEW]: PHP 8 crashes with Access Violation on Apache restart

From: Date: Sun, 27 Jun 2021 14:22:13 +0000
Subject: Bug #81204 [NEW]: PHP 8 crashes with Access Violation on Apache restart
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234649@lists.php.net to get a copy of this message
From: jeremy dot dunn at dhamma dot org Operating system: Windows Server 2012 R2 PHP version: 8.0.7 Package: Apache2 related Bug Type: Bug Bug description:PHP 8 crashes with Access Violation on Apache restart Description: ------------ Windows Server 2012 R2; Apache httpd 2.4.48 x64; PHP 8.0.7 TS x64 Apache installed as windows service PHP 8 installed as Apache module: LoadModule php_module "C:\Program Files\PHP\php8apache2_4.dll" restarting Apache using ApacheMonitor (clean restart) causes crash dump as follows: Report for httpd.exe_210627_070208.dmp ========================================= Type of Analysis Performed Crash Analysis Machine Name DHAMMAREGPROD2 Operating System Windows Server 2012 R2 Number Of Processors 4 Process ID 8512 Process Image C:\Program Files\Apache24\bin\httpd.exe Command Line "C:\Program Files\Apache24\bin\httpd.exe" -d "C:/Program Files/Apache24" System Up-Time 1 day(s) 01:47:30 Process Up-Time 10:47:12 Processor Type X64 Process Bitness 64-Bit Faulting Thread ================== Entry point httpd!OPENSSL_Applink+2014 Create time 6/26/2021 8:14:56 PM Time spent in user mode 0 Days 0:0:0.140 Time spent in kernel mode 0 Days 0:0:0.125 Arg 1 Arg 2 Arg 3 Arg 4 Source php8ts!realpath_cache_clean+4f [C:\php-snap-build\php80\vs16\x64\php-8.0.7-ts\Zend\zend_virtual_cwd.c @ 346 + f] 000000000000038 000000000000007 0000000`00000118 00000f9`2d4dfd30 C:\php-snap-build\php80\vs16\x64\php-8.0.7-ts\Zend\zend_virtual_cwd.c @ 346 + f php8ts!tsrm_shutdown+f1 [C:\php-snap-build\php80\vs16\x64\php-8.0.7-ts\TSRM\TSRM.c @ 192 + c] 00000f8e40756b8 00000f8e3f0fcd9 0000000`00000000 00000f8`e3f0fb70 C:\php-snap-build\php80\vs16\x64\php-8.0.7-ts\TSRM\TSRM.c @ 192 + c php8apache2_4!php_apache_server_shutdown+24 [C:\php-snap-build\php80\vs16\x64\php-8.0.7-ts\sapi\apache2handler\sapi_apache2.c @ 421] 00000f8e40756b8 000000000000000 0000000`00000000 0000000`00000000 C:\php-snap-build\php80\vs16\x64\php-8.0.7-ts\sapi\apache2handler\sapi_apache2.c @ 421 libapr_1!apr_pool_destroy+6e 00000f8e4071c28 00000f8e40a4478 00000f8e4071d30 000000000000000 libapr_1!apr_pool_destroy+4f 00000f8e4071d30 00000f800000000 000000000000000 000000000000000 httpd!OPENSSL_Applink+280 00000f8e40756b8 0007ff82e678208 00000f8e3f0fcd9 000000000000000 httpd!OPENSSL_Applink+eec 000000000000000 000000000000000 000000000000000 000000000000000 httpd!OPENSSL_Applink+1fa4 0007ff63e3d3014 0007ff63daff000 000000000000000 000000000000000 kernel32!BaseThreadInitThunk+22 0007ff8`345813d0 000000000000000 000000000000000 0000000`00000000 ntdll!RtlUserThreadStart+34 000000000000000 000000000000000 000000000000000 000000000000000 CLR Information Exception Information PHP8TS!REALPATH_CACHE_CLEAN+4FIn httpd.exe_210627_070208.dmp the assembly instruction at php8ts!realpath_cache_clean+4f in C:\Program Files\php\php8ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0xe4a3f000 on thread 0 Module Information Image Name: C:\Program Files\php\php8ts.dll Symbol Type: PDB Base address: 0x00000003`00905a4d Time Stamp: Tue Jun 1 16:20:14 2021 Checksum: 0x00000000`00000000 Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 8.0.7 Managed DLL: False Internal Name: PHP Script Interpreter VB DLL: False Legal Copyright: Copyright © The PHP Group Loaded Image Name: php8ts.dll Legal Trademarks: PHP Mapped Image Name: Original filename: php8ts.dll Module name: php8ts Private Build: Single Threaded: False Product Name: PHP Module Size: 8.87 MBytes Product Version: 8.0.7 Symbol File Name: c:\program files\php-debug\php8ts.pdb Special Build: & -- Edit bug report at https://bugs.php.net/bug.php?id=81204&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81204&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81204&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81204&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81204&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81204&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81204&r=support Expected behavior: https://bugs.php.net/fix.php?id=81204&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81204&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81204&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81204&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81204&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81204&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81204&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81204&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81204&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81204&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81204&r=mysqlcfg

« previous php.bugs (#234649) next »