Print

Print


We have also seen similar crashes happening in EOS with XRootD 4.12.6. Below you can find the signature of crashe.

```
(gdb) bt
#0  0x00007f3760b31627 in vfprintf () from /lib64/libc.so.6
#1  0x00007f3760b36e5b in buffered_vfprintf () from /lib64/libc.so.6
#2  0x00007f3760b3181e in vfprintf () from /lib64/libc.so.6
#3  0x00007f3760b3c407 in fprintf () from /lib64/libc.so.6
#4  0x00007f37591376a0 in eos::common::Logging::log (this=0x7f37595da8a0 <eos::common::Logging::log(char const*, char const*, int, char const*, eos::common::VirtualIdentity const&, char const*, int, char const*, ...)::tv>,
    func=func@entry=0x7f375b1c76f7 <eos::fst::Layout::Emsg(char const*, XrdOucErrInfo&, int, char const*, char const*)::__FUNCTION__> "Emsg", file=file@entry=0x7f375b1c76c0 "/root/rpmbuild/BUILD/eos-4.8.35-1/fst/layout/Layout.cc", line=1499310240,
    logid=0x7f3749806000 "201227 18:32:04 time=1609090324.196637 func=Emsg", ' ' <repeats 21 times>, "level=ERROR logid=static", '.' <repeats 30 times>, " [log in to unmask]:1095 tid=00007f362fdf1700 source=Layout:95 "..., vid=..., cident=0x7f375b1caec8 "", priority=3,
    msg=0x7f375b1c765e "Unable to %s %s; %s") at /opt/eos/xrootd/include/xrootd/XrdOuc/XrdOucString.hh:280
#5  0x00007f375b1933bb in eos::fst::Layout::Emsg (this=this@entry=0x7f345ecbb200, pfx=<optimized out>, pfx@entry=0x7f375b1c7f30 "ReplicaWrite", einfo=..., ecode=5, op=<optimized out>, op@entry=0x7f375b1c7f1b "write replica failed",
    target=0x7f3412b3c000 "root://st-192-146d914a.cern.ch:1095///eos/atlas/atlaslocalgroupdisk/dq2/rucio/mc16_13TeV/7f/53/DAOD_JETM3.22770925._000057.pool.root.1?&cap.sym=<...>&cap.msg=<...>&mgm.logid=bebf7ac8-4868-11eb-b327-a4"...)
    at /root/rpmbuild/BUILD/eos-4.8.35-1/fst/layout/Layout.cc:93
#6  0x00007f375b19cb5e in eos::fst::ReplicaParLayout::Write (this=0x7f345ecbb200, offset=7284457472, buffer=0x7f2d46c00000 "b3N", length=<optimized out>) at /opt/eos/xrootd/include/xrootd/XrdOuc/XrdOucString.hh:280
#7  0x00007f375c59b7a3 in std::__uniq_ptr_impl<eos::fst::Layout, std::default_delete<eos::fst::Layout> >::_M_ptr (this=<optimized out>) at /root/rpmbuild/BUILD/eos-4.8.35-1/fst/XrdFstOfsFile.cc:754
#8  std::unique_ptr<eos::fst::Layout, std::default_delete<eos::fst::Layout> >::get (this=<optimized out>) at /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/unique_ptr.h:343
#9  std::unique_ptr<eos::fst::Layout, std::default_delete<eos::fst::Layout> >::operator-> (this=<optimized out>) at /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/unique_ptr.h:337
#10 eos::fst::XrdFstOfsFile::write (this=0x7f362fcf2460, fileOffset=139875696320440, buffer=0x7f362fcf4b98 "\020", buffer_size=-1) at /root/rpmbuild/BUILD/eos-4.8.35-1/fst/XrdFstOfsFile.cc:761
#11 0x00007f37419eb16a in TPC::Stream::Write (this=this@entry=0x7f362fdf0630, offset=7284457472, buf=0x7f2d46c00000 "b3N", size=size@entry=1048576, force=force@entry=false) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.cc:80
#12 0x00007f37419eaec9 in TPC::Stream::Entry::Write (force=false, stream=..., this=0x7f34177a7070) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.hh:82
#13 TPC::Stream::Write (this=this@entry=0x7f362fdf0630, offset=7284457472, buf=0x7f2d46c00000 "b3N", size=size@entry=1048576, force=force@entry=false) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.cc:112
#14 0x00007f37419eaec9 in TPC::Stream::Entry::Write (force=false, stream=..., this=0x7f34177a7070) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.hh:82
#15 TPC::Stream::Write (this=this@entry=0x7f362fdf0630, offset=7284457472, buf=0x7f2d46c00000 "b3N", size=size@entry=1048576, force=force@entry=false) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.cc:112
#16 0x00007f37419eaec9 in TPC::Stream::Entry::Write (force=false, stream=..., this=0x7f34177a7070) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.hh:82
#17 TPC::Stream::Write (this=this@entry=0x7f362fdf0630, offset=7284457472, buf=0x7f2d46c00000 "b3N", size=size@entry=1048576, force=force@entry=false) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.cc:112
#18 0x00007f37419eaec9 in TPC::Stream::Entry::Write (force=false, stream=..., this=0x7f34177a7070) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.hh:82
#19 TPC::Stream::Write (this=this@entry=0x7f362fdf0630, offset=7284457472, buf=0x7f2d46c00000 "b3N", size=size@entry=1048576, force=force@entry=false) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.cc:112
#20 0x00007f37419eaec9 in TPC::Stream::Entry::Write (force=false, stream=..., this=0x7f34177a7070) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.hh:82
....
....
#3660 0x00007f37419eaec9 in TPC::Stream::Entry::Write (force=false, stream=..., this=0x7f34177a7070) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.hh:82
#3661 TPC::Stream::Write (this=this@entry=0x7f362fdf0630, offset=7284457472, buf=0x7f2d46c00000 "b3N", size=size@entry=1048576, force=force@entry=false) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.cc:112
#3662 0x00007f37419eaec9 in TPC::Stream::Entry::Write (force=false, stream=..., this=0x7f34177a7070) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.hh:82
#3663 TPC::Stream::Write (this=0x7f362fdf0630, offset=7285506048, buf=0x7f342b5a6000 "\024r\223\246\367!\225\371\363\352\261;\332\\\343Pgi_\206\253\377anJ\343\276N\231h\350(y\366\366\365\237\257\220hvwO\326\306E\b\274\360\304\336;l\032\362j\nb\365\212Y`V}\301\352\364\235X\030\063\276}\344\373\326\343\060\306\177\342\061\333\317p*s\306\376u\277\036\\\307bןK\273\065\367B\205\221\350\217s4\251@\212O|\274gy\020\302\366\267\233\\nM\201\217mM\275\334+z\370IP8\201\347\245%\220\035Zܗ\027}!\343JM\244\274\253;\024^\322\016N\313u\240\352ك\261\255np\247%f\276\365z\340\260\020\217\376\245l/#\362\277`~\261\357\301\367\243a\220y\222\235\246"..., size=15872, force=force@entry=false) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcStream.cc:112
#3664 0x00007f37419e87a6 in TPC::State::Write (this=this@entry=0x7f362fdf0680, buffer=<optimized out>, size=<optimized out>) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcState.cc:192
#3665 0x00007f37419e88ef in TPC::State::WriteCB (buffer=<optimized out>, size=<optimized out>, nitems=<optimized out>, userdata=0x7f362fdf0680) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcState.cc:188
#3666 0x00007f37588abb60 in Curl_client_write () from /lib64/libcurl.so.4
#3667 0x00007f37588c06f5 in Curl_readwrite () from /lib64/libcurl.so.4
#3668 0x00007f37588c9c9b in multi_runsingle () from /lib64/libcurl.so.4
#3669 0x00007f37588ca641 in curl_multi_perform () from /lib64/libcurl.so.4
#3670 0x00007f37419f38b5 in TPC::TPCHandler::RunCurlWithUpdates (this=this@entry=0x7f3760044a40, curl=curl@entry=0x7f341769b000, req=..., state=..., rec=...) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcTPC.cc:404
#3671 0x00007f37419f84b3 in TPC::TPCHandler::ProcessPullReq (this=this@entry=0x7f3760044a40, resource=..., req=...) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcTPC.cc:744
#3672 0x00007f37419f8e42 in TPC::TPCHandler::ProcessReq (this=0x7f3760044a40, req=...) at /usr/src/debug/xrootd-4.12.6/src/XrdTpc/XrdTpcTPC.cc:128
#3673 0x00007f375f0e601c in XrdHttpReq::ProcessHTTPReq (this=this@entry=0x7f373b4a1da0) at /usr/src/debug/xrootd-4.12.6/src/XrdHttp/XrdHttpReq.cc:987
#3674 0x00007f375f0de55d in XrdHttpProtocol::Process (this=0x7f373b4a1c80, lp=<optimized out>) at /usr/src/debug/xrootd-4.12.6/src/XrdHttp/XrdHttpProtocol.cc:843
#3675 0x00007f3761d69b59 in XrdLink::DoIt (this=0x7f3481351ac8) at /usr/src/debug/xrootd-4.12.6/src/Xrd/XrdLink.cc:441
#3676 0x00007f3761d6ceef in XrdScheduler::Run (this=0x610e78 <XrdMain::Config+440>) at /usr/src/debug/xrootd-4.12.6/src/Xrd/XrdScheduler.cc:357
#3677 0x00007f3761d6d039 in XrdStartWorking (carg=<optimized out>) at /usr/src/debug/xrootd-4.12.6/src/Xrd/XrdScheduler.cc:87
#3678 0x00007f3761d32aa7 in XrdSysThread_Xeq (myargs=0x7f3491c125a0) at /usr/src/debug/xrootd-4.12.6/src/XrdSys/XrdSysPthread.cc:86
#3679 0x00007f37618e6ea5 in start_thread () from /lib64/libpthread.so.0
#3680 0x00007f3760be796d in clone () from /lib64/libc.so.6
```

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