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: Snapshot PHP 5.4.0RC7-dev (cli) (built: Jan 24 2012 11:49:24) worked. Sorry, can't try SVN branch (https://svn.php.net/repository/php/php-src/branches/PHP_5_4@322646). Could not compile sources for test issue. Modules (pdo, pdo_mysql) not compiled as static libraries (multiple definition of `get_module') or pdo_mysql not linked as shared library (mysqlnd_debug_std_no_trace_funcs not found). And debugging and normal. I'll try again. Previous Comments: ------------------------------------------------------------------------ [2012-01-24 05:32:44] larue...@php.net Please try using this snapshot: http://snaps.php.net/php5.4-latest.tar.gz For Windows: http://windows.php.net/snapshots/ could you plz also try with 5.4 branch head? thanks very much :) ------------------------------------------------------------------------ [2012-01-24 04:27:25] piphon at gmail dot com PHP 5.5.0-dev (cli) from https://svn.php.net/repository/php/php-src/trunk worked. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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