[Bugs] [Bug 1802947] New: list about 550 files in replicated volume will causes glfs_iotwr thread crash

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 14 08:29:13 UTC 2020


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

            Bug ID: 1802947
           Summary: list about 550 files in replicated volume will causes
                    glfs_iotwr thread crash
           Product: GlusterFS
           Version: 6
          Hardware: ppc64
                OS: Linux
            Status: NEW
         Component: io-threads
          Assignee: bugs at gluster.org
          Reporter: liguang_li at 126.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:

About 550 files in the replicated volume, run ls to list the files will cause
the glfs_iotwr thread stack overflow.

Version-Release number of selected component (if applicable):
v6.4

How reproducible:

Steps to Reproduce:
1. Create a replicated volume
2. Mount the replicated volume
3. Touch about 550 files in the replicated volume
4. Run "ls" command

Actual results:

[  296.815617] glfs_iotwr000[626]: bad frame in setup_rt_frame:
00003fff76d7a720 nip 00003fff80f5a1c4 lr 00003fff81019c74


Expected results:

List all the files in the replicated volume

Additional info:

Core was generated by `/usr/sbin/glusterfsd -s 128.224.95.141 --volfile-id
gv0.128.224.95.141.tmp-bric'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00003fff7f89c1c4 in _int_free (av=0x3fff68000020, p=0x3fff68025820,
have_lock=0) at malloc.c:3846
3846    {
[Current thread is 1 (Thread 0x3fff7970c440 (LWP 1265))]
#0  0x00003fff7f89c1c4 in _int_free (av=0x3fff68000020, p=0x3fff68025820,
have_lock=0) at malloc.c:3846
#1  0x00003fff7f95bc74 in x_inline (xdrs=<optimized out>, len=<optimized out>)
at xdr_sizeof.c:88
#2  0x00003fff7fa394e8 in .xdr_gfx_iattx () from /usr/lib64/libgfxdr.so.0
#3  0x00003fff7fa39ee4 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#4  0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680e8a80, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#5  0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680e8a80, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>) at xdr_ref.c:135
#6  0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#7  0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680e8900, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#8  0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680e8900, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>) at xdr_ref.c:135
#9  0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#10 0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680e8780, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#11 0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680e8780, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>) at xdr_ref.c:135
#12 0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#13 0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680e8600, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#14 0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680e8600, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>) at xdr_ref.c:135
#15 0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#16 0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680e8480, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#17 0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680e8480, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>) at xdr_ref.c:135
#18 0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#19 0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680e8300, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#20 0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680e8300, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>) at xdr_ref.c:135
#21 0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#22 0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680e8180, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#23 0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680e8180, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>) at xdr_ref.c:135
#24 0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
...
#1611 0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
#1612 0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff680b6e00, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#1613 0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff680b6e00, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>)
    at xdr_ref.c:135
#1614 0x00003fff7fa39f20 in .xdr_gfx_dirplist () from /usr/lib64/libgfxdr.so.0
---Type <return> to continue, or q <return> to quit---
#1615 0x00003fff7f95b8d8 in __GI_xdr_reference (xdrs=0x3fff7970a040,
pp=0x3fff7970a300, size=<optimized out>, proc=<optimized out>) at xdr_ref.c:84
#1616 0x00003fff7f95bab4 in __GI_xdr_pointer (xdrs=0x3fff7970a040,
objpp=0x3fff7970a300, obj_size=<optimized out>, xdr_obj=@0x3fff7fa56670:
0x3fff7fa39e20 <.xdr_gfx_dirplist>)
    at xdr_ref.c:135
#1617 0x00003fff7fa3e4d8 in .xdr_gfx_readdirp_rsp () from
/usr/lib64/libgfxdr.so.0
#1618 0x00003fff7f95bdd0 in __GI_xdr_sizeof (func=<optimized out>,
data=<optimized out>) at xdr_sizeof.c:157
#1619 0x00003fff7a1d391c in gfs_serialize_reply () from
/usr/lib64/glusterfs/6.4/xlator/protocol/server.so
#1620 0x00003fff7a1d3b78 in server_submit_reply () from
/usr/lib64/glusterfs/6.4/xlator/protocol/server.so

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