root [0] std::unique_ptr<TH1D> h(new TH1D("h", "h", 1, 0., 1.));
root [1] .q
*** Break *** segmentation violation
I can indeed reproduce it … not trivial to fix because the garbage collector runs before the interpreter tear down …
The PR is now merged in all patch branch from 6.18 to master/current.