[Gate-users] malloc error

Nadège Dartial nadege.dartial at univ-nantes.fr
Thu Jul 10 22:49:21 CEST 2008


Hi all

I have a malloc error when I run my macro on a PowerPc G5 with Gate  
3.1.2.

Gate(4150) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Gate(4150) malloc: *** error: can't allocate region
Gate(4150) malloc: *** set a breakpoint in szone_error to debug

It isn't systematic and disappear when I remove this noise  
distribution in digitizer :

#	D I S T R I B U T I O N
/gate/distributions/name energy_distrib
/gate/distributions/insert Gaussian
/gate/distributions/energy_distrib/setMean  450 keV
/gate/distributions/energy_distrib/setSigma 1 keV

/gate/distributions/name dt_distrib
/gate/distributions/insert Exponential
/gate/distributions/dt_distrib/setLambda 8.3 mus



/gate/digitizer/Singles/insert noise
/gate/digitizer/Singles/noise/setDeltaTDistribution dt_distrib
/gate/digitizer/Singles/noise/setEnergyDistribution energy_distrib

This error doesn't appear any more, when I launch this same macro  
(with distribution) on Intel MAC Computer.

Could someone have any suggestions ?

(I noted another problem when I tested the overlapping in my  
geometry : with Intel the test was satisfactory and with Power PC the  
test detected overlapping!! Which one of these results is correct ?)

Best regards

Nadège Dartial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20080710/7be952ea/attachment.htm>


More information about the Gate-users mailing list