Last modified: 2008-02-27 03:51:33 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 T14772, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12772 - Impossible to rename or protect a page
Impossible to rename or protect a page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.12.x
All All
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
http://grondin.tuxfamily.org
: parser
Depends on: 12652
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-24 12:54 UTC by Bertrand GRONDIN
Modified: 2008-02-27 03:51 UTC (History)
2 users (show)

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


Attachments

Description Bertrand GRONDIN 2008-01-24 12:54:41 UTC
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}
Comment 1 Bertrand GRONDIN 2008-01-24 13:18:48 UTC
The problem seems to be from r30106 about Preprocessor_DOM.php

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

Comment 2 Tim Starling 2008-01-25 02:51:40 UTC
If you're routinely running between 90% and 100% of the memory limit, then you should probably increase it.

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


Navigation
Links