Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

Possible Heap Corruption after calling DftiCreateDescriptor

$
0
0

Hello,

Our application crashes some time after calling DftiCreateDescriptor; we believe because the heap has become corrupt. If we delete the call, the application no longer crashes, or if we reduce the size of the length parameter: also no crash. We are calling it as follows:

static DFTI_DESCRIPTOR_HANDLE dftiHandle128;

DftiCreateDescriptor(&dftiHandle128, DFTI_DOUBLE, DFTI_REAL, 1, 128);
DftiCommitDescriptor(dftiHandle128);

We get no crash if the length parameter is less than 18.

We are running this on an RTOS and link the library in statically. We have noticed this issue after upgrading our compiler from "Intel C++ Compiler XE 12.1" to "Intel C++ Compiler 18.0".

Does anyone know why this might be the case?

Thanks


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>