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 #4906 is a reply to message #4902] Mon, 13 August 2007 15:21 Go to previous messageGo to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Ralf

> I commented the string out but it still breaks.
Ok. This is not the result i hoped for.

> I thought that the TString is made for the storage in root
> files.

I would say TString is the Root class to handle character arrays,
i don't know if it was made for storage in files.
The problem comes from the TClonesarray.
From the Root manual

>> A TClonesArray is an array of identical (clone) objects. The >> memory for the object is allocated only once in the lifetime
>> of the clonesarray.

> My prevous data formats contain such a TString, too. Could the
> problem arise from that?

This i don't understand? What do you mean exactely?

> I made a run with valgrind and there it runs through. This is > very strange.

This is indeed verry strange. Maybe valgrind prevents you from overwriting some array bondaries. Can you check what is written to your string?

Ciao

Florian
 
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 May 20 02:36:37 CEST 2024

Total time taken to generate the page: 0.01002 seconds