From: Operating system: Ubuntu 10.04.3 LTS PHP version: 5.4.0RC6 Package: Reproducible crash Bug Type: Bug Bug description:Segfault when running symfony 2 tests
Description: ------------ First off: Sorry not being able to provide a better reproduce. I tried to dig into symfony but failed as I'm not familiar with it. I was testing phpunit against frameworks when I found this. Running the symfony 2 test suite with RC6 leads to a segfault that I had across two machines so I'll open this just in case it helps out and ask sf people to maybe provide a better reproduce. PHP Configure: Configure Command => './configure' '--enable-mbstring' '--with-readline' '--enable-pcntl' '--with-zlib' '--prefix=/opt/php-5.4.0RC6/' '--enable-debug' Test script: --------------- git clone git://github.com/symfony/symfony.git cd symfony ./vendors.php /opt/php-5.4.0RC6/bin/php `which phpunit` --debug --filter FormLoginTest Expected result: ---------------- No segfault Actual result: -------------- Configuration read from /home/edo/Desktop/PHP/phpunit-dev/phpunit-testing-with-frameworks/vendor/symfony/phpunit.xml.dist Starting test 'Symfony\Bundle\SecurityBundle\Tests\Functional\FormLoginTest::testFormLogin with data set #0 ('config.yml')'. Segmentation fault (core dumped) (gdb) bt #0 _zend_mm_free_int (heap=0x1a85310, p=0x7fff9c786460) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_alloc.c:2100 #1 0x00000000006be6cd in zend_call_function (fci=0x7fff9c786210, fci_cache=<value optimized out>) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_execute_API.c:1019 #2 0x00000000006e06ff in zend_call_method (object_pp=0x7fff9c786338, obj_ce=0x5f4a370, fn_proxy=0x5f4a4d8, function_name=0xaa65b0 "__tostring", function_name_len=3, retval_ptr_ptr=<value optimized out>, param_count=0, arg1=0x0, arg2=0x0) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_interfaces.c:97 #3 0x00000000006ebb11 in zend_std_cast_object_tostring (readobj=0x7fff9c786460, writeobj=0x7fff9c786390, type=<value optimized out>) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_object_handlers.c:1494 #4 0x00000000006c2ad0 in _convert_to_string (op=0x1a85310) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_operators.c:588 #5 0x000000000071212a in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER (execute_data=0x7f33c5361908) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_vm_execute.h:27073 #6 0x0000000000730010 in execute (op_array=0x5f4c280) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_vm_execute.h:410 #7 0x00000000006be773 in zend_call_function (fci=0x7fff9c786660, fci_cache=<value optimized out>) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_execute_API.c:958 #8 0x00000000005c4020 in zim_reflection_method_invokeArgs (ht=<value optimized out>, return_value=0x58193d0, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /home/edo/Desktop/PHP/php-5.4.0RC6/ext/reflection/php_reflection.c:2926 #9 0x0000000000742c5c in zend_do_fcall_common_helper_SPEC (execute_data=0x7f33c53604c0) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_vm_execute.h:642 #10 0x0000000000730010 in execute (op_array=0x5c12cd8) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend_vm_execute.h:410 #11 0x00000000006c8d5a in zend_execute_scripts (type=8, retval=<value optimized out>, file_count=3) at /home/edo/Desktop/PHP/php-5.4.0RC6/Zend/zend.c:1272 #12 0x000000000066de5d in php_execute_script (primary_file=<value optimized out>) at /home/edo/Desktop/PHP/php-5.4.0RC6/main/main.c:2476 #13 0x0000000000770757 in do_cli (argc=0, argv=<value optimized out>) at /home/edo/Desktop/PHP/php-5.4.0RC6/sapi/cli/php_cli.c:983 #14 0x0000000000770e64 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/edo/Desktop/PHP/php-5.4.0RC6/sapi/cli/php_cli.c:1356 -- Edit bug report at https://bugs.php.net/bug.php?id=60825&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60825&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60825&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60825&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60825&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60825&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60825&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60825&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60825&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60825&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60825&r=support Expected behavior: https://bugs.php.net/fix.php?id=60825&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60825&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60825&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60825&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60825&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60825&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60825&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60825&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60825&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60825&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60825&r=mysqlcfg