Edit report at https://bugs.php.net/bug.php?id=60837&edit=1
ID: 60837 Updated by: g...@php.net Reported by: piphon at gmail dot com Summary: Segmentation fail, if use trait Status: Critical Type: Bug Package: Reproducible crash Operating System: Ubuntu 11.10 64bit PHP Version: 5.4SVN-2012-01-22 (SVN) Block user comment: N Private report: N New Comment: The stack trace you provided points at a corrupted function table, I would say. That might still be something different than the comment bug. What exactly did you do with the reflection API? Perhaps, there was something going wrong? At least it should not mess up the function tables. Previous Comments: ------------------------------------------------------------------------ [2012-01-23 08:41:44] larue...@php.net maybe dmitry's fix has also fixed this problem: http://svn.php.net/viewvc? view=revision&revision=322495 ------------------------------------------------------------------------ [2012-01-23 08:38:19] piphon at gmail dot com In Zend/zend_comile.c changed behavior of traits. Perhaps this is corrected bug. My original point of view (when I first met this bug): a mistake in reflection for classes that used traits). I removed comment in trait and all successful worked (RC1 or 2, i don't remember). ------------------------------------------------------------------------ [2012-01-23 07:54:39] g...@php.net Hi, I was not able to reproduce the problem, because I do not have the necessary setup. Think, I got as far as that PDO complains about a missing database table, but I also changed the db driver from mysql to sqlite. The only thing I saw was that on an old checkout, the bug with doccomments #60809 caused segfaults. But, that seems unrelated to the stacktrace below. ------------------------------------------------------------------------ [2012-01-23 07:40:43] piphon at gmail dot com Check last commits for RC in SVN: PHP 5.4.0 RC5 - fail (https://svn.php.net/repository/php/php-src/tags/php_5_4_0RC5) PHP 5.4.0 RC6 - fail (https://svn.php.net/repository/php/php-src/tags/php_5_4_0RC6) PHP 5.4.0 RC7-dev - worked in last commits (https://svn.php.net/repository/php/php-src/branches/PHP_5_4) I'm unable to verify trunk (PHP 5.5 dev), because PDO is not installed or is not compiled. P.S. My English bad... ------------------------------------------------------------------------ [2012-01-23 03:24:56] larue...@php.net I can not reproduce this... everything works well here.. (both svn-trunk and 5.4 branch) ------------------------------------------------------------------------ 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=60837 -- Edit this bug report at https://bugs.php.net/bug.php?id=60837&edit=1