Last modified: 2014-06-23 16:07:01 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 T54781, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52781 - "Could not acquire 'messages:de-formal:status' lock" opening page with page name >256 chars; memcache too slow
"Could not acquire 'messages:de-formal:status' lock" opening page with page n...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.21.x
All Linux
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-13 08:18 UTC by Simon Bachenberg
Modified: 2014-06-23 16:07 UTC (History)
2 users (show)

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


Attachments

Description Simon Bachenberg 2013-08-13 08:18:19 UTC
Hi,
I cant open this page: 

http://sofis.gesis.org/sofiswiki/Auswirkungen_existenzieller_%C3%84ngste_von_Soldaten_und_Familienangeh%C3%B6rigen_im_Kontext_von_Auslandseins%C3%A4tzen_der_Bundeswehr_auf_die_Beziehungsqualit%C3%A4t_und_ihre_Bedeutung_f%C3%BCr_die_%22gelingende_Partnerschaft%22_sowie_die_Ehe-_und_Familienpastoral:_%22Resilienzf

Because of this:

Could not acquire 'wiki_prod:messages:de-formal:status' lock.

Backtrace:

#0 /var/www/w/includes/cache/MessageCache.php(711): MessageCache->load('de-formal')
#1 /var/www/w/includes/cache/MessageCache.php(651): MessageCache->getMsgFromNamespace('Pagetitle', 'de-formal')
#2 /var/www/w/includes/Message.php(720): MessageCache->get('pagetitle', true, Object(Language))
#3 /var/www/w/includes/Message.php(464): Message->fetchMessage()
#4 /var/www/w/includes/Message.php(553): Message->toString()
#5 /var/www/w/includes/OutputPage.php(835): Message->text()
#6 /var/www/w/includes/OutputPage.php(878): OutputPage->setHTMLTitle(Object(Message))
#7 /var/www/w/includes/Article.php(554): OutputPage->setPageTitle('Auswirkungen ex...')
#8 /var/www/w/includes/actions/ViewAction.php(44): Article->view()
#9 /var/www/w/includes/Wiki.php(439): ViewAction->show()
#10 /var/www/w/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#11 /var/www/w/includes/Wiki.php(565): MediaWiki->performRequest()
#12 /var/www/w/includes/Wiki.php(458): MediaWiki->main()
#13 /var/www/w/index.php(59): MediaWiki->run()
#14 {main}

This is similar to Bug 43516
Comment 1 Andre Klapper 2013-08-13 11:19:29 UTC
I'm not convinced it's the length of the filename. :)

Are there other pages with a colon (:) in the title that have the same problem? If you can try, does the problem still happen after replacing the colon by a dash or such?


Confirming the problem, though the backtrace that I get is slightly different:

#0 /var/www/w/includes/cache/MessageCache.php(711): MessageCache->load('de-formal')
#1 /var/www/w/includes/cache/MessageCache.php(651): MessageCache->getMsgFromNamespace('Gadgets-definit...', 'de-formal')
#2 /var/www/w/includes/Message.php(720): MessageCache->get('gadgets-definit...', true, Object(Language))
#3 /var/www/w/includes/Message.php(593): Message->fetchMessage()
#4 /var/www/w/extensions/Gadgets/Gadgets_body.php(588): Message->exists()
#5 /var/www/w/extensions/Gadgets/Gadgets_body.php(38): Gadget::loadStructuredList()
#6 [internal function]: GadgetHooks::userGetDefaultOptions(Array)
#7 /var/www/w/includes/Hooks.php(255): call_user_func_array('GadgetHooks::us...', Array)
#8 /var/www/w/includes/GlobalFunctions.php(3883): Hooks::run('UserGetDefaultO...', Array)
#9 /var/www/w/includes/User.php(1246): wfRunHooks('UserGetDefaultO...', Array)
#10 /var/www/w/includes/User.php(4334): User::getDefaultOptions()
#11 /var/www/w/includes/User.php(2227): User->loadOptions()
#12 /var/www/w/includes/context/RequestContext.php(296): User->getOption('language')
#13 /var/www/w/includes/Message.php(360): RequestContext->getLanguage()
#14 /var/www/w/includes/context/RequestContext.php(377): Message->setContext(Object(RequestContext))
#15 [internal function]: RequestContext->msg('pagetitle')
#16 /var/www/w/includes/context/ContextSource.php(165): call_user_func_array(Array, Array)
#17 /var/www/w/includes/OutputPage.php(878): ContextSource->msg('pagetitle')
#18 /var/www/w/includes/Article.php(554): OutputPage->setPageTitle('Auswirkungen ex...')
#19 /var/www/w/includes/actions/ViewAction.php(44): Article->view()
#20 /var/www/w/includes/Wiki.php(439): ViewAction->show()
#21 /var/www/w/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#22 /var/www/w/includes/Wiki.php(565): MediaWiki->performRequest()
#23 /var/www/w/includes/Wiki.php(458): MediaWiki->main()
#24 /var/www/w/index.php(59): MediaWiki->run()
#25 {main}
Comment 2 Simon Bachenberg 2013-08-14 06:49:29 UTC
(In reply to comment #1)

I had disabled all Extensions, to check if the Problem is really a Mediawiki bug. That only changes the Stacktrace, but not the error, as you can see.

Normally we dont have problems with pagenames containing :"'! or any other symbols.
Comment 3 Andre Klapper 2013-08-14 13:52:32 UTC
No idea yet what exactly is going wrong here, sorry. 
I recommend to also post to https://www.mediawiki.org/wiki/Project:Support_desk to get more input by people with potential ideas.
Comment 5 Andre Klapper 2013-08-16 14:36:44 UTC
(In reply to comment #2)
> Normally we dont have problems with pagenames containing :"'! or any other
> symbols.

Is there an example of a page with a colon that works?
Comment 6 Simon Bachenberg 2013-08-16 17:06:06 UTC
(In reply to comment #5)
> (In reply to comment #2)
> > Normally we dont have problems with pagenames containing :"'! or any other
> > symbols.
> 
> Is there an example of a page with a colon that works?

This one works:
http://sofis.gesis.org/sofiswiki/Test!test
Comment 7 Simon Bachenberg 2013-08-16 17:13:12 UTC
Sorry sometimes i dont read well :-)

so this one here works http://sofis.gesis.org/sofiswiki/Test!,.;:%27%60%C2%B4%5E%22test
Comment 10 Mark A. Hershberger 2013-08-21 00:26:26 UTC
Note that the URL length is the URI-decoded portion.  Replacing ΓΌ with u still shows the problem.
Comment 12 Simon Bachenberg 2013-10-23 12:05:33 UTC
Hi,
i found a workaround for this problem. If I disable the memcache everything works fine. The Error Occurs if the memcache is too slow. The real Error occurs in MessageCache.php line 339:

$success = $this->mMemc->add( $statusKey, 'loading', MSG_LOAD_TIMEOUT );

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


Navigation
Links