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: Geometry
Date: 21 Aug, 2012
From: Leila Moghadasi <Leila Moghadasi>

Hi Geant4 experts, I developed a simple application in which a water phantom was irradiated by a diverging photon beam with 6 MV energy (spectrum)and scored dose in midplane that worked fine. Then I parametrised my water phantom to have layers of different materials and used RO geometry to score dose as I am not able to voxelize a parmetrised volume. When I execute my code I immidiately (just one single line appearing and nothing else to give me a clue) get an error:"segmentation fault (core dumped)". I tried to check overlapping geometries according guillines for application developers, it seemed the code did not get there. Then I put a "G4cout<<..." command in the first line of main source file and I ended up exactly the same!! In my understanding it means the simulation crashes even before reading the main source code. Could anyone please give me an idea how I should approach this?

Many thanks Leila

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

1 Ok: Re: segmentation fault (core dumped)   (Leila Moghadasi - 23 Aug, 2012)
 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 ]