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

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 23 06:02:30 UTC 2015


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

            Bug ID: 1245915
           Summary: snap-view:mount crash if debug mode is enabled
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: gluster-snapshot
          Keywords: Triaged
          Assignee: rjoseph at redhat.com
          Reporter: asengupt at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: asengupt at redhat.com, bugs at gluster.org,
                    gluster-bugs at redhat.com, rkavunga at redhat.com
        Depends On: 1240184
            Blocks: 1245908



+++ This bug was initially created as a clone of Bug #1240184 +++

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:

--- Additional comment from Anand Avati on 2015-07-06 03:28:55 EDT ---

REVIEW: http://review.gluster.org/11543 (snapview-client: Allocate memory using
GF_CALLOC) posted (#1) for review on master by mohammed rafi  kc
(rkavunga at redhat.com)

--- Additional comment from Anand Avati on 2015-07-06 06:59:17 EDT ---

REVIEW: http://review.gluster.org/11543 (snapview-client: Allocate memory using
GF_CALLOC) posted (#2) for review on master by mohammed rafi  kc
(rkavunga at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1240184
[Bug 1240184] snap-view:mount crash if debug mode is enabled
https://bugzilla.redhat.com/show_bug.cgi?id=1245908
[Bug 1245908] snap-view:mount crash if debug mode is enabled
-- 
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=Q6FXj7SHmy&a=cc_unsubscribe


More information about the Bugs mailing list