Topic: SF fwin.exe and hello.exe freeze

I loaded SF2 on my new notebook Asus with ssd, and tried this program:

program helloworld
implicit none

    Print *, "Hello World!"
   
end program helloworld


And got this:
==============================================================================
Generating Makefile... Okay
==============================================================================
Compiling .\hello.f90
Generating hello.exe
c:/program files (x86)/simply fortran 2/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file hello.exe: Per-mission denied
collect2.exe: error: ld returned 1 exit status
Error(E42): Last command making (hello.exe) returned a bad status
Error(F43): Deleting (hello.exe): Permission denied
Error(E02): Make execution terminated

* Failed *

I tried to delete hello.exe, but Windows says:

    This action cannot be completed because the file is open in System.

I rebooted, and was able to delete hello.exe.

I again ran Hello World A01a.prj
And got this:

===============================================================
Generating Makefile... Okay
==============================================================
Generating hello.exe

* Complete *

I then clicked on Launch Project, and SF2 froze up.
I stopped fwin.exe in Task Manager.

I tried to run hello.exe directly from Windows Explorer, and it would not run. Instead the Windows mouse cursor with the whirling wait thing kept going. Closing the folder in which hello.exe was in stopped the waiting.

And hello.exe dos not show up in Task Manager during any of this.

Re: SF fwin.exe and hello.exe freeze

Note: I have installed: Version 2.25, Build = 2116

Re: SF fwin.exe and hello.exe freeze

Do you currently have Avast or AVG as your virus scanner?  This behavior is symptomatic of one of those products.  Both tend to block execution of code created by Simply Fortran.  Their method for blocking it causes Simply Fortran to freeze for some reason.  We're still looking into a workaround to stop the freezing, but you'll probably need to "whitelist" the directories where you keep your Fortran code.

Jeff Armstrong
Approximatrix, LLC

Re: SF fwin.exe and hello.exe freeze

I had Avast. I uninstalled it, and installed McAfee, and am getting good results so far. Will keep you posted if anything like this happens again. Thanks.