GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Stuck with a segfault in mvd reco
Re: Stuck with a segfault in mvd reco [message #4908 is a reply to message #4877] Mon, 13 August 2007 15:48 Go to previous messageGo to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: 141.30.85*
OK, I'm getting closer:

First of all I made a mistake when using the clonesarray:
I had in my MvdRecoTask.cxx:
((*fClusterOutputArray)[size++]) = *it;

And I should have used:
MvdCluster* clust = new ((*fClusterOutputArray)[size++]) MvdCluster(**it);


So this seems ok now.

Now there is a problem with the copy constructor of MvdCluster:
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1236543792 (LWP 15045)]
0xb2fedddb in MvdCluster (this=0xb141dc0, c=@0x94fb988) at /home/ralfk/Pandaroot/pandaroot/mvd/MvdData/MvdCluster.cxx:29
29      , _mcid(c._mcid)
Current language:  auto; currently c++

MvdCluster::MvdCluster(const MvdCluster& c)
: CbmHit(c)
, _frontend(c._frontend)
, _wafer(c._wafer)
, _clusterSize(c._clusterSize)
, _totaldE(c._totaldE)
, _meanTime(c._meanTime)
, _mcid(c._mcid)
{
  // Copy Constructor
}

The all members are unsigned integer or double. Maybe the ":CbmHit(c)" is wrong.

Ralf.
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with DPMGen and Geant4
Next Topic: genfit demo
Goto Forum:
  


Current Time: Mon Nov 18 19:47:26 CET 2024

Total time taken to generate the page: 0.00977 seconds