Print

Print


Hi Andy,

Here's more:

```
Core was generated by `/usr/bin/xrootd -l /var/log/xrootd/xrootd.log -c /etc/xrootd/xrootd-xcache.cfg'.
Program terminated with signal 11, Segmentation fault.
#0  XrdNet::Trim (this=0x0, hname=hname@entry=0x7f1d17d995a0 "xcache-redirector.cern.ch")
    at /data/dhsmith/xrootd4/xrootd-510-rebuild/src/XrdNet/XrdNet.cc:348
348	  if (Domlen && k > Domlen)
Missing separate debuginfos, use: debuginfo-install xrootd-server-5.1.0-2.el7.x86_64
(gdb) list
343	void XrdNet::Trim(char *hname)
344	{
345	  int k = strlen(hname);
346	  char *hnp;
347	
348	  if (Domlen && k > Domlen)
349	     {hnp = hname + (k - Domlen);
350	      if (!strcmp(Domain, hnp)) *hnp = '\0';
351	     }
352	}
(gdb) print Domlen
Cannot access memory at address 0x20
(gdb) print Domain
Cannot access memory at address 0x18
(gdb) print this
$1 = (XrdNet * const) 0x0
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1421#issuecomment-792553606

########################################################################
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