URL:
<http://savannah.cern.ch/bugs/?87423>
Summary: SIGSEG after daemon startup phase
Project: XROOTD
Submitted by: apeters
Submitted on: 2011-10-04 13:35
Severity: 4 - Important
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Fixed by commit(s):
_______________________________________________________
Details:
We observe SEGV's after the configure phase of xrootd 3.0.4. when doing
restarts under load (e.g. many clients connecting during the startup). [this
is the manager node running an OFS plugin, but I think it does not matter
here].
It crashes here:
return Response.Send(kXR_FSError, yFile->XrdSfsp->error.getErrText());
when trying to get the error text, but probably there is not even a file open
....
There are two types of stack trace:
Program terminated with signal 11, Segmentation fault.
#0 0x0000003565e79b80 in strlen () from /lib64/libc.so.6
(gdb) where
#0 0x0000003565e79b80 in strlen () from /lib64/libc.so.6
#1 0x000000000042fdac in XrdXrootdResponse::Send (this=0x2aac7065e400,
ecode=kXR_FSError,
msg=0x41c143ca30f87498 <Address 0x41c143ca30f87498 out of bounds>) at
XrdXrootdResponse.cc:182
#2 0x0000000000434673 in XrdXrootdProtocol::do_Write (this=0x2aac7065e1d0)
at XrdXrootdXeq.cc:2119
#3 0x0000000000439fb0 in XrdLink::DoIt (this=0x2aac60169c48) at
XrdLink.cc:416
#4 0x000000000043ea98 in XrdScheduler::Run (this=0x6a4e60) at
XrdScheduler.cc:292
#5 0x000000000043ec09 in XrdStartWorking (carg=0x41c143ca30f87498) at
XrdScheduler.cc:73
#6 0x00000000004822b7 in XrdSysThread_Xeq (myargs=<value optimized out>) at
XrdSysPthread.cc:87
#7 0x0000003566a0673d in start_thread () from /lib64/libpthread.so.0
#8 0x0000003565ed44bd in clone () from /lib64/libc.so.6
(gdb) frame 2
#2 0x0000000000434673 in XrdXrootdProtocol::do_Write (this=0x2aac7065e1d0)
at XrdXrootdXeq.cc:2119
2119 {if (retc == -EIO) return do_WriteNone();
#0 0x0000000000431268 in XrdXrootdProtocol::do_WriteNone
(this=0x2aac32f12a00) at XrdXrootdXeq.cc:2225
2225 return Response.Send(kXR_FSError,
myFile->XrdSfsp->error.getErrText());
(gdb) where
#0 0x0000000000431268 in XrdXrootdProtocol::do_WriteNone
(this=0x2aac32f12a00) at XrdXrootdXeq.cc:2225
#1 0x0000000000434673 in XrdXrootdProtocol::do_Write (this=0x2aac32f12a00)
at XrdXrootdXeq.cc:2119
#2 0x0000000000439fb0 in XrdLink::DoIt (this=0x2aac38072288) at
XrdLink.cc:416
#3 0x000000000043ea98 in XrdScheduler::Run (this=0x6a4e60) at
XrdScheduler.cc:292
#4 0x000000000043ec09 in XrdStartWorking (carg=0x2aac32f12c30) at
XrdScheduler.cc:73
#5 0x00000000004822b7 in XrdSysThread_Xeq (myargs=<value optimized out>) at
XrdSysPthread.cc:87
#6 0x0000003566a0673d in start_thread () from /lib64/libpthread.so.0
#7 0x0000003565ed44bd in clone () from /lib64/libc.so.6
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/bugs/?87423>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/
|