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

 ID:                 61186
 Updated by:         larue...@php.net
 Reported by:        larue...@php.net
 Summary:            valgrind complain of invalid reading
-Status:             Open
+Status:             Verified
 Type:               Bug
 Package:            Scripting Engine problem
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-02-26 21:08:17] ras...@php.net

Ok, verified. It only happens with --enable-debug

------------------------------------------------------------------------
[2012-02-26 19:38:19] phpmpan at mpan dot pl

./configure --with-readline --enable-debug --enable-zend-multibyte

Happens for snapshot (2012/02/26 18:30) of 5.3, but *does not* happen on 
snapshot of trunk.

------------------------------------------------------------------------
[2012-02-26 15:53:55] ras...@php.net

Still clean for me with --enable-zend-multibyte
Please provide the minimum set of configure flags you can reproduce this with.

------------------------------------------------------------------------
[2012-02-26 15:42:52] larue...@php.net

try after enable multi-byte support, thanks

------------------------------------------------------------------------
[2012-02-26 15:28:30] ras...@php.net

Not seeing that here on my 5.3.10 build:

3:26pm x220:~/php-5.3.10> memcheck sapi/cli/php test.php
==32664== Memcheck, a memory error detector
==32664== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==32664== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright 
info
==32664== Command: sapi/cli/php test.php
==32664== 
2==32664== 
==32664== HEAP SUMMARY:
==32664==     in use at exit: 1,016 bytes in 7 blocks
==32664==   total heap usage: 25,722 allocs, 25,715 frees, 3,633,436 bytes 
allocated
==32664== 
==32664== LEAK SUMMARY:
==32664==    definitely lost: 0 bytes in 0 blocks
==32664==    indirectly lost: 0 bytes in 0 blocks
==32664==      possibly lost: 0 bytes in 0 blocks
==32664==    still reachable: 0 bytes in 0 blocks
==32664==         suppressed: 1,016 bytes in 7 blocks
==32664== 
==32664== For counts of detected and suppressed errors, rerun with: -v
==32664== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 6)

My memcheck script is:

#!/bin/bash
USE_ZEND_ALLOC=0 valgrind --tool=memcheck --
suppressions=/home/rasmus/.suppressions --leak-check=yes --track-origins=yes --
num-callers=30 --show-reachable=yes "$@"

And I am not suppressing that one obviously.

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


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=61186


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

Reply via email to