Print

Print


Hi,

xrootd 3.3.3 with a master role crashes on first redirect if monitoring is setup with fstat but without redir. This setting actually isn't very useful; but I noticed it while testing something and opened this for tracking. (I suppose this is only a minor bug with little impact on anyone).

xrootd.monitor fstat 60 lfn dest fstat dhsdev03.cern.ch:9930

stack trace of crash:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b5bea762940 (LWP 28381)]
0x000000000041741c in XrdXrootdMonFile::GetSlot (slotSZ=8)
    at /usr/src/debug/xrootd-3.3.3/src/XrdXrootd/XrdXrootdMonFile.cc:439
439	       repTOD->tBeg = htonl(static_cast<int>(time(0)));
(gdb) where
#0  0x000000000041741c in XrdXrootdMonFile::GetSlot (slotSZ=8)
    at /usr/src/debug/xrootd-3.3.3/src/XrdXrootd/XrdXrootdMonFile.cc:439
#1  0x0000000000417996 in XrdXrootdMonFile::Disc (usrID=0)
    at /usr/src/debug/xrootd-3.3.3/src/XrdXrootd/XrdXrootdMonFile.cc:200
#2  0x000000000041c8e0 in XrdXrootdProtocol::Recycle (this=0xec3670, lp=0xeb1f48, csec=2, reason=0x0)
    at /usr/src/debug/xrootd-3.3.3/src/XrdXrootd/XrdXrootdProtocol.cc:548
#3  0x00000038df050420 in XrdLink::Close (this=0xeb1f48, defer=0)
    at /usr/src/debug/xrootd-3.3.3/src/Xrd/XrdLink.cc:385
#4  0x00000038df054bb6 in XrdScheduler::Run (this=0x38dde0ab80)
    at /usr/src/debug/xrootd-3.3.3/src/Xrd/XrdScheduler.cc:307
#5  0x00000038df054d49 in XrdStartWorking (carg=0x0) at /usr/src/debug/xrootd-3.3.3/src/Xrd/XrdScheduler.cc:84
#6  0x00000038df02047f in XrdSysThread_Xeq (myargs=<value optimized out>)
    at /usr/src/debug/xrootd-3.3.3/src/XrdSys/XrdSysPthread.cc:86
#7  0x00000038dd00683d in start_thread (arg=<value optimized out>) at pthread_create.c:301
#8  0x00000038dc8d526d in clone () from /lib64/libc.so.6


---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/65

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