Open c-dilks opened 8 months ago
Lots of testing was done at https://github.com/eic/epic-analysis/pull/290
[!IMPORTANT] I think
comparator.C
should be compiled, so thatcling
can be avoided; if it still crashes when compiled, at least the stack trace may be more useful...
It's not happy with
std::vector<HistosDAG*> Dext
I'm not sure what the problem is here... the inheritance is:
HistosDAG : Adage<Histos> : DAG : TObject
So ultimately this is a vector of TObject
pointers. Creating std::vector<TObject*>
causes no crash, so the problem may be in one of the derived classes.
Some more ideas toward a solution:
comparator.C
- might work, worth a trystd::vector<HistosDAG>
(vector of objects, not pointers)~ causes same crashstd::vector<std::unique_ptr<HistosDAG>>
- I doubt this will work, and may even cause 'double-free' errors, since both unique_ptr
and ROOT will try to delete the HistosDAG
objects, which derive from TObject