Last modified: 2013-04-22 12:36:05 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 T37030, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35030 - Moving page triggers HTTP 500 on zhwiki
Moving page triggers HTTP 500 on zhwiki
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: Future release
Assigned To: Nobody - You can work on this!
: testme
: 35049 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-07 12:13 UTC by Liangent
Modified: 2013-04-22 12:36 UTC (History)
4 users (show)

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


Attachments

Description Liangent 2012-03-07 12:13:44 UTC
In all my attempts it always returns HTTP 500. However sometimes the moving action is done but sometimes it's not.
Comment 1 Sam Reed (reedy) 2012-03-07 15:23:54 UTC
I'm presuming this is new behaviour on 1.19wmf1?
Comment 2 Liangent 2012-03-07 15:39:03 UTC
(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]].
Comment 3 Sam Reed (reedy) 2012-03-07 15:56:10 UTC
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}
Comment 4 Sam Reed (reedy) 2012-03-07 15:57:09 UTC
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
Comment 5 shi zhao 2012-03-08 03:05:21 UTC
*** Bug 35049 has been marked as a duplicate of this bug. ***
Comment 6 Mark A. Hershberger 2012-09-30 18:11:16 UTC
Has this been seen since?  I'm bumping milestone, but I imagine it could be closed as fixed.
Comment 7 Liangent 2012-10-03 15:52:42 UTC
(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.
Comment 8 Andre Klapper 2013-03-24 19:21:14 UTC
Liangent: Is this still slow? 
Wondering if this is really MediaWiki code related or WM some server issues...
Comment 9 Liangent 2013-03-25 00:32:40 UTC
(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. -->).
Comment 10 Andre Klapper 2013-04-11 14:13:40 UTC
Hmm, sounds sufficient to me. 
Going to close this as WORKSFORME soon if nobody complains.

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


Navigation
Links