Almost, but no cigar (``PostMaster`` recreates itself in ``DefaultEnv::GetPostMaster``, which tries to use ``Env``, which has been deleted): ``` #0 0x00000037e020a7fa in pthread_rwlock_rdlock () from /lib64/libpthread.so.0 #1 0x00007fddef59ccc4 in XrdSysRWLock::ReadLock (this=0x8) at /home/jsalmon/repos/xrootd/src/./XrdSys/XrdSysPthread.hh:237 #2 0x00007fddef59cddd in XrdSysRWLockHelper::XrdSysRWLockHelper (this=0x7ffffebf2080, l=..., rd=true) at /home/jsalmon/repos/xrootd/src/./XrdSys/XrdSysPthread.hh:284 #3 0x00007fddef29eaaf in XrdCl::Env::GetInt (this=0x0, key="WorkerThreads", value=@0x7ffffebf20dc) at /home/jsalmon/repos/xrootd/src/XrdCl/XrdClEnv.cc:89 #4 0x00007fddef2b2199 in XrdCl::PostMaster::PostMaster (this=0xafbf50) at /home/jsalmon/repos/xrootd/src/XrdCl/XrdClPostMaster.cc:43 #5 0x00007fddef2a3f8c in XrdCl::DefaultEnv::GetPostMaster () at /home/jsalmon/repos/xrootd/src/XrdCl/XrdClDefaultEnv.cc:194 #6 0x00007fddef2e9835 in XrdCl::FileStateHandler::~FileStateHandler (this=0x125cc20, __in_chrg=<value optimized out>) at /home/jsalmon/repos/xrootd/src/XrdCl/XrdClFileStateHandler.cc:277 #7 0x00007fddef2e763f in XrdCl::File::~File (this=0x1251690, __in_chrg=<value optimized out>) at /home/jsalmon/repos/xrootd/src/XrdCl/XrdClFile.cc:51 #8 0x00007fddef2e767c in XrdCl::File::~File (this=0x1251690, __in_chrg=<value optimized out>) at /home/jsalmon/repos/xrootd/src/XrdCl/XrdClFile.cc:52 #9 0x00007fddef80b2f8 in TNetXNGSystem::~TNetXNGSystem (this=0x125c3d0, __in_chrg=<value optimized out>) at /home/jsalmon/repos/root/net/netxng/src/TNetXNGSystem.cxx:52 #10 0x00007fddef80b3bc in TNetXNGSystem::~TNetXNGSystem (this=0x125c3d0, __in_chrg=<value optimized out>) at /home/jsalmon/repos/root/net/netxng/src/TNetXNGSystem.cxx:56 #11 0x00007fddf2afa084 in TCollection::GarbageCollect (obj=0x125c3d0) at /home/jsalmon/repos/root/core/cont/src/TCollection.cxx:591 #12 0x00007fddf2b07024 in TOrdCollection::Delete (this=0xc50750) at /home/jsalmon/repos/root/core/cont/src/TOrdCollection.cxx:212 #13 0x00007fddf2ac388d in TSystem::~TSystem (this=0xb05310, __in_chrg=<value optimized out>) at /home/jsalmon/repos/root/core/base/src/TSystem.cxx:177 #14 0x00007fddf2b5cd50 in TUnixSystem::~TUnixSystem (this=0xb05310, __in_chrg=<value optimized out>) at /home/jsalmon/repos/root/core/unix/src/TUnixSystem.cxx:537 #15 0x00007fddf2b5cda8 in TUnixSystem::~TUnixSystem (this=0xb05310, __in_chrg=<value optimized out>) at /home/jsalmon/repos/root/core/unix/src/TUnixSystem.cxx:537 #16 0x00007fddf2aa8f51 in TROOT::~TROOT (this=0x7fddf3322500, __in_chrg=<value optimized out>) at /home/jsalmon/repos/root/core/base/src/TROOT.cxx:555 #17 0x00000037dfa3613d in __cxa_finalize () from /lib64/libc.so.6 ``` --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/commit/d6008e9526995ca4a12092dff64b324f3e8e858b#commitcomment-3224421 ######################################################################## 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