Page MenuHomePhabricator

Warning: Compilation failed: number too big in {} quantifier in ExtractFormatter::getFirstChars
Closed, ResolvedPublicPRODUCTION ERROR

Description

Warning: Compilation failed: number too big in {} quantifier at offset 9 in /srv/mediawiki/php-1.28.0-wmf.14/extensions/TextExtracts/includes/ExtractFormatter.php on line 123

https://github.com/wikimedia/mediawiki-extensions-TextExtracts/blob/wmf/1.28.0-wmf.14/includes/ExtractFormatter.php#L123

Event Timeline

Jdlrobson raised the priority of this task from Medium to High.Nov 2 2016, 8:41 PM
Jdlrobson subscribed.

Someone needs to update the description with a link to an example in logstash so that we can identify replication steps and whether this error is user facing. Sounds like certain API clients (who?) are requesting longer extracts then they should.

Change 331572 had a related patch set uploaded (by MaxSem):
getFirstChars(): don't use quantifiers with user-supplied count

https://gerrit.wikimedia.org/r/331572

Change 331572 merged by jenkins-bot:
getFirstChars(): don't use quantifiers with user-supplied count

https://gerrit.wikimedia.org/r/331572

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