There are a variety of errors that can occur when freeing and reallocating memory. TotalView's Memory Tracker, which is new in version 6.3, tracks every time your program uses any of the calls within the malloc API. (Even some Fortran programs use this API.) When you free or reallocate memory, it checks to see if the region of memory being freed is a region that was allocated. If it isn't, it stops execution and displays a window that tells you the kind of error that occurred and backtrace.


[/url]

Clicking on a stack frame in the backtrace takes you to the statement that caused the problem.