I am developing a DLL for which I have a test program that is used to call and debug the DLL code.
I have run through all the main routines OK so far, debugging as I go, but I have come across a set of data that has resulted in a stack overflow. I use allocated arrays, but they are not enormous in size. When the debugger breaks, the cursor points to a specification statement for two of the allocatable arrays.
Is it likely that the stack overflow is related to array allocation and how can I avoid the problem?