Print

Print


Running with 4.12.3 which contains this fix in our pre-production instance leads to a segv in a matter of seconds. The output from the XrdHttp logs looks scrambled:

200622 09:50:22 29275 ?:[log in to unmask] sysXrdHttp: Sending resp: 403 header len:134
200622 09:50:22 29275 sysXrdHttp: Sending 134 bytes
200622 09:50:22 29275 sysXrdHttp: Sending 3846 bytes
200622 09:50:22 29275 sysXrdHttp:  XrdHttpReq request ended.
200622 09:50:22 29275 ?:[log in to unmask] sysXrdHttp: Process is exiting rc:1
200622 09:50:22 29266 ?:[log in to unmask] sysXrdHttp:  Process. lp:0x7f8721d5a2b8 reqstate: 0
200622 09:50:22 29266 sysXrdHttp: getDataOneShot BuffAvailable: 1043630 maxread: 1043630
200622 09:50:22 29266 sysXrdHttp: getDataOneShot sslavail: 1043630
200622 09:50:22 29266 sysXrdHttp: read 8192 of 1043630 bytes
200622 09:50:22 29266 sysXrdHttp:  rc:115 got hdr line: ʰ<9A><E1>4<C6><FD><BF>^?<F3>/<87><U+0379><9E>))<A2>^?h<U+0618>M^Y<9B><A7><8F><CC><F3>3<B9>^XMI<AB>Νy<87>U<E3>7<DD><s<FB><C6>*<E4>^G<C8>Hwj<C6>ESC       |^D<96><B4><B5>\<CF>$<F7>^E`^X_<D9><E5><EF>j<E9>,<A2><FB>TQ<B3>^K<DF>ۥ^O^LHL<EB>5<FB>^\o^R<E2><E1>ױ0N=<82><A4><97>z<F3>\<B2><A9>Z<A1>^^C

200622 09:50:22 29266 sysXrdHttp:  Parsing first line: ʰ<9A><E1>4<C6><FD><BF>^?<F3>/<87><U+0379><9E>))<A2>^?h<U+0618>M^Y<9B><A7><8F><CC><F3>3<B9>^XMI<AB>Νy<87>U<E3>7<DD><s<FB><C6>*<E4>^G<C8>Hwj<C6>ESC        |^D<96><B4><B5>\<CF>$<F7>^E`^X_<D9><E5><EF>j<E9>,<A2><FB>TQ<B3>^K<DF>ۥ^O^LHL<EB>5<FB>^\o^R<E2><E1>ױ0N=<82><A4><97>z<F3>\<B2><A9>Z<A1>^^C

200622 09:50:22 29266 sysXrdHttp:  Parsing of first line failed with -1
200622 09:50:22 29266 sysXrdHttp:  rc:244 got hdr line: <C5><C7><C7>J<90><C0> <F6><A3><E6><E3>BUN{Ѩ<AD><AC><91><AF>%<EC><D9>^W^\r<AA><97><EE>w<97>^Gva<BD>5;l(<C7>m<CF>!^]^F<C6><CC>n/ESC<A1>z<D8>^PW;/<F7>v<AE><95>?<A6>*jwu^?X{Ą<U+99422><9B>^?<9C>^G^M<DE>P<84>5<B4><C1>^U^Q<DB>k^Ceۘ<<85>}<A3>MC̝}2$^GѭG%<89>bi7w<E8><EC>A<BF>^W<A3><D6>f~<F4>-<99><D3>Y<B4>I8'<A1>^X^]d<92><A0>^O<A2><BE>^]r(߆<96><DD>5<85><CD>^]<EC><E9>^H<D8><C1><8A>O<FD>(i<C2>&<F4>$^Yr=<A0><D6><ED><FA>+<EE><A8>^DPXq^F^D<A0>^_^K<8E><B1><C8>-<AB>-<ESC7^EJ<B7>bc;3B<ED><C5>$<B1><C6><F3>=:^Ye6<B9>^H*1J<BD>϶<B7>^?<AE>݆ J
<82>^LV<C3>nW<EC><BE>R7<B2>ESC

The point where this crashes:

#########################################################################
# -----------------------------------------------------------------------
# Responsible thread =>
# -----------------------------------------------------------------------
# Thread 20 (Thread 0x7f8998bef700 (LWP 29276)):
#########################################################################
#5  <signal handler called>
#6  0x00007f899cc65691 in __strlen_sse2_pminub () from /lib64/libc.so.6
#7  0x00007f8997eda245 in std::char_traits<char>::length (__s=0x0)
    at /usr/include/c++/4.8.2/bits/char_traits.h:259
#8  std::string::assign (__s=0x0, this=0x7f8720a8e2a8)
    at /usr/include/c++/4.8.2/bits/basic_string.h:1131
#9  std::string::operator= (__s=0x0, this=<optimized out>)
    at /usr/include/c++/4.8.2/bits/basic_string.h:555
#10 XrdHttpExtReq::XrdHttpExtReq (this=0x7f8998bee7a0, req=0x7f88f3d4b3a0,
    pr=<optimized out>)
    at /usr/src/debug/xrootd/xrootd/src/XrdHttp/XrdHttpExtHandler.cc:86
#11 0x00007f8997ed3c1f in XrdHttpReq::ProcessHTTPReq (
    this=this@entry=0x7f88f3d4b3a0)
    at /usr/src/debug/xrootd/xrootd/src/XrdHttp/XrdHttpReq.cc:986
#12 0x00007f8997eccc45 in XrdHttpProtocol::Process (this=0x7f88f3d4b280,
    lp=<optimized out>)
    at /usr/src/debug/xrootd/xrootd/src/XrdHttp/XrdHttpProtocol.cc:1004
#13 0x00007f899dd75d49 in XrdLink::DoIt (this=0x7f8721d5a2b8)
    at /usr/src/debug/xrootd/xrootd/src/Xrd/XrdLink.cc:441
#14 0x00007f899dd790df in XrdScheduler::Run (
    this=0x610e58 <XrdMain::Config+440>)
    at /usr/src/debug/xrootd/xrootd/src/Xrd/XrdScheduler.cc:357
#15 0x00007f899dd79229 in XrdStartWorking (carg=<optimized out>)
    at /usr/src/debug/xrootd/xrootd/src/Xrd/XrdScheduler.cc:87
#16 0x00007f899dd3eba7 in XrdSysThread_Xeq (myargs=0x7f899a421700)
    at /usr/src/debug/xrootd/xrootd/src/XrdSys/XrdSysPthread.cc:86
#17 0x00007f899d8f2ea5 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f899cbf48dd in clone () from /lib64/libc.so.6


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

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1176#issuecomment-647355709", "url": "https://github.com/xrootd/xrootd/issues/1176#issuecomment-647355709", "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