When building a Spoofax project, the build hangs on the implodePT step:

sdf2rtg.helper:
    [java] [ org.strategoxt.tools.main-sdf2rtg | info ] Calling external tool C:\Spoofax\Eclipses\Eclipse 4.3\Spoofax Nightly\plugins\org.strategoxt.imp.nativebundle_1.2.0.201310190113\native\cygwin\sdf2table -i C:\Spoofax\Repositories\git\spoofax-minijava\MiniJava\include/MiniJava.def -o C:\Users\Gabriel\AppData\Local\Temp\StrategoXT5294185747572206155.tmp -n -m MiniJava
    [java] cygwin warning:
    [java]   MS-DOS style path detected: C:\Spoofax\Repositories\git\spoofax-minijava\MiniJava\include/MiniJava.def
    [java]   Preferred POSIX equivalent is: /cygdrive/c/Spoofax/Repositories/git/spoofax-minijava/MiniJava/include/MiniJava.def
    [java]   CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    [java]   Consult the user's guide for more details about POSIX paths:
    [java]     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    [java] [ org.strategoxt.tools.main-sdf2rtg | info ] Calling external tool C:\Spoofax\Eclipses\Eclipse 4.3\Spoofax Nightly\plugins\org.strategoxt.imp.nativebundle_1.2.0.201310190113\native\cygwin\implodePT -i C:\Users\Gabriel\AppData\Local\Temp\StrategoXT5294185747572206155.tmp -o C:\Users\Gabriel\AppData\Local\Temp\StrategoXT6948080835892085488.tmp

The input file is there, so is the output file but it is completely empty. I also noticed a console window pop up and close immediately when it executed this step.

It is not possible to cancel the build. Even after closing Eclipse, the eclipse.exe process keeps running and cannot be killed even from the task manager. Only a full restart seems to be able to close Eclipse.

I am using Spoofax 1.2.0.0-s40678, I’ll see if different versions have the same issue.

Submitted by Gabriël Konat on 11 November 2013 at 15:37

On 11 November 2013 at 15:37 Gabriël Konat tagged windows

On 11 November 2013 at 16:42 Gabriël Konat commented:

Also happens on 1.2.0.0-s40816 (latest right now). However, it doesn’t happen in a fresh Eclipse.


On 11 November 2013 at 16:55 Gabriël Konat commented:

Fresh Eclipse solved it, maybe the implodePT binary got corrupted somehow..


On 11 November 2013 at 16:55 Gabriël Konat closed this issue.

On 2 December 2013 at 11:09 Gabriël Konat commented:

Occurred again today, apparently it’s Avast antivirus screwing up when set in silent mode. It scans implodePT but then doesn’t let it run because it cannot give a notification in silent mode. Guess I need a different virus scanner again.

Log in to post comments