Edit report at https://bugs.php.net/bug.php?id=60825&edit=1
ID: 60825 Updated by: larue...@php.net Reported by: php at wallbash dot com Summary: Segfault when running symfony 2 tests Status: Critical Type: Bug Package: Reproducible crash Operating System: Ubuntu 10.04.3 LTS PHP Version: 5.4.0RC6 -Assigned To: stas +Assigned To: laruence Block user comment: N Private report: N New Comment: assign to myself, will close after commit to 5.4 branch Previous Comments: ------------------------------------------------------------------------ [2012-01-21 17:29:04] larue...@php.net fixed in trunk, will commit to branch when I got the permission from stas, and a simple reproduce script: <?php class test { public function __toString() { return "aaa"; } } $a = new test; require_once $a; ------------------------------------------------------------------------ [2012-01-21 17:13:54] larue...@php.net Automatic comment from SVN on behalf of laruence Revision: http://svn.php.net/viewvc/?view=revision&revision=322541 Log: Fixed bug #60825 (Segfault when running symfony 2 tests) ------------------------------------------------------------------------ [2012-01-21 07:52:38] php at wallbash dot com Yes. It is that function that cases the crash rasmus. Compiling php-5.4 from current SVN the tests run just fine :) Regards, Edorian ------------------------------------------------------------------------ [2012-01-21 05:23:50] ras...@php.net Can you try reproducing with the current svn code? I went through the reproduce steps and the unit tests ran to completion for me. However, under Valgrind I did get some complaints for one of the tests. Can you tell if your crash is on this same test? Starting test 'Symfony\Bundle\SecurityBundle\Tests\Functional\FormLoginTest::testFormLogin with data set #0 ('config.yml')'. ==24587== Conditional jump or move depends on uninitialised value(s) ==24587== at 0x9DE434: zend_call_function (zend_execute_API.c:925) ==24587== by 0xA128C3: zend_call_method (zend_interfaces.c:97) ==24587== by 0xA2BAE6: zend_std_cast_object_tostring (zend_object_handlers.c:1494) ==24587== by 0x9E582A: _convert_to_string (zend_operators.c:588) ==24587== by 0xB05BB6: ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER (zend_vm_execute.h:27073) ==24587== by 0xA342CC: execute (zend_vm_execute.h:410) ==24587== by 0x9DE67C: zend_call_function (zend_execute_API.c:958) ==24587== by 0x74F4C9: zim_reflection_method_invokeArgs (php_reflection.c:2926) ==24587== by 0xA35C22: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:642) ==24587== by 0xA36C1E: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:752) ==24587== by 0xA342CC: execute (zend_vm_execute.h:410) ==24587== by 0x9F2AEF: zend_execute_scripts (zend.c:1272) ==24587== ==24587== Conditional jump or move depends on uninitialised value(s) ==24587== at 0x9DBB70: _zval_ptr_dtor (zend_execute_API.c:433) ==24587== by 0x9DED15: zend_call_function (zend_execute_API.c:1019) ==24587== by 0xA128C3: zend_call_method (zend_interfaces.c:97) ==24587== by 0xA2BAE6: zend_std_cast_object_tostring (zend_object_handlers.c:1494) ==24587== by 0x9E582A: _convert_to_string (zend_operators.c:588) ==24587== by 0xB05BB6: ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER (zend_vm_execute.h:27073) ==24587== by 0xA342CC: execute (zend_vm_execute.h:410) ==24587== by 0x9DE67C: zend_call_function (zend_execute_API.c:958) ==24587== by 0x74F4C9: zim_reflection_method_invokeArgs (php_reflection.c:2926) ==24587== by 0xA35C22: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:642) ==24587== by 0xA36C1E: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:752) ==24587== by 0xA342CC: execute (zend_vm_execute.h:410) ==24587== ==24587== Conditional jump or move depends on uninitialised value(s) ==24587== at 0x9DBC28: _zval_ptr_dtor (zend_execute_API.c:444) ==24587== by 0x9DED15: zend_call_function (zend_execute_API.c:1019) ==24587== by 0xA128C3: zend_call_method (zend_interfaces.c:97) ==24587== by 0xA2BAE6: zend_std_cast_object_tostring (zend_object_handlers.c:1494) ==24587== by 0x9E582A: _convert_to_string (zend_operators.c:588) ==24587== by 0xB05BB6: ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER (zend_vm_execute.h:27073) ==24587== by 0xA342CC: execute (zend_vm_execute.h:410) ==24587== by 0x9DE67C: zend_call_function (zend_execute_API.c:958) ==24587== by 0x74F4C9: zim_reflection_method_invokeArgs (php_reflection.c:2926) ==24587== by 0xA35C22: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:642) ==24587== by 0xA36C1E: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:752) ==24587== by 0xA342CC: execute (zend_vm_execute.h:410) ------------------------------------------------------------------------ [2012-01-21 04:59:45] ras...@php.net Stas, this looks like a blocker for 5.4 ------------------------------------------------------------------------ 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=60825 -- Edit this bug report at https://bugs.php.net/bug.php?id=60825&edit=1