Re: valgrind and root 4.02/00

From: Thomas Bretz <tbretz_at_astro.uni-wuerzburg.de>
Date: Fri, 14 Jan 2005 15:58:07 +0100


Hi Rene,

> This is a typical sign of a dynamic array in one of your classes with a 
> pointer
> that is not set or doubly deleted.
> I suggest to run with gDebug=2 before reading your object.

Sure, but for me it looked like it is in TVector, due to  >> ==22326== by 0x351BA55D: TVector::Streamer(TBuffer&) (in That's why I thought it is something in the root code...

Thomas.

> Thomas Bretz wrote:
> 

>> Hi,
>>
>> with valgrind and root 4.02/00 I get the following
>> ==22326== Invalid free() / delete / delete[]
>> ==22326== at 0x3414CDE1: operator delete[](void*)
>> (vg_replace_malloc.c:162)
>> ==22326== by 0x34312065: int
>> TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int,
>> int, int) (in /data/cern/root-4.02.00/lib/libCore.so)
>> ==22326== by 0x342F9962: TClass::ReadBuffer(TBuffer&, void*, int,
>> unsigned, unsigned) (in /data/cern/root-4.02.00/lib/libCore.so)
>> ==22326== by 0x351BA55D: TVector::Streamer(TBuffer&) (in
>> /data/cern/root-4.02.00/lib/libMatrix.so)
>> ==22326== by 0x34313D37: int
>> TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int,
>> int, int) (in /data/cern/root-4.02.00/lib/libCore.so)
>> ==22326== by 0x342F9B93: TClass::ReadBuffer(TBuffer&, void*) (in
>> /data/cern/root-4.02.00/lib/libCore.so)
>>
>>
>> Best regards,
>> Thomas.
>>

> Received on Fri Jan 14 2005 - 15:58:24 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET