Bug #60194 [Ver->Csd]: --with-zend-multibyte and --enable-debug reports LEAK with run-test.php
| From: | laruence@php.net | Date: | Fri, 27 Jul 2012 16:50:07 +0000 |
| Subject: | Bug #60194 [Ver->Csd]: --with-zend-multibyte and --enable-debug reports LEAK with run-test.php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172279@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60194&edit=1
ID: 60194
Updated by: laruence@php.net
Reported by: yohgaki at ohgaki dot net
Summary: --with-zend-multibyte and --enable-debug reports
LEAK with run-test.php
-Status: Verified
+Status: Closed
Type: Bug
Package: Unknown/Other Function
Operating System: Linux
PHP Version: 5.3SVN-2011-11-01 (SVN)
-Assigned To:
+Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
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:
------------------------------------------------------------------------
[2012-07-27 16:49:41] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ef7286a42f0d85cc359f1d64678f859d6c3f832e
Log: Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php)
------------------------------------------------------------------------
[2012-07-27 16:05:23] laruence@php.net
I can confirm, but only on 5.3, 5.4 has no such issue
------------------------------------------------------------------------
[2012-07-27 14:00:33] c dot kworr at gmail dot com
I'm getting the same on FreeBSD 9.0 and PHP 5.3.15:
[Fri Jul 27 13:15:16 2012] Script: '/home/zima/www/price/cron/filter.php'
/tmp/ports/.amd_mnt/faz/host/usr/ports/lang/php53/work/php-
5.3.15/ext/standard/base64.c(69) : Freeing 0x81D7C35D0 (601 bytes), script=/$
/tmp/ports/.amd_mnt/faz/host/usr/ports/lang/php53/work/php-
5.3.15/Zend/zend_alloc.c(2734) : Actual location (location was relayed)
------------------------------------------------------------------------
[2011-11-03 00:52:49] yohgaki at ohgaki dot net
I svn diffed source. No diff. So I suppose it would be other reason.
I've mailed internals since I thought PHP 5.4 and trunk was ok, but it turns out
it didn't enabled zend.multibyte. There may be the same issue with
zend.multibyte=on (if it can)
------------------------------------------------------------------------
[2011-11-02 23:15:07] yohgaki at ohgaki dot net
BTW, I'm using rpm package but the spec is plain ./configure && make && make
install. gcc is
$ LC_ALL=C gcc -v
Using built-in specs.
Target: x86_64-momonga-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --with-bugurl=http://developer.momonga-
linux.org/kagemai/ --enable-bootstrap --enable-shared --enable-threads=posix --
enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-
libunwind-exceptions --enable-gnu-unique-object --enable-
languages=c,c++,objc,obj-c++,java,fortran --enable-java-awt=gtk --disable-dssi -
-with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-
multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-
ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic -
-with-arch_32=i686 --build=x86_64-momonga-linux
Thread model: posix
gcc version 4.4.4 20100630 (Momonga Linux 7 4.4.4-3m.mo7) (GCC)
------------------------------------------------------------------------
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=60194
--
Edit this bug report at https://bugs.php.net/bug.php?id=60194&edit=1