Bug #69674 [Opn]: SIGSEGV array.c:953

From: Date: Fri, 05 Jun 2015 12:18:20 +0000
Subject: Bug #69674 [Opn]: SIGSEGV array.c:953
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193141@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69674&edit=1 ID: 69674 User updated by: opitz dot alexander at googlemail dot com Reported by: opitz dot alexander at googlemail dot com Summary: SIGSEGV array.c:953 Status: Open Type: Bug Package: *General Issues Operating System: Linux PHP Version: master-Git-2015-05-20 (Git) Block user comment: N Private report: N New Comment: Example of output for running the tests. https://travis-ci.org/TYPO3/TYPO3.CMS/jobs/65556246 Previous Comments: ------------------------------------------------------------------------ [2015-05-22 10:25:59] opitz dot alexander at googlemail dot com I run it normaly with phpunit -c typo3/sysext/core/Build/UnitTests.xml At the moment I use PHPUnit 4.6.6 ------------------------------------------------------------------------ [2015-05-22 09:55:24] laruence@php.net okey, I have cloned the TYPO3 , how could I run the test? ------------------------------------------------------------------------ [2015-05-21 07:15:38] opitz dot alexander at googlemail dot com ATM I don't have the time to write the given testfile inclusive phpunit in 10-20 lines nor do I've the possibilities to drag this issue down to get this crash into 10-20 lines. As you can see "zbacktrace" don't give a hint and a normal backtrace is attached. The source of TYPO3 can be found on https://github.com/TYPO3/TYPO3.CMS in branch master. The testfile themself is located here: https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php ------------------------------------------------------------------------ [2015-05-21 03:07:13] laruence@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2015-05-20 15:08:34] opitz dot alexander at googlemail dot com Description: ------------ I'm running TYPO3 Unit tests with PHP7, which leads to this SIGSEGV while running the RequestBuilderTest. >>> Starting test 'TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\RequestBuilderTest::buildThrowsExceptionIfControllerConfigurationIsEmptyOrNotSet'. Segmentation fault <<< Running the test alone (and not all tests inside the file) works fine. Output of gdb Program received signal SIGSEGV, Segmentation fault. 0x000000000081e8ca in zif_current (execute_data=0x7fffef0191a0, return_value=0x7fffef0190d0) at /php7/ext/standard/array.c:953 953 RETURN_ZVAL_FAST(entry); (gdb) zbacktrace [0x7fffef0191a0] current(Es gibt kein Mitglied mit dem Namen ht. (gdb) backtrace #0 0x000000000081e8ca in zif_current (execute_data=0x7fffef0191a0, return_value=0x7fffef0190d0) at /php7/ext/standard/array.c:953 #1 0x00000000009e62e4 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER () at /php7/Zend/zend_vm_execute.h:692 #2 0x00000000009e5745 in execute_ex (ex=0x7fffef018900) at /php7/Zend/zend_vm_execute.h:394 #3 0x0000000000971df2 in zend_call_function (fci=0x7fffffffa490, fci_cache=0x7fffffffa460) at /php7/Zend/zend_execute_API.c:841 #4 0x00000000007bb533 in zim_reflection_method_invokeArgs (execute_data=0x7fffef018880, return_value=0x7fffef018580) at /php7/ext/reflection/php_reflection.c:3222 #5 0x00000000009e68f8 in ZEND_DO_FCALL_SPEC_HANDLER () at /php7/Zend/zend_vm_execute.h:821 #6 0x00000000009e5745 in execute_ex (ex=0x7fffef014030) at /php7/Zend/zend_vm_execute.h:394 #7 0x00000000009e585b in zend_execute (op_array=0x7fffef084000, return_value=0x0) at /php7/Zend/zend_vm_execute.h:434 #8 0x000000000098a1e5 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /php7/Zend/zend.c:1389 #9 0x00000000008f5666 in php_execute_script (primary_file=0x7fffffffcc40) at /php7/main/main.c:2479 #10 0x0000000000a56413 in do_cli (argc=4, argv=0x1384840) at /php7/sapi/cli/php_cli.c:967 #11 0x0000000000a575cb in main (argc=4, argv=0x1384840) at /php7/sapi/cli/php_cli.c:1334 Expected result: ---------------- No SIGSEGV Actual result: -------------- Crash with SIGSEGV ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69674&edit=1

« previous php.bugs (#193141) next »