Print

Print


It is very strange to see #6  XrdFfsWcache_create (fd=0). Usually the fd number is pretty large. In my case, the first file has fd = 10240.

Note the fd here: Though the array XrdFfsWcacheFbufs[i] has i = 0 – maxfs (“maxfs” a parameter you can set when starting xrootdfs), the fd = baseFD + i. See line 127 - 130 in XrdFfsXrootdfs.cc


--
Wei Yang  |  [log in to unmask]<mailto:[log in to unmask]>  |  650-926-3338(O)

From: Geonmo Ryu <[log in to unmask]>
Reply-To: xrootd/xrootd <[log in to unmask]>
Date: Wednesday, January 15, 2020 at 6:40 PM
To: xrootd/xrootd <[log in to unmask]>
Cc: Subscribed <[log in to unmask]>
Subject: [xrootd/xrootd] XRootDFS was aborted due to XrdFfsWCache_destroy function. (#1116)


Hello, XRootD Developers.

I found that our xrootdfs mount point was disappeared frequently.

I acquired a core file which was related to the program aborting.

Here is a gdb message for this.

Could you check this?

(gdb) where

#0  0x0000003741c324f5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

#1  0x0000003741c33cd5 in abort () at abort.c:92

#2  0x0000003741c70417 in __libc_message (do_abort=2, fmt=0x3741d58c00 "*** glibc detected *** %s: %s: 0x%s ***\n")

    at ../sysdeps/unix/sysv/linux/libc_fatal.c:198

#3  0x0000003741c75e5e in malloc_printerr (action=3, str=0x3741d56bbe "corrupted double-linked list", ptr=<value optimized out>,

    ar_ptr=<value optimized out>) at malloc.c:6360

#4  0x0000003741c79066 in _int_free (av=0x7f5578000020, p=0x7f5578026d90, have_lock=0) at malloc.c:5030

#5  0x0000003407a093f1 in XrdFfsWcache_destroy (fd=<value optimized out>) at /usr/src/debug/xrootd/xrootd/src/XrdFfs/XrdFfsWcache.cc:139

#6  0x0000003407a094ca in XrdFfsWcache_create (fd=0) at /usr/src/debug/xrootd/xrootd/src/XrdFfs/XrdFfsWcache.cc:114

#7  0x0000000000403ed1 in xrootdfs_create (

    path=0x7f53d00008c0 "/store/unmerged/SAM/testSRM/SAM-cms-se.sdfarm.kr/lcg-util/testfile-put-nospacetoken-1576995075-0026e73184df.txt",

    mode=<value optimized out>, fi=0x7f53debfcde0) at /usr/src/debug/xrootd/xrootd/src/XrdFfs/XrdFfsXrootdfs.cc:444

#8  0x0000003743c08c2f in fuse_fs_create (fs=0x1ff1a10,

    path=0x7f53d00008c0 "/store/unmerged/SAM/testSRM/SAM-cms-se.sdfarm.kr/lcg-util/testfile-put-nospacetoken-1576995075-0026e73184df.txt", mode=33188,

    fi=0x7f53debfcde0) at fuse.c:1428

#9  0x0000003743c1090a in fuse_lib_create (req=0x7f53d00013e0, parent=289472, name=0x7f53d40009c8 "testfile-put-nospacetoken-1576995075-0026e73184df.txt",

    mode=33188, fi=0x7f53debfcde0) at fuse.c:2407

#10 0x0000003743c146f3 in do_create (req=<value optimized out>, nodeid=<value optimized out>, inarg=<value optimized out>) at fuse_lowlevel.c:705

#11 0x0000003743c120ef in fuse_do_work (data=0x7f53d40008c0) at fuse_loop_mt.c:107

#12 0x0000003742007aa1 in start_thread (arg=0x7f53debfd700) at pthread_create.c:301

#13 0x0000003741ce8c4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

(gdb) fram 5

#5  0x0000003407a093f1 in XrdFfsWcache_destroy (fd=<value optimized out>) at /usr/src/debug/xrootd/xrootd/src/XrdFfs/XrdFfsWcache.cc:139

139             free(XrdFfsWcacheFbufs[fd].buf);

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/xrootd/xrootd/issues/1116?email_source=notifications&email_token=ABHVGA62TI2IYMXL667HIKTQ57CLFA5CNFSM4KHM7UU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGQSEKA>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABHVGAYQ64BMNVZIKX337QTQ57CLFANCNFSM4KHM7UUQ>.


-- 
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/1116#issuecomment-575015432
########################################################################
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