Tutorial: Analyzing Memory Errors with Intel® Inspector and a C++ Sample
To determine the cause of the detected memory error:
The Source tab shows the complete source surrounding one code location in the Mismatched allocation/deallocation problem: Mismatched deallocation site. The Mismatched deallocation site code location represents the location attempting the deallocation. Notice the source code corresponding to the Mismatched deallocation site code location is highlighted. |
|
The Disassembly tab shows low-level operations for the Mismatched deallocation site code location in the Mismatched allocation/deallocation problem. |
|
The Call Stack tab shows the complete call stack for the Mismatched deallocation site code location in the Mismatched allocation/deallocation problem. |
|
Use the
In this case, the Allocation site code location represents the location from which the memory block was allocated. |
Right-click anywhere in the Source or Disassembly tab.
Choose Explain Problem to display the Intel Inspector Help information for the Mismatched deallocation site problem type.