Re: Stack overflow problem
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 04:41:47 -0500
Well, the first reaction is "your program has a bug, fix it". In the absence of useful
information, you've basically said "my program doesn't work, what did I do wrong?", which
is not a question that is easily answered.
The most common cause is a subclassed function that erroneously fails to call the
superclass, e.g.,
void CMyClass::SomeFunction(args here)
{
... stuff
SomeFunction(args here);
}
instead of
CSuperclassOfMyClass::SomeFunction(args here);
another cause is overuse of large on-stack data structures, like huge arrays.
Unfortunately, this is a C++/MFC forum; this isn't going to have a high hit rate for
expertise on Intel FORTRAN. I haven't written FORTRAN in...27 years, I think. I read a
FORTRAN program about five years ago. But the newer FORTRAN versions can keep things on
the stack, and FORTRAN is a language that encourages large arrays, so this is almost more
a question for Intel technical support, or some FORTRAN forum.
joe
On Wed, 28 Nov 2007 22:31:08 -0800 (PST), Devendra <dgatkal@xxxxxxxxx> wrote:
Hi All,Joseph M. Newcomer [MVP]
I'm going through a stack overflow problem in my project. I tried to
increase the stack size of my application but on my machine it works
fine (stack overflow does not occure) but fails on any other m/c that
does not have Microsoft Visual Studio installed.
I've tried increasing the stack size using /stack: with 1 GB option.
I've also tried EDITBIN utility with /STACK:reserve[,commit]
option.
I've installed required libraries and dll through Vcredist_x64.exe on
client m/c.
I'm using ---> Visual Studio 2005 , Intel Visual Fortran compiler 9.1
and compiling the code for 64bit.
Can anyone please guide me ..
Regards,
Devendra
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Stack overflow problem
- From: Giovanni Dicanio
- Re: Stack overflow problem
- References:
- Stack overflow problem
- From: Devendra
- Stack overflow problem
- Prev by Date: Re: How do I get all entries in root-directory? (FAT32)
- Next by Date: Re: Listbox selected line mostly just below bottom of window
- Previous by thread: Stack overflow problem
- Next by thread: Re: Stack overflow problem
- Index(es):
Relevant Pages
|