From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2787 invoked by alias); 6 Jan 2017 21:58:30 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 2774 invoked by uid 89); 6 Jan 2017 21:58:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=owner's, locked, H*M:126, printers X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Message-ID: <1483739904.5606.126.camel@redhat.com> Subject: Re: [PATCH v11] Add pretty printers for the NPTL lock types From: Torvald Riegel To: Martin Galvan Cc: siddhesh@sourceware.org, Joseph Myers , libc-alpha@sourceware.org Date: Fri, 06 Jan 2017 21:58:00 -0000 In-Reply-To: References: <1481576088-15304-1-git-send-email-omgalvan.86@gmail.com> <1482424494.14990.810.camel@redhat.com> <1482447010.14990.815.camel@redhat.com> <1482512736.14990.831.camel@redhat.com> <1482518873.14990.832.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-01/txt/msg00135.txt.bz2 On Fri, 2016-12-23 at 16:37 -0300, Martin Galvan wrote: > 2016-12-23 15:47 GMT-03:00 Torvald Riegel : > > Status = Locked, possibly with no waiters, Owner ID = 0, Robust = No, > > That's odd, IIRC locked mutexes always record their owner's ID. I > assume manually printing mutex->__data.__owner at that point shows 0 > too, right? This may be related to lock elision. In a build with lock elision disabled, I didn't see the failure. The next build with lock elision enabled again showed the failure. Did you test with or without lock elision?