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

From: Date: Sun, 13 Apr 2014 08:48:29 +0000
Subject: Bug #66660 [Csd]: Composer.phar install/update fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185209@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:         tyrael@php.net
 Reported by:        shabazzk at gmail dot com
 Summary:            Composer.phar install/update fails
 Status:             Closed
 Type:               Bug
 Package:            Reproducible crash
 PHP Version:        5.6.0-dev
 Assigned To:        tyrael
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2014-04-13 08:46:19] tyrael@php.net

Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=20036525e2b5ee7613a6d3ead0270631b23f6a15
Log: Fix bug #66660: use str_efree instead of efree to handle interned empty strings correctly

------------------------------------------------------------------------
[2014-04-13 08:43:22] tyrael@php.net

Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=20036525e2b5ee7613a6d3ead0270631b23f6a15
Log: Fix bug #66660: use str_efree instead of efree to handle interned empty strings correctly

------------------------------------------------------------------------
[2014-04-13 08:18:00] krakjoe@php.net

yes, str_efree is correct solution ... do that ...

------------------------------------------------------------------------
[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.

------------------------------------------------------------------------


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


Thread (15 messages)

« previous php.bugs (#185209) next »