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
On using the command dheap –is_dangling: “Checking for Dangling Pointers: dheap –is_dangling” in the MemoryScape User Guide
Rogue Wave Software, Inc. |
Voice: (303) 473-9118 |
rwonlinedocs@roguewave.com |