Print

Print


Hi Jan,

I know this is going to be irksome, but could you install the debug RPM so that we can get some statement numbers in the backtrace? It’s near impossible to setup a context on which this occurs without statement numbers. Thanks.

Andy

P.S. If you still have the core file, just install the debug rpm and rerun the back trace.

From: Jan Iven 
Sent: Thursday, May 31, 2018 12:37 AM
To: xrootd/xrootd 
Cc: Subscribed 
Subject: Re: [xrootd/xrootd] segfault in XrdOucHash<XrdCryptoX509Chain>::Find (#661)

(backtrace is slightly different from #681, so posting here)
Saw another one of these (aaain from inside EOS code, but the backtrace is in the xrootd library):

:Core was generated by `/usr//bin/eosd /eos/atlas -obig_writes,max_readahead=131072,max_write=4194304,f'.
:Program terminated with signal 11, Segmentation fault.
:#0  0x00007fd7c4fec704 in XrdOucHash<XrdSutCacheEntry>::Find(char const*, long*) () from /usr/lib64/libXrdSecgsi-4.so
:#0  0x00007fd7c4fec704 in XrdOucHash<XrdSutCacheEntry>::Find(char const*, long*) () from /usr/lib64/libXrdSecgsi-4.so
:#1  0x00007fd7c4fdf3cc in XrdSecProtocolgsi::GetCA(char const*, XrdCryptoFactory*, gsiHSVars*) () from /usr/lib64/libXrdSecgsi-4.so
:#2  0x00007fd7c4fe032b in XrdSecProtocolgsi::ParseCAlist(XrdOucString) () from /usr/lib64/libXrdSecgsi-4.so
:#3  0x00007fd7c4fe7ffa in XrdSecProtocolgsi::ClientDoInit(XrdSutBuffer*, XrdSutBuffer**, XrdOucString&) () from /usr/lib64/libXrdSecgsi-4.so
:#4  0x00007fd7c4fe855d in XrdSecProtocolgsi::ParseClientInput(XrdSutBuffer*, XrdSutBuffer**, XrdOucString&) () from /usr/lib64/libXrdSecgsi-4.so
:#5  0x00007fd7c4fe892e in XrdSecProtocolgsi::getCredentials(XrdSecBuffer*, XrdOucErrInfo*) () from /usr/lib64/libXrdSecgsi-4.so
:#6  0x00007fd7da988c31 in XrdCl::XRootDTransport::GetCredentials(XrdSecBuffer*&, XrdCl::HandShakeData*, XrdCl::XRootDChannelInfo*) () from /usr/lib64/libXrdCl.so.2
:#7  0x00007fd7da9897e9 in XrdCl::XRootDTransport::DoAuthentication(XrdCl::HandShakeData*, XrdCl::XRootDChannelInfo*) () from /usr/lib64/libXrdCl.so.2
:#8  0x00007fd7da98a176 in XrdCl::XRootDTransport::HandShakeMain(XrdCl::HandShakeData*, XrdCl::AnyObject&) () from /usr/lib64/libXrdCl.so.2
:#9  0x00007fd7da98a343 in XrdCl::XRootDTransport::HandShake(XrdCl::HandShakeData*, XrdCl::AnyObject&) () from /usr/lib64/libXrdCl.so.2
:#10 0x00007fd7da9d129b in XrdCl::AsyncSocketHandler::OnReadWhileHandshaking() () from /usr/lib64/libXrdCl.so.2
:#11 0x00007fd7da9d1618 in XrdCl::AsyncSocketHandler::Event(unsigned char, XrdCl::Socket*) () from /usr/lib64/libXrdCl.so.2
:#12 0x00007fd7da97c143 in ?? () from /usr/lib64/libXrdCl.so.2
:#13 0x00007fd7da6cabb8 in XrdSys::IOEvents::Poller::CbkXeq(XrdSys::IOEvents::Channel*, int, int, char const*) () from /usr/lib64/libXrdUtils.so.2
:#14 0x00007fd7da6cad89 in XrdSys::IOEvents::PollE::Dispatch(XrdSys::IOEvents::Channel*, unsigned int) () from /usr/lib64/libXrdUtils.so.2
:#15 0x00007fd7da6cb013 in XrdSys::IOEvents::PollE::Begin(XrdSysSemaphore*, int&, char const**) () from /usr/lib64/libXrdUtils.so.2
:#16 0x00007fd7da6c97cd in XrdSys::IOEvents::BootStrap::Start(void*) () from /usr/lib64/libXrdUtils.so.2
:#17 0x00007fd7da6c6a6f in XrdSysThread_Xeq () from /usr/lib64/libXrdUtils.so.2
:#18 0x00007fd7da485aa1 in start_thread () from /lib64/libpthread.so.0
:#19 0x00007fd7d7e00bcd in clone () from /lib64/libc.so.6
Version:

~$ rpm -qf /usr/lib64/libXrdSecgsi-4.so /usr/bin/eosd
1:xrootd-libs-4.8.3-1.el6.x86_64
(none):eos-fuse-core-4.2.22-1.el6.x86_64
~$ hostname
lxplus040.cern.ch
GDB (machine does not have full debuginfo, but looks like a NULL pointer being dereferenced?):

(gdb) f 0
#0  0x00007fd7c4fec704 in XrdOucHash<XrdSutCacheEntry>::Find(char const*, long*) () from /usr/lib64/libXrdSecgsi-4.so
(gdb) x/i $rip
=> 0x7fd7c4fec704 <_ZN10XrdOucHashI16XrdSutCacheEntryE4FindEPKcPl+52>:	mov    (%rax,%rdx,8),%r13
(gdb) print $rax
$1 = 0
(gdb) print $rdx
$2 = 126
(gdb) print $r13
$3 = 140564704194912
(gdb) x/x $r13
0x7fd7c542f160:	0x00000001
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/661#issuecomment-394509557
########################################################################
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