From:             mattficken
Operating system: Windows
PHP version:      5.5.0alpha5
Package:          *Compile Issues
Bug Type:         Bug
Bug description:PHPT crashes with 5.5 built with VC11 compiler and O+

Description:
------------
Using 5.5 r0827418 and r8589dfb
Using the March 5th build of O+
Apache version: ApacheLounge-2.4.4-VC11


These are all the crashes I've been able to find:


Crashes are in 5 places(affecting 25 PHPTs):
1. zend_objects_api.c @ 273 - VC11 issue (occurs with or without o+)
2. zendaccelerator.c @ 2377 - O+ issue
3. zip_dirent.c @ 164 - intermittent VC11 issue
4. & 5. timelib - these crashes affect 5.4 and 5.3 built with vc9 too,
they've been around for a while (here for completeness).


The ext/zip and ext/phar crashes pass on CLI but fail when on Apache: copy
the FILE section into a .php script and copy into Apache's docroot and try
with `ab` a few times.





Actual result:
--------------
(These PHPTs all have the same backtrace)
ext/simplexml/tests/007.phpt
ext/simplexml/tests/014.phpt
ext/simplexml/tests/014a.phpt
ext/simplexml/tests/014b.phpt
ext/simplexml/tests/016.phpt
ext/simplexml/tests/016a.phpt
ext/simplexml/tests/027.phpt
ext/simplexml/tests/028.phpt
ext/simplexml/tests/030.phpt
ext/simplexml/tests/bug35785.phpt
ext/simplexml/tests/bug37076.phpt
ext/simplexml/tests/bug37076_1.phpt
ext/simplexml/tests/bug37386.phpt
ext/simplexml/tests/bug41582.phpt
ext/simplexml/tests/bug35785.phpt
033ff878 739fce18 php5ts!zend_object_store_get_object+0x15
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_objects_api.c @
273]
033ff8a4 7377e1aa php5ts!sxe_property_get_adr+0x18
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\simplexml\simplexml.c
@ 707]
033ff8d0 737cc913 php5ts!zend_fetch_property_address+0x3a
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_execute.c @
1387]
033ff8f4 7373c849 php5ts!ZEND_FETCH_OBJ_W_SPEC_CV_CONST_HANDLER+0x33
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
32506]
033ff938 73736547 php5ts!execute_ex+0x89
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
356]
033ff960 7373630a php5ts!zend_execute+0x1c7
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
381]
033ff994 73737050 php5ts!zend_execute_scripts+0x14a
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend.c @ 1317]
033ffba0 74f21503 php5ts!php_execute_script+0x190
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\main\main.c @ 2479]
033ffcd8 74f741d5 php5apache2_4!php_handler+0x423
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 667]
033ffcf0 74f7356d libhttpd!ap_run_handler+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
169]
033ffd08 74f82424 libhttpd!ap_invoke_handler+0xdd
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
432]
033ffd28 74f824b1 libhttpd!ap_process_async_request+0x184
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 317]
033ffd3c 74f7d8a1 libhttpd!ap_process_request+0x11
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 363]
033ffd58 74f76545 libhttpd!ap_process_http_sync_connection+0x61
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_core.c
@ 190]
033ffd70 74f9ae62 libhttpd!ap_run_process_connection+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\connection.c @
41]
033ffd98 76af3677 libhttpd!worker_main+0x112
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\mpm\winnt\child.c
@ 840]
033ffda4 77689d72 kernel32!BaseThreadInitThunk+0x12
033ffde4 77689d45 ntdll!RtlInitializeExceptionChain+0x63
033ffdfc 00000000 ntdll!RtlInitializeExceptionChain+0x36


(These PHPTs all have the same backtrace)
ext/phar/tests/tar/phar_commitwrite.phpt
ext/phar/tests/zip/phar_commitwrite.phpt
ext/phar/tests/zip/phar_setsignaturealgo2.phpt
ext/phar/tests/tar/phar_setsignaturealgo2.phpt
0009f904 713df1af php_ZendOptimizerPlus!accel_startup+0x3f3
[c:\php-sdk\php55\vc11\x86\php-5.5.0alpha5-src\ext\zendoptimizerplus\zendaccelerator.c
@ 2377]
0009f910 7152b2d0 php5ts!zend_extension_startup+0xf
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_extensions.c @
154]
0009f928 7127ae90 php5ts!zend_llist_apply_with_del+0x259190
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_llist.c @ 178]
0009fc18 74c01b01 php5ts!php_module_startup+0x7d0
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\main\main.c @ 2207]
0009fc28 74c01ac7 php5apache2_4!php_apache2_startup+0x11
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 348]
0009fc4c 7417432e php5apache2_4!php_apache_server_startup+0x77
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 458]
0009fc70 000a19ef libhttpd!ap_run_post_config+0x2e
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
105]
0009fcc8 000a24ea httpd!main+0x85f
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\main.c @ 765]
0009fd08 76af3677 httpd!__tmainCRTStartup+0xfd
[f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 536]
0009fd14 77689d72 kernel32!BaseThreadInitThunk+0x12
0009fd54 77689d45 ntdll!RtlInitializeExceptionChain+0x63
0009fd6c 00000000 ntdll!RtlInitializeExceptionChain+0x36

Note: these PHAR crashes are intermittent (about 1 in 10 test runs)...

ext/zip/tests/oo_addfile.phpt
ext/zip/tests/oo_rename.phpt
ext/zip/tests/oo_getnameindex.phpt
037ef060 776febc1 ntdll!RtlpNtEnumerateSubKey+0x1b26
037ef070 776feca1 ntdll!RtlpNtEnumerateSubKey+0x2a2c
037ef0a4 776ade10 ntdll!RtlpNtEnumerateSubKey+0x2b0c
037ef0d4 75a314d1 ntdll!RtlUlonglongByteSwap+0xb70
037ef0e8 6f0ddcc2 kernel32!HeapFree+0x14
037ef0fc 6d99cd78 MSVCR110!free+0x1a
037ef110 6d99c9b3 php5ts!_zip_dirent_finalize+0x18
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\zip\lib\zip_dirent.c
@ 164]
037ef198 6d99a945 php5ts!zip_close+0x6d3
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\zip\lib\zip_close.c @
307]
037ef1a0 6d767912 php5ts!php_zip_object_free_storage+0x15
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\zip\php_zip.c @
1054]
037ef258 6d767698 php5ts!zend_objects_store_del_ref_by_handle_ex+0x1a2
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_objects_api.c @
221]
037ef270 6da20abf php5ts!zend_objects_store_del_ref+0x18
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_objects_api.c @
173]
037ef288 6d7147f9 php5ts!_zval_dtor_func+0x30bd3f
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_variables.c @
54]
037ef2a0 6d728f5e php5ts!_zval_ptr_dtor+0x59
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c @
428]
037ef2b8 6d7b0051 php5ts!zend_hash_reverse_apply+0xbe
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_hash.c @ 804]
037ef324 6d7affb9 php5ts!shutdown_destructors+0x71
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c @
218]
037ef37c 6d70bae8 php5ts!zend_call_destructors+0x49
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend.c @ 924]
037ef688 6efa1566 php5ts!php_request_shutdown+0x108
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\main\main.c @ 1743]
037ef7bc 6efe41d5 php5apache2_4!php_handler+0x486
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 680]
037ef7d4 6efe356d libhttpd!ap_run_handler+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
169]
037ef7ec 6eff2424 libhttpd!ap_invoke_handler+0xdd
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
432]
037ef80c 6eff24b1 libhttpd!ap_process_async_request+0x184
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 317]
037ef820 6efed8a1 libhttpd!ap_process_request+0x11
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 363]
037ef83c 6efe6545 libhttpd!ap_process_http_sync_connection+0x61
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_core.c
@ 190]
037ef854 6f00ae62 libhttpd!ap_run_process_connection+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\connection.c @
41]
037ef87c 75a33677 libhttpd!worker_main+0x112
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\mpm\winnt\child.c
@ 840]
037ef888 77669d72 kernel32!BaseThreadInitThunk+0x12
037ef8c8 77669d45 ntdll!RtlInitializeExceptionChain+0x63
037ef8e0 00000000 ntdll!RtlInitializeExceptionChain+0x36

Note: these ZIP crashes are intermittent
All these other crashes happen every time.


ext/date/tests/bug53437.phpt
030df450 74851de3 php5ts!timelib_time_clone+0x1e
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\date\lib\timelib.c @
52]
030df458 746ba71d php5ts!date_period_it_rewind+0x23
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\date\php_date.c @
1896]
030df488 7466c849 php5ts!ZEND_FE_RESET_SPEC_CV_HANDLER+0x2bd
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
31170]
030df4cc 74666547 php5ts!execute_ex+0x89
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
356]
030df4f4 7466630a php5ts!zend_execute+0x1c7
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
381]
030df528 74667050 php5ts!zend_execute_scripts+0x14a
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend.c @ 1317]
030df734 74c61503 php5ts!php_execute_script+0x190
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\main\main.c @ 2479]
030df86c 74f941d5 php5apache2_4!php_handler+0x423
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 667]
030df884 74f9356d libhttpd!ap_run_handler+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
169]
030df89c 74fa2424 libhttpd!ap_invoke_handler+0xdd
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
432]
030df8bc 74fa24b1 libhttpd!ap_process_async_request+0x184
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 317]
030df8d0 74f9d8a1 libhttpd!ap_process_request+0x11
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 363]
030df8ec 74f96545 libhttpd!ap_process_http_sync_connection+0x61
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_core.c
@ 190]
030df904 74fbae62 libhttpd!ap_run_process_connection+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\connection.c @
41]
030df92c 76af3677 libhttpd!worker_main+0x112
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\mpm\winnt\child.c
@ 840]
030df938 77689d72 kernel32!BaseThreadInitThunk+0x12
030df978 77689d45 ntdll!RtlInitializeExceptionChain+0x63
030df990 00000000 ntdll!RtlInitializeExceptionChain+0x36

ext/date/tests/bug62852.phpt
0377f398 73786aea php5ts!fetch_timezone_offset+0x5
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\date\lib\parse_tz.c @
341]
0377f3c8 7378589e php5ts!timelib_get_time_zone_info+0x2a
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\date\lib\parse_tz.c @
415]
0377f49c 739215ce php5ts!date_format+0x8e
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\date\php_date.c @
1033]
0377f4d0 739c59c2 php5ts!date_object_get_properties+0x5e
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\date\php_date.c @
2131]
0377f4fc 739c6d35 php5ts!php_var_dump+0x1c2
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\standard\var.c @
129]
0377f520 7373d583 php5ts!zif_var_dump+0x45
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\standard\var.c @
183]
0377f590 7373cb1b php5ts!zend_do_fcall_common_helper_SPEC+0x203
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
542]
0377f5d4 73736547 php5ts!execute_ex+0x35b
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
356]
0377f5fc 7373630a php5ts!zend_execute+0x1c7
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @
381]
0377f630 73737050 php5ts!zend_execute_scripts+0x14a
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend.c @ 1317]
0377f83c 74f21503 php5ts!php_execute_script+0x190
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\main\main.c @ 2479]
0377f974 74f741d5 php5apache2_4!php_handler+0x423
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 667]
0377f98c 74f7356d libhttpd!ap_run_handler+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
169]
0377f9a4 74f82424 libhttpd!ap_invoke_handler+0xdd
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
432]
0377f9c4 74f824b1 libhttpd!ap_process_async_request+0x184
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 317]
0377f9d8 74f7d8a1 libhttpd!ap_process_request+0x11
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 363]
0377f9f4 74f76545 libhttpd!ap_process_http_sync_connection+0x61
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_core.c
@ 190]
0377fa0c 74f9ae62 libhttpd!ap_run_process_connection+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\connection.c @
41]
0377fa34 76af3677 libhttpd!worker_main+0x112
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\mpm\winnt\child.c
@ 840]
0377fa40 77689d72 kernel32!BaseThreadInitThunk+0x12
0377fa80 77689d45 ntdll!RtlInitializeExceptionChain+0x63
0377fa98 00000000 ntdll!RtlInitializeExceptionChain+0x36



-- 
Edit bug report at https://bugs.php.net/bug.php?id=64372&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64372&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64372&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64372&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64372&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64372&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64372&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64372&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64372&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64372&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64372&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64372&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64372&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64372&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64372&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64372&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64372&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64372&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64372&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64372&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64372&r=mysqlcfg

Reply via email to