From:             mattficken
Operating system: Windows
PHP version:      5.5Git-2013-03-19 (snap)
Package:          Zip Related
Bug Type:         Bug
Bug description:oo Zip PHPTs crash intermittently

Description:
------------
Running this PHPT on Apache with PHP 5.5-03-19 intermittently crashes:
ext/zip/tests/oo_addemptydir.phpt

I tested some other ext/zip/tests/oo_* including oo_addfile and oo_open and
oo_streams, with this revision and they do not crash.

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

Actual result:
--------------
eax=054cf6e4 ebx=00000000 ecx=7fffffff edx=00000000 esi=00360000
edi=7577cad4
eip=7797dcbb esp=054cf6d4 ebp=054cf74c iopl=0         nv up ei pl zr na pe
nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b            
efl=00000246
ntdll!RtlpNtEnumerateSubKey+0x1b26:
7797dcbb eb12            jmp     ntdll!RtlpNtEnumerateSubKey+0x1b3a
(7797dccf)

054cf74c 7797ebc1 ntdll!RtlpNtEnumerateSubKey+0x1b26
054cf75c 7797eca1 ntdll!RtlpNtEnumerateSubKey+0x2a2c
054cf790 7792de10 ntdll!RtlpNtEnumerateSubKey+0x2b0c
054cf7c0 757714d1 ntdll!RtlUlonglongByteSwap+0xb70
054cf7d4 6d29dcc2 kernel32!HeapFree+0x14
054cf7e8 6b47e76f MSVCR110!free+0x1a
054cf7f8 6b47e3b3 php5ts!_zip_dirent_finalize+0xf
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\zip\lib\zip_dirent.c
@ 162]
054cf884 6b47c345 php5ts!zip_close+0x6d3
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\zip\lib\zip_close.c @
307]
054cf88c 6b227942 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]
054cf944 6b2276c8 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]
054cf95c 6b50283e 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]
054cf974 6b1eb459 php5ts!_zval_dtor_func+0x316e5e
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_variables.c @
54]
054cf98c 6b1f985e php5ts!_zval_ptr_dtor+0x59
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c @
428]
054cf9a4 6b2906f1 php5ts!zend_hash_reverse_apply+0xbe
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_hash.c @ 804]
054cfa10 6b2572a9 php5ts!shutdown_destructors+0x71
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_execute_api.c @
218]
054cfa68 6b256c78 php5ts!zend_call_destructors+0x49
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend.c @ 924]
054cfd74 6f9a1566 php5ts!php_request_shutdown+0x108
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\main\main.c @ 1743]
054cfea8 6d2341d5 php5apache2_4!php_handler+0x486
[c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c
@ 680]
054cfec0 6d23356d libhttpd!ap_run_handler+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
169]
054cfed8 6d242424 libhttpd!ap_invoke_handler+0xdd
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @
432]
054cfef8 6d2424b1 libhttpd!ap_process_async_request+0x184
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 317]
054cff0c 6d23d8a1 libhttpd!ap_process_request+0x11
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c
@ 363]
054cff28 6d236545 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]
054cff40 6d25ae62 libhttpd!ap_run_process_connection+0x25
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\connection.c @
41]
054cff68 75773677 libhttpd!worker_main+0x112
[g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\mpm\winnt\child.c
@ 840]
054cff74 778e9d72 kernel32!BaseThreadInitThunk+0x12
054cffb4 778e9d45 ntdll!RtlInitializeExceptionChain+0x63
054cffcc 00000000 ntdll!RtlInitializeExceptionChain+0x36

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

Reply via email to