I'm using VC 6 and placing a breakpoint in my program in specific locations
Causes a non related method call and than the debugger pops up a message saying:

HEAP[MY.exe]: Invalid Address specified to RtlValidateHeap( 025F0000, 03F95858 )
DBG: Break command failed within 0 seconds.
DBG: No threads available for break. Soft broken.

Any clue will be appreciated.
Thanks.

Re: I'm getting a abort if I place a breakpoint by Oleg

Oleg
Tue Apr 27 03:15:53 CDT 2004


It is possible that the heap is corrupted or used improperly in some
other way. It makes sense to check for heap corruption.

For example, you can use Full PageHeap:
http://support.microsoft.com/default.aspx?scid=kb;en-us;286470

To enable it, you will need GFlags tool from Debugging Tools for Windows:
http://www.microsoft.com/whdc/ddk/debugging/default.mspx
Run it as:
gflags -p /enable YourApp.exe /full

When Full PageHeap is enabled, run the application under debugger
and watch for messages in Debug Output window. In case of severe problems,
PageHeap will also notify you by throwing an access violation.

If your application is multithreaded, it also makes sense to review it
for potential race conditions.

Regards,
Oleg