![intel c compiler stack overflow intel c compiler stack overflow](https://i.stack.imgur.com/gJJp1.jpg)
In the debugger, the exception is raised immediately upon stepping into the subroutine, suggesting that the problem is with the subroutine arguments. Upon execution, the thread terminates with a Stack Overflow exception at the call to a subroutine that is embedded within one of the other modules. The main program was converted to a subroutine contained within its own module for purposes of creating the dll.
![intel c compiler stack overflow intel c compiler stack overflow](https://i.stack.imgur.com/EIgJ9.png)
The called subroutine was originally the main program of a standalone application with 22 additional modules.
Intel c compiler stack overflow update#
Once started, the subroutine runs to completion, periodically spawning files of information that is used to update the display of the GUI. Because of the time involved, it is run in it's own thread using System.Threading. The feature is initiated with a call from the GUI to a subroutine in one of the dll's. One of the features initiates an iterative process that takes an unknown amount of time to complete.
![intel c compiler stack overflow intel c compiler stack overflow](https://i.stack.imgur.com/XquF9.png)
The operating system is Windows 10 on a 64-bit computer. The development environment consists of Visual Studio 2015 and the IVF 18.0 compiler. I am developing a multi-language Windows application (32-bit) consisting of a C# GUI and several dll's of Fortran procedures that provide a variety of features under the umbrella of the GUI. While this forum has numerous entries on the topic of stack overflow, none seem to match the situation I am encountering.