I’m getting stack overflows when (incomplete) Stratego files are parsed. For example, having an str file containing just the string modul causes a StackOverflow.

Submitted by Vlad Vergu on 16 February 2013 at 17:37

On 16 February 2013 at 17:37 Vlad Vergu tagged @maartje

On 16 February 2013 at 17:37 Vlad Vergu tagged parser

On 16 February 2013 at 17:39 Vlad Vergu commented:

This happens in nightly but not in the stable v1.1 release.


On 18 February 2013 at 18:54 Gabriël Konat commented:

A snippet of the stack trace:

java.lang.StackOverflowError
at org.strategoxt.imp.runtime.parser.ParseErrorHandler.reportErrorNearOffset(ParseErrorHandler.java:343)
at org.strategoxt.imp.runtime.parser.ParseErrorHandler.reportErrorAtTokens(ParseErrorHandler.java:361)
at org.strategoxt.imp.runtime.parser.ParseErrorHandler.reportErrorNearOffset(ParseErrorHandler.java:344)
at org.strategoxt.imp.runtime.parser.ParseErrorHandler.reportErrorAtTokens(ParseErrorHandler.java:361)
at org.strategoxt.imp.runtime.parser.ParseErrorHandler.reportErrorNearOffset(ParseErrorHandler.java:344)
at org.strategoxt.imp.runtime.parser.ParseErrorHandler.reportErrorAtTokens(ParseErrorHandler.java:361)

On 19 February 2013 at 12:14 Maartje commented:

fixed in r25958.


On 19 February 2013 at 12:14 Maartje closed this issue.

Log in to post comments