From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58894 invoked by alias); 10 May 2015 20:50:00 -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 58879 invoked by uid 48); 10 May 2015 20:49:56 -0000 From: "mirzayanovmr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66095] New: Unexpected __gnu_cxx::__concurrence_lock_error with _GLIBCXX_DEBUG Date: Sun, 10 May 2015 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mirzayanovmr at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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: 2015-05/txt/msg00799.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66095 Bug ID: 66095 Summary: Unexpected __gnu_cxx::__concurrence_lock_error with _GLIBCXX_DEBUG Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mirzayanovmr at gmail dot com Target Milestone: --- Created attachment 35515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35515&action=edit Code to reproduce a bug The following code unexpectedly fails with error: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. terminate called after throwing an instance of '__gnu_cxx::__concurrence_lock_error' what(): __gnu_cxx::__concurrence_lock_error Used g++ version is 4.9.2 mingw-tdm: A:\queue>g++ --version g++.EXE (tdm-1) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The code is attached. You can compile it with g++ -O2 -static -o grnd grnd.cpp