Print

Print


It seems we have a regression, the fuse mount is simply crashing after start, here's ASAN output:

```
=================================================================
==126984==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x6030000158f5 in thread T2
    #0 0x7f85cbad17e0 in __interceptor_free (/lib64/libasan.so.5+0xef7e0)
    #1 0x4079a2 in xrootdfs_init /home/simonm/git/xrootd/src/XrdFfs/XrdFfsXrootdfs.cc:146
    #2 0x7f85cb32a6de in fuse_fs_init (/lib64/libfuse.so.2+0x126de)
    #3 0x7f85cb32e9b8  (/lib64/libfuse.so.2+0x169b8)
    #4 0x7f85cb32f867  (/lib64/libfuse.so.2+0x17867)
    #5 0x7f85cb32c43f  (/lib64/libfuse.so.2+0x1443f)
    #6 0x7f85ca7d11c9 in start_thread (/lib64/libpthread.so.0+0x81c9)
    #7 0x7f85ca43cdd2 in clone (/lib64/libc.so.6+0x39dd2)

0x6030000158f5 is located 21 bytes inside of 22-byte region [0x6030000158e0,0x6030000158f6)
allocated by thread T2 here:
    #0 0x7f85cba1dda0 in strdup (/lib64/libasan.so.5+0x3bda0)
    #1 0x407902 in xrootdfs_init /home/simonm/git/xrootd/src/XrdFfs/XrdFfsXrootdfs.cc:137

Thread T2 created by T0 here:
    #0 0x7f85cba34ea3 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52ea3)
    #1 0x7f85cb32c198  (/lib64/libfuse.so.2+0x14198)

SUMMARY: AddressSanitizer: bad-free (/lib64/libasan.so.5+0xef7e0) in __interceptor_free
==126984==ABORTING
```

It must have been introduced in 963ac9795ce47fe52b4c5b1d96cb88fea0218528

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1777#issuecomment-1234377556
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

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