[Bugs] [Bug 1240184] New: snap-view:mount crash if debug mode is enabled

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 6 07:17:21 UTC 2015


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

            Bug ID: 1240184
           Summary: snap-view:mount crash if debug mode is enabled
           Product: GlusterFS
           Version: mainline
         Component: snapshot
          Assignee: bugs at gluster.org
          Reporter: rkavunga at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

from snpaview-server, for statfs fops we allocate memory for loc->path
directly, instead of using GF_CALLOC/GF_MALLOC, that causes assertion failure
and crash if debug mode is enabled during configurations.

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

mainline

How reproducible:

100%

Steps to Reproduce:
1.enablde debig mode during building using ./configure --enable-debug
2.create volume start it
3.enable uss
4.create an activate snapshot
5.check getconf NAME_MAX /mnt/.snaps

Actual results:

this causes mount process to crash

Expected results:

should not crash mount point

Additional info:

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