Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Greg_W_
Beginner
41 Views

can't get tutorial to run properly

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
41 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

 

Reply