Message: Re: SegFault problem with physics list. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: SegFault problem with physics list. 

Forum: Physics List
Re: None Problem with low energy EM physics list (Peter Kimstrand)
Re: None SegFault problem with physics list. (Ryan Romero)
Date: 09 Aug, 2006
From: Vladimir IVANTCHENKO <>

On Tue, 8 Aug 2006, Ryan Romero wrote:

> *** Discussion title: Physics List
> Email replies to must include:
>   In-Reply-To: <"/phys-list/253/4">
>   Subject: ...change this to be about your reply.
> Hi Everyone. I'm having a problem with my physics list. My original
> physics list, which was modeled off of EXN02's physis list, resulted in
> a segmentation fault. So copied ExN02's physics list and header into my
> program exactly thinking some alteration i made generated the error(I
> did change function and file names where appropriate in order to
> compile). This also resulted in a segmentation fault.
> I tried the samet ing with TesEM7 and that also generated a segmentation
> fault.
> Whereas ExN02's physics lists compiles and runs with no trouble for
> exampleN02, using it in my program generates a segmentation fault.
> I read elsewhere i the posts that this could be caused by using Nist
> manager. I have done away with my use of Nist and the segmentation fault
> still persists.
> I ran my executable via gdb and it says that an error occurs at
> G4BraggModel::SetMinCuts() if that's helpful.
> If a detailed answer is too inconvenient, please direct me to a place on
> the forum that could be of help. Thus far all I've seen suggested
> consutling TestEM7 which I've done and getting rid of Nist which I've
> also done.


First of all : if PhyiscsLIst of TestEm7 or N02 and its components can be
used in user application without any change - rename is not needed.

Second: Nist material description is only a way how to define materials, 
it can be used or not but should not provide problems to physics. 

Third: the explanation you give about your problems simply shows 
that there is a memory corruption but the source of it may be whatever.
Make detail comparison of your application with N02 or Em7.


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

 Add Message Add Message
to: "Re: SegFault problem with physics list."

 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 ]