Print

Print


URL:
  <http://savannah.cern.ch/bugs/?79522>

                 Summary: xrootdfs crashes on SLC5
                 Project: XROOTD
            Submitted by: ljanyst
            Submitted on: 2011-03-16 15:53
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: yangw
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

How to reproduce:

[root@lxbrl2705 rpms]# xrootdfs 
Segmentation fault


GDB backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000003529a79b60 in strlen () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003529a79b60 in strlen () from /lib64/libc.so.6
#1  0x00002aaaabbd71cc in XrdOucString::XrdOucString (this=0x7fffffffe530,
s=0x1 <Address 0x1 out of bounds>, ls=0) at XrdOucString.cc:151
#2  0x00002aaaaaac00ab in XrdFfsMisc_get_all_urls_real (oldurl=0x608de0 "",
newurls=0x2aaaaacc5700, nnodes=4096) at XrdFfsMisc.cc:127
#3  0x00002aaaaaac04e3 in XrdFfsMisc_get_all_urls (oldurl=0x608de0 "",
newurls=0x60bb20, nnodes=4096) at XrdFfsMisc.cc:190
#4  0x00002aaaaaac05f2 in XrdFfsMisc_refresh_url_cache (url=0x0) at
XrdFfsMisc.cc:262
#5  0x00002aaaaaac08a6 in XrdFfsMisc_xrd_init (rdrurl=0x0, startQueue=0) at
XrdFfsMisc.cc:317
#6  0x00000000004026bb in main (argc=1, argv=0x7fffffffe988) at
XrdFfsXrootdfs.cc:1220


It looks like a trivial bug in parsing the commandline args...




    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?79522>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/