GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » error pointer being freed was not allocated
error pointer being freed was not allocated [message #19872] Tue, 15 November 2016 11:04 Go to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear all,
I am not sure what the reason for this error message is and whom to blame for it. With root6 I get often (not always) the following error at the end of the sim_complete.C macro (and all other following macros) of PandaRoot when I quit root with ".q".

root.exe(42661,0x7fffc36f93c0) malloc: *** error for object 0x7fe64dc46220: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

When tracking this error with XCode it crashes in the destructor of TGeoManager in line 703
if (fShapes) {fShapes->Delete(); SafeDelete( fShapes );}

Going futher down the delete is called in TCollection line 589.

Has anyone an idea how to fix this problem?

Cheers,

Tobias
 
Read Message
Read Message
Previous Topic: TVector3 and boost::serialization
Next Topic: Problems installing FairSoft
Goto Forum:
  


Current Time: Fri Mar 29 12:12:58 CET 2024

Total time taken to generate the page: 0.00973 seconds