On Sat, 3 Dec 2011 01:08:52 PM Yuri wrote: > While running memcheck, I see such error: > ==26916== Address 0x31d96c0 is 48 bytes inside a block of size 51 alloc'd > ==26916== at 0x25A96B: malloc (in > /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) > ... > > What does this mean? Does it imply that malloc returned already > allocated block? This is system malloc from libc.so on FreeBSD. The meaning depends on the context, which you haven't provided. One possibility is that you've malloc'd a char foo[51], and are writing beyond the bounds of that array, say with a long at foo[48];
Brad ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
