Bug #66660 [Fbk->Opn]: Composer.phar install/update fails

From: Date: Wed, 05 Mar 2014 11:58:52 +0000
Subject: Bug #66660 [Fbk->Opn]: Composer.phar install/update fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184529@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66660&edit=1 ID: 66660 User updated by: shabazzk at gmail dot com Reported by: shabazzk at gmail dot com Summary: Composer.phar install/update fails -Status: Feedback +Status: Open Type: Bug Package: Reproducible crash Operating System: Windows 7 Enterprise -PHP Version: 5.6.0alpha1 +PHP Version: 5.6.0alpha3 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2014-02-26 15:59:30] e6nian at gmail dot com I have the same problem ,composer won't work with --optimize ± |master ✗| → composer dump-autoload --optimize -vvv --ansi --profile [3.2MB/0.01s] Reading ./composer.json [3.6MB/0.02s] Executing command (CWD): git describe --exact-match --tags [3.8MB/0.03s] Executing command (CWD): git branch --no-color --no-abbrev -v Generating optimized autoload files Segmentation fault: 11 ± |master ✗| → php --version PHP 5.6.0alpha2 (cli) (built: Feb 23 2014 22:49:29) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.6.0-dev, Copyright (c) 1998-2014 Zend Technologies OS Darwin local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64 ------------------------------------------------------------------------ [2014-02-07 19:01:25] requinix@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Either ^ that, or file this as a bug with the composer folks instead. ------------------------------------------------------------------------ [2014-02-07 15:40:48] shabazzk at gmail dot com Description: ------------ When I try to run "composer install" or "composer update" on a composer project that needs to generate an autoloader; it gets to the point where it needs to generate the autoloader, but the the php CLI crashes. I have not tried this on any system other than windows 7. Expected result: ---------------- Composer should generate the autoloader, and the php CLI should not crash. Actual result: -------------- coming soon... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66660&edit=1

« previous php.bugs (#184529) next »