Message: Re: Nested Param Access violation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Nested Param Access violation 

Forum: Geometry
Re: Question Nested Param Access violation (Youming Yang)
Re: None Re: Nested Param Access violation (John Apostolakis)
Date: 20 Jun, 2012
From: Youming Yang <Youming Yang>

Hello John,

With a proper GetMaterials implementation, I am dealing with an interesting issue that is related to the original: When the material scanner first scans my geometry, it is able to obtain all 4072 materials (created from 18 base materials with varying density).

After /run/beamOn, it will eventually get to the

G4RunManagerKernel::UpdateRegion()

function, and perform

G4RegionStore::GetInstance()->UpdateMaterialList(currentWorld);

Unfortunately when it calls this function the second time around, it only gets partially through the list of materials, up to material 3497, and then proceeds to hang. (Output appended) Eventually, I will get an access violation, which points me to an error in the file mlock.c, at the function "void __cdecl _unlock" (appended).

I am wondering if this is an issue with the number of materials I am using, or how to best diagnose why this would occur?

Thanks, Ming

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2012/06/20/11.45-88-lockerror.txt
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2012/06/20/11.45-79102-mlockc.txt

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

1 None: Re: Nested Param Access violation   (Youming Yang - 20 Jun, 2012)
(_ None: Re: Nested Param Access violation   (John Apostolakis - 27 Jun, 2012)
 Add Message Add Message
to: "Re: Nested Param Access violation"

 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 ]