Hi Gerardo, if I run using XTNetFile I get ==21926== 544 bytes in 10 blocks are definitely lost in loss record 464 of 559 ==21926== at 0x4002BD79: __builtin_new (vg_replace_malloc.c:172) ==21926== by 0x40AAD23E: TStorage::ObjectAlloc(unsigned int) (base/src/TStorage.cxx:344) ==21926== by 0x63AFDB29: TXPhyConnection::BuildXMessage(ESendRecvOptions, bool, bool) (in /afs/slac.sta\ nford.edu/g/babar/dist/releases/nightly-20040912/shlib/Linux24RH72_i386_gcc2953/libXTNetFile_root.so) ==21926== by 0x63AF8836: TXConnectionMgr::ReadMsg(short, ESendRecvOptions) (in /afs/slac.stanford.edu/g/babar/dist/releases/nightly-20040912/shlib/Linux24RH72_i386_gcc2953/libXTNetFile_root.so) ==21926== by 0x63AFA3E0: TXNetConn::readPartialAnswer(XReqErrorType &, unsigned int &, ClientRequest *, bool, void *, TXNetConn::THREESTATE_READ_HANDLER &) (in /afs/slac.stanford.edu/g/babar/dist/releases/nightly-20040912/shlib/Linux24RH72_i386_gcc2953/libXTNetFile_root.so) ==21926== by 0x63AF9992: TXNetConn::ClientServerCmd(ClientRequest *, void const *, void **, void *, boo\l) (in /afs/slac.stanford.edu/g/babar/dist/releases/nightly-20040912/shlib/Linux24RH72_i386_gcc2953/libXTNetFile_root.so) ==21926== by 0x63AF9AE9: TXNetConn::SendGenCommand(ClientRequest *, void const *, void **, void *, bool\, char *) (in /afs/slac.stanford.edu/g/babar/dist/releases/nightly-20040912/shlib/Linux24RH72_i386_gcc2953/libXTNetFile_root.so) Matthias On Thu, 16 Sep 2004, Matthias Steinke wrote: > Hi Gerardo, > > On Thu, 16 Sep 2004, Gerardo Ganis wrote: > > > > > > > Hi Matthias, > > > > Unfortunately I am not able to reproduce this occurence by myself > > > > ********************** > > > > In netx/src/TXNetConn.cxx: > > > > ==9343== 48 bytes in 2 blocks are definitely lost in loss record 360 of 563 > > ==9343== at 0x4002BD79: __builtin_new (vg_replace_malloc.c:172) > > ==9343== by 0x63C19B4D: TXPhyConnection::BuildXMessage(ESendRecvOptions, bool, > > bool) (in > > /afs/slac.stanford.edu/package/cernroot/vol21/cvs040908_1418/Linux24RH72_i386_gcc2953/lib/libNetx.so) > > ==9343== by 0x63C10789: TXConnectionMgr::ReadMsg(short, ESendRecvOptions) (in > > /afs/slac.stanford.edu/package/cernroot/vol21/cvs040908_1418/Linux24RH72_i386_gcc2953/lib/libNetx.so) > > ==9343== by 0x63C1360E: TXNetConn::ReadPartialAnswer(XReqErrorType &, unsigned > > int &, ClientRequest *, bool, void **, TXNetConn::EThreeStateReadHandler &) (in > > /afs/slac.stanford.edu/package/cernroot/vol21/cvs040908_1418/Linux24RH72_i386_gcc2953/lib/libNetx.so) > > ==9343== by 0x63C12737: TXNetConn::ClientServerCmd(ClientRequest *, void const > > *, void **, void *, bool) (in > > /afs/slac.stanford.edu/package/cernroot/vol21/cvs040908_1418/Linux24RH72_i386_gcc2953/lib/libNetx.so) > > ==9343== by 0x63C12868: TXNetConn::SendGenCommand(ClientRequest *, void const *, > > void **, void *, bool, char *, ServerResponseHeader *) (in > > /afs/slac.stanford.edu/package/cernroot/vol21/cvs040908_1418/Linux24RH72_i386_gcc2953/lib/libNetx.so) > > > > > > ************************** > > > > Is this something new to the ROOT version or was it there also with > > XTNetFile (this part of the code was basically unchanged) ? > > > > I did not check if it's there if I use XTNetFile instead of TXNetFile. > I'll see if I can find out in the next hour (I'll have to leave then for > today). > > Matthias > > > > > >The SafeDelete(cmdrespMex) in SendGenCommand does not always do its job, or > > > it's not always reached. > > > > Yes, it must be something like that, but by looking at the code it is not > > obvious to see why the cleanup should not always be complete ... It must be > > some tricky situation. > > > > Fabrizio: any idea? > > > > Cheers, Gerri > > > >