#44250 [NEW]: PHP CLI :: *** glibc detected *** realloc():
| From: | toni at igmweb dot com | Date: | Tue, 26 Feb 2008 10:29:41 +0000 |
| Subject: | #44250 [NEW]: PHP CLI :: *** glibc detected *** realloc(): | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-122713@lists.php.net to get a copy of this message | ||
From: toni at igmweb dot com
Operating system: Red Hat Enterprise Linux ES rele
PHP version: 5.2.5
PHP Bug Type: *Compile Issues
Bug description: PHP CLI :: *** glibc detected *** realloc():
Description:
------------
I compile php 5.2.5 on a RedHat Enterprise "Linux htsphp1 2.6.9-42.ELsmp
#1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux"
Configure an Make runs ok.
Make test produces a : "*** glibc detected *** realloc(): invalid pointer:
0x0000000000e90ce0 ***" error.
The only Thing that no work is PHP CLI.
If I do a "make install" all works ok. PHP pages on Apache runs ok.
Reproduce code:
---------------
./configure --prefix=/apps/php-5.2.5/ --with-apxs2=/apps/apache2/bin/apxs
--enable-libgcc --enable-dmalloc --with-openssl --with-zlib --enable-bcmath
--with-bz2 --enable-calendar --with-curl --enable-exif --enable-ftp
--with-gd --with-jpeg-dir=/opt/ --with-png-dir=/opt/ --with-ttf
--with-t1lib --enable-gd-native-ttf --with-gettext --enable-mbstring
--with-mcrypt --with-mhash --with-mysql=/apps/mysql-5.0.51a/
--enable-sockets --with-xmlrpc && make && make test
Actual result:
--------------
Build complete.
Don't forget to run 'make test'.
*** glibc detected *** realloc(): invalid pointer: 0x0000000000e90ce0 ***
*** glibc detected *** realloc(): invalid pointer: 0x0000000000e8fcc0 ***
/bin/sh: line 1: 25052 Aborted
TEST_PHP_EXECUTABLE=/home/toni/linux_install-R3.5/php-5.2.5/sapi/cli/php
TEST_PHP_SRCDIR=/home/toni/linux_install-R3.5/php-5.2.5 CC="gcc"
/home/toni/linux_install-R3.5/php-5.2.5/sapi/cli/php -d 'open_basedir=' -d
'output_buffering=0' -d 'memory_limit=-1'
/home/toni/linux_install-R3.5/php-5.2.5/run-tests.php -c
/home/toni/linux_install-R3.5/php-5.2.5/tmp-php.ini -U -d
extension_dir=/home/toni/linux_install-R3.5/php-5.2.5/modules/ ` if test
"x" != "x"; then for i in ""; do . $i;
/home/toni/linux_install-R3.5/php-5.2.5/build/shtool echo -n -- " -d
extension=$dlname"; done; fi`
make: [test] Error 134 (ignored)
--
Edit bug report at http://bugs.php.net/?id=44250&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44250&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44250&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44250&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44250&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44250&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44250&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44250&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44250&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44250&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44250&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44250&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44250&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44250&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44250&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44250&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44250&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44250&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44250&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44250&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44250&r=mysqlcfg