Bug 843071 - Index xlator has race in init which leads to crash.
Summary: Index xlator has race in init which leads to crash.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: unclassified
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact: Sachidananda Urs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-25 13:53 UTC by Pranith Kumar K
Modified: 2013-07-24 18:00 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 18:00:13 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Pranith Kumar K 2012-07-25 13:53:46 UTC
Description of problem:
    In index_worker function at the time of assigning priv from
    this->private, this->private may not be set in init() function
    of index xlator.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2012-07-25 15:16:35 UTC
CHANGE: http://review.gluster.com/3728 (features/index: Fix race in this->private initialization) merged in master by Vijay Bellur (vbellur)

Comment 2 Vijay Bellur 2012-07-25 21:52:57 UTC
CHANGE: http://review.gluster.com/3729 (features/index: make pthread_attr_t local to init()) merged in master by Anand Avati (avati)


Note You need to log in before you can comment on or make changes to this bug.