I install ROOT 4/02 on Mandriva LE 2005.
I have a ROOT macro that creates from a vector in a txt file a TH1D histogram.
When i do in ROOT:
[root1]: .L histo2.cc => OK
then i run my macro with
Here it crashes with a glibc detected free() invalid pointer
The lines that causes this crash are the following:
I try to find what’s wrong but i have systematically the same crashes.
In attachment you will find the macro i use.
Does anybody know what’s the problem with std::vector in ROOT ?