I am getting the runtime error
malloc: *** error for object 0x10070c5c0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
with the following stack trace:
This tells me that something goes wrong in the destructors ~Clustering
and ~NodeMap
(the first one is an empty stub, the second one calls delete[]
), but not which the "pointer being freed" is. How can I find this out?
Also, where is malloc_error_break
?