Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4995 Discussions

can't get tutorial to run properly

Greg_W_
Beginner
299 Views

I have Inspector XE 2015, which I'd like to use to detect memory issues in my code.  I tried running the dynamic memory tutorial on win7 (64-bit), but I don't get the expected results.  Inspector doesn't report any issues in the code itself, only kernel issues.  I'll try attaching the project and results here.

0 Kudos
1 Reply
Peter_W_Intel
Employee
299 Views

You can disable "Detect resource leaks" if you like, on GUI. In command, use "-knob detect-resource-leaks=false" (but this is default option in cmd).

I cannot reproduce this problem both for Win32 & x64 build, on my side. I use Inspector XE 2016.

Have you generated .pdb file for associated execution file? Please check compiler's options.

C:\tmp\tachyon_insp_xe\vc10\find_and_fix_memory_errors_Win32\Debug>inspxe-cl -c mi3 -- find_and_fix_memory_errors.exe ..\..\..\dat\simpleballs.dat

4 new problem(s) found
    1 Invalid memory access problem(s) detected
    1 Memory leak problem(s) detected
    1 Memory not deallocated problem(s) detected
    1 Mismatched allocation/deallocation problem(s) detected

C:\tmp\tachyon_insp_xe\vc10\find_and_fix_memory_errors_x64\Debug>inspxe-cl -c mi3 -- find_and_fix_memory_errors.exe ..\..\..\dat\simpleballs.dat

4 new problem(s) found
    1 Invalid memory access problem(s) detected
    1 Memory leak problem(s) detected
    1 Memory not deallocated problem(s) detected
    1 Mismatched allocation/deallocation problem(s) detected

 

0 Kudos
Reply