Top "Memory-corruption" questions

Memory corruption is an unintentional modification of a memory location due to an error in a computer program.

glibc detected malloc(): memory corruption in C

I am trying to compile and code written in C under linux, and got this error message: glibc detected malloc(): …

c pointers memory glibc memory-corruption
Attempted to read or write protected memory. This is often an indication that other memory is corrupt

I really do not understand how is this error happening at this code. Please check the code yourself void dispatcherTimer_…

c# wpf access-violation unhandled-exception memory-corruption
How to find place of buffer overflow and memory corruptions?

valgrind can't find anything useful. I'm confused. Symptomes: my data corrupted by a malloc() call return address of my function …

c valgrind buffer-overflow memory-corruption
how to check memory corruption in C++

I have an issue in my project. Sometimes execution fails with the error "unabe to access a reading/writing location …

c++ memory-corruption
Valgrind gives an error for nearly everything (Warning: client switching stacks?)

I'm corrupting memory somehow because my program crashes without error at random places. I'm using valgrind with --leak-check=full, compiling …

c++ valgrind memory-corruption
C++ glibc detected corrupted double-linked list error C++

I have the following declaration for a 2D dynamic integer linked list in Population.cpp: sectionProf = new int*[section_count]; //…

c++ glibc memory-corruption