Message: Segmentation fault ( core dumped) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Segmentation fault ( core dumped)  

Forum: Medical Applications
Date: 04 May, 2013
From: Kalachov Alex <Kalachov Alex>

Hello! I try to get name of th process by step->GetPostStepPoint()->GetProcessDefinedStep()->GetProcessName() and there is an error occured like this :

eIoni Transportation ionIoni RadioactiveDecay Transportation Transportation Transportation RadioactiveDecay Transportation Segmentation fault (core dumped)

If i will turn off this function the programm will work fine.The same result i have when i turn off one of these function in PhysicsList:

1)... else if (particleName == "GenericIon") {
      pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
      G4ionIonisation* ionIoni = new G4ionIonisation();
      ionIoni->SetEmModel(new G4IonParametrisedLossModel());
      ionIoni->SetStepFunction(0.1, 10*um);
      pmanager->AddProcess(ionIoni,-1, 2, 2); ... <-------- this function

2)... pmanager->AddProcess(theRadioactiveDecay);
      pmanager->SetProcessOrdering(theRadioactiveDecay,idxPostStep);
      pmanager->SetProcessOrdering(theRadioactiveDecay, idxAtRest); <--this fucntion

But at thirst case a have no gamma in readioctive decay,at second i have no decay in general

Please help) Probably the error caused by programm part,but i have no enough information to find where the probleam really is.

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

1 None: RE: Segmentation fault ( core dumped)   (Susanna Guatelli - 05 May, 2013)
(_ Feedback: Re: RE: Segmentation fault ( core dumped)   (Kalachov Alex - 05 May, 2013)
 Add Message Add Message
to: "Segmentation fault ( core dumped) "

 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 ]