URL:
<http://savannah.cern.ch/bugs/?83787>
Summary: Deadlock in SUT cache (protocol GSI)
Project: XROOTD
Submitted by: apeters
Submitted on: 2011-06-29 12:08
Severity: 5 - Blocker
Priority: 7 - High
Status: None
Privacy: Public
Assigned to: ganis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Fixed by commit(s):
_______________________________________________________
Details:
We have 'xrdcp' processes hanging with a deadlock tied to GSI
authentication(reported by COMPASS).
You can inspect a core file on AFS here:
bash-3.2$ source
/afs/cern.ch/user/l/ljanyst/public/xrootd-96d37098/thisxroot.sh
gdb /afs/cern.ch/user/p/peters/public/core.31036
/afs/cern.ch/user/l/ljanyst/public/xrootd-96d37098/bin/xrdcp
gdb) info threads
2 Thread 31036 0x000000396380a4c0 in pthread_rwlock_wrlock () from
/lib64/libpthread.so.0
* 1 Thread 31037 0x0000003962c9a541 in nanosleep () from /lib64/libc.so.6
(gdb) thread 2
[Switching to thread 2 (Thread 31036)]#0 0x000000396380a4c0 in
pthread_rwlock_wrlock () from /lib64/libpthread.so.0
(gdb) where
#0 0x000000396380a4c0 in pthread_rwlock_wrlock () from
/lib64/libpthread.so.0
#1 0x00002abf584cbb99 in WriteLock (this=0x2aaaabda2b00, capacity=128) at
../../src/XrdSys/XrdSysPthread.hh:218
#2 XrdSysRWLockHelper (this=0x2aaaabda2b00, capacity=128) at
../../src/XrdSys/XrdSysPthread.hh:259
#3 XrdSutCache::Init (this=0x2aaaabda2b00, capacity=128) at
XrdSutCache.cc:65
#4 0x00002aaaabb97a0b in XrdSecProtocolgsi::Init(gsiOptions, XrdOucErrInfo*)
() from /usr/lib64/libXrdSecgsi.so
#5 0x00002aaaabb98b01 in XrdSecProtocolgsiInit () from
/usr/lib64/libXrdSecgsi.so
#6 0x00002aaaaaaafdf8 in XrdSecPManager::ldPO (this=0x2aaaaacb59e0,
eMsg=0x7fffceb259c0, pmode=99 'c', pid=0x7fffceb249c3 "gsi", parg=0x0,
spath=<value optimized out>)
at XrdSecPManager.cc:296
#7 0x00002aaaaaab0407 in XrdSecPManager::Get (this=0x2aaaaacb59e0,
hname=0xafb91a0 "c2publicsrv301.cern.ch", netaddr=..., secparm=...) at
XrdSecPManager.cc:154
#8 0x00002aaaaaaaf566 in XrdSecGetProtocol (hostname=0xafb91a0
"c2publicsrv301.cern.ch", netaddr=..., parms=..., einfo=0x0) at
XrdSecClient.cc:91
#9 0x00002abf58004714 in XrdClientConn::DoAuthentication (this=0xafb9620,
plist=0x7fffceb262a0 "\220\343$X\277*", plsiz=-827167696) at
XrdClientConn.cc:1706
#10 0x00002abf58005ad2 in XrdClientConn::DoLogin (this=0xafb9620) at
XrdClientConn.cc:1556
#11 0x00002abf58006f5e in XrdClientConn::GetAccessToSrv (this=0xafb9620) at
XrdClientConn.cc:1281
#12 0x00002abf57ffbd65 in XrdClient::Open (this=0xafb9380, mode=0,
options=64, doitparallel=true) at XrdClient.cc:299
#13 0x00002abf580325da in XrdCpWorkLst::SetSrc (this=0xafb7ac0,
srccli=0x60e500, url=..., urlopaquedata=..., do_recurse=false) at
XrdCpWorkLst.cc:103
#14 0x0000000000407d9a in main (argc=9, argv=0x7fffceb28428) at
Xrdcp.cc:1549
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/bugs/?83787>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/
|