[Bugs] [Bug 1483795] New: Crashes when nl-cache is enabled

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 22 01:39:11 UTC 2017


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

            Bug ID: 1483795
           Summary: Crashes when nl-cache is enabled
           Product: GlusterFS
           Version: mainline
         Component: core
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: zhhuan at gmail.com
                CC: bugs at gluster.org



Description of problem:
When nl-cache is enabled, glusterfs crash while activating graph.

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


How reproducible:
Every time

Steps to Reproduce:
1. enable nl-cache
2. run glusterfs
3.

Actual results:
glusterfs client crash

Expected results:
glusterfs run without error

Additional info:
This problem is in glusterfs_ctx_tw_get(). When ctx->tw is initialized to call
glusterfs_ctx_tw_get, will call GF_REF_GET to add refcount and return the
existing ctx->tw pointer. However, return of GF_REF_GET is an integer of ref
counter, but incorrectly use as pointer to return.

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