Message: Segmentation fault when more than 40 elements in material Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Segmentation fault when more than 40 elements in material 

Forum: Geometry
Date: 13 Aug, 2008
From: Yuri Burmistenko <Yuri Burmistenko>

I have to study quite a complicated material. It consists of 198 elements.

The problem is that I get segmentation fault, when I include more then 40 elements. To my mind is not right, because class G4Material is based on STL vector, and there is no evidense of any limitations of number of elements.

I'm asking for help.

In attachment I put my code:

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2008/08/13/02.14-67164-G4Code.txt

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

1 Idea: Re: Segmentation fault when more than 40 elements in material   (Vladimir Ivanchenko - 13 Aug, 2008)
(_ Ok: Re: Segmentation fault when more than 40 elements in material   (Yuri Burmistenko - 13 Aug, 2008)
(_ Sad: Re: Segmentation fault when more than 40 elements in material   (Vladimir Ivanchenko - 13 Aug, 2008)
 Add Message Add Message
to: "Segmentation fault when more than 40 elements in material"

 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 ]