On 3 Jul 2006 10:32:13 -0700
"rhyde@[EMAIL PROTECTED]
" <spamtrap@[EMAIL PROTECTED]
> wrote:
:HLA v1.85 is now up on Webster.
Now that the pace up updates has slowed a bit, I'd like to turn your
attention back to the memory leak problem which I previously re****ted on
v1.82, and which still exists on v1.85.
The error message which I get is:
*** glibc detected *** free(): invalid pointer: 0x081c114c ***
However, depending upon your Linux version, and environment settings, you
may not see this problem on your test machine. Please note the following
excerpt from the current malloc man page:
"Recent versions of Linux libc (later than 5.4.23) and GNU libc
(2.x) include a malloc implementation which is tunable via
environment variables. When MALLOC_CHECK_ is set, a special (less
efficient) implementation is used which is designed to be tolerant
against simple errors, such as double calls of free() with the same
argument, or overruns of a single byte (off-by-one bugs). Not all such
errors can be protected against, however, and memory leaks can
result. If MALLOC_CHECK_ is set to 0, any detected heap corruption is
silently ignored; if set to 1, a diagnostic is printed on stderr; if set
to 2, abort() is called immediately."
-- Chuck


|