Problem 181 - bugfix in G4Allocator.hh
Summary: bugfix in G4Allocator.hh
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: global (show other problems)
Version: 2.0
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2000-12-21 22:14 CET by masaharu.aoki
Modified: 2001-01-09 01:04 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.