Print

Print


As I've not seen this reported anywhere yet: I've just ran into a segfault when passing --sources that is fixed by cherry picking 1780fc1 from this PR on top of v5.4.0.

$ xrdcp --force 'root://xrootd.echo.stfc.ac.uk/lhcb:prod/lhcb/MC/2016/ALLSTREAMS.DST/00070793/0000/00070793_00000278_7.AllStreams.dst' /tmp/
[606.9MB/606.9MB][100%][==================================================][25.29MB/s]

$ xrdcp --sources 1 --force 'root://xrootd.echo.stfc.ac.uk/lhcb:prod/lhcb/MC/2016/ALLSTREAMS.DST/00070793/0000/00070793_00000278_7.AllStreams.dst' /tmp/
Segmentation fault (core dumped)

And rebuilding in debug mode to get a stack trace (which then led me to this PR):

XrdCl::PageInfo::operator= (this=this@entry=0x0, pginf=...) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClXRootDResponses.cc:642
642	    pImpl.swap( pginf.pImpl );
(gdb) bt
#0  XrdCl::PageInfo::operator= (this=this@entry=0x0, pginf=...) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClXRootDResponses.cc:642
#1  0x00007ffff7f4fedb in XrdCl::ChunkHandler::ToPgInfo (chunk=<synthetic pointer>: 0x0, response=0x5555555bec70, this=0x7fffdc001fe0) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClXCpSrc.cc:97
#2  XrdCl::ChunkHandler::HandleResponse (this=0x7fffdc001fe0, status=0x7fffec000d60, response=0x5555555bec70) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClXCpSrc.cc:58
#3  0x00007ffff7efdce8 in (anonymous namespace)::StatefulHandler::HandleResponseWithHosts (this=0x7fffdc002100, status=0x7fffec000d60, response=0x5555555bec70, hostList=0x7fffdc000f90)
    at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClFileStateHandler.cc:567
#4  0x00007ffff7ed1a32 in XrdCl::XRootDMsgHandler::HandleResponse (this=<optimized out>) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClXRootDMsgHandler.cc:1603
#5  0x00007ffff7ed74be in XrdCl::XRootDMsgHandler::Process (this=<optimized out>) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClXRootDMsgHandler.cc:937
#6  0x00007ffff7e9c76e in XrdCl::Stream::HandleIncMsgJob::Run (this=0x7fffec1ee7c0) at /home/cburr/Development/conda-forge/xrootd/src/./XrdCl/XrdClStream.hh:321
#7  0x00007ffff7f3b712 in XrdCl::JobManager::RunJobs (this=0x555555584cf0) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClJobManager.cc:153
#8  0x00007ffff7f3b77a in RunRunnerThread (arg=<optimized out>) at /home/cburr/Development/conda-forge/xrootd/src/XrdCl/XrdClJobManager.cc:34
#9  0x00007ffff770a259 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007ffff79ae5e3 in clone () from /usr/lib/libc.so.6


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/pull/1592/c1030632484@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1592#issuecomment-1030632484", "url": "https://github.com/xrootd/xrootd/pull/1592#issuecomment-1030632484", "name": "View Pull Request" }, "description": "View this Pull Request 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