Core is from the "eos" client command, but the backtrace looks like a pure Xrootd client issue (NULL pointer in "hashtable"?):

:Core was generated by `eos'.
:Program terminated with signal 11, Segmentation fault.
:#0  0x00007fec958d18e3 in XrdOucHash<XrdCryptoX509Crl>::Find(char const*, long*) () from /usr/lib64/libXrdSecgsi-4.so
:#0  0x00007fec958d18e3 in XrdOucHash<XrdCryptoX509Crl>::Find(char const*, long*) () from /usr/lib64/libXrdSecgsi-4.so
:#1  0x00007fec958bd541 in XrdSecProtocolgsi::Delete() () from /usr/lib64/libXrdSecgsi-4.so
:#2  0x00007feca092369f in XrdCl::XRootDTransport::GetCredentials(XrdSecBuffer*&, XrdCl::HandShakeData*, XrdCl::XRootDChannelInfo*) () from /usr/lib64/libXrdCl.so.2
:#3  0x00007feca09253a9 in XrdCl::XRootDTransport::DoAuthentication(XrdCl::HandShakeData*, XrdCl::XRootDChannelInfo*) () from /usr/lib64/libXrdCl.so.2
:#4  0x00007feca0925d16 in XrdCl::XRootDTransport::HandShakeMain(XrdCl::HandShakeData*, XrdCl::AnyObject&) () from /usr/lib64/libXrdCl.so.2
:#5  0x00007feca0925ee3 in XrdCl::XRootDTransport::HandShake(XrdCl::HandShakeData*, XrdCl::AnyObject&) () from /usr/lib64/libXrdCl.so.2
:#6  0x00007feca096cdd5 in XrdCl::AsyncSocketHandler::OnReadWhileHandshaking() () from /usr/lib64/libXrdCl.so.2
:#7  0x00007feca096d028 in XrdCl::AsyncSocketHandler::Event(unsigned char, XrdCl::Socket*) () from /usr/lib64/libXrdCl.so.2
:#8  0x00007feca0917913 in ?? () from /usr/lib64/libXrdCl.so.2
:#9  0x00007feca0442b18 in XrdSys::IOEvents::Poller::CbkXeq(XrdSys::IOEvents::Channel*, int, int, char const*) () from /usr/lib64/libXrdUtils.so.2
:#10 0x00007feca0442ce9 in XrdSys::IOEvents::PollE::Dispatch(XrdSys::IOEvents::Channel*, unsigned int) () from /usr/lib64/libXrdUtils.so.2
:#11 0x00007feca0442f73 in XrdSys::IOEvents::PollE::Begin(XrdSysSemaphore*, int&, char const**) () from /usr/lib64/libXrdUtils.so.2
:#12 0x00007feca044172d in XrdSys::IOEvents::BootStrap::Start(void*) () from /usr/lib64/libXrdUtils.so.2
:#13 0x00007feca043e9cf in XrdSysThread_Xeq () from /usr/lib64/libXrdUtils.so.2
:#14 0x00007fec9fe18aa1 in start_thread () from /lib64/libpthread.so.0
:#15 0x00007fec9e91bbcd in clone () from /lib64/libc.so.6

Seen with 1:xrootd-client-4.8.1-1.el6.x86_64

We have a coredump (but this might contain credentials?), but no reproducer:

(gdb) f
#0  0x00007fec958d18e3 in XrdOucHash<XrdCryptoX509Crl>::Find (this=0x7fec95adac68, KeyVal=0x7fec990f5960 "0x7fec9002a3a0", KeyTime=0x0)
    at /usr/src/debug/xrootd-4.8.1/src/XrdOuc/XrdOucHash.icc:173
173	   if ((hip = hashtable[kent]))
(gdb) print kent
$1 = 39
(gdb) print hashtable
$2 = (XrdOucHash_Item<XrdCryptoX509Crl> **) 0x0
(gdb) up
#1  0x00007fec958bd541 in Del (this=0x7fec90007cc0) at /usr/src/debug/xrootd-4.8.1/src/XrdSecgsi/XrdSecProtocolgsi.hh:250
250	      if (stack.Find(k)) stack.Del(k, Hash_count);
(gdb) l
245	      mtx.UnLock();
246	   }
247	   void Del(T *t) {
248	      char k[40]; snprintf(k, 40, "%p", t);
249	      mtx.Lock();
250	      if (stack.Find(k)) stack.Del(k, Hash_count);
251	      mtx.UnLock();
252	   }
253	private:
254	   XrdSysMutex                  mtx;
(gdb) info locals
k = "0x7fec9002a3a0\000\000\340\177\000\220\354\177\000\000\017Z\017\231\000\000\000\000\020Z\017\231\354\177\000"
(gdb) print stack
$3 = {hashtable = 0x0, prevtablesize = 89, hashtablesize = 144, hashnum = 0, hashmax = 115, hashload = 80}
(gdb) up
#2  ~gsiHSVars (this=0x7fec90007cc0) at /usr/src/debug/xrootd-4.8.1/src/XrdSecgsi/XrdSecProtocolgsi.hh:517
517	                     XrdSecProtocolgsi::stackCRL.Del(Crl);
(gdb) print Crl
$4 = (XrdCryptoX509Crl *) 0x7fec9002a3a0
(gdb) print *Crl
$5 = {_vptr.XrdCryptoX509Crl = 0x7fec9009bd30}
(gdb) up
#3  XrdSecProtocolgsi::Delete (this=0x7fec90007cc0) at /usr/src/debug/xrootd-4.8.1/src/XrdSecgsi/XrdSecProtocolgsi.cc:966
966	   SafeDelete(hs);
(gdb) up
#4  0x00007feca092369f in XrdCl::XRootDTransport::GetCredentials (this=<value optimized out>, credentials=@0x7fec990f62d0, hsData=0x7fec900008c0, 
    info=0x1bbd550) at /usr/src/debug/xrootd-4.8.1/src/XrdCl/XrdClXRootDTransport.cc:1887
1887	        info->authProtocol->Delete();


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"client crash around XrdSecProtocolgsi::Delete() (#681)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/681"}}}

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