Re: valgrind and root 4.02/00

From: Rene BRUN <rene.brun_at_cern.ch>
Date: Fri, 14 Jan 2005 13:50:55 +0100


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.

Rene Brun

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 - 13:51:01 MET

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