|
From: John R. <jr...@bi...> - 2016-05-26 10:06:48
|
> ... The error message only indicates that the address is in one > of the memory pools. Valgrind states that the block is "recently > re-allocated", a term which I don't understand and which doesn't seem to > appear in any of the documentation. > ==4888== Address 0x5c31230 is 4,368 bytes inside a recently re-allocated block of size 65,536 alloc'd One advantage of open source is that users can inspect the source code. ===== $ grep -sr 'recently re-allocated' . ... ./memcheck/mc_errors.c: We however detect and report that this is a recently re-allocated ./memcheck/mc_errors.c: ai->Addr.Block.block_desc = "recently re-allocated block"; ... ===== Then edit memcheck/mc_errors.c to read the comments and the code. Doing so helped me understand the message. |