Print

Print


URL:
  <http://savannah.cern.ch/bugs/?89890>

                 Summary: XrdPosix crashing with longjump with 3.1.0
                 Project: XROOTD
            Submitted by: apeters
            Submitted on: 2011-12-15 11:08
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
      Fixed by commit(s): 

    _______________________________________________________

Details:

I'm a using the definitions of XrdPosix.hh (XrdPosix_<xx>) inside a DSI
plugin library for gridFTP. 

While this works without problem with xrootd 3.0.4 it does not work anymore
with xrootd 3.1.0.

I have spent a lot of time debugging this ... and it is somehow linked to the
global objects defined in XrdPosix.cc which are maybe not accessible because
of the dlopen flags used in gridFTP plugins (I didn't look into details
there).

The only way to make it work was to use XrdPosixXrootd instead, define a
singleton of XrdPosixXrootd in the plugin code and build the full URLs from
XROOTD_VMP in the plugin code.

Maybe it would be good to avoid the globals and do a kind of init function
where these objects are allocated.





    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?89890>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

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