Print

Print


Hi Andy,
I got a segmentation fault in xrootd; I attach the traceback because in 
the past the core and
executable hadn't been very usefull to you (as you told me)....

 
dorigoa@grid002 9:42:09 ~>gdb -c core.24015 
xrootd/bin/i386_rhel30_dbg/xrootd
GNU gdb Red Hat Linux (6.0post-0.20031117.6rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host 
libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `xrootd/bin/i386_rhel30_dbg/xrootd -d -p 1094'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x0805e435 in XrdXrootdProtocol::Process2() (this=0x8091e30)
    at XrdXrootdProtocol.cc:320
320        argp->buff[Request.header.dlen] = '\0';
(gdb) where
#0  0x0805e435 in XrdXrootdProtocol::Process2() (this=0x8091e30)
    at XrdXrootdProtocol.cc:320
#1  0x0805e2cf in XrdXrootdProtocol::Process(XrdLink*) (this=0x8091e30,
    lp=0x8091be8) at XrdXrootdProtocol.cc:285
#2  0x08067c79 in XrdLink::DoIt() (this=0x8091be8) at XrdLink.cc:269
#3  0x0806e0b4 in XrdScheduler::Run() (this=0x808b920) at 
XrdScheduler.cc:306
#4  0x0806cfec in XrdStartWorking(void*) (carg=0x808b920) at 
XrdScheduler.cc:82
#5  0x08079d31 in XrdOucThread_Xeq (myargs=0x808cbe0) at XrdOucPthread.cc:80
#6  0xb75badac in start_thread () from /lib/tls/libpthread.so.0
#7  0xb746ca8a in clone () from /lib/tls/libc.so.6

thanks

    Alvise