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

 ID:                 60194
 Updated by:         larue...@php.net
 Reported by:        yohgaki at ohgaki dot net
 Summary:            --with-zend-multibyte and --enable-debug reports
                     LEAK with run-test.php
-Status:             Open
+Status:             Verified
 Type:               Bug
 Package:            Unknown/Other Function
 Operating System:   Linux
 PHP Version:        5.3SVN-2011-11-01 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

I can confirm,  but only on 5.3,  5.4 has no such issue


Previous Comments:
------------------------------------------------------------------------
[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)

------------------------------------------------------------------------
[2011-11-02 23:07:56] yohgaki at ohgaki dot net

I have 

$ rpm -q re2c
re2c-0.13.5-2m.mo7.x86_64

It may be causing it. What version are you using?

------------------------------------------------------------------------
[2011-11-02 12:05:33] johan...@php.net

I can't reproduce that. As this happens in lex_scan: Do you by chance have have 
re2c installed and are therefore running a different parser than what is 
committed in svn? anything else special on your system?

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


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

Reply via email to