Print

Print


What do you mean by XRootD wrapper library? 

As far as I understood the a XrdCl plugin has been unloaded and afterwards pPlugIn->IsOpen() was called (from the XrdCl::File::IsOpen method) and this ended up with a segfault. (from the backtrace you can see that it's line 389 in XrdClFile.cc, release 4.2.2 ;-).

And why was the XrdCl plugin unloaded in the first place? When the DefaultEnv gets finalized the PluginManager is being deleted and this unloads the library. And the DefaultEnv has been finalized, in turn, because the translation unit that holds the initializer object has been finalized.

Afterwards, in another translation unit the TROOT object is being finalized and tries to garbage collect 
TNetXNGFile object that, in turn, tries to call XrdCl::File::IsOpen.

(And the order in which translation units are finalized is random ;-)



---
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/338#issuecomment-229408996

########################################################################
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