Windows: use DEBUG_NEW in debug build, it will display the filename and line number of corrupted memory block.