GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problem with Geane (Error in "runRECO2.C")
Re: Problem with Geane (Error in "runRECO2.C") [message #5732 is a reply to message #5723] Tue, 29 January 2008 17:36 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*
Probably this line makes no sense after all since xc is set below without being used:

  // translation
  xc = xc - s;
  // rotation    
  xc = TMath::Cos(alpha)*xcrot - TMath::Sin(alpha)*ycrot;


Additionally xc is not set before, this should be avoided. So this might be the cause of the segfault and maybe it depends on the system how uninitialized variables are treated.

I found this on line 1061 and 636, too.

Ralf.

[Updated on: Tue, 29 January 2008 17:49]

Report message to a moderator

 
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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with G4.9.1 compatibility fix
Next Topic: Missing file in TPC code
Goto Forum:
  


Current Time: Mon Apr 22 08:45:59 CEST 2024

Total time taken to generate the page: 0.01723 seconds