From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21707 invoked by alias); 1 Oct 2014 18:43:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 21598 invoked by uid 48); 1 Oct 2014 18:42:59 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/16657] Lock elision breaks pthread_mutex_destroy Date: Wed, 01 Oct 2014 18:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00001.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16657 --- Comment #30 from Carlos O'Donell --- (In reply to Andreas Schwab from comment #25) > Do not close this bug until it is fixed. Is this fixed yet? commit e47e7d86ac678ee4293da4295198a7eb45ecef01 Author: Andreas Schwab Date: Thu Mar 27 16:50:04 2014 -0400 Skip checks in pthread_mutex_destroy when doing elision When doing elisison the __nusers field is not updated, thus can have an arbitrary value. [BZ #16657] * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Skip checks when doing elision. * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_destroy.c: New * file. -- You are receiving this mail because: You are on the CC list for the bug.