Message: Re: Problem with !!!!!!!! Filter: auxiliary points are being memory leaked !!!!! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: Problem with !!!!!!!! Filter: auxiliary points are being memory leaked !!!!! 

Forum: Fields: Magnetic and Otherwise
Re: Question Problem with "!!!!!!!! Filter: auxiliary points are being memory leaked !!!!!" (Filippo Ambroglini)
Date: 20 Mar, 2013
From: Filippo Ambroglini <Filippo Ambroglini>

Dear all,

sorry but in the previous message I have forgot to mention the G4 version. 

I'm using the G4.9.5.p01.

In the mean time I have investigate surfing in the code and I have found that the messages are dispatched by the class

G4VCurvedTrajectoryFilter

Reading the code documentation I have found these messages:

// GimmePoints has not been called (it would have set the
// pointer to NULL), therefore nobody has taken charge of the
// points and they will never be deleted!
G4cout << "!!!!!!!! Filter: auxiliary points are being memory leaked !!!!!"
<< G4endl;

then looking few lines before in the GimmePoints method I found this message:

// ParticleChangeForTransport invokes this method (via
// PropagatorInField) at every Step, even if the step did not
// involve PropagatorInField. Must, therefore, ensure that points
// submitted by previous invocations of PIF are not
// copied. Therefore the points must be cleared. (Note that the
// responsibility for deleting the vector lies with the
// SmoothTrajctoryPoint, which is the vector's final destination.)
// (jacek 08/11/2002).


Then seams to me that this must be some how automatic.

Trying to read the documentation and also comparing my code with the various examples I'm not able to find out where is my error.

Some one please could help me on solve this issue?

Best regards,
Filippo

 Add Message Add Message
to: "Re: Problem with !!!!!!!! Filter: auxiliary points are being memory leaked !!!!!"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]