Questions tagged [intel-inspector]

Use this tag to ask questions about Intel® Inspector, which is a dynamic threading, memory and persistent memory error checking tool for serial and multithreaded applications on Windows* and Linux* operating systems.

13 questions
8
votes
3 answers

Intel Inspector reports a data race in my spinlock implementation

I made a very simple spinlock using the Interlocked functions in Windows and tested it on a dual-core CPU (two threads that increment a variable); The program seems to work OK (it gives the same result every time, which is not the case when no…
Gratian Lup
  • 1,485
  • 3
  • 19
  • 29
3
votes
0 answers

Intel Inspector cannot find debug symbols Visual C++ MFC

I have just started to try out the Intel Inspector software for memory analysis in my Visual C++ MFC projects. The analysis run fine and some errors are found by the tool. However, I cannot naviage to the problem source files and code lines because…
10100111001
  • 735
  • 15
  • 31
2
votes
1 answer

Find illegal memory access in Visual Studio

I have a (complex) multithread-application that produces a crash with some specific data. The crash happens at random positions and it is obvious the position where the crash happens is not the reason. So at the moment I assume an illegal memory…
Elmi
  • 5,899
  • 15
  • 72
  • 143
2
votes
0 answers

MKL dgemv - Invalid memory access for dynamically allocated arrays

I do a blas matrix/vector product with this simple code: #include "mkl.h" #include int main(){ const int M = 2; const int N = 3; double *x = new double[N]; double *A = new double[M*N]; double *b = new double[M]; for (int i = 0; i < M;…
seb007
  • 488
  • 3
  • 19
2
votes
0 answers

Intel Inspector reports a data race in atomic_store and atomic_load for shared_ptr

I'm building the code below using Visual Studio 2015 Preview (but I've had a similar issue with Visual Studio 2013, so it's not specific to 2015), and then running the program under Intel Inspector XE 2013 Update 9 (build 328075). Intel Inspector…
Massimiliano
  • 16,770
  • 10
  • 69
  • 112
1
vote
0 answers

What is the significance of dropping the reader lock for a read/write mutex?

I'm writing some TBB code and would like to use the TBB read/write mutex. There is a return value for upgrading to a writer shown: //Change reader lock to writer lock. Return false if lock // was released and reacquired. true otherwise, including…
dromodel
  • 9,581
  • 12
  • 47
  • 65
1
vote
1 answer

c++ Intel inspector shows many errors with boost - do I need to worry?

I have a problem with my current program. For some reason it always crashed after the final line of code on windows. I got a "application is no longer responding" error or something like this. So I tried the Intel inspector. And Luckily it told me…
user7431005
  • 3,899
  • 4
  • 22
  • 49
1
vote
1 answer

Why is there a memory leak on SHGetFolderPath()? (C++)

I am runing Intel Inspector for finding memory leaks in an application. Now, the case is this: assume there is a function called MyGetPath() which does the following: _TCHAR szFolderPath[520]…
10100111001
  • 735
  • 15
  • 31
1
vote
0 answers

Intel Inspector reports std::mutex memory leaks

Intel Inspector reports internal memory leak from even the simplest std::mutex examples: // std_mutex_test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include "TestMutex.h" int _tmain(int…
user152949
1
vote
2 answers

Intel Inspector XE 2012 warning #12367 - slicing of iterator parameter passed to vector::erase()

I am getting warning #12367 when running Build | Build Solution for Intel Static Analysis, but I can't see the problem with my code. Ideas anyone? warning #12367: slicing of object passed as actual argument 2 in call "std::_Vector_iterator > >…
wpqs
  • 657
  • 1
  • 7
  • 18
0
votes
1 answer

While running the design using command line with MPI for Intel Inspector in linux shell it shows error

While running the design using command line with MPI for Intel Inspector in Linux shell it shows error of Error: Unsupported OS version . Linux OS should be RedHat 7 or 8/CentOS 7 or 8 Exiting. Can anyone tell me what should I do for this or what…
0
votes
1 answer

IntelliJ code Analyse overview of right side top corner and analyse Inspection shows different data

IntelliJ code Analyse overview of right side top corner and analyse Inspection shows different data When I hover the right side top corner of code it shows something like this as inspection analyse But when I run code Inspection for that same file…
PushpikaWan
  • 2,437
  • 3
  • 14
  • 23
0
votes
1 answer

Intel Inspector inspect dll

I would like to use Intel Inspector to analyze a DLL. This DLL is for a plug-in application. It goes to a extension folder, is is run from another application, mainApp.exe. However, in Intel Inspector, when I create a new project from UI, the open…
kiriloff
  • 25,609
  • 37
  • 148
  • 229