Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29251 Discussions

What does this run-time check failure mean?

dondilworth
New Contributor II
976 Views

My program runs fine, but in debug  mode I get this message:

Does anyone know what kind of errors will cause this message?  Variable THISNAME is a *40 character variable.

0 Kudos
2 Replies
Steven_L_Intel1
Employee
976 Views

With /check:stack enabled, code is added to check for inappropriate writes to stack outside of declared variables. Some part of your program is writing to memory where it shouldn't. Unfortunately, the error check may be considerably later than the code that did the corruption.

0 Kudos
dondilworth
New Contributor II
976 Views

Right.  Found it.  Many thanks!

0 Kudos
Reply