This is probably the same issue #310 but I opened another issue just incase it is different.
This crash is frequently seen when running one of the ROOT test which use XrdCl, on fedora 22:

{code}
#0 0x00007f02a41e3cf9 in ?? () from /lib64/libgcc_s.so.1
#1 0x00007f02a41e502b in ?? () from /lib64/libgcc_s.so.1
#2 0x00007f02a41e544d in _Unwind_Resume () from /lib64/libgcc_s.so.1
#3 0x00007f0299c5f406 in Wait (this=)
at /home/dhsmith/root-master-build/XROOTD-prefix/src/XROOTD/src/./XrdSys/XrdSysLinuxSemaphore.hh:175
#4 Get (this=0x20a45f8)
at /home/dhsmith/root-master-build/XROOTD-prefix/src/XROOTD/src/./XrdCl/XrdClSyncQueue.hh:67
#5 XrdCl::JobManager::RunJobs (this=0x20a45e0)
at /home/dhsmith/root-master-build/XROOTD-prefix/src/XROOTD/src/XrdCl/XrdClJobManager.cc:146
#6 0x0000000000800000 in ?? ()
#7 0x0000000000000000 in ?? ()
{code}

I can reproduce it (at least every time I try it) in this way: Compile xrootd 4.2.3 on fedora 22, with the standard cmake system. i.e. this compiles it with -O2 optimisation. Running this example against XrdCl gives a seg fault:

{code}
#include "XrdCl/XrdClFile.hh"
using namespace XrdCl;
int main() {
File *f = new File();
f->Open("xroot://nosuchhost.example.edu//path", OpenFlags::Read, Access::None, (uint16_t)0);
delete f;
return 0;
}

c++ -g -lXrdCl -lpthread

#0 0x00007ffff7051cf9 in ?? () from /lib64/libgcc_s.so.1
#1 0x00007ffff705302b in ?? () from /lib64/libgcc_s.so.1
#2 0x00007ffff705344d in _Unwind_Resume () from /lib64/libgcc_s.so.1
#3 0x00007ffff7bb2c06 in Wait (this=)
at /home/dhsmith/xrootd-4.2.3/src/./XrdSys/XrdSysLinuxSemaphore.hh:175
#4 Get (this=0x618568) at /home/dhsmith/xrootd-4.2.3/src/./XrdCl/XrdClSyncQueue.hh:67
#5 XrdCl::JobManager::RunJobs (this=0x618550) at /home/dhsmith/xrootd-4.2.3/src/XrdCl/XrdClJobManager.cc:146
#6 0x0000000000800000 in ?? ()
#7 0x0000000000000000 in ?? ()
{code}


Reply to this email directly or view it on GitHub.



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