Re: Strange memory errors
Rene Brun (Rene.Brun@cern.ch)
Wed, 25 Mar 1998 15:36:27 +0100
Reid D Rivenburgh wrote:
>
> Hi,
>
> We've been seeing some strange memory-related errors lately. Here's
> an example from a program that writes objects to a TBranch of a TTree
> (this happens after 1,000 objects are written):
>
> CustomReAlloc2: oldsize != size
> Fatal in <CustomReAlloc2>: unreasonable size (-4032)
>
> Then it exits. We've also seen other similar messages about delete
> and huge sizes, but it's usually only when the program is exiting
> normally and could be ignored. We've been experimenting with and seen
> this happen with 1.03.09 and 1.03.06 (which was our last "stable"
> version, but weird thing have been happening there at times, too,
> lately). Does anyone know what could be going on? I think I saw in
> another roottalk message that someone else was having problems like
> this, so at least it's not just us.
The symtom you are describing is typical of a version mismatch.
Could you that you have recompiled your classes when migrating
to the latest version of Root?
Rene Brun