[Bugs] [Bug 1315735] New: Tier: Possible crash/undefined behaviour if thread creation fails

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 8 13:46:32 UTC 2016


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

            Bug ID: 1315735
           Summary: Tier: Possible crash/undefined behaviour if thread
                    creation fails
           Product: GlusterFS
           Version: mainline
         Component: tiering
          Assignee: bugs at gluster.org
          Reporter: rkavunga at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:

In tier_start, we  spawn two threads one for promotion and one for demotion. If
the thread creation fails we do a join with out having a value for thread
variabl. This can lead into a crash or undefined behaviour.

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

mainline

How reproducible:

Mosty

Steps to Reproduce:

1.create a tier volume
2.Attach tier process into gdb
3.using a break point try creating failure for thread creation in tier_start

Actual results:

crash
Expected results:

Should behave normally

Additional info:

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list