From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14013 invoked by alias); 2 Jul 2014 18:18:31 -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 13929 invoked by uid 48); 2 Jul 2014 18:18:27 -0000 From: "jmbnyc at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/16657] Lock elision breaks pthread_mutex_destroy Date: Wed, 02 Jul 2014 18:18: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: jmbnyc at gmail 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-07/txt/msg00534.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16657 --- Comment #22 from Jeffrey M. Birnbaum --- Well, I find that comment somewhat offensive, i.e. a bug in my code. I only showed an outline so that you could comment on whether or not the trylock elision issue was related to what I am observing. I can certainly understand why you would say that given that a reproducible test is the best proof of an issue. However, in your response you said "if you have more information, please share" so that is what I did. I'm not sure I deserved the "well, most likely a bug in your code where you don't sync read/write properly". Regardless, I will try to create a simple test case the repro's the issue. I can assure you that there are no other variables involved in what I described that come into play. In fact, the description is almost verbatim the code. The only shared object is the pthread mutex and I think that was fairly clear from the code snippet. -- You are receiving this mail because: You are on the CC list for the bug.