From:             mattficken
Operating system: Windows
PHP version:      5.5.0alpha5
Package:          Zip Related
Bug Type:         Bug
Bug description:ZIP PHPTs crash with 5.5 built with VC11 compiler and O+

Description:
------------
These 3 PHPTs crash 5.5.0a6 on Windows when built with VC11 compiler:
ext/zip/tests/oo_addfile.phpt
ext/zip/tests/oo_rename.phpt
ext/zip/tests/oo_getnameindex.phpt

These crashes are intermittent, about 1 in 10 test runs.

I think there has to be a bunch of PHPTs run between the runs of these 3
Zip PHPTs (ie, just running these 3 PHPTs 10 times won't work... however,
this issue is also reproducable by running thse 3 PHPTs a few hundred
times).



Expected result:
----------------
Test pass

Actual result:
--------------
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


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

Reply via email to