Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

What is up with "Debug Error!" from Microsoft Visual C++ Runtime Library?

$
0
0

Does anyone know the root causes of "Debug Error!" from Microsoft Visual C++ Runtime Library that is often accompanied by a message that says "Damage before 0x0... which was allocated by aligned routine"?

I'm getting this error in one of my codes when I run the executable build with Debug configuration for Intel 64 (64-bit) with the /dbglibs setting for Fortran Run-time libraries.  But the executable built with Release configuration runs with no such error.  So I rebuilt the Debug configuration executable with non-debug libraries (i.e., /dbglibs setting removed) and this error disappeared.

However I was not getting such an error in my code earlier, so some of my recent changes must have caused this to happen.  But I can't figure out what.  Note I've unit-tested thoroughly and separately each and every change.  The code is quite proprietary, so I can't post it here.

Hence I would appreciate if anyone has any pointers on what all I can check in my code.

Thanks,

 

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles