[Bugs] [Bug 1376663] New: tier: avoid pthread_join if pthread_create fails

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 16 06:37:27 UTC 2016


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

            Bug ID: 1376663
           Summary: tier:  avoid pthread_join if pthread_create fails
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: tier
          Assignee: dlambrig at redhat.com
          Reporter: prasanna.kalever at redhat.com
        QA Contact: kramdoss at redhat.com
                CC: bugs at gluster.org, dlambrig at redhat.com,
                    rhs-bugs at redhat.com, rkavunga at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1332219
            Blocks: 1335187



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

Description of problem:
rearrange the code, to add some defence functionality for
pthread_create(), i.e. only on a success on pthread_create() call
pthread_join().

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



COMMIT: http://review.gluster.org/14152 committed in master by Dan Lambright
(dlambrig at redhat.com) 
------
commit f7d9814dc16d3a0e1468e7946a9e185cc76246df
Author: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
Date:   Mon May 2 19:38:55 2016 +0530

    tier: avoid pthread_join if pthread_create fails

    this patch rearrange the code, to add some defence functionality for
    pthread_create(), i.e. only on a success on pthread_create() call
    pthread_join().

    Change-Id: I0836bc950a210574cfdc755a666c6ac5df6ab430
    BUG: 1332219
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
    Reviewed-on: http://review.gluster.org/14152
    Tested-by: Prasanna Kumar Kalever <pkalever at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Joseph Fernandes
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1332219
[Bug 1332219] tier:  avoid pthread_join if pthread_create fails
https://bugzilla.redhat.com/show_bug.cgi?id=1335187
[Bug 1335187] tier: uninitialized memory use
-- 
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=9X7BJoo3fM&a=cc_unsubscribe


More information about the Bugs mailing list