Bug #68058 [NEW]: Apache crashes on startup with recent master snapshots
| From: | mattficken@php.net | Date: | Fri, 19 Sep 2014 19:59:32 +0000 |
| Subject: | Bug #68058 [NEW]: Apache crashes on startup with recent master snapshots | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-187614@lists.php.net to get a copy of this message | ||
From: mattficken
Operating system: Windows
PHP version: master-Git-2014-09-19 (snap)
Package: Apache2 related
Bug Type: Bug
Bug description:Apache crashes on startup with recent master snapshots
Description:
------------
When trying to load Apache 2.4 OpenSSL-1.0.1 x86 VC11 with a master TS
X86 VC11 snapshot, Apache crashes.
I'm loading apache to ultimately run a PHPT test, but the Apache/mod_php
process crashes before it can run the test (so Apache/mod_php is now
unusable with master snapshot builds on Windows).
It crashes in a different place on different snapshots/revisions, so may
be either a memory (mis-)management/alignment(symbol change?) or binary
compatibility issue.
standard minimalist Apache conf used (included below)
Test script:
---------------
LoadModule php5_module
"C:/php-sdk/php-master-ts-windows-vc11-x86-r543ae3f/php7apache2_4.dll"
PHPIniDir "C:/php-sdk/temp/PFTT-ApacheManager-ELTPHISAII\"
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule dir_module modules/mod_dir.so
ServerAdmin administrator@10.30.68.150
ServerName 10.30.68.150:40111
Listen 10.30.68.150:40111
AcceptFilter http none
AcceptFilter https none
EnableMMAP off
EnableSendfile off
<Directory />
AllowOverride none
</Directory>
DocumentRoot
"C:\php-sdk\php-test-pack-master-ts-windows-vc11-x86-r551ee41"
<Directory
"C:\php-sdk\php-test-pack-master-ts-windows-vc11-x86-r551ee41">
Options Indexes FollowSymLinks
AllowOverride None
<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>
</Directory>
ErrorLog "C:\php-sdk\temp\PFTT-ApacheManager-ELTPHISAII\error.log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b\" common
</IfModule>
<IfModule mime_module>
AddType application/x-httpd-php .php
</IfModule>
Actual result:
--------------
php-master-ts-windows-vc11-x86-r543ae3f
05a6e6c8 6cc9a3c4 php7ts!concat_function+0xde
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_operators.c
@ 1535]
05a6e704 6cc9a586 php7ts!zend_binary_assign_op_helper_SPEC_CV_TMP+0x114
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 36924]
05a6e70c 6cc43ee8 php7ts!ZEND_ASSIGN_CONCAT_SPEC_CV_TMP_HANDLER+0x16
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 37040]
05a6e718 6ccad69b php7ts!execute_ex+0x38
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 352]
05a6e7e0 6ccc0a42 php7ts!zend_call_function+0x79b
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 850]
05a6e878 6ce0d17b php7ts!zend_call_method+0x2a2
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_interfaces.c
@ 101]
05a6e8c0 6ccad733 php7ts!zif_spl_autoload_call+0xfb
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\ext\spl\php_spl.c @
424]
05a6e978 6ccab919 php7ts!zend_call_function+0x833
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 869]
05a6ea04 6ccacb06 php7ts!zend_lookup_class_ex+0x389
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 1035]
05a6ea28 6cc4da47 php7ts!zend_fetch_class_by_name+0x26
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 1420]
05a6ea4c 6cc43ee8 php7ts!ZEND_FETCH_CLASS_SPEC_CONST_HANDLER+0x57
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 1517]
05a6ea58 6cc43e9f php7ts!execute_ex+0x38
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 352]
05a6ea84 6cc124d3 php7ts!zend_execute+0x34f
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 381]
05a6eadc 6ccf2da7 php7ts!zend_execute_scripts+0x93
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend.c @
1346]
05a6fce8 6d9937ae php7ts!php_execute_script+0x267
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\main\main.c @
2560]
05a6fe00 6f9c2765 php7apache2_4!php_handler+0x58e
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 662]
05a6fe18 6f9c2bfe libhttpd!ap_run_handler+0x25
05a6fe30 6f9d23de libhttpd!ap_invoke_handler+0x9e
05a6fe50 6f9d2471 libhttpd!ap_die+0x3ae
05a6fe64 6f9ccef1 libhttpd!ap_die+0x441
05a6fe80 6f9ccf97 libhttpd!ap_psignature+0x13e1
05a6fe8c 6f9c5e65 libhttpd!ap_psignature+0x1487
05a6fea4 6f9e9fe3 libhttpd!ap_run_process_connection+0x25
05a6fecc 77873677 libhttpd!ap_regkey_value_remove+0x1183
05a6fed8 77d99d72 kernel32!BaseThreadInitThunk+0x12
05a6ff18 77d99d45 ntdll!RtlInitializeExceptionChain+0x63
05a6ff30 00000000 ntdll!RtlInitializeExceptionChain+0x36
php-master-ts-windows-vc11-x86-r551ee41
0523e0e8 6bf840b8 php7ts!ZEND_IS_EQUAL_SPEC_CONST_VAR_HANDLER+0xd0
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 6148]
0523e0f4 6bfef6ce php7ts!execute_ex+0x38
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 352]
0523e1c4 6c00190f php7ts!zend_call_function+0x7be
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 850]
0523e25c 6c14dd7b php7ts!zend_call_method+0x29f
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_interfaces.c
@ 101]
0523e2a4 6bfef766 php7ts!zif_spl_autoload_call+0xfb
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\ext\spl\php_spl.c @
424]
0523e364 6bfed909 php7ts!zend_call_function+0x856
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 869]
0523e3f0 6bfeeb16 php7ts!zend_lookup_class_ex+0x389
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 1035]
0523e414 6bf928e3 php7ts!zend_fetch_class_by_name+0x26
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c
@ 1420]
0523e44c 6bf840b8
php7ts!ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER+0x33
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 4111]
0523e458 6bf8406e php7ts!execute_ex+0x38
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 352]
0523e484 6bf52cd3 php7ts!zend_execute+0x30e
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h
@ 381]
0523e4dc 6c033d7a php7ts!zend_execute_scripts+0x93
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\zend\zend.c @
1293]
0523f6e8 6fe237ae php7ts!php_execute_script+0x23a
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\main\main.c @
2567]
0523f800 6f9f2765 php7apache2_4!php_handler+0x58e
[c:\php-sdk\snap_master\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 662]
0523f818 6f9f2bfe libhttpd!ap_run_handler+0x25
0523f830 6fa023de libhttpd!ap_invoke_handler+0x9e
0523f850 6fa02471 libhttpd!ap_die+0x3ae
0523f864 6f9fcef1 libhttpd!ap_die+0x441
0523f880 6f9fcf97 libhttpd!ap_psignature+0x13e1
0523f88c 6f9f5e65 libhttpd!ap_psignature+0x1487
0523f8a4 6fa19fe3 libhttpd!ap_run_process_connection+0x25
0523f8cc 75513677 libhttpd!ap_regkey_value_remove+0x1183
0523f8d8 77609d72 kernel32!BaseThreadInitThunk+0x12
0523f918 77609d45 ntdll!RtlInitializeExceptionChain+0x63
0523f930 00000000 ntdll!RtlInitializeExceptionChain+0x36
--
Edit bug report at https://bugs.php.net/bug.php?id=68058&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68058&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68058&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68058&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68058&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68058&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68058&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68058&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68058&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68058&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68058&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68058&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68058&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68058&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68058&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68058&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68058&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68058&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68058&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68058&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68058&r=mysqlcfg