Bug #66892 [Com]: pointer being reallocated was not allocated

From: Date: Wed, 12 Mar 2014 14:27:33 +0000
Subject: Bug #66892 [Com]: pointer being reallocated was not allocated
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184756@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66892&edit=1

 ID:                 66892
 Comment by:         neuro at interx dot net
 Reported by:        neuro at interx dot net
 Summary:            pointer being reallocated was not allocated
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   OSX 10.6
 PHP Version:        5.6.0alpha3
 Block user comment: N
 Private report:     N

 New Comment:

alpha2 is fine

sh-3.2# sapi/cli/php -v
PHP 5.6.0alpha2 (cli) (built: Mar 12 2014 07:26:27) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0-dev, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans


Previous Comments:
------------------------------------------------------------------------
[2014-03-12 14:21:29] neuro at interx dot net

Description:
------------
5.6alpha3

just compiled with the following settings:
./configure '--prefix=/usr' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' \
'--sysconfdir=/private/etc' '--with-apxs2=/usr/sbin/apxs' \
'--enable-cli' '--with-config-file-path=/etc' '--with-libxml-dir=/usr'
'--with-openssl=/usr' \
'--with-kerberos=/usr' '--with-zlib=/usr' '--enable-bcmath'
'--with-bz2=/usr' '--enable-calendar' \
'--with-curl=/usr' '--enable-exif' '--enable-ftp'
'--with-gd' \
'--with-jpeg-dir=../jpeg-6b' '--with-vpx-dir=../vpx' \
'--with-png-dir=/usr/X11/' \
'--enable-gd-native-ttf' '--with-ldap=/usr' '--with-ldap-sasl=/usr'
'--enable-mbstring' \
'--enable-mbregex' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd'
'--with-pdo-mysql=mysqlnd' \
'--with-mysql-sock=/var/mysql/mysql.sock' '--without-pear'
'--with-iodbc=/usr' '--enable-shmop' \
'--with-snmp=/usr' '--enable-soap' '--enable-sockets'
'--enable-sysvmsg' '--enable-sysvsem' \
'--enable-sysvshm' '--enable-wddx' '--with-xmlrpc'
'--with-iconv-dir=/usr/local' '--with-xsl=/usr' \
'--enable-zip' '--with-pcre-regex=/usr/local/'

Also loading the following extensions:
extension=memcached.so
extension=mssql.so
extension=amqp.so
extension=redis.so
extension=pcntl.so
extension=mcrypt.so
extension=igbinary.so
extension=judy.so
extension=mongo.so
extension=zmq.so
zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so

5.6.0-alpha1 was fine
Upgrading to alpha3, I get:

sh-3.2# sapi/cli/php -v
php(15090) malloc: *** error for object 0x100000000: pointer being reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug

Abort trap



Expected result:
----------------
sh-3.2# php-5.6.0alpha3/sapi/cli/php -v
PHP 5.6.0alpha3 (cli) (built: Feb  9 2014 21:44:02) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0-dev, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans

Actual result:
--------------
sh-3.2# php-5.6.0alpha3/sapi/cli/php -v
php(15090) malloc: *** error for object 0x100000000: pointer being reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug

Abort trap


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



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=66892&edit=1


Thread (9 messages)

« previous php.bugs (#184756) next »