- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Don't set stack reserve higher than 1GB, otherwise you could get errors exactly like this. If you find you are running out of stack, build with /heap-arrays (Optimization > Heap Arrays > 0) instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could be this error message related to NtLoader?
Btw enabling loader snaps could pfobably give more clue about the error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is somehow related to creating process stage.My bet is that preferred saddress or address fixup stage gone wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See my earlier post on the stack reserve setting.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page