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

From: Date: Sun, 13 Apr 2014 08:18:01 +0000
Subject: Bug #66660 [Fbk]: Composer.phar install/update fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185207@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 Updated by: krakjoe@php.net Reported by: shabazzk at gmail dot com Summary: Composer.phar install/update fails Status: Feedback Type: Bug Package: Reproducible crash PHP Version: 5.6.0-dev Assigned To: tyrael Block user comment: N Private report: N New Comment: yes, str_efree is correct solution ... do that ... Previous Comments: ------------------------------------------------------------------------ [2014-04-13 02:49:41] tyrael@php.net replacing efree with STR_FREE seems to resolve the issue, so my hunch is that it is related to the new "empty strings are now interned" feature mentioned in UPGRADING.INTERNALS. ------------------------------------------------------------------------ [2014-04-13 02:32:37] tyrael@php.net nope, I was too hasty (time to get some sleep), the reproduction script doesn't but reports this in debug mode: /Users/tyrael/checkouts/php-src.git/Zend/zend_highlight.c(214) : Block 0x10a615048 status: Invalid pointer: ((size=0x0002b5a5) != (next.prev=0x00000001)) Invalid pointer: ((prev=0x00000001) != (prev.size=0x0002b5a5)) I guess this is what krakjoe also meant when saying he couldn't make it to segfault. ------------------------------------------------------------------------ [2014-04-13 02:10:31] tyrael@php.net ops, I forgot to remove --enable-maintainer-zts from my configure line, without that I'm able to reproduce the crash even with the simple oneliner from the other report: # cat test.php <?php __CLASS__ ?> # php -r 'php_strip_whitespace(getcwd()."/test.php");' ------------------------------------------------------------------------ [2014-04-13 01:58:59] tyrael@php.net 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. ------------------------------------------------------------------------ [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). ------------------------------------------------------------------------ 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

« previous php.bugs (#185207) next »