Print

Print


Reproducer:

source /cvmfs/sft-nightlies.cern.ch/lcg/views/dev4/latest/x86_64-centos7-gcc11-dbg/setup.sh
xrdcks -h
Segmentation fault (core dumped)

https://github.com/xrootd/xrootd/blob/b473acfa960811be3d076e687463dc7f04be3ecf/src/XrdApps/XrdCks.cc#L115-L118

I think line 115 should be

if(argc <= 2)

gdb (snipped some stuff)

$ gdb --args xrdcks -h
GNU gdb (GDB) 11.2
(gdb) run
Starting program: /cvmfs/sft-nightlies.cern.ch/lcg/views/dev4/Tue/x86_64-centos7-gcc11-dbg/bin/xrdcks -h

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff766e8c1 in __strlen_sse2_pminub () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff766e8c1 in __strlen_sse2_pminub () from /lib64/libc.so.6
#1  0x00000000004011b7 in XrdCksData::Set (csName=0x0, this=0x404420 <xCS>) at /build/jenkins/workspace/lcg_nightly_pipeline/build/externals/xrootd-5.5.0/src/xrootd/5.5.0/src/./XrdCks/XrdCksData.hh:82
#2  main (argc=2, argv=0x7fffffffa648) at /build/jenkins/workspace/lcg_nightly_pipeline/build/externals/xrootd-5.5.0/src/xrootd/5.5.0/src/XrdApps/XrdCks.cc:123


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1780@github.com>

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