Edit report at https://bugs.php.net/bug.php?id=60837&edit=1
ID: 60837 User updated by: piphon at gmail dot com Reported by: piphon at gmail dot com Summary: Segmentation fail, if use trait -Status: Feedback +Status: Open 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: PHP 5.5.0-dev (cli) from https://svn.php.net/repository/php/php-src/trunk worked. Previous Comments: ------------------------------------------------------------------------ [2012-01-24 03:00:37] larue...@php.net piphon, can you verify that whether this issues still existing in svn head now? I am doubt that this issues was fixed by dmitry in http://svn.php.net/viewvc? view=revision&revision=322495 ------------------------------------------------------------------------ [2012-01-23 08:51:35] piphon at gmail dot com > 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. Unknown. Reflection used only by Doctrine Annotations driver. However in older code, I'm used static method in trait, which stored in value static property. P.S. Mystery... ------------------------------------------------------------------------ [2012-01-23 08:43:32] g...@php.net 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. ------------------------------------------------------------------------ [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). ------------------------------------------------------------------------ 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