Infinite loop in desugar-position
Nathan Bruning:
Nog een bugje lijkt het, Spoofax/IMP 0.4console output:
not cached:libwebdsl-front.str
not cached:/home/nathan/webdsl/src/org/webdsl/dsl/to-java-servlet/to-java-servlet.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libjava-transformations.str
not cached:libwrite-files.str
not cached:libback-end-transformations.str
not cached:libwebdsl-front.str
not cached:/home/nathan/webdsl/src/org/webdsl/dsl/to-java-servlet/emit-java.str
not cached:libwebdsl-front.str
Internal error evaluating editor-resolve (see error log)
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.str
not cached:libwebdsl-front.strerror log entry:
eclipse.buildId=M20090917-0800
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64Error
Thu Mar 11 13:20:22 CET 2010
Internal error evaluating strategy editor-resolveorg.spoofax.interpreter.core.InterpreterException: org.strategoxt.lang.StrategoException: Infinite loop detected in repeat strategy
Submitted by Lennart Kats on 11 March 2010 at 13:07
at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:326)
at org.strategoxt.imp.runtime.Environment$1.invoke(Environment.java:185)
at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:487)
at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:514)
at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:501)
at org.strategoxt.imp.runtime.services.StrategoReferenceResolver.getLinkTarget(StrategoReferenceResolver.java:51)
at org.strategoxt.imp.runtime.services.StrategoReferenceResolver.getLinkTarget(StrategoReferenceResolver.java:1)
at org.strategoxt.imp.runtime.dynamicloading.DynamicReferenceResolver.getLinkTarget(DynamicReferenceResolver.java:21)
at org.strategoxt.imp.runtime.services.AnnotationHoverHelper.getHoverHelpAt(AnnotationHoverHelper.java:44)
at org.eclipse.imp.editor.internal.HoverHelpController.getHoverInfo(HoverHelpController.java:59)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
Caused by: org.strategoxt.lang.StrategoException: Infinite loop detected in repeat strategy
at org.strategoxt.lang.SRTS_EXT_repeat_1_0.invokeSuspiciously(SRTS_EXT_repeat_1_0.java:41)
at org.strategoxt.lang.SRTS_EXT_repeat_1_0.invoke(SRTS_EXT_repeat_1_0.java:26)
at org.strategoxt.lang.compat.override.performance_tweaks.repeat_1_0_override.invoke(repeat_1_0_override.java:19)
at trans.lifted1.invoke(lifted1.java:26)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:18)
at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:28)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:21)
at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:28)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:21)
at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:28)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:21)
at org.strategoxt.lang.SRTS_all.mapIgnoreAnnos(SRTS_all.java:86)
at org.strategoxt.lang.SRTS_all.map(SRTS_all.java:76)
at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:21)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:21)
at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:28)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:21)
at org.strategoxt.lang.SRTS_all.mapMaintainAnnos(SRTS_all.java:101)
at org.strategoxt.lang.SRTS_all.mapMaintainAnnos(SRTS_all.java:108)
at org.strategoxt.lang.SRTS_all.map(SRTS_all.java:66)
at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:21)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:21)
at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:28)
at org.strategoxt.lang.compat.override.performance_tweaks.o_0.invoke(o_0.java:21)
at org.strategoxt.lang.compat.override.performance_tweaks.topdown_1_0_override.invoke(topdown_1_0_override.java:21)
at trans.desugar_position_1_1.invoke(desugar_position_1_1.java:32)
at trans.editor_resolve_0_0.invoke(editor_resolve_0_0.java:35)
at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:30)
at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:194)
at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:185)
at org.strategoxt.lang.InteropSDefT$StrategyBody.evaluate(InteropSDefT.java:247)
at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:69)
at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:318)
… 10 more
Issue Log
Seems to be a problem with the desugar-position strategy. Apparently the desugar strategy it uses does not converge?
Closed: seems to be a problem caused by an old, dynamically loaded Stratego editor, not by the current version.
Log in to post comments