GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Emc digi crashes
Re: Emc digi crashes [message #7719 is a reply to message #7718] Thu, 22 January 2009 11:46 Go to previous messageGo to previous message
Bertram Kopf is currently offline  Bertram Kopf
Messages: 110
Registered: March 2006
continuous participant
From: *ep1.ruhr-uni-bochum.de
Hi Stefano,
in the destructor of EmcData/PndEmcSharedDigi.ccx the pointer "(PndEmcDigi*) fDigi" will be deleted. This pointer is not owned by this class. Once the pointer has been deleted there and will be still used at another place, the application will crash. Therefore one has to remove this line there. The object "EmcData/PndEmcCluster.*" instead takes care of the deletion of these pointers.
Unfortunately, I did't get write permissions for the PandaRoot repository yet. Therefore it is right now not possible for me to commit this small bug fix.

Cheers,
Bertram.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PndTpcPadResponseTask Warning ?
Next Topic: PndHypHit build error
Goto Forum:
  


Current Time: Mon Dec 02 20:37:47 CET 2024

Total time taken to generate the page: 0.00693 seconds