[Mono-bugs] [Bug 470827] [Regression] System.Text.RegularExpressions.RxInterpreter.EvalByteCode throws StackOverflow

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 5 06:53:19 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=470827

User lluis at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=470827#c3





--- Comment #3 from Lluis Sanchez <lluis at novell.com>  2009-02-05 04:53:18 MST ---
The Regex that crashes is evaluated at
main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs line 144.

The regex is this:
[.|\n]*^(?<varname>[a-zA-Z_0-9]*)((?<sep>[ \t]*:?=[
\t]*$)|((?<sep>\s*:?=\s*)(((?<content>.*)(?<!\\)\n)|((?<content>.*?)\s*\\\n([
\t]*(?<content>.*?)\s*\\\n)*[ \t]*(?<content>.*?)(?<!\\)\n))))

The content is the file:
uia2atk/UIAutomationWinforms/UIAutomationWinforms/Makefile.am

It crashes while iterating through the MatchCollection, not when calling
Matches.

I tried creating an isolated test case for this specific regular expression and
content and it works. Looks like it only crashes when running inside MD.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list