|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-12-19 04:05 UTC] laruence@php.net
Description: ------------ Valgrind complains about invalid read and writes in the tests: http://dev.daylessday.org/diff/bug60536_001.mem http://dev.daylessday.org/diff/bug60536_003.mem So the problem is definitely not fixed yet. Test script: --------------- http://dev.daylessday.org/diff/bug60536_001.mem http://dev.daylessday.org/diff/bug60536_003.mem PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
seems something wrong with the refcount of zval in traits's default_properties_table[i]. but I have not figured out what's going wrong. A more simple test: <?php trait A { private $hello = 0; } class BaseWithTPropB{ use A; } class SubclassB extends BaseWithTPropB { use A; } $b = new SubClassB; var_dump($b); ?> plz run valgrind like: USE_ZEND_ALLOC=0 valgrind --db-attach=yes --leak-check=full php test.php