error pointer being freed was not allocated [message #19872] |
Tue, 15 November 2016 11:04 |
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
|
|
|