What type of managed code project is this, console, Winform, WPF or is it a ASP.NET mult-threaded web application?
When you are in your processing loop do your subprograms always exit back to the calling program or might you be in some sort of recursive loop?
I have seem problems in managed code when the program flow is such where you may be doing PERFORMs or PERFORM THRUs in which GO TO statements cause a transfer of control out of the section before perfomed.
This type of behavior can cause this stack overflow condition.
If you compile the managed code with the directive RESTRICT-GOTO it will show you these potential problem areas if they do exist.
If it is something else then we will probably need you to open up a support incident and attach a cutdown example of the problem so that we can try to reproduce the problem in-house.
Thanks.