Closed GoogleCodeExporter closed 9 years ago
Original comment by `` on 18 Jan 2012 at 9:33
I believe this is the same as issue 120. See if the patch that's posted there
fixes
the problem for you as well. I plan to have it in the next release.
Original comment by csilv...@gmail.com
on 7 Apr 2009 at 3:28
I saw 120, but the description says:
"Run an app using static initializations that allocate[s] memory and, ... "
The case I'm seeing does not require the initializers to allocate, or even for
the
application to allocate or free anything.
Sergio Nalin's static initializers are getting called after tcmalloc is patched
in, I
believe (i.e., his allocations *are* going through tcmalloc), so this is
actually a
different issue if I'm understanding everything correctly.
Original comment by Codeben...@gmail.com
on 7 Apr 2009 at 3:40
I believe it's the same issue -- realloc isn't correctly handling reallocating
memory
that was originally allocated with CRT's alloc. The example in 120 uses
user-allocated data, as opposed to your case which uses internal-library
allocated
data, but I believe it's the same issue.
The patch is part of issue 120 -- it's associated with comment #6 (I believe;
the
last comment, in any case). Patches can be a bit hard to find in google code.
:-(
Original comment by csilv...@gmail.com
on 7 Apr 2009 at 3:53
Original issue reported on code.google.com by
Codeben...@gmail.com
on 7 Apr 2009 at 3:18