Edit report at https://bugs.php.net/bug.php?id=66660&edit=1
ID: 66660
Updated by: tyrael@php.net
Reported by: shabazzk at gmail dot com
Summary: Composer.phar install/update fails
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Windows 7 Enterprise
PHP Version: 5.6.0-dev
Block user comment: N
Private report: N
New Comment:
there were a bugreport at the composer guys also:
https://github.com/composer/composer/issues/2774
I can't reproduce that too on my mac, will try with Ubuntu 13.10 as in that bugreport.
Previous Comments:
------------------------------------------------------------------------
[2014-04-13 01:32:59] tyrael@php.net
based on https://bugs.php.net/bug.php?id=66751
this seems to be unrelated to windows, so I will try reproducing myself(the tests script from that
report didn't crash for me).
------------------------------------------------------------------------
[2014-04-13 01:16:37] tyrael@php.net
could you verify that it is working fine with beta1?
it it does then I will close this issue.
------------------------------------------------------------------------
[2014-03-17 04:22:58] shabazzk at gmail dot com
It is working for me now. I went back and built PHP on Windows 7 with the latest version of PHP from
the git repo: git clone -b PHP-5.6 https://github.com/php/php-src
I used these instructions to build on Winodws: http://www.kshabazz.net/build-php-on-windows.html
------------------------------------------------------------------------
[2014-03-05 12:09:18] shabazzk at gmail dot com
This may help it bit more:
> php5.dll!_efree(void * ptr) Line 2440 C
php5.dll!zend_strip() Line 214 C
php5.dll!zif_php_strip_whitespace(int ht, _zval_struct * return_value, _zval_struct * *
return_value_ptr, _zval_struct * this_ptr, int return_value_used) Line 5240 C
php5.dll!zend_do_fcall_common_helper_SPEC(_zend_execute_data * execute_data) Line 558 C
php5.dll!execute_ex(_zend_execute_data * execute_data) Line 363 C
php5.dll!zend_execute(_zend_op_array * op_array) Line 388 C
php5.dll!zend_execute_scripts(int type, _zval_struct * * retval, int file_count, ...) Line 1330 C
php5.dll!php_execute_script(_zend_file_handle * primary_file) Line 2584 C
5615CE5C 00 02 add byte ptr [edx],al
2437: AG(mm_heap)->_free(ptr);
2438: return;
2439: }
2440: _zend_mm_free_int(AG(mm_heap), ptr ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
5615CE5E 00 73 25 add byte ptr [ebx+25h],dh
5615CE61 8B C2 mov eax,edx
5615CE63 C1 E8 03 shr eax,3
5615CE66 8D 0C 86 lea ecx,[esi+eax*4]
5615CE69 8B 41 48 mov eax,dword ptr [ecx+48h]
5615CE6C 89 47 08 mov dword ptr [edi+8],eax
5615CE6F 89 79 48 mov dword ptr [ecx+48h],edi
5615CE72 01 56 4C add dword ptr [esi+4Ch],edx
5615CE75 A1 E4 52 68 56 mov eax,dword ptr ds:[566852E4h]
5615CE7A 85 C0 test eax,eax
5615CE7C 0F 85 4D 04 00 00 jne _efree+4AFh (5615D2CFh)
5615CE82 5F pop edi
5615CE83 5E pop esi
2441: }
5615CE84 59 pop ecx
5615CE85 C3 ret
2437: AG(mm_heap)->_free(ptr);
2438: return;
2439: }
2440: _zend_mm_free_int(AG(mm_heap), ptr ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
5615CE86 29 56 34 sub dword ptr [esi+34h],edx
5615CE89 8B 04 3A mov eax,dword ptr [edx+edi]
5615CE8C 53 push ebx
5615CE8D 8D 1C 3A lea ebx,[edx+edi]
5615CE90 55 push ebp
5615CE91 A8 01 test al,1
5615CE93 75 6D jne _efree+0E2h (5615CF02h)
5615CE95 8B 4B 08 mov ecx,dword ptr [ebx+8]
5615CE98 8B 6B 0C mov ebp,dword ptr [ebx+0Ch]
5615CE9B 3B CB cmp ecx,ebx
5615CE9D 0F 85 A9 01 00 00 jne _efree+22Ch (5615D04Ch)
5615CEA3 3B EB cmp ebp,ebx
5615CEA5 0F 85 2B 04 00 00 jne _efree+4B6h (5615D2D6h)
5615CEAB 83 7B 18 00 cmp dword ptr [ebx+18h],0
5615CEAF 0F 85 83 03 00 00 jne _efree+418h (5615D238h)
2437: AG(mm_heap)->_free(ptr);
2438: return;
2439: }
2440: _zend_mm_free_int(AG(mm_heap), ptr ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
------------------------------------------------------------------------
[2014-03-05 11:58:51] shabazzk at gmail dot com
PHP crashes when composer.phar tries to generate an auto-load file for me. There may be other times
when it crashes. I tried to get a back-trace. But the instructions on how to do that are quite
dated. I'm using VS2012, so I did the best I could. I assume since PHP crashes, then it is a
bug with PHP, and since composer works fine with 5.5.3.
-- stack call
> php5.dll!_efree(void * ptr) Line 2440 C
php5.dll!zend_strip() Line 214 C
php5.dll!zif_php_strip_whitespace(int ht, _zval_struct * return_value, _zval_struct * *
return_value_ptr, _zval_struct * this_ptr, int return_value_used) Line 5240 C
php5.dll!zend_do_fcall_common_helper_SPEC(_zend_execute_data * execute_data) Line 558 C
php5.dll!execute_ex(_zend_execute_data * execute_data) Line 363 C
php5.dll!zend_execute(_zend_op_array * op_array) Line 388 C
php5.dll!zend_execute_scripts(int type, _zval_struct * * retval, int file_count, ...) Line 1330 C
php5.dll!php_execute_script(_zend_file_handle * primary_file) Line 2584 C
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=66660
--
Edit this bug report at https://bugs.php.net/bug.php?id=66660&edit=1