The make-permissive.helper tool crashes with java.lang.RuntimeException: java.lang.StackOverflowError when ran on the following grammar:
http://pastebin.org/438625

Early 5.* version did not have this issue.

Submitted by Jan Raszyk on 1 August 2010 at 16:31

On 1 August 2010 at 16:47 Jan Raszyk commented:

OS:
Windows XP SP3, 3 GB RAM
Spoofax version:
Spoofax/IMP 0.5.1.91 org.strategoxt.imp.feature.group
Eclipse:
Eclipse IDE for Java EE Developers 1.2.2.20100217-2310 epp.package.jee


On 2 August 2010 at 10:09 Lennart Kats commented:

The make-permissive tool is particularly stack intensive, probably more so than anything else. Did you configure the JVM stack size as described in http://strategoxt.org/Spoofax/Download? On my 64-bit system make-permissive seems to work with a stack size of 2m or higher (we recommend 8m). Alternatively, you can pass -vmargs -Xss8m as a command-line option to Eclipse.


On 2 August 2010 at 11:12 Jan Raszyk commented:

That solved it, thank you! And sorry, should have followed that instructions before submitting the issue.


On 2 August 2010 at 11:44 Lennart Kats closed this issue.

On 2 August 2010 at 11:44 Lennart Kats commented:

No problem. Always good to log any issues here ;) Closing this one now.

Log in to post comments