From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1384 invoked by alias); 13 May 2014 22:24:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1318 invoked by uid 48); 13 May 2014 22:24:19 -0000 From: "fawaka at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/60966] std::call_once sometime hangs Date: Tue, 13 May 2014 22:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fawaka at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg01246.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 Leon Timmermans changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fawaka at gmail dot com --- Comment #10 from Leon Timmermans --- (In reply to Thomas Sanchez from comment #8) > Hey, > I just wanted to know if you had the time to look into and/or if you were > able to reproduce the bug ? > > Thanks, It seems I've hit exactly the same issue in my code: std::promise::set_value hangs in pthread_once. Interestingly, it always happens in the second thread of that type (same thread function). I'm not sure how to interpret that. Leon