HEAP Invalid Address 
Author Message
 HEAP Invalid Address

These two statements were never in my de{*filter*} output when I was using NT4(sp6).
I'm currently using Windows 2000 sp1 with Visual Studio 6.0 sp5Do you think this
is an error?

HEAP[sample1.exe]: Heap block at 00153BB0 modified at 00153DEA past
requested size of 232
HEAP[sample1.exe]: Invalid Address specified to RtlReAllocateHeap( 130000,
153bb8 )

///////////////////////////////////

When I save a document, I can be save and load when the program  is still
running. However, when I quit the program, I try to execute the program and try
to open the same document again; the de{*filter*} will give me the following error
message:

First-chance exception in sample1.exe (MSVCRTD.DLL): 0xC0000005:
MFCo43DError.
First-chance exception in sample1.exe (KERNEL32.DLL): 0xE06D7363: Microsoft
C++ Exception.
First-chance exception in sample1.exe (MSVCRTD.DLL): 0xC0000005:
MFCo43DError.
First-chance exception in sample1.exe (KERNEL32.DLL): 0xE06D7363: Microsoft
C++ Exception.

The biggest problem is that my program was working fine. I could save and load
the document perfectly okay. But, all the sudden, it gives me these messages. And
I didn't change the saving and loading source code.



Fri, 17 Oct 2003 12:03:05 GMT  
 HEAP Invalid Address
Someone is trashing the heap in your program, at the address listed. When
you run an exe under the de{*filter*} the OS does additional heap validation,
which is firing here. You need to see if you can get a consistent repro, and
if you can use a data bp to see how is trashing it. You should also try out
gflags.exe (from the Win32 SDK) which is very helpful finding bugs of this
type.


These two statements were never in my de{*filter*} output when I was using
NT4(sp6).
I'm currently using Windows 2000 sp1 with Visual Studio 6.0 sp5Do you think
this
is an error?

HEAP[sample1.exe]: Heap block at 00153BB0 modified at 00153DEA past
requested size of 232
HEAP[sample1.exe]: Invalid Address specified to RtlReAllocateHeap( 130000,
153bb8 )



Sat, 18 Oct 2003 07:28:19 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. HEAP[my.exe]: Invalid Address specified to RtlValidateHeap( 1940000, 1b73290 )

2. Invalid heap signature for heap

3. Incomplete import address table causes jump to invalid address

4. Incomplete import address table causes jump to invalid address

5. Invalid Heap pointer after loading a DLL with LoadLibrary

6. Invalid heap signature

7. HEAP[dllhost.exe]: HEAP: Free Heap block 1e32c28 modified at 1e32dc4 after it was freed

8. mmap returns invalid address

9. invalid address alignment

10. signal BUS (invalid address alignment) !!!!!!

11. Invalid pointer addresses

12. "Invalid Address specified to RtlFreeHeap(..)"

 

 
Powered by phpBB® Forum Software