We are intermitently getting an Application Error with our fortran console application. The error is a popup window that says "The application was unable to start correctly (0xc0000018). Click OK to close the application." So it appears like it is not even getting in to the code at all.
This is happening often (maybe always now) when we give the application to other users, but does not happen immediately on the machine on which the code was compiled. But then, sometime later, this same error may occur on the computer that was used for the build. Sometimes restarting the computer will temporarily eliminate the problem. This just started in the last couple of months, and we have even recompiled older versions that never had this problem, and now they do.
We recently noticed that the problem occurs when the stack reserve is set to 2GB, but the stack commit is not set. If both are not set, or they are set to the same, it seems like it might be ok. Do you know what might be going on here?
We are using Intel Composer XE 2011 Update 4 package 196 and Visual Studio 2010 Professional.
Thanks very much.