Hi,

I noticed that the xrootd daemon consistently crashes on a HTTPS request. Here's the headers for a request that works:

> GET //path HTTP/1.1
> User-Agent: gfal2-util/1.3.2 gfal2/2.11.1 neon/0.0.29
> TE: trailers
> Host: xrootd.example.com:1094
> 

(generated via gfal-copy --force --just-copy -vvv https://xrootd.example.com:1094//path file:///dev/null)

However, the request with the following headers crashes:

> COPY //path HTTP/1.1
> User-Agent: libdavix/0.6.0 neon/0.0.29
> Keep-Alive: 
> Connection: Keep-Alive
> TE: trailers
> Host: xrootd.example.com:1094
> Destination: -
> X-Number-Of-Streams: 1
> Secure-Redirection: 1
> 

(generated via time davix-cp --debug --cert /tmp/x509up --key /tmp/x509up --capath /etc/grid-security/certificates/ https://xrootd.example.com:1094//path -.)

Here's the traceback of the offending thread:

#7  0x0000003bf269e09a in _M_check_length (this=0x7f20a740f4b0, __s=<value optimized out>, __n=18446744073709551615)
    at /usr/src/debug/gcc-4.4.7-20120601/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/basic_string.h:317
#8  std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign (this=0x7f20a740f4b0, __s=<value optimized out>, __n=18446744073709551615)
    at /usr/src/debug/gcc-4.4.7-20120601/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/basic_string.tcc:263
#9  0x00007f20ad5d9332 in XrdHttpReq::parseLine (this=0x7f20a740f418, line=<value optimized out>, len=16)
    at /usr/src/debug/xrootd-4.3.0/src/XrdHttp/XrdHttpReq.cc:185
#10 0x00007f20ad5d5eee in XrdHttpProtocol::Process (this=0x7f20a740f300, lp=<value optimized out>)
    at /usr/src/debug/xrootd-4.3.0/src/XrdHttp/XrdHttpProtocol.cc:488
#11 0x0000003b10e631e9 in XrdLink::DoIt (this=0x7f20a7418818) at /usr/src/debug/xrootd-4.3.0/src/Xrd/XrdLink.cc:397
#12 0x0000003b10e660cb in XrdScheduler::Run (this=0x610618) at /usr/src/debug/xrootd-4.3.0/src/Xrd/XrdScheduler.cc:334
#13 0x0000003b10e66219 in XrdStartWorking (carg=<value optimized out>) at /usr/src/debug/xrootd-4.3.0/src/Xrd/XrdScheduler.cc:85
#14 0x0000003b10e27c3f in XrdSysThread_Xeq (myargs=0x7f20ae4786e0) at /usr/src/debug/xrootd-4.3.0/src/XrdSys/XrdSysPthread.cc:86
#15 0x0000003bf0207aa1 in start_thread (arg=0x7f20adce8700) at pthread_create.c:301
#16 0x0000003befee893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.



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