Page MenuHomePhabricator

Call to a member function matchStartAndRemove() on a non-object
Closed, DeclinedPublicPRODUCTION ERROR

Description

Looks like it's on job runners...

[19-Mar-2013 02:50:55] Fatal error: Call to a member function matchStartAndRemove() on a non-object at /usr/local/apache/common-local/php-1.21wmf11/includes/parser/Parser.php on line 3181
Server: mw1001
URL: http://[unknown-host]
Backtrace:
#0 /usr/local/apache/common-local/php-1.21wmf11/includes/parser/Parser.php(3181): Parser::braceSubstitution()
#1 /usr/local/apache/common-local/php-1.21wmf11/includes/parser/Preprocessor_DOM.php(1078): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#2 /usr/local/apache/common-local/php-1.21wmf11/includes/parser/Parser.php(3071): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#3 /usr/local/apache/common-local/php-1.21wmf11/includes/parser/Parser.php(1149): Parser->replaceVariables('{{bac ?? sable}...')
#4 /usr/local/apache/common-local/php-1.21wmf11/includes/parser/Parser.php(384): Parser->internalParse('{{bac ?? sable}...')
#5 /usr/local/apache/common-local/php-1.21wmf11/includes/content/WikitextContent.php(299): Parser->parse('{{bac ?? sable}...', Object(Title), Object(ParserOptions), true, true, 72889549)
#6 /usr/local/apache/common-local/php-1.21wmf11/includes/job/jobs/RefreshLinksJob.php(100): WikitextContent->getParserOutput(Object(Title), 72889549, NULL, false)
#7 /usr/local/apache/common-local/php-1.21wmf11/includes/job/jobs/RefreshLinksJob.php(66): RefreshLinksJob::runForTitleInternal(Object(Title), Object(Revision), 'RefreshLinksJob...')
#8 /usr/local/apache/common-local/php-1.21wmf11/maintenance/runJobs.php(95): RefreshLinksJob->run()
#9 /usr/local/apache/common-local/php-1.21wmf11/maintenance/doMaintenance.php(110): RunJobs->execute()
#10 /usr/local/apache/common-local/php-1.21wmf11/maintenance/runJobs.php(138): require_once('/usr/local/apac...')
#11 /usr/local/apache/common-local/multiversion/MWScript.php(85): require_once('/usr/local/apac...')
#12 {main}


Version: 1.21.x
Severity: normal

Details

Reference
bz46304

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:28 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz46304.
bzimport added a subscriber: Unknown Object (MLST).

reedy@fluorine:/a/mw-log$ grep matchStartAndRemove fatal.log -c
307
reedy@fluorine:/a/mw-log$ wc -l fatal.log
55430 fatal.log

2013-04-24 18.08 -rakkaus:#mediawiki-i18n- (179 lines skipped) [24-Apr-2013 16:08:10 UTC] PHP Fatal error: Call to a member function matchStartAndRemove() on a non-object in /www/translatewiki.net/w/includes/parser/Parser.php on line 3206
2013-05-23 21.43 -rakkaus:#mediawiki-i18n- (1 lines skipped) [23-May-2013 19:43:53 UTC] PHP Fatal error: Call to a member function matchStartAndRemove() on a non-object in /www/translatewiki.net/w/includes/parser/Parser.php on line 3210

reedy@fluorine:/a/mw-log$ grep matchStartAndRemove fatal.log -c
47
reedy@fluorine:/a/mw-log$ wc -l fatal.log
86250 fatal.log

reedy@fluorine:/a/mw-log/archive$ zgrep -c 'matchStartAndRemove' fatal.log-201304*
fatal.log-20130401.gz:2322
fatal.log-20130402.gz:934
fatal.log-20130403.gz:758
fatal.log-20130404.gz:963
fatal.log-20130405.gz:983
fatal.log-20130406.gz:1612
fatal.log-20130407.gz:779
fatal.log-20130408.gz:1861
fatal.log-20130409.gz:2379
fatal.log-20130410.gz:151
fatal.log-20130411.gz:49
fatal.log-20130412.gz:48
fatal.log-20130413.gz:18
fatal.log-20130414.gz:89
fatal.log-20130415.gz:60
fatal.log-20130416.gz:133
fatal.log-20130417.gz:66
fatal.log-20130418.gz:6
fatal.log-20130419.gz:24
fatal.log-20130420.gz:8
fatal.log-20130421.gz:3
fatal.log-20130422.gz:3
fatal.log-20130423.gz:2
fatal.log-20130424.gz:1
fatal.log-20130425.gz:5
fatal.log-20130426.gz:8
fatal.log-20130427.gz:9
fatal.log-20130428.gz:16
fatal.log-20130429.gz:11
fatal.log-20130430.gz:18
reedy@fluorine:/a/mw-log/archive$ zgrep -c 'matchStartAndRemove' fatal.log-201305*
fatal.log-20130501.gz:8
fatal.log-20130502.gz:6
fatal.log-20130503.gz:16
fatal.log-20130504.gz:18
fatal.log-20130505.gz:16
fatal.log-20130506.gz:19
fatal.log-20130507.gz:19
fatal.log-20130508.gz:43
fatal.log-20130509.gz:50
fatal.log-20130510.gz:56
fatal.log-20130511.gz:64
fatal.log-20130512.gz:73
fatal.log-20130513.gz:117
fatal.log-20130514.gz:181
fatal.log-20130515.gz:191
fatal.log-20130516.gz:221
fatal.log-20130517.gz:195
fatal.log-20130518.gz:3
fatal.log-20130519.gz:23
fatal.log-20130520.gz:54
fatal.log-20130521.gz:48
fatal.log-20130522.gz:42
fatal.log-20130523.gz:38

Still observed in production on translatewiki.net, although rarely.

demon raised the priority of this task from Medium to High.Oct 26 2015, 5:27 PM
Krinkle added a subscriber: Krinkle.

Not seen in 30 days in WMF Logstash.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM