Message: Re: Sigmentation fault Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Sigmentation fault  

Keywords: Segmentation fault
Forum: Hadronic Processes
Re: Question Sigmentation fault (Alexey Lubashevskiy)
Date: 25 Oct, 2006
From: Alexey Lubashevskiy <lubashev@bk.ru>

P.P.S.

Program also crushes in case of any packages if

  if(aTrack->GetDefinition()==G4Neutron::NeutronDefinition())
  { // particle is neutron
    if(aTrack->GetParentID()>0)
    { // particle is secondary
      neutronCounter++;
      G4String vol_name = aTrack->GetMaterial()->GetName();
    }
  }

And it's prodused:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213729104 (LWP 4722)]
0x0805338b in ExmyStackingAction::ClassifyNewTrack ()
    at /usr/local/CLHEP/include/CLHEP/Vector/ThreeVector.icc:88
88
Current language:  auto; currently c++

Thank you for your help. Alexey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: Sigmentation fault "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]