Top "Heap-corruption" questions

A type of memory corruption that occurs in a computer program when the contents of a memory location are unintentionally modified due to programming errors

Critical error detected c0000374 - C++ dll returns pointer off allocated memory to C#

I have a c++ dll which serving some functionality to my main c# application. Here i try to read a …

c# c++ dll dynamic-memory-allocation heap-corruption
How to use Microsoft Application Verifier

Using C++ and discovered today during a demo that I'm suffering from a corrupted heap (but only on important occasions!!). …

c++ heap-corruption application-verifier
How to debug corruption in the managed heap

My program throws an error which it cannot handle by a catch(Exception e) block and then it crashes: Access …

c# .net .net-4.0 windbg heap-corruption
Heap corruption on delete[]

I've been getting heap corruption error on delete[] instruction. Project is worked on in VC++ 2008, its requirement (so please don't …

c++ runtime-error delete-operator heap-corruption
Heap corruption - "Free Heap block 61af0f0 modified at 61af194 after it was freed" C++

In my application I'm getting this error: HEAP[App.exe]: HEAP: Free Heap block 61af0f0 modified at 61af194 after …

c++ memory memory-leaks heap-corruption visual-leak-detector
Do (statically linked) DLLs use a different heap than the main program?

I'm new to Windows programming and I've just "lost" two hours hunting a bug which everyone seems aware of: you …

windows linux dll heap heap-corruption
GFlags setting to catch heap corruption (other than Page Heap)?

On one production site our application(*) crashes repeatedly, but non-reproducibly. Analyzing the crash dumps clearly shows that it's a heap …

windows visual-c++ windbg heap-corruption gflags
Heap corruption while freeing memory

I have a class as follows struct CliHandler { CliHandler(int argc, char** argv); ~CliHandler(); int doWork(); int argc_; char** argv_; …

c++ malloc free heap-corruption
What is the difference between glibc's MALLOC_CHECK_, M_CHECK_ACTION, and mcheck?

glibc seems to have more than one way of doing some heap checking: mallopt with the M_CHECK_ACTION parameter …

debugging glibc heap-corruption
heap corruption detected after normal block(#174)

i know this question has been asked bat i couldn't fix me program void swap1(char*str1,char*str2) { char *…

c++ char swap heap-corruption