[quote=“Pepe Le Pew”]Try to debug it using [url=https://root-forum.cern.ch/t/segmentation-fault-depending-on-linux-distribution/18020/6 and [url=https://root-forum.cern.ch/t/addresssanitizer-memory-error-detector/21046/1
I tried rewriting the iteration loop in many different ways, but it is giving me all sorts of different problems (mostly memory-related): segmentation violation, error with malloc.c in root.exe, etc.
Could you explain a little more in deal how to use AddressSanitizer? I read the link: AddressSanitizer memory error detector
but am still not sure how to apply it to my Function.C macro.