Alex Rivera | Logout

Visual Studio - how to find source of heap corruption errors

Asked 2010-03-18T13:32:40.687
47

I wonder if there is a good way to find the source code that causes a heap corruption error, given the memory address of the data that was written 'outside' the allocated heap block in Visual Studio;

Dedicated (0008) free list element 26F7F670 is wrong size (dead)

(Trying to write down some notes on how to find memory errors)

Edit
Report

1 Answer

3

It's probably too late but if it compiles with gcc and can run on linux you may use valgrind to find the source of the problem (i don't remember the flags, i only used it once with great success).

answered 2012-02-14T20:43:37.477

Your Answer