From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23926 invoked by alias); 20 Jun 2014 19:10:10 -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 23852 invoked by uid 48); 20 Jun 2014 19:10:07 -0000 From: "bugdal at aerifal dot cx" To: glibc-bugs@sourceware.org Subject: [Bug nptl/13690] pthread_mutex_unlock potentially cause invalid access Date: Fri, 20 Jun 2014 19:10: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.15 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugdal at aerifal dot cx X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: carlos at redhat dot com X-Bugzilla-Target-Milestone: 2.18 X-Bugzilla-Flags: review? X-Bugzilla-Changed-Fields: attachments.created 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-06/txt/msg01348.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=13690 --- Comment #40 from Rich Felker --- Created attachment 7653 --> https://sourceware.org/bugzilla/attachment.cgi?id=7653&action=edit demonstration of spurious futex wakes from kernel The attached file demonstrates spurious futex wakes coming from the kernel; it was designed to mimic the situation I was experiencing where they were breaking my implementation of pthread_join when it failed to retry the wait. I'm not sure if they happen or not in situations not connected to CLONE_CHILD_CLEARTID. I experienced the issue on 3.2 and 3.5 kernels (the latter re-checked just now) but have not been able to reproduce it on 3.15. -- You are receiving this mail because: You are on the CC list for the bug.