Page MenuHomePhabricator

Impossible to rename or protect a page
Closed, ResolvedPublic

Description

The last releases today, at r30114, make now impossible, on my wiki to rename page or protect them.

For renaming page, I've the following exception message :
Preprocessor hit 90% memory limit (29 MB)

Backtrace:

#0 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Preprocessor_DOM.php(117): Preprocessor_DOM->memCheck()
#1 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(2630): Preprocessor_DOM->preprocessToObj('Il n???y a rien...', 0)
#2 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(2680): Parser->preprocessToDom('Il n???y a rien...')
#3 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(981): Parser->replaceVariables('Il n???y a rien...')
#4 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(350): Parser->internalParse('Il n???y a rien...')
#5 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/OutputPage.php(365): Parser->parse('Il n???y a rien...', Object(Title), Object(ParserOptions), true, true, NULL)
#6 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/OutputPage.php(342): OutputPage->addWikiTextTitle('Il n???y a rien...', Object(Title), true)
#7 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SpecialLog.php(345): OutputPage->addWikiText('Il n???y a rien...')
#8 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SpecialLog.php(328): LogViewer->showError(Object(OutputPage))
#9 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SpecialMovepage.php(321): LogViewer->showList(Object(OutputPage))
#10 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SpecialMovepage.php(197): MovePageForm->showLogFragment(Object(Title), Object(OutputPage))
#11 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SpecialMovepage.php(39): MovePageForm->showForm('')
#12 [internal function]: wfSpecialMovepage('Accueil', Object(UnlistedSpecialPage))
#13 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SpecialPage.php(677): call_user_func('wfSpecialMovepa...', 'Accueil', Object(UnlistedSpecialPage))
#14 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SpecialPage.php(463): SpecialPage->execute('Accueil')
#15 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Wiki.php(193): SpecialPage::executePath(Object(Title))
#16 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Wiki.php(45): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#17 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))

#18 {main}

For protecting page I've the following exception message

MediaWiki internal error.

Original exception: exception 'MWException' with message 'Preprocessor hit 90% memory limit (29 MB)' in /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Preprocessor_DOM.php:30
Stack trace:
#0 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Preprocessor_DOM.php(117): Preprocessor_DOM->memCheck()
#1 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(2630): Preprocessor_DOM->preprocessToObj('Cette page a ??...', 0)
#2 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(2680): Parser->preprocessToDom('Cette page a ??...')
#3 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(981): Parser->replaceVariables('Cette page a ??...')
#4 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(350): Parser->internalParse('Cette page a ??...')
#5 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/OutputPage.php(485): Parser->parse('Cette page a ??...', Object(Title), Object(ParserOptions), true, true, NULL)
#6 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/GlobalFunctions.php(560): OutputPage->parse('Cette page a ??...', true, true)
#7 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/SkinTemplate.php(335): wfMsgExt('viewcount', Array, '2??403')
#8 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/OutputPage.php(710): SkinTemplate->outputPage(Object(OutputPage))
#9 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Wiki.php(298): OutputPage->output()
#10 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/index.php(90): MediaWiki->finalCleanup(Array, Object(LoadBalancer), Object(OutputPage))
#11 {main}

Exception caught inside exception handler: exception 'MWException' with message 'Preprocessor hit 90% memory limit (29 MB)' in /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Preprocessor_DOM.php:30
Stack trace:
#0 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Preprocessor_DOM.php(117): Preprocessor_DOM->memCheck()
#1 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(2630): Preprocessor_DOM->preprocessToObj('$1 - {{SITENAME...', 0)
#2 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(2680): Parser->preprocessToDom('$1 - {{SITENAME...')
#3 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(480): Parser->replaceVariables('$1 - {{SITENAME...')
#4 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Parser.php(3839): Parser->preprocess('$1 - {{SITENAME...', Object(Title), Object(ParserOptions))
#5 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/MessageCache.php(588): Parser->transformMsg('$1 - {{SITENAME...', Object(ParserOptions))
#6 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/GlobalFunctions.php(434): MessageCache->transform('$1 - {{SITENAME...')
#7 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/GlobalFunctions.php(401): wfMsgGetKey('pagetitle', true, false, true)
#8 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/GlobalFunctions.php(307): wfMsgReal('pagetitle', Array, true)
#9 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/OutputPage.php(226): wfMsg('pagetitle', 'Erreur interne')
#10 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Exception.php(100): OutputPage->setPageTitle('Erreur interne')
#11 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Exception.php(134): MWException->reportHTML()
#12 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Exception.php(213): MWException->report()
#13 /data/web/6c/03/7c/grondin.tuxfamily.org/htdocs/includes/Exception.php(247): wfReportException(Object(MWException))
#14 [internal function]: wfExceptionHandler(Object(MWException))
#15 {main}


Version: 1.12.x
Severity: critical
URL: http://grondin.tuxfamily.org

Details

Reference
bz12772

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 10:03 PM
bzimport set Reference to bz12772.
bzimport added a subscriber: Unknown Object (MLST).

The problem seems to be from r30106 about Preprocessor_DOM.php

With reverting this version to prévious all runs perfectly.

If you're routinely running between 90% and 100% of the memory limit, then you should probably increase it.