Problem 1561

Summary: Seg-fault due to missing re-initialization of physics in the workers, after change of geometry
Product: Geant4 Reporter: Luciano Pandola <pandola>
Component: runAssignee: asai
Status: RESOLVED FIXED    
Severity: normal CC: pandola
Priority: P5    
Version: 10.0   
Hardware: All   
OS: All   

Description Luciano Pandola 2014-01-20 16:52:59 CET
* Only applies to the MT mode * 

After changes in the geometry, which trigger the re-initialization of the physics processes by the RunManager, the worker threads are not re-initialized. It happens in particular when the total number of materials is not changed, but different materials are selected for the geometry. The physics tables in the master thread are correctly re-initialized, but the re-initialization is not triggered for the workers.

It produces a segfault crash when using the Penelope EM builder. Also other EM builders are affected: no crashes, but physics results are not correct due to the incomplete re-initialization of the physics tables.
Comment 1 asai 2014-01-22 01:08:42 CET
Fix is in run-V10-00-01 tag.
Makoto