-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Symptoms
During error ingestion, an exception is thrown, preventing the error message from being ingested into the database:
System.Text.RegularExpressions.RegexMatchTimeoutException: The Regex engine has timed out while trying to match a pattern to an input string. This can occur for many reasons, including very large inputs or excessive backtracking caused by nested quantifiers, back-references and other factors.
Who's affected
All users of ServiceControl, if exception stack traces are long enough or complex enough to trigger the timeout.
Root cause
Exception stack traces in error messages are parsed in order to group related exceptions together by the exception message and top stack frame. If the stack trace is long enough or complex enough, the parser could time out due to repeated backtracking in the regular expression parser.
Backports
- Error ingestion can throw RegexMatchTimeoutException #4936 for branch
release-6.5released in version 6.5.3 - Error ingestion can throw RegexMatchTimeoutException #4935 for branch
release-5.11released in version 5.11.7