Bug #69674 [Opn]: SIGSEGV array.c:953
| From: | opitz dot alexander at googlemail dot com | Date: | Tue, 23 Jun 2015 13:26:19 +0000 |
| Subject: | Bug #69674 [Opn]: SIGSEGV array.c:953 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193802@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:
Dragged this down a bit further.
The crash happens on following line:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php#L110
$this->defaultControllerName =
current(array_keys($configuration['controllerConfiguration']));
in the crashing test, this is an empty array. But trying this in a 10 lines test doesn't fail.
Previous Comments:
------------------------------------------------------------------------
[2015-06-05 12:18:20] opitz dot alexander at googlemail dot com
Example of output for running the tests.
https://travis-ci.org/TYPO3/TYPO3.CMS/jobs/65556246
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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=69674
--
Edit this bug report at https://bugs.php.net/bug.php?id=69674&edit=1