GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » crash
Re: crash [message #20370 is a reply to message #20363] Thu, 23 February 2017 21:01 Go to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *netcologne.de
Dear Gianluigi,

the problem is the line:

TClonesArray* fClone;

You do not allocate memory for the TClonesArray which causes the crash.
Replace it with:

TClonesArray* fClone = new TClonesArray("PndSdsDigiPixel");

Cheers,

Tobias
 
Read Message
Read Message
Previous Topic: svn error when updating pandaroot on kronos
Next Topic: New PandaRoot release feb17
Goto Forum:
  


Current Time: Sun Dec 08 14:19:27 CET 2024

Total time taken to generate the page: 0.00722 seconds