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

From: Date: Wed, 12 Mar 2014 14:21:31 +0000
Subject: Bug #66892 [NEW]: pointer being reallocated was not allocated
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184754@lists.php.net to get a copy of this message
From:             neuro at interx dot net
Operating system: OSX 10.6
PHP version:      5.6.0alpha3
Package:          Reproducible crash
Bug Type:         Bug
Bug description:pointer being reallocated was not allocated

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 bug report at https://bugs.php.net/bug.php?id=66892&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66892&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66892&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66892&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66892&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66892&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66892&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66892&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66892&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66892&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66892&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66892&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66892&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66892&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66892&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66892&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66892&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66892&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66892&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66892&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66892&r=mysqlcfg



Thread (9 messages)

« previous php.bugs (#184754) next »