In more details, `XrdCl` will finalize all open connections on exit on destruction of `PostMaster` which is a global static object, in particular in the `XRootDTransport::Disconnect` it will call `XRootDTransport::CleanUpProtection` that will trigger deletion of `XrdSecProtocol`. The `XrdSecProtocol`, in turn, will destroy `gsiHSVars`, which will try to https://github.com/xrootd/xrootd/blob/a384ecbcd44708b7a116e219d85695b2058ec50a/src/XrdSecgsi/XrdSecProtocolgsi.hh#L534 The `XrdSecProtocolgsi::stackCRL` is another static object, and if the compiler decided this one should be finalized first xrootd client will segv on exit. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1564#issuecomment-985491268 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1