call-onsave hangs while compiling (2)
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
Attachments
Issue Log
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?
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.
AFAIK only during building. Haven’t noticed in other cases yet, at least.
This issue should be fixed following a fix for https://yellowgrass.org/issue/Spoofax/808. If this is not the case, please reopen.
We had this yesterday again on Gabriël’s machine. In one case, it took 2 minutes, in another case Eclipse became unresponsive.
Disregard, was confusing SDF3 and TS.
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.
Log in to post comments