View Issue Details

IDProjectCategoryView StatusLast Update
0000975XdebugUsage problems (Wrong Results)public2014-05-19 23:13
ReporterelazarAssigned Toderick 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionunable to reproduce 
PlatformOSCentOSOS Version6.3
Product Version2.2.3 
Target VersionFixed in Version 
Summary0000975: Segmentation fault when running PHPUnit
DescriptionSadly, I can't easily provide the code to reproduce this issue or provide a small reproduceable test case. I can, however, provide a gdb backtrace of the segmentation fault and the exception that I believe PHPUnit is encountering that's triggering the problem. For reference, I'm running PHP 5.4.19 and PHPUnit 3.7.24. I can replicate this issue with both Xdebug 2.2.1 and 2.2.3.
Additional InformationPHPUnit error being encountered when Xdebug is disabled:

PHP Warning: Uncaught exception 'PHPUnit_Framework_ComparisonFailure' with message 'Failed asserting that two strings are equal.' in /usr/share/pear/PHPUnit/Framework/Comparator/Scalar.php:110
Stack trace:
#0 /usr/share/pear/PHPUnit/Framework/Constraint/IsEqual.php(162): PHPUnit_Framework_Comparator_Scalar->assertEquals('getPage', 'getUri', 0, false, true)
#1 /usr/share/pear/PHPUnit/Framework/MockObject/Matcher/MethodName.php(100): PHPUnit_Framework_Constraint_IsEqual->evaluate('getUri', '', true)
0000002 /usr/share/pear/PHPUnit/Framework/MockObject/Matcher.php(246): PHPUnit_Framework_MockObject_Matcher_MethodName->matches(Object(PHPUnit_Framework_MockObject_Invocation_Object))
0000003 /usr/share/pear/PHPUnit/Framework/MockObject/InvocationMocker.php(155): PHPUnit_Framework_MockObject_Matcher->matches(Object(PHPUnit_Framework_MockObject_Invocation_Object))
0000004 /usr/share/pear/PHPUnit/Framework/MockObject/Generator.php(231) : eval()'d code(50): PHPUnit_Framework_MockObject_InvocationMocker->invoke(Object(PHPUnit_Framework_MockObject_ in /usr/share/pear/PHPUnit/Framework/Comparator/Scalar.php on line 110
PHP Stack trace:
PHP 1. {main}() /usr/bin/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main($exit = *uninitialized*) /usr/bin/phpunit:46
PHP 3. PHPUnit_TextUI_Command->run($argv = array (0 => '/usr/bin/phpunit', 1 => '--bootstrap', 2 => 'autoload.php', 3 => '--debug', 4 => 'Synacor_Portal_Component_Test'), $exit = TRUE) /usr/share/pear/PHPUnit/TextUI/Command.php:129
PHP 4. PHPUnit_TextUI_TestRunner->doRun($suite = ..., $arguments = array ('listGroups' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'bootstrap' => 'autoload.php', 'debug' => TRUE, 'testSuffixes' => array (0 => 'Test.php', 1 => '.phpt'))) /usr/share/pear/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }, $filter = FALSE, $groups = array (), $excludeGroups = array (), $processIsolation = FALSE) /usr/share/pear/PHPUnit/TextUI/TestRunner.php:349
PHP 6. PHPUnit_Framework_TestSuite->runTest($test = ..., $result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:745
PHP 7. Synacor_Base_Test->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:775
PHP 8. PHPUnit_Framework_TestCase->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/local/apache/htdocs/unittests/Synacor/Base/Test.php:373
PHP 9. PHPUnit_Framework_TestResult->run($test = ...) /usr/share/pear/PHPUnit/Framework/TestCase.php:783
PHP 10. PHPUnit_Framework_TestCase->runBare() /usr/share/pear/PHPUnit/Framework/TestResult.php:648
PHP 11. PHPUnit_Framework_TestCase->runTest() /usr/share/pear/PHPUnit/Framework/TestCase.php:838
PHP 12. ReflectionMethod->invokeArgs(..., array ()) /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP 13. Synacor_Portal_Component_Test->testGetZoneMetadataNoPage() /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP 14. Synacor_Portal_Component->getZoneMetadata() /usr/local/apache/htdocs/Portal/unittests/Component/Test.php:278
PHP 15. Mock_Synacor_Portal_Component_8ef1e323->getUri() /var/tmp/synacor_framework_unittests_tmpincludes_mturland/includes/Synacor/Portal/Component.php:189
PHP 16. PHPUnit_Framework_MockObject_InvocationMocker->invoke($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Generator.php(231) : eval()'d code:50
PHP 17. PHPUnit_Framework_MockObject_Matcher->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/InvocationMocker.php:155
PHP 18. PHPUnit_Framework_MockObject_Matcher_MethodName->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher.php:246
PHP 19. PHPUnit_Framework_Constraint_IsEqual->evaluate($other = 'getUri', $description = '', $returnResult = TRUE) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher/MethodName.php:100
PHP 20. PHPUnit_Framework_Comparator_Scalar->assertEquals($expected = 'getPage', $actual = 'getUri', $delta = 0, $canonicalize = FALSE, $ignoreCase = TRUE) /usr/share/pear/PHPUnit/Framework/Constraint/IsEqual.php:162
PHP Fatal error: Out of memory (allocated 735051776) (tried to allocate 2896666497 bytes) in /usr/share/pear/PHPUnit/Framework/Comparator/Scalar.php on line 117
PHP Stack trace:
PHP 1. {main}() /usr/bin/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main($exit = *uninitialized*) /usr/bin/phpunit:46
PHP 3. PHPUnit_TextUI_Command->run($argv = array (0 => '/usr/bin/phpunit', 1 => '--bootstrap', 2 => 'autoload.php', 3 => '--debug', 4 => 'Synacor_Portal_Component_Test'), $exit = TRUE) /usr/share/pear/PHPUnit/TextUI/Command.php:129
PHP 4. PHPUnit_TextUI_TestRunner->doRun($suite = ..., $arguments = array ('listGroups' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'bootstrap' => 'autoload.php', 'debug' => TRUE, 'testSuffixes' => array (0 => 'Test.php', 1 => '.phpt'))) /usr/share/pear/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }, $filter = FALSE, $groups = array (), $excludeGroups = array (), $processIsolation = FALSE) /usr/share/pear/PHPUnit/TextUI/TestRunner.php:349
PHP 6. PHPUnit_Framework_TestSuite->runTest($test = ..., $result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:745
PHP 7. Synacor_Base_Test->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:775
PHP 8. PHPUnit_Framework_TestCase->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000002' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000003' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set 0000004' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/local/apache/htdocs/unittests/Synacor/Base/Test.php:373
PHP 9. PHPUnit_Framework_TestResult->run($test = ...) /usr/share/pear/PHPUnit/Framework/TestCase.php:783
PHP 10. PHPUnit_Framework_TestCase->runBare() /usr/share/pear/PHPUnit/Framework/TestResult.php:648
PHP 11. PHPUnit_Framework_TestCase->runTest() /usr/share/pear/PHPUnit/Framework/TestCase.php:838
PHP 12. ReflectionMethod->invokeArgs(..., array ()) /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP 13. Synacor_Portal_Component_Test->testGetZoneMetadataNoPage() /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP 14. Synacor_Portal_Component->getZoneMetadata() /usr/local/apache/htdocs/Portal/unittests/Component/Test.php:278
PHP 15. Mock_Synacor_Portal_Component_8ef1e323->getUri() /var/tmp/synacor_framework_unittests_tmpincludes_mturland/includes/Synacor/Portal/Component.php:189
PHP 16. PHPUnit_Framework_MockObject_InvocationMocker->invoke($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Generator.php(231) : eval()'d code:50
PHP 17. PHPUnit_Framework_MockObject_Matcher->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/InvocationMocker.php:155
PHP 18. PHPUnit_Framework_MockObject_Matcher_MethodName->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher.php:246
PHP 19. PHPUnit_Framework_Constraint_IsEqual->evaluate($other = 'getUri', $description = '', $returnResult = TRUE) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher/MethodName.php:100
PHP 20. PHPUnit_Framework_Comparator_Scalar->assertEquals($expected = 'getPage', $actual = 'getUri', $delta = 0, $canonicalize = FALSE, $ignoreCase = TRUE) /usr/share/pear/PHPUnit/Framework/Constraint/IsEqual.php:162
TagsNo tags attached.
Operating System
PHP Version5.4.10-5.4.14

Activities

elazar

2013-09-10 15:13

reporter  

gdb.log.txt (11,326 bytes)
Program received signal SIGSEGV, Segmentation fault.
0x00000037396891ab in memcpy () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install aspell-0.60.6-12.el6.x86_64 audit-libs-2.2-2.el6.x86_64 bzip2-libs-1.0.5-7.el6_0.x86_64 cyrus-sasl-lib-2.1.23-13.el6.x86_64 db4-4.7.25-17.el6.x86_64 freetype-2.3.11-6.el6_2.9.x86_64 gdbm-1.8.0-36.el6.x86_64 glibc-2.12-1.80.el6_3.6.x86_64 gmp-4.3.1-7.el6_2.2.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.9-33.el6_3.3.x86_64 libX11-1.3-2.el6.x86_64 libXau-1.0.5-1.el6.x86_64 libXpm-3.5.8-2.el6.x86_64 libcom_err-1.41.12-12.el6.x86_64 libedit-2.11-4.20080712cvs.1.el6.x86_64 libgcc-4.4.6-4.el6.x86_64 libgcrypt-1.4.5-9.el6_2.2.x86_64 libgpg-error-1.7-4.el6.x86_64 libicu-4.2.1-9.1.el6_2.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-6b-46.el6.x86_64 libpng-1.2.49-1.el6_2.x86_64 libselinux-2.0.94-5.3.el6.x86_64 libssh2-1.2.2-11.el6_3.x86_64 libstdc++-4.4.6-4.el6.x86_64 libtidy-0.99.0-19.20070615.1.el6.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64 libuuid-2.17.2-12.7.el6_3.x86_64 libxcb-1.5-1.el6.x86_64 libxml2-2.7.6-8.el6_3.3.x86_64 libxslt-1.1.26-2.el6_3.1.x86_64 nss-pam-ldapd-0.7.5-14.el6_2.1.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 openssl-1.0.0-25.el6_3.1.x86_64 pam-1.1.1-10.el6_2.1.x86_64 sqlite-3.6.20-1.el6.x86_64 t1lib-5.1.2-6.el6_2.1.x86_64 tokyocabinet-1.4.33-6.el6.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb) bt
#0  0x00000037396891ab in memcpy () from /lib64/libc.so.6
#1  0x00007ffff1db025b in xdebug_str_add (xs=0x7fffffff7c10,
    str=0x7fff813e9010 "class Synacor_Portal_Component_Test { private ${Synacor_Portal_TestCase}:_classInstance = NULL; private ${Synacor_Portal_TestCase}:_classReflection = NULL; protected $_testClass = class ReflectionClas"..., f=1) at /var/tmp/xdebug/xdebug_str.c:41
#2  0x00007ffff1daec5e in xdebug_append_printable_stack (str=0x7fffffff7c10, html=0) at /var/tmp/xdebug/xdebug_stack.c:380
#3  0x00007ffff1d9db23 in xdebug_throw_exception_hook (exception=0x88e8b60) at /var/tmp/xdebug/xdebug.c:1155
#4  0x00000000005fc475 in zend_throw_exception_internal (exception=0x88e8b60) at /usr/src/debug/php-src/Zend/zend_exceptions.c:116
#5  0x0000000000623bf8 in ZEND_THROW_SPEC_VAR_HANDLER (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:11099
#6  0x000000000064c3e8 in execute (op_array=0x8745e58) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#7  0x00007ffff1d9ea09 in xdebug_execute (op_array=0x8745e58) at /var/tmp/xdebug/xdebug.c:1435
#8  0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#9  0x000000000064c3e8 in execute (op_array=0x348ea90) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#10 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x348ea90) at /var/tmp/xdebug/xdebug.c:1435
#11 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#12 0x000000000064c3e8 in execute (op_array=0x347e388) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#13 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x347e388) at /var/tmp/xdebug/xdebug.c:1435
#14 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#15 0x000000000064c3e8 in execute (op_array=0x3481460) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#16 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x3481460) at /var/tmp/xdebug/xdebug.c:1435
#17 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#18 0x000000000064c3e8 in execute (op_array=0x346c2f0) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#19 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x346c2f0) at /var/tmp/xdebug/xdebug.c:1435
#20 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#21 0x000000000064c3e8 in execute (op_array=0x8751080) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#22 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x8751080) at /var/tmp/xdebug/xdebug.c:1435
#23 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#24 0x000000000064c3e8 in execute (op_array=0x7fffd557a5e8) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#25 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x7fffd557a5e8) at /var/tmp/xdebug/xdebug.c:1435
#26 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#27 0x000000000064c3e8 in execute (op_array=0x11aa100) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#28 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x11aa100) at /var/tmp/xdebug/xdebug.c:1435
#29 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#30 0x000000000064c3e8 in execute (op_array=0x117e9f8) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#31 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x117e9f8) at /var/tmp/xdebug/xdebug.c:1435
#32 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#33 0x000000000064c3e8 in execute (op_array=0x1265f98) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#34 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x1265f98) at /var/tmp/xdebug/xdebug.c:1435
#35 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#36 0x000000000064c3e8 in execute (op_array=0x11f1ba8) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#37 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x11f1ba8) at /var/tmp/xdebug/xdebug.c:1435
#38 0x00000000005d745c in zend_call_function (fci=0x7fffffff9150, fci_cache=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_execute_API.c:956
#39 0x00000000004d4996 in zim_reflection_method_invokeArgs (ht=<value optimized out>, return_value=0x1d80830, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>,
    return_value_used=<value optimized out>) at /usr/src/debug/php-src/ext/reflection/php_reflection.c:3018
#40 0x00007ffff1d9e5af in xdebug_execute_internal (current_execute_data=0x7ffff7fb0730, return_value_used=1) at /var/tmp/xdebug/xdebug.c:1547
#41 0x000000000065ea55 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:645
#42 0x000000000064c3e8 in execute (op_array=0x1252890) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#43 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x1252890) at /var/tmp/xdebug/xdebug.c:1435
#44 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#45 0x000000000064c3e8 in execute (op_array=0x1252730) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#46 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x1252730) at /var/tmp/xdebug/xdebug.c:1435
#47 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#48 0x000000000064c3e8 in execute (op_array=0x86cacb0) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#49 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x86cacb0) at /var/tmp/xdebug/xdebug.c:1435
#50 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#51 0x000000000064c3e8 in execute (op_array=0x10a4310) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#52 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x10a4310) at /var/tmp/xdebug/xdebug.c:1435
#53 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#54 0x000000000064c3e8 in execute (op_array=0x124e870) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#55 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x124e870) at /var/tmp/xdebug/xdebug.c:1435
#56 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#57 0x000000000064c3e8 in execute (op_array=0xf3b990) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#58 0x00007ffff1d9ea09 in xdebug_execute (op_array=0xf3b990) at /var/tmp/xdebug/xdebug.c:1435
#59 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#60 0x000000000064c3e8 in execute (op_array=0xf3c440) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#61 0x00007ffff1d9ea09 in xdebug_execute (op_array=0xf3c440) at /var/tmp/xdebug/xdebug.c:1435
#62 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#63 0x000000000064c3e8 in execute (op_array=0x1049028) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#64 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x1049028) at /var/tmp/xdebug/xdebug.c:1435
#65 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#66 0x000000000064c3e8 in execute (op_array=0x7fffd586bad8) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#67 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x7fffd586bad8) at /var/tmp/xdebug/xdebug.c:1435
#68 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#69 0x000000000064c3e8 in execute (op_array=0x7ffff7fe38e0) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#70 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x7ffff7fe38e0) at /var/tmp/xdebug/xdebug.c:1435
#71 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#72 0x000000000064c3e8 in execute (op_array=0x7ffff7fe1068) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#73 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x7ffff7fe1068) at /var/tmp/xdebug/xdebug.c:1435
#74 0x000000000065f228 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:673
#75 0x000000000064c3e8 in execute (op_array=0x7ffff7fdd5d8) at /usr/src/debug/php-src/Zend/zend_vm_execute.h:410
#76 0x00007ffff1d9ea09 in xdebug_execute (op_array=0x7ffff7fdd5d8) at /var/tmp/xdebug/xdebug.c:1435
#77 0x00000000005e22d0 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/debug/php-src/Zend/zend.c:1359
#78 0x0000000000584a38 in php_execute_script (primary_file=0x7fffffffcf00) at /usr/src/debug/php-src/main/main.c:2498
#79 0x000000000068dcd3 in do_cli (argc=11, argv=0x7fffffffe258) at /usr/src/debug/php-src/sapi/cli/php_cli.c:989
#80 0x000000000068e498 in main (argc=11, argv=0x7fffffffe258) at /usr/src/debug/php-src/sapi/cli/php_cli.c:1365
gdb.log.txt (11,326 bytes)

elazar

2013-09-10 15:25

reporter  

phpunit.log.txt (31,976 bytes)
Starting test 'Synacor_Portal_Component_Test::testGetZoneMetadataNoPage'.
PHP Warning:  Uncaught exception 'PHPUnit_Framework_ComparisonFailure' with message 'Failed asserting that two strings are equal.' in /usr/share/pear/PHPUnit/Framework/Comparator/Scalar.php:110
Stack trace:
#0 /usr/share/pear/PHPUnit/Framework/Constraint/IsEqual.php(162): PHPUnit_Framework_Comparator_Scalar->assertEquals('getPage', 'getUri', 0, false, true)
#1 /usr/share/pear/PHPUnit/Framework/MockObject/Matcher/MethodName.php(100): PHPUnit_Framework_Constraint_IsEqual->evaluate('getUri', '', true)
#2 /usr/share/pear/PHPUnit/Framework/MockObject/Matcher.php(246): PHPUnit_Framework_MockObject_Matcher_MethodName->matches(Object(PHPUnit_Framework_MockObject_Invocation_Object))
#3 /usr/share/pear/PHPUnit/Framework/MockObject/InvocationMocker.php(155): PHPUnit_Framework_MockObject_Matcher->matches(Object(PHPUnit_Framework_MockObject_Invocation_Object))
#4 /usr/share/pear/PHPUnit/Framework/MockObject/Generator.php(231) : eval()'d code(50): PHPUnit_Framework_MockObject_InvocationMocker->invoke(Object(PHPUnit_Framework_MockObject_ in /usr/share/pear/PHPUnit/Framework/Comparator/Scalar.php on line 110
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main($exit = *uninitialized*) /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run($argv = array (0 => '/usr/bin/phpunit', 1 => '--bootstrap', 2 => 'autoload.php', 3 => '--debug', 4 => 'Synacor_Portal_Component_Test'), $exit = TRUE) /usr/share/pear/PHPUnit/TextUI/Command.php:129
PHP   4. PHPUnit_TextUI_TestRunner->doRun($suite = ..., $arguments = array ('listGroups' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'bootstrap' => 'autoload.php', 'debug' => TRUE, 'testSuffixes' => array (0 => 'Test.php', 1 => '.phpt'))) /usr/share/pear/PHPUnit/TextUI/Command.php:176
PHP   5. PHPUnit_Framework_TestSuite->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }, $filter = FALSE, $groups = array (), $excludeGroups = array (), $processIsolation = FALSE) /usr/share/pear/PHPUnit/TextUI/TestRunner.php:349
PHP   6. PHPUnit_Framework_TestSuite->runTest($test = ..., $result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:745
PHP   7. Synacor_Base_Test->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:775
PHP   8. PHPUnit_Framework_TestCase->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/local/apache/htdocs/unittests/Synacor/Base/Test.php:373
PHP   9. PHPUnit_Framework_TestResult->run($test = ...) /usr/share/pear/PHPUnit/Framework/TestCase.php:783
PHP  10. PHPUnit_Framework_TestCase->runBare() /usr/share/pear/PHPUnit/Framework/TestResult.php:648
PHP  11. PHPUnit_Framework_TestCase->runTest() /usr/share/pear/PHPUnit/Framework/TestCase.php:838
PHP  12. ReflectionMethod->invokeArgs(..., array ()) /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP  13. Synacor_Portal_Component_Test->testGetZoneMetadataNoPage() /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP  14. Synacor_Portal_Component->getZoneMetadata() /usr/local/apache/htdocs/Portal/unittests/Component/Test.php:278
PHP  15. Mock_Synacor_Portal_Component_8ef1e323->getUri() /var/tmp/synacor_framework_unittests_tmpincludes_mturland/includes/Synacor/Portal/Component.php:189
PHP  16. PHPUnit_Framework_MockObject_InvocationMocker->invoke($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Generator.php(231) : eval()'d code:50
PHP  17. PHPUnit_Framework_MockObject_Matcher->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/InvocationMocker.php:155
PHP  18. PHPUnit_Framework_MockObject_Matcher_MethodName->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher.php:246
PHP  19. PHPUnit_Framework_Constraint_IsEqual->evaluate($other = 'getUri', $description = '', $returnResult = TRUE) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher/MethodName.php:100
PHP  20. PHPUnit_Framework_Comparator_Scalar->assertEquals($expected = 'getPage', $actual = 'getUri', $delta = 0, $canonicalize = FALSE, $ignoreCase = TRUE) /usr/share/pear/PHPUnit/Framework/Constraint/IsEqual.php:162
PHP Fatal error:  Out of memory (allocated 735051776) (tried to allocate 2896666497 bytes) in /usr/share/pear/PHPUnit/Framework/Comparator/Scalar.php on line 117
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main($exit = *uninitialized*) /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run($argv = array (0 => '/usr/bin/phpunit', 1 => '--bootstrap', 2 => 'autoload.php', 3 => '--debug', 4 => 'Synacor_Portal_Component_Test'), $exit = TRUE) /usr/share/pear/PHPUnit/TextUI/Command.php:129
PHP   4. PHPUnit_TextUI_TestRunner->doRun($suite = ..., $arguments = array ('listGroups' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'bootstrap' => 'autoload.php', 'debug' => TRUE, 'testSuffixes' => array (0 => 'Test.php', 1 => '.phpt'))) /usr/share/pear/PHPUnit/TextUI/Command.php:176
PHP   5. PHPUnit_Framework_TestSuite->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }, $filter = FALSE, $groups = array (), $excludeGroups = array (), $processIsolation = FALSE) /usr/share/pear/PHPUnit/TextUI/TestRunner.php:349
PHP   6. PHPUnit_Framework_TestSuite->runTest($test = ..., $result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:745
PHP   7. Synacor_Base_Test->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/pear/PHPUnit/Framework/TestSuite.php:775
PHP   8. PHPUnit_Framework_TestCase->run($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Synacor_Portal_Component_Test::testDoActionSetsClientData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsSiteData' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedInNoUser' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testDoActionSetsUserLoggedIn with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInCustomizableZone with data set #4' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #0' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #1' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #2' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #3' => array ('result' => NULL, 'size' => 0), 'Synacor_Portal_Component_Test::testIsInMinizableZone with data set #4' => array ('result' => NULL, 'size' => 0)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_TextUI_ResultPrinter { protected $column = 15; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 89; protected $numTests = 63; protected $numTestsRun = 15; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = TRUE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger {  }); protected $runTests = 16; protected $time = 15.0797560215; protected $topTestSuite = ...; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/local/apache/htdocs/unittests/Synacor/Base/Test.php:373
PHP   9. PHPUnit_Framework_TestResult->run($test = ...) /usr/share/pear/PHPUnit/Framework/TestCase.php:783
PHP  10. PHPUnit_Framework_TestCase->runBare() /usr/share/pear/PHPUnit/Framework/TestResult.php:648
PHP  11. PHPUnit_Framework_TestCase->runTest() /usr/share/pear/PHPUnit/Framework/TestCase.php:838
PHP  12. ReflectionMethod->invokeArgs(..., array ()) /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP  13. Synacor_Portal_Component_Test->testGetZoneMetadataNoPage() /usr/share/pear/PHPUnit/Framework/TestCase.php:983
PHP  14. Synacor_Portal_Component->getZoneMetadata() /usr/local/apache/htdocs/Portal/unittests/Component/Test.php:278
PHP  15. Mock_Synacor_Portal_Component_8ef1e323->getUri() /var/tmp/synacor_framework_unittests_tmpincludes_mturland/includes/Synacor/Portal/Component.php:189
PHP  16. PHPUnit_Framework_MockObject_InvocationMocker->invoke($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Generator.php(231) : eval()'d code:50
PHP  17. PHPUnit_Framework_MockObject_Matcher->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/InvocationMocker.php:155
PHP  18. PHPUnit_Framework_MockObject_Matcher_MethodName->matches($invocation = class PHPUnit_Framework_MockObject_Invocation_Object { public $object = ...; public $className = 'Synacor_Entity'; public $methodName = 'getUri'; public $parameters = array () }) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher.php:246
PHP  19. PHPUnit_Framework_Constraint_IsEqual->evaluate($other = 'getUri', $description = '', $returnResult = TRUE) /usr/share/pear/PHPUnit/Framework/MockObject/Matcher/MethodName.php:100
PHP  20. PHPUnit_Framework_Comparator_Scalar->assertEquals($expected = 'getPage', $actual = 'getUri', $delta = 0, $canonicalize = FALSE, $ignoreCase = TRUE) /usr/share/pear/PHPUnit/Framework/Constraint/IsEqual.php:162
phpunit.log.txt (31,976 bytes)

derick

2013-10-09 18:40

administrator   ~0002576

I need some more information here. The best would be to have access to the machine/VM so I can poke around with GDB. A simple script would also help a lot but at least can you make a "bt full" with all the debug symbols installed?

derick

2013-12-15 12:38

administrator   ~0002646

Ping.

elazar

2013-12-17 19:39

reporter   ~0002653

I no longer have access to the system on which this error occurred. Feel free to close the issue.

derick

2014-05-19 23:13

administrator   ~0002822

Thanks. Closing it then.

Issue History

Date Modified Username Field Change
2013-09-10 15:13 elazar New Issue
2013-09-10 15:13 elazar File Added: gdb.log.txt
2013-09-10 15:25 elazar File Added: phpunit.log.txt
2013-10-09 18:40 derick Note Added: 0002576
2013-10-09 18:40 derick Assigned To => derick
2013-10-09 18:40 derick Status new => feedback
2013-12-15 12:38 derick Note Added: 0002646
2013-12-17 19:39 elazar Note Added: 0002653
2013-12-17 19:39 elazar Status feedback => assigned
2014-05-19 23:13 derick Note Added: 0002822
2014-05-19 23:13 derick Status assigned => resolved
2014-05-19 23:13 derick Resolution open => unable to reproduce
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)