Dear Rooters,
my HistPresent ran happily for ~20 y with root_0.9 - 6.11.02
With 6.12.04 it crashes anywhere.
valgrind gives 300 lines of diags coming from the 3rd line of main
before any user code:
TRint::TRint(char const*, int*, char**, void*, int, bool) (TRint.cxx:146)
I add the output of :
valgrind --tool=memcheck --suppressions=$ROOTSYS/etc/valgrind-root.supp
ldd which HistPresent
an example of rootcling …
Note: Compiling and linking of root and HistPresent worked without problems
yes I found my problems:
Essentially some of the destructors had not been prepared
to run without the “normal” constructor,
i.e. dtors used not initialized values.
This never hurt before 6.12.04
Indeed, in v6.12/04 a class which has instance added to a THashList or THashTable will have its default constructor and destructor called; this is part of a new feature checking that if a class overload TObject::Hash, it calls RecursiveRemove in its destructor. In v6.12/06 we reduced this check to only the classes that overload TObject::Hash.