Print

Print


Another xrdcp crash in xrootd-client-5.4.0-2.el7.x86_64 (reported by same users as in #1625):

Core was generated by `xrdcp -r root://eospublic.cern.ch//eos/experiment/SOMEPATH /tmp'.
Program terminated with signal 11, Segmentation fault.
#0  SetCursor (this=0xc, cursor=0) at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClBuffer.hh:150
150	        pCursor = cursor;
(gdb) bt
#0  SetCursor (this=0xc, cursor=0) at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClBuffer.hh:150
#1  Replay (this=0x2b62b0001660) at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClAsyncHSWriter.hh:72
#2  XrdCl::AsyncSocketHandler::SendHSMsg (this=this@entry=0x2b62b0002c20)
    at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClAsyncSocketHandler.cc:795
#3  0x00002b629f862e17 in XrdCl::AsyncSocketHandler::CheckHSWait (this=this@entry=0x2b62b0002c20)
    at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClAsyncSocketHandler.cc:829
#4  0x00002b629f862f28 in XrdCl::AsyncSocketHandler::Event (this=0x2b62b0002c20, type=2 '\002')
    at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClAsyncSocketHandler.cc:241
#5  0x00002b629f7ca8c7 in (anonymous namespace)::SocketCallBack::Event (this=0x2b62b0003070, chP=<optimized out>, 
    cbArg=<optimized out>, evFlags=<optimized out>) at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClPollerBuiltIn.cc:83
#6  0x00002b629fd5491d in XrdSys::IOEvents::Poller::CbkXeq (this=this@entry=0x1873ae0, cP=cP@entry=0x2b62b0003090, 
    events=events@entry=2, eNum=eNum@entry=0, eTxt=eTxt@entry=0x0) at /usr/src/debug/xrootd-5.4.0/src/XrdSys/XrdSysIOEvents.cc:695
#7  0x00002b629fd54c46 in XrdSys::IOEvents::Poller::CbkTMO (this=0x1873ae0)
    at /usr/src/debug/xrootd-5.4.0/src/XrdSys/XrdSysIOEvents.cc:600
#8  0x00002b629fd54e7d in XrdSys::IOEvents::Poller::TmoGet (this=this@entry=0x1873ae0)
    at /usr/src/debug/xrootd-5.4.0/src/XrdSys/XrdSysIOEvents.cc:1155
#9  0x00002b629fd55cc8 in XrdSys::IOEvents::PollE::Begin (this=0x1873ae0, syncsem=<optimized out>, retcode=<optimized out>, 
    eTxt=<optimized out>) at /usr/src/debug/xrootd-5.4.0/src/XrdSys/XrdSysIOEventsPollE.icc:212
#10 0x00002b629fd5254d in XrdSys::IOEvents::BootStrap::Start (parg=0x7fff9c294770)
    at /usr/src/debug/xrootd-5.4.0/src/XrdSys/XrdSysIOEvents.cc:133
#11 0x00002b629fd5b457 in XrdSysThread_Xeq (myargs=0x1865590) at /usr/src/debug/xrootd-5.4.0/src/XrdSys/XrdSysPthread.cc:86
#12 0x00002b62a1819ea5 in start_thread () from /lib64/libpthread.so.0
#13 0x00002b62a043eb0d in clone () from /lib64/libc.so.6
(gdb) info locals
No locals.
(gdb) x/i $rip
=> 0x2b629f86177e <XrdCl::AsyncSocketHandler::SendHSMsg()+78>:	movl   $0x0,0x14(%rdx)
(gdb) p/x $rdx
$1 = 0xc
(gdb) print this
$2 = (XrdCl::Buffer * const) 0xc
(gdb) print pCursor
Cannot access memory at address 0x20
(gdb) up
#1  Replay (this=0x2b62b0001660) at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClAsyncHSWriter.hh:72
72	        outmsg->SetCursor( 0 );
(gdb) print outmsg
$3 = {
  _M_t = {<std::_Tuple_impl<0ul, XrdCl::Message*, std::default_delete<XrdCl::Message> >> = {<std::_Tuple_impl<1ul, std::default_delete<XrdCl::Message> >> = {<std::_Tuple_impl<2ul>> = {<No data fields>}, <std::_Head_base<1ul, std::default_delete<XrdCl::Message>, true>> = {<std::default_delete<XrdCl::Message>> = {<No data fields>}, <No data fields>}, <No data fields>}, <std::_Head_base<0ul, XrdCl::Message*, false>> = {_M_head_impl = 0x2b62b00020a0}, <No data fields>}, <No data fields>}}
(gdb) l
67	      //------------------------------------------------------------------------
68	      inline void Replay()
69	      {
70	        if( !outmsg ) return;
71	        writestage = WriteRequest;
72	        outmsg->SetCursor( 0 );
73	      }
74	
75	      //------------------------------------------------------------------------
76	      //! Check if writer was assigned with a message
(gdb) print writestage
$4 = XrdCl::AsyncHSWriter::WriteRequest
(gdb) info threads
  Id   Target Id         Frame 
  6    Thread 0x2b62a5c10700 (LWP 82) 0x00002b62a04059fd in nanosleep () from /lib64/libc.so.6
  5    Thread 0x2b62a4949200 (LWP 80) 0x00002b62a181da35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  4    Thread 0x2b62a6213700 (LWP 85) 0x00002b62a181fb3b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0
  3    Thread 0x2b62a5e11700 (LWP 83) 0x00002b62a181fb3b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0
  2    Thread 0x2b62a6012700 (LWP 84) 0x00002b62a181fb3b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0
* 1    Thread 0x2b62a5a0f700 (LWP 81) SetCursor (this=0xc, cursor=0) at /usr/src/debug/xrootd-5.4.0/src/XrdCl/XrdClBuffer.hh:150


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1627@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1627", "url": "https://github.com/xrootd/xrootd/issues/1627", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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