[Bugs] [Bug 1153610] New: libgfapi crashes in glfs_fini for RDMA type volumes

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 16 10:27:34 UTC 2014


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

            Bug ID: 1153610
           Summary: libgfapi crashes in glfs_fini for RDMA type volumes
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Severity: high
          Assignee: gluster-bugs at redhat.com
          Reporter: achiraya at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org



Created attachment 947560
  --> https://bugzilla.redhat.com/attachment.cgi?id=947560&action=edit
libgfapi test program

Description of problem:

C program which uses libgfapi for RDMA volume crashes in glfs_fini().

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

How reproducible:
Always

Steps to Reproduce:
1. Create a 1-brick RDMA volume.
2. Compile the attached C program that uses libgfapi
gcc -pthreads -g -O0  -Wall --pedantic -o gfapi_perf_test -I
/usr/include/glusterfs/api gfapi_perf_test.c  -lgfapi -lrt

3. Do the following exports
export LD_LIBRARY_PATH=/usr/local/lib
export GFAPI_HOSTNAME=<server ip>
export GFAPI_TRANSPORT=rdma
export GFAPI_VOLNAME=<volume name>

4.Run the compiled output as
GFAPI_FILES=1 GFAPI_RECSZ=1024 GFAPI_FSZ=1048576 ./gfapi_perf_test

Actual results:
Segmentation fault (core dumped)

Expected results:
Program executes successfully.


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=oVJ0l2hCJH&a=cc_unsubscribe


More information about the Bugs mailing list