Page MenuHomePhabricator

HHVM: Array to string conversion in Parser.php
Closed, DeclinedPublic

Description

Running jobs on osmium:

Array to string conversion in /usr/local/apache/common-local/php-1.24wmf5/includes/parser/Parser.php:3703
Array
(

[0] => --wiki=ruwiki
[1] => --procs=1
[2] => --type=cirrusSearchLinksUpdatePrioritized
[3] => --maxtime=30
[4] => --memory-limit=300M

)

Parser.php line 3703 calls {closure}()
Parser.php line 3416 calls Parser->callParserFunction()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3329 calls PPFrame_DOM->expand()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3573 calls PPFrame_DOM->expand()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
ParserFunctions_body.php line 123 calls PPFrame_DOM->expand()
Parser.php line 3703 calls ExtParserFunctions::ifexprObj()
Parser.php line 3416 calls Parser->callParserFunction()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3329 calls PPFrame_DOM->expand()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3573 calls PPFrame_DOM->expand()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
ParserFunctions_body.php line 137 calls PPFrame_DOM->expand()
Parser.php line 3703 calls ExtParserFunctions::ifObj()
Parser.php line 3416 calls Parser->callParserFunction()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3573 calls PPFrame_DOM->expand()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3226 calls PPFrame_DOM->expand()
Parser.php line 1238 calls Parser->replaceVariables()
Parser.php line 613 calls Parser->internalParse()
Cite_body.php line 962 calls Parser->recursiveTagParse()
Cite_body.php line 666 calls Cite->parse()
Cite_body.php line 608 calls Cite->referencesFormat()
Cite_body.php line 542 calls Cite->guardedReferences()
Parser.php line 4106 calls Cite->references()
CoreParserFunctions.php line 963 calls Parser->extensionSubstitution()
Parser.php line 3703 calls CoreParserFunctions::tagObj()
Parser.php line 3416 calls Parser->callParserFunction()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3573 calls PPFrame_DOM->expand()
Preprocessor_DOM.php line 1153 calls Parser->braceSubstitution()
Parser.php line 3226 calls PPFrame_DOM->expand()
Parser.php line 1238 calls Parser->replaceVariables()
Parser.php line 406 calls Parser->internalParse()
StubObject.php line 105 calls Parser->parse()
StubObject.php line 125 calls StubObject->_call()
WikitextContent.php line 327 calls StubObject->__call()
AbstractContent.php line 486 calls WikitextContent->fillParserOutput()
Updater.php line 334 calls AbstractContent->getParserOutput()
Updater.php line 286 calls CirrusSearch\Updater->getContentAndParserOutput()
Updater.php line 161 calls CirrusSearch\Updater->buildDocumentsForPages()
Updater.php line 67 calls CirrusSearch\Updater->updatePages()
LinksUpdateJob.php line 47 calls CirrusSearch\Updater->updateFromTitle()
Job.php line 52 calls CirrusSearch\LinksUpdateJob->doJob()
runJobs.php line 110 calls CirrusSearch\Job->run()
doMaintenance.php line 109 calls RunJobs->execute()
runJobs.php line 281 calls include()
MWScript.php line 97 calls include()


Version: 1.24rc
Severity: normal

Details

Reference
bz65830

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:10 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz65830.
bzimport added a subscriber: Unknown Object (MLST).

It's difficult to reproduce without knowing what page it was updating. The crash bugs have a backtrace with arguments, which gives us the title.

bsimmers wrote:

Are you sure this is hhvm only? Is there a consistent repro?