Grammatica - Bugs: bug #11737, Grammatica 1.4 runs into an stack...
You are not allowed to post comments on this tracker with your current authentication level.
bug #11737: Grammatica 1.4 runs into an stack overflow error
Submitter: | Michael Knaup <mknaup> | ||
Submitted: | Wed 26 Jan 2005 09:55:28 AM UTC | ||
Severity: | 2 - Normal | Item Group: | Software |
Status: | Fixed | Assigned to: | cederberg |
Open/Closed: | Closed |
Discussion locked!
( Jump to the original submission )
Sat 14 Mar 2009 09:34:39 AM UTC, comment #6: |
Per Cederberg <cederberg>![]() ![]() |
Tue 24 Feb 2009 10:16:45 PM UTC, comment #5: This is fixed in subversion trunk, since the implementation now uses a memory-conservative NFA implementation for most regular expresions. This should avoid any stack overflows when parsing complex regexes with long matches.
|
Per Cederberg <cederberg>![]() ![]() |
Sat 21 May 2005 09:39:23 PM UTC, comment #4: Ok, the issue was in the StringLiteral production with a quote char mismatch with the [^\"] part. By adding a single \' character at the end of the line, the grammar is parsed with the correct error messages.
|
Per Cederberg <cederberg>![]() ![]() |
Sat 21 May 2005 08:54:38 PM UTC, comment #3: Sorry about that, reopening this bug. Just found the mail with the full test code. Also managed to reproduce this with JDK 5.0 on Windows XP. |
Per Cederberg <cederberg>![]() ![]() |
Sat 21 May 2005 08:21:57 PM UTC, comment #2: Closing this bug as I cannot reproduce this error. I need the xpath1.grammar file that exposed this problem in order to localize it. |
Per Cederberg <cederberg>![]() ![]() |
Wed 26 Jan 2005 02:45:49 PM UTC, comment #1: Thanks for the bug report. Could you please also attach or send me the erroneous grammar file so that I can have a look at it? I suspect the grammar contains some error, but Grammatica should of course report that properly and not be throwing exceptions around. |
Per Cederberg <cederberg>![]() ![]() |
Wed 26 Jan 2005 09:55:28 AM UTC, original submission:
Trying to create a c# parser for xpath grammar grammatica runs into an endless loop which causes a stack overflow. The output is as follows:
|
Michael Knaup <mknaup> |
No files currently attached
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-03-14 | cederberg | Open/Closed | Open | ![]() |
Closed |
Discussion Lock | Unlocked | ![]() |
Locked | ||
2009-02-24 | cederberg | Status | Postponed | ![]() |
Fixed |
2005-05-21 | cederberg | Severity | 5 - Major | ![]() |
2 - Normal |
Status | None | ![]() |
Postponed | ||
Dependencies | - | ![]() |
Depends on bugs #8202 | ||
2005-05-21 | cederberg | Status | Need Info | ![]() |
None |
Open/Closed | Closed | ![]() |
Open | ||
2005-05-21 | cederberg | Status | None | ![]() |
Need Info |
Assigned to | None | ![]() |
cederberg | ||
Open/Closed | Open | ![]() |
Closed |
Version 1.5 was released on 2009-03-07. Closing this issue.