[Bugs] [Bug 1430360] glusterfsd segfault in trash_truncate_stat_cbk

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 20 21:45:52 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1430360

GCth <rhb1 at gcth.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |NEW
         Resolution|EOL                         |---
           Keywords|                            |Reopened



--- Comment #3 from GCth <rhb1 at gcth.net> ---
Same issue with 3.10.7:

(gdb) bt full
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
No locals.
#1  0x00007fc629f0a3a3 in gf_strdup (src=<optimized out>) at
../../../../libglusterfs/src/mem-pool.h:185
        dup_str = 0x0
        len = 0
#2  trash_truncate_stat_cbk (frame=0x7fc5c82e74e0, cookie=0x0,
this=0x7fc62400ab50, op_ret=0, op_errno=op_errno at entry=0, buf=0x7fc610c5b950,
xdata=0x7fc5c82f3a60) at trash.c:1909
        priv = 0x7fc62407ada0
        local = 0x7fc5c8377860
        loc_newname = '\000' <repeats 4095 times>
        ret = 0
        __FUNCTION__ = "trash_truncate_stat_cbk"
#3  0x00007fc62a72ccc2 in posix_stat (frame=0x7fc5c82c44d0, this=<optimized
out>, loc=<optimized out>, xdata=<optimized out>) at posix.c:356
        fn = 0x7fc629f09f40 <trash_truncate_stat_cbk>
        _parent = 0x7fc5c82e74e0
        old_THIS = 0x7fc624008350
        buf = {ia_ino = 11222377774609377881, ia_gfid =
"fB\036v\345\267M[\233\275\345 \226\324\252Y", ia_dev = 64768, ia_type =
IA_IFREG, ia_prot = {suid = 0 '\000', sgid = 0 '\000', sticky = 0 '\000', owner
= {read = 1 '\001', write = 1 '\001', exec = 0 '\000'}, group = {read = 1
'\001', write = 0 '\000', 
              exec = 0 '\000'}, other = {read = 1 '\001', write = 0 '\000',
exec = 0 '\000'}}, ia_nlink = 1, ia_uid = 1238, ia_gid = 0, ia_rdev = 0,
ia_size = 124016, ia_blksize = 4096, ia_blocks = 243, ia_atime = 1510917960,
ia_atime_nsec = 197765292, ia_mtime = 1510381517, ia_mtime_nsec = 551886884, 
          ia_ctime = 1511209751, ia_ctime_nsec = 823985111}
        op_ret = <optimized out>
        op_errno = <optimized out>
        priv = <optimized out>
        real_path = <optimized out>
        xattr_rsp = <optimized out>
        __FUNCTION__ = "posix_stat"
#4  0x00007fc629f0b2d5 in trash_truncate (frame=0x7fc5c82e74e0,
this=0x7fc62400ab50, loc=0x7fc5c82daaa0, offset=140487443629264, xdata=0x0) at
trash.c:2061
        _new = 0x7fc5c82c44d0
        old_THIS = 0x7fc62400ab50
        priv = 0x0
        local = 0x0
        match = 604023632
        pathbuf = 0x7fc5c8183390 "<gfid:66421e76-e5b7-4d5b-9bbd-e52096d4aa59>"
        ret = 0
        __FUNCTION__ = "trash_truncate"


There is also a message in brick log:

pending frames:
frame : type(0) op(10)
patchset: git://git.gluster.org/glusterfs.git
signal received: 11
time of crash:
2017-11-20 20:29:11
configuration details:
argp 1
backtrace 1
dlfcn 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.10.7
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(_gf_msg_backtrace_nomem+0xac)[0x7fc630435eec]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(gf_print_trace+0x324)[0x7fc63043f504]
/lib/x86_64-linux-gnu/libc.so.6(+0x350e0)[0x7fc62ef380e0]
/lib/x86_64-linux-gnu/libc.so.6(strlen+0x2a)[0x7fc62ef84c3a]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/trash.so(+0x113a3)[0x7fc629f0a3a3]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/storage/posix.so(+0x6cc2)[0x7fc62a72ccc2]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/trash.so(+0x122d5)[0x7fc629f0b2d5]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/changetimerecorder.so(+0x72dc)[0x7fc629ce02dc]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/changelog.so(+0xb34e)[0x7fc6295e734e]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/bitrot-stub.so(+0x4bd9)[0x7fc6293c8bd9]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(call_resume+0x75)[0x7fc630457cf5]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/bitrot-stub.so(+0x80f6)[0x7fc6293cc0f6]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/changelog.so(+0x6386)[0x7fc6295e2386]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/changetimerecorder.so(+0xc163)[0x7fc629ce5163]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/storage/posix.so(+0xf2d5)[0x7fc62a7352d5]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(default_fsetxattr+0xb5)[0x7fc6304ab225]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/changetimerecorder.so(+0x51f7)[0x7fc629cde1f7]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/changelog.so(+0x86ba)[0x7fc6295e46ba]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/bitrot-stub.so(+0xc765)[0x7fc6293d0765]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/bitrot-stub.so(+0xc938)[0x7fc6293d0938]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/bitrot-stub.so(+0xe7e4)[0x7fc6293d27e4]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/access-control.so(+0x5a02)[0x7fc6291b6a02]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/locks.so(+0x178a0)[0x7fc628f968a0]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/storage/posix.so(+0x6cc2)[0x7fc62a72ccc2]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(default_stat+0xa1)[0x7fc6304ac1c1]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(default_stat+0xa1)[0x7fc6304ac1c1]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(default_stat+0xa1)[0x7fc6304ac1c1]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/bitrot-stub.so(+0x9401)[0x7fc6293cd401]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(default_stat+0xa1)[0x7fc6304ac1c1]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/locks.so(+0x740f)[0x7fc628f8640f]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/worm.so(+0x8311)[0x7fc628d79311]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/read-only.so(+0x277e)[0x7fc628b6b77e]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/leases.so(+0x7184)[0x7fc62895b184]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/features/upcall.so(+0x122df)[0x7fc62874b2df]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(default_truncate_resume+0x19b)[0x7fc6304c5b5b]
/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(call_resume+0x75)[0x7fc630457cf5]
/usr/lib/x86_64-linux-gnu/glusterfs/3.10.7/xlator/performance/io-threads.so(+0x4dd4)[0x7fc628531dd4]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8064)[0x7fc62f6b2064]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fc62efeb62d]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list