Problem 181

Summary: bugfix in G4Allocator.hh
Product: Geant4 Reporter: masaharu.aoki
Component: globalAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.0   
Hardware: PC   
OS: Linux   

Description masaharu.aoki 2000-12-21 22:14:56 CET
In the destractor definition for the G4Allocator in global/management/include/
G4Allocator.hh,  the memory reagion "aPage" has to be released by using delete
() function instead of free() function.  Because of this bug, Geant4.2.0 does
always terminate itself with "segmentation violation" crash.
This bugfix was reported in a Geant4 Users meeting in Japan, 20 December 2000,
by myself.

Regards
Comment 1 Gabriele Cosmo 2001-01-08 08:18:59 CET
Thanks for pointing us to this potential problem.
The fix will be introduced soon.
Comment 2 Gabriele Cosmo 2001-01-09 01:04:59 CET
Bug fixed in tag "global-V03-00-00".
Submitted to system test.