Segmentation violation when deleting object

Dear experts,

I try to delete a TTreeSRedirector object in the destructor but it gives a segmentation violation:

#6 0x00007ffb8e9b809a in TTreeSRedirector::Close() () from ~/alice/sw/ubuntu2004_x86-64/AliRoot/222b69b9f193abd33c5e7b71e91e21ae1816bcc5_O2-local1/lib/libSTAT.so
#7 0x00007ffb8e9b8197 in TTreeSRedirector::~TTreeSRedirector() () from ~/alice/sw/ubuntu2004_x86-64/AliRoot/222b69b9f193abd33c5e7b71e91e21ae1816bcc5_O2-local1/lib/libSTAT.so
#8 0x00007ffb8e9b81d9 in TTreeSRedirector::~TTreeSRedirector() () from ~/alice/sw/ubuntu2004_x86-64/AliRoot/222b69b9f193abd33c5e7b71e91e21ae1816bcc5_O2-local1/lib/libSTAT.so

Can you please tell me some useful tips on how to proceed with the debugging?

Thank you in advance!

TTreeSRedirector is not part of ROOT. I guess it is an Alice’s object ? you may ask the author in that case ?

Maybe it is useful if you set up an IDE as debugger, see e.g. Coding in ROOT with the horsepower of an F1 - ROOT