Page MenuHomePhabricator

Moving page triggers HTTP 500 on zhwiki
Closed, DeclinedPublic

Description

In all my attempts it always returns HTTP 500. However sometimes the moving action is done but sometimes it's not.


Version: unspecified
Severity: major

Details

Reference
bz35030

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:16 AM
bzimport set Reference to bz35030.
bzimport added a subscriber: Unknown Object (MLST).

I'm presuming this is new behaviour on 1.19wmf1?

(In reply to comment #1)

I'm presuming this is new behaviour on 1.19wmf1?

The community reported this error only after the upgrade.

I did some other moves and they didn't trigger 500, so more specifically, one of those problematic pages is [[Android Market]].

Server: srv241
Method: POST
URL: http://zh.wikipedia.org/w/index.php?title=Special:%E7%A7%BB%E5%8A%A8%E9%A1%B5%E9%9D%A2&action=submit&this=http500_is_for_reedy
Cookie:<redacted>
Backtrace:
#0 /usr/local/apache/common-local/php-1.19/includes/StringUtils.php(334): fss_prep_replace(Array)
#1 /usr/local/apache/common-local/php-1.19/languages/LanguageConverter.php(442): ReplacementArray->replace('Android Market')
#2 /usr/local/apache/common-local/php-1.19/languages/LanguageConverter.php(460): LanguageConverter->translate('Android Market', 'zh-tw')
#3 /usr/local/apache/common-local/php-1.19/languages/Language.php(3311): LanguageConverter->autoConvertToAllVariants('Android Market')
#4 /usr/local/apache/common-local/php-1.19/includes/parser/Parser.php(1734): Language->autoConvertToAllVariants('Android Market')
#5 /usr/local/apache/common-local/php-1.19/includes/parser/Parser.php(1672): Parser->replaceInternalLinks2('#????????? ')
#6 /usr/local/apache/common-local/php-1.19/includes/parser/Parser.php(1115): Parser->replaceInternalLinks('#????????? [[Go...')
#7 /usr/local/apache/common-local/php-1.19/includes/parser/Parser.php(345): Parser->internalParse('#????????? [[Go...')
#8 /usr/local/apache/common-local/php-1.19/includes/WikiPage.php(1522): Parser->parse('#????????? [[Go...', Object(Title), Object(ParserOptions), true, true, 19489685)
#9 /usr/local/apache/common-local/php-1.19/includes/WikiPage.php(1559): WikiPage->prepareTextForEdit('#????????? [[Go...', 19489685, Object(User))
#10 /usr/local/apache/common-local/php-1.19/includes/Title.php(3665): WikiPage->doEditUpdates(Object(Revision), Object(User), Array)
#11 /usr/local/apache/common-local/php-1.19/includes/Title.php(3483): Title->moveToInternal(Object(Title), '', true)
#12 /usr/local/apache/common-local/php-1.19/includes/specials/SpecialMovepage.php(449): Title->moveTo(Object(Title), true, '', true)
#13 /usr/local/apache/common-local/php-1.19/includes/specials/SpecialMovepage.php(98): MovePageForm->doSubmit()
#14 /usr/local/apache/common-local/php-1.19/includes/SpecialPageFactory.php(476): MovePageForm->execute(NULL)
#15 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(263): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#16 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(593): MediaWiki->performRequest()
#17 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(503): MediaWiki->main()
#18 /usr/local/apache/common-local/php-1.19/index.php(58): MediaWiki->run()
#19 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#20 {main}

The first line would be useful also

[07-Mar-2012 15:53:41] Fatal error: Allowed memory size of 125829120 bytes exhausted (tried to allocate 4064 bytes) at /usr/local/apache/common-local/php-1.19/includes/StringUtils.php on line 334

  • Bug 35049 has been marked as a duplicate of this bug. ***

Has this been seen since? I'm bumping milestone, but I imagine it could be closed as fixed.

(In reply to comment #6)

Has this been seen since? I'm bumping milestone, but I imagine it could be
closed as fixed.

This particular page is movable now but the moving action is still somehow slow. Since this is an OOM error I would imagine there's still something expensive happening.

Liangent: Is this still slow?
Wondering if this is really MediaWiki code related or WM some server issues...

(In reply to comment #8)

Liangent: Is this still slow?
Wondering if this is really MediaWiki code related or WM some server
issues...

I forgot how slow it was, but now it takes 9s to move (observed in Firebug). Looks similar to its rendering time (<!-- Served by mw1087 in 6.769 secs. -->).

Hmm, sounds sufficient to me.
Going to close this as WORKSFORME soon if nobody complains.