Print

Print


Hi Yujun,

Yes, I agree. PIC should upgrade the xrootd-cmstfc.

Thanks,

Bockjoo

On 3/15/22 15:40, Yujun Wu wrote:
> Hi Bockjoo,
>
> I installed 5.4.2 on a test server and it worked fine:
>
> bash-4.2$ xrdfs cmssrv608.fnal.gov query config version
> v5.4.2
>
> bash-4.2$ xrdcp -d 1 -f root://cmssrv608.fnal.gov:1094//store/test/xrootd/T1_US_FNAL_Disk/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root /dev/null
> [1.105GB/1.105GB][100%][==================================================][25.13MB/s]  
>
> --------
> PIC's issue may be related to libXrdCmsTfc-5.so. I am using xrootd-cmstfc-1.5.2-6.osgup.el7.x86_64
>
>
> Regards,
> Yujun
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> *From:* [log in to unmask] <[log in to unmask]> on behalf of Bockjoo Kim <[log in to unmask]>
> *Sent:* Tuesday, March 15, 2022 10:47 AM
> *To:* xrootd-l <[log in to unmask]>
> *Subject:* My colleague at PIC reports *** stack smashing detected ***: /usr/bin/xrootd terminated
>  
>
> Hi,
>
> I am posting this on behalf of my colleage at PIC.
>
> When he upgraded the xrootd to 5.4.2, he sees this error: *** stack smashing detected ***: /usr/bin/xrootd terminated.
>
> Below, I included some of the xrootd log, the backtrace,  and package upgraded:
>
>
>
> 220314 21:11:47 49808 Starting on Linux 3.10.0-1160.36.2.el7.x86_64
>
> 220314 21:11:47 49808 /usr/bin/xrootd -l /var/log/xrootd/xrootd.log -c /etc/xrootd/xrootd-clustered-server.cfg -k fifo -s /run/xrootd/xrootd-clustered-server.pid -n clustered
>
> -server
>
> Copr.  2004-2012 Stanford University, xrd version v5.4.2
>
> ++++++ xrootd [log in to unmask] <mailto:[log in to unmask]> initialization started.
>
> ...
>
> (config)
>
> ...
>
> =====> oss.namelib /usr/lib64/libXrdCmsTfc.so file:/etc/xrootd/storage-disk.xml?protocol=direct <file:/etc/xrootd/storage-disk.xml?protocol=direct> 
>
> Plugin namelib /usr/lib64/libXrdCmsTfc-5.so not found; falling back to using /usr/lib64/libXrdCmsTfc.so
>
> *** stack smashing detected ***: /usr/bin/xrootd terminated
>
> ======= Backtrace: =========
>
> /lib64/libc.so.6(__fortify_fail+0x37)[0x7fe8c48157a7]
>
> /lib64/libc.so.6(+0x118762)[0x7fe8c4815762]
>
> /lib64/libXrdUtils.so.2(_ZN8XrdNetIF9SetDomainEv+0xa3)[0x7fe8bf974803]
>
> /lib64/libXrdUtils.so.2(+0x290ef)[0x7fe8bf9470ef]
>
> /lib64/ld-linux-x86-64.so.2(+0xf9c3)[0x7fe8c5f479c3]
>
> /lib64/ld-linux-x86-64.so.2(+0x1459e)[0x7fe8c5f4c59e]
>
> /lib64/ld-linux-x86-64.so.2(+0xf7d4)[0x7fe8c5f477d4]
>
> /lib64/ld-linux-x86-64.so.2(+0x13b8b)[0x7fe8c5f4bb8b]
>
> /lib64/libdl.so.2(+0xfab)[0x7fe8c570ffab]
>
> /lib64/ld-linux-x86-64.so.2(+0xf7d4)[0x7fe8c5f477d4]
>
> /lib64/libdl.so.2(+0x15ad)[0x7fe8c57105ad]
>
> /lib64/libdl.so.2(dlopen+0x31)[0x7fe8c5710041]
>
> /lib64/libXrdUtils.so.3(_ZN12XrdSysPlugin10getLibraryEbb+0x60)[0x7fe8c5968890]
>
> /lib64/libXrdUtils.so.3(_ZN15XrdOucPinLoader7LoadLibEi+0x233)[0x7fe8c5996943]
>
> /lib64/libXrdUtils.so.3(_ZN15XrdOucPinLoader7ResolveEPKci+0x82)[0x7fe8c5996a62]
>
> /lib64/libXrdUtils.so.3(_ZN15XrdOucN2NLoader4LoadEPKcR14XrdVersionInfoP9XrdOucEnv+0x74)[0x7fe8c59944e4]
>
> /lib64/libXrdServer.so.3(_ZN9XrdOssSys9ConfigN2NER11XrdSysErrorP9XrdOucEnv+0x5a)[0x7fe8c5cd787a]
>
> /lib64/libXrdServer.so.3(_ZN9XrdOssSys9ConfigureEPKcR11XrdSysErrorP9XrdOucEnv+0x160)[0x7fe8c5cdc120]
>
> /lib64/libXrdServer.so.3(_Z11XrdOssGetSSP12XrdSysLoggerPKcS2_S2_P9XrdOucEnvR14XrdVersionInfo+0x175)[0x7fe8c5cd38c5]
>
> /lib64/libXrdServer.so.3(_ZN14XrdOfsConfigPI4LoadEiP9XrdOucEnv+0x1fc)[0x7fe8c5cbe38c]
>
> /lib64/libXrdServer.so.3(_ZN6XrdOfs9ConfigureER11XrdSysErrorP9XrdOucEnv+0x221)[0x7fe8c5cb7ee1]
>
> /lib64/libXrdServer.so.3(_Z26XrdSfsGetDefaultFileSystemP16XrdSfsFileSystemP12XrdSysLoggerPKcP9XrdOucEnv+0xd6)[0x7fe8c5cc2ff6]
>
> /lib64/libXrdServer.so.3(_ZN17XrdXrootdProtocol8ConfigFSER9XrdOucEnvPKc+0x1a9)[0x7fe8c5c80b39]
>
> /lib64/libXrdServer.so.3(_ZN17XrdXrootdProtocol9ConfigureEPcP18XrdProtocol_Config+0x612)[0x7fe8c5c84c52]
>
> /lib64/libXrdServer.so.3(XrdgetProtocol+0x5f)[0x7fe8c5c93c6f]
>
> /usr/bin/xrootd(_ZN11XrdProtLoad4LoadEPKcS1_PcP18XrdProtocol_Configb+0x48)[0x40f278]
>
> /usr/bin/xrootd(_ZN9XrdConfig5SetupEPcS0_+0x2ac)[0x40b5dc]
>
> /usr/bin/xrootd(_ZN9XrdConfig9ConfigureEiPPc+0xd6e)[0x40d2ce]
>
> /usr/bin/xrootd(main+0x7c)[0x40740c]
>
> /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fe8c471f555]
>
> /usr/bin/xrootd[0x4075f5]
>
>
>
> Packages Altered:
>
>     Updated xrootd-1:5.3.1-1.el7.x86_64              @epel-sl-7.X-x86_64
>
>     Update         1:5.4.2-1.el7.x86_64              @xrootd-stable
>
>     Updated xrootd-client-1:5.3.1-1.el7.x86_64       @epel-sl-7.X-x86_64
>
>     Update                1:5.4.2-1.el7.x86_64       @xrootd-stable
>
>     Updated xrootd-client-devel-1:5.3.1-1.el7.x86_64 @epel-sl-7.X-x86_64
>
>     Update                      1:5.4.2-1.el7.x86_64 @xrootd-stable
>
>     Updated xrootd-client-libs-1:5.3.1-1.el7.x86_64  @epel-sl-7.X-x86_64
>
>     Update                     1:5.4.2-1.el7.x86_64  @xrootd-stable
>
>     Updated xrootd-devel-1:5.3.1-1.el7.x86_64        @epel-sl-7.X-x86_64
>
>     Update               1:5.4.2-1.el7.x86_64        @xrootd-stable
>
>     Updated xrootd-libs-1:5.3.1-1.el7.x86_64         @epel-sl-7.X-x86_64
>
>     Update              1:5.4.2-1.el7.x86_64         @xrootd-stable
>
>     Updated xrootd-selinux-1:5.3.1-1.el7.noarch      @epel-sl-7.X-x86_64
>
>     Update                 1:5.4.2-1.el7.noarch      @xrootd-stable
>
>     Updated xrootd-server-1:5.3.1-1.el7.x86_64       @epel-sl-7.X-x86_64
>
>     Update                1:5.4.2-1.el7.x86_64       @xrootd-stable
>
>     Updated xrootd-server-devel-1:5.3.1-1.el7.x86_64 @epel-sl-7.X-x86_64
>
>     Update                      1:5.4.2-1.el7.x86_64 @xrootd-stable
>
>     Updated xrootd-server-libs-1:5.3.1-1.el7.x86_64  @epel-sl-7.X-x86_64
>
>     Update                     1:5.4.2-1.el7.x86_64  @xrootd-stable
>
>
> What could be the reason?
> Thanks,
> Bockjoo
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1 <https://urldefense.proofpoint.com/v2/url?u=https-3A__listserv.slac.stanford.edu_cgi-2Dbin_wa-3FSUBED1-3DXROOTD-2DL-26A-3D1&d=DwMDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=bFk3iAgykb1xfdm5362Q9w&m=ftDjgyhH0Fo1sD_sGIxjuPX3wB7e8CVa9rh8m0XVRDsQq6RR0hvBu0fsbN0AZfZU&s=I7fOK0FhSSLIkp7qaJTAdejR5ECKBstDgM3WmFK98z8&e=>
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1