Bug #65321

Epic #65314: PHP7

PHP Memory issue in TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\RequestBuilderTest::buildThrowsExceptionIfControllerConfigurationIsEmptyOrNotSet

Added by Alexander Opitz 5 months ago. Updated 6 days ago.

Status:Under Review Start date:2015-02-25
Priority:Should have Due date:
Assigned To:Alexander Opitz % Done:

0%

Category:- Spent time: -
Target version:7 LTS
TYPO3 Version:6.2 Is Regression:No
PHP Version:7.0 Sprint Focus:
Complexity:

Description

The test crashes PHP7 with a memory corruption if TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\RequestBuilderTest is tested completely. As StandAlone Test it returns

1) TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\RequestBuilderTest::buildThrowsExceptionIfControllerConfigurationIsEmptyOrNotSet
Illegal offset type

typo3-master/typo3-src/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php:202
typo3-master/typo3-src/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php:134
typo3-master/typo3-src/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php:250
neos-git/Packages/Libraries/phpunit/phpunit/src/TextUI/Command.php:153
neos-git/Packages/Libraries/phpunit/phpunit/src/TextUI/Command.php:105
neos-git/Packages/Libraries/phpunit/phpunit/phpunit7:56

=> Build PHP7 with debug.
=> Open an issue in PHP 7 issue tracker.

History

#1 Updated by Alexander Opitz 3 months ago

  • Subject changed from Extbase tests crash to PHP Memory issue in TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\RequestBuilderTest::buildThrowsExceptionIfControllerConfigurationIsEmptyOrNotSet
  • Description updated (diff)

#2 Updated by Alexander Opitz 3 months ago

  • Description updated (diff)

#3 Updated by Alexander Opitz 3 months ago

Entry in PHP issue tracker: https://bugs.php.net/bug.php?id=69674

#4 Updated by Alexander Opitz 3 months ago

  • Status changed from New to In Progress
  • Assigned To set to Alexander Opitz

#5 Updated by Alexander Opitz 6 days ago

  • Status changed from In Progress to Closed

Issue is solved upstream and pushed to git. Daily builds don't crash anymore.

#6 Updated by Alexander Opitz 6 days ago

  • Status changed from Closed to In Progress

Reactivate Test for PHP7

#7 Updated by Gerrit Code Review 6 days ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42082

Also available in: Atom PDF