While compiling eclipse gets stuck in call-onsave for no good reason. Sometimes this behavior takes some 15-30 seconds until eclipse gets unstuck, sometimes it lasts much longer, needing to restart eclipse.

The UI is still responsive, but with building stuck I cannot do much more than editing.

Submitted by Augusto on 25 February 2014 at 12:01
Screen Shot 2014-02-25 at 11.53.35 AM.png25 February 2014 at 12:55
spoofax-onsave-2.0.1.20130919.tdump25 February 2014 at 12:55

On 25 February 2014 at 12:58 Vlad Vergu commented:

So this is happening only during the invocation of the on-save handlers when building the project? Or does it also happen when just saving a file after changes?


On 25 February 2014 at 13:01 Vlad Vergu commented:

I’m confirming that this issue is caused by https://yellowgrass.org/issue/Spoofax/808. The on-save handler from the builder is waiting for a lock that is owned by the reference resolver for Stratego which loops. The reference resolver is triggered by the hover service probably from when the file was edited.


On 25 February 2014 at 13:02 Vlad Vergu tagged !vvergu

On 25 February 2014 at 13:13 Augusto commented:

AFAIK only during building. Haven’t noticed in other cases yet, at least.


On 25 February 2014 at 15:29 Vlad Vergu commented:

This issue should be fixed following a fix for https://yellowgrass.org/issue/Spoofax/808. If this is not the case, please reopen.


On 25 February 2014 at 15:29 Vlad Vergu closed this issue.

On 5 March 2014 at 10:57 Guido Wachsmuth reopened this issue.

On 5 March 2014 at 10:58 Guido Wachsmuth commented:

We had this yesterday again on Gabriël’s machine. In one case, it took 2 minutes, in another case Eclipse became unresponsive.


On 5 March 2014 at 11:03 Gabriël Konat commented:

Disregard, was confusing SDF3 and TS.


On 27 March 2014 at 21:58 Guido Wachsmuth commented:

I experienced it again. It is not consistent. Some builds go through, others get stuck at the first SDF3 file, on which the on-save handler is called. I did not change any file between two builds. The first built went through, the next one crashed.


On 27 March 2014 at 22:10 Guido Wachsmuth tagged !guwac

Log in to post comments