Last modified: 2014-05-27 05:56:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67703, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65703 - HHVM goes bonkers in HtmlFormatter
HHVM goes bonkers in HtmlFormatter
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://github.com/facebook/hhvm/issu...
: hhvm
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-23 22:35 UTC by Max Semenik
Modified: 2014-05-27 05:56 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
PHP and HHVM stack traces (4.28 KB, text/plain)
2014-05-26 22:36 UTC, Ori Livneh
Details

Description Max Semenik 2014-05-23 22:35:41 UTC
Running jobs on osmium, all messages go sequentially

************ Array to string conversion in /usr/local/apache/common-local/php-1.24wmf5/includes/HtmlFormatter.php:224
************ Object of class ParserOutput could not be converted to string in /usr/local/apache/common-local/php-1.24wmf5/includes/HtmlFormatter.php:224
************ Array to string conversion in /usr/local/apache/common-local/php-1.24wmf5/includes/HtmlFormatter.php:224
************ Array to string conversion in /usr/local/apache/common-local/php-1.24wmf5/includes/HtmlFormatter.php:224

Core dumped: Segmentation fault
    #0 HtmlFormatter->removeElements(), called at [/usr/local/apache/common-local/php-1.24wmf5/includes/HtmlFormatter.php:177]
    #1 HtmlFormatter->filterContent(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/BuildDocument/PageTextBuilder.php:87]
    #2 CirrusSearch\BuildDocument\PageTextBuilder->formatWikitext(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/BuildDocument/PageTextBuilder.php:46]
    #3 CirrusSearch\BuildDocument\PageTextBuilder->buildTextToIndex(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/BuildDocument/PageTextBuilder.php:32]
    #4 CirrusSearch\BuildDocument\PageTextBuilder->build(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Updater.php:294]
    #5 CirrusSearch\Updater->buildDocumentsForPages(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Updater.php:161]
    #6 CirrusSearch\Updater->updatePages(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Updater.php:67]
    #7 CirrusSearch\Updater->updateFromTitle(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/LinksUpdateJob.php:47]
    #8 CirrusSearch\LinksUpdateJob->doJob(), called at [/usr/local/apache/common-local/php-1.24wmf5/extensions/CirrusSearch/includes/Job.php:52]
    #9 CirrusSearch\Job->run(), called at [/usr/local/apache/common-local/php-1.24wmf5/maintenance/runJobs.php:110]
    #10 RunJobs->execute(), called at [/usr/local/apache/common-local/php-1.24wmf5/maintenance/doMaintenance.php:109]
    #11 include(), called at [/usr/local/apache/common-local/php-1.24wmf5/maintenance/runJobs.php:281]
    #12 include(), called at [/usr/local/apache/common-local/multiversion/MWScript.php:97]
Comment 1 Tim Starling 2014-05-26 22:30:44 UTC
I tried just running a random cirrusSearchLinksUpdate job, but it didn't crash. Where are the logs? Is there any core file?
Comment 2 Ori Livneh 2014-05-26 22:36:34 UTC
Created attachment 15478 [details]
PHP and HHVM stack traces
Comment 3 Tim Starling 2014-05-27 01:31:01 UTC
I was able to reproduce it with:

mwscript eval.php --wiki=eswiktionary
$u = new CirrusSearch\Updater;
$u->updateFromTitle(Title::newFromText('Etchebarne'));
Comment 4 Tim Starling 2014-05-27 04:17:56 UTC
Isolated and filed https://github.com/facebook/hhvm/issues/2772 . To work around, revert b568bf9587.
Comment 5 Ori Livneh 2014-05-27 05:56:16 UTC
Thank you for chasing that down. I reverted b568bf9587 in our fork and will track the upstream issue you filed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links