Getting Started with TotalView Products
:
Memory Debugging
: Finding Dangling Pointers
Finding Dangling Pointers
With memory debugging turned on in TotalView, you can identify a dangling pointer (points into deallocated memory) through additional information in the Variable Windows and the Stack Frame Pane,
Figure 26
.
Figure 26:
Dangling Pointers
See More
On fixing dangling pointers:
“
Fixing Dangling Pointer Problems”
in the
MemoryScape User Guide
On using the command
dheap -is_dangling
: “
Checking for Dangling Pointers: dheap -is_dangling”
in the
MemoryScape User Guide