Problem 1526

Summary: about G4MTRunManager.cc seeds array
Product: Geant4 Reporter: Li Chuanlong <chuanlong.li>
Component: runAssignee: asai
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: other   
Hardware: PC   
OS: Linux   

Description Li Chuanlong 2013-10-10 04:52:52 CEST
When i use G4MT with Geant4.10.00.b01, i set the cmd run/beanOn 1000,000,000,
10^9 particals
then get "bad_alloc" error.
i track the problem and find:
in G4MTRunManager.cc line 263,
seeds = new long [ns];
if n_event is 10^9,ns = 2e+9 (by default)
in my 32bit debian wheezy,will get this error.

i think there must be some limit of incident particals number,but there is no limit codes to avoid this kind of error.
Comment 1 asai 2014-02-21 22:15:29 CET
This issue is fixed in the official public version 10.0.
Thanks for reporting this.
Makoto