[Bug c++/66096] New: Unexpected __gnu_cxx::__concurrence_lock_error with _GLIBCXX_DEBUG

mirzayanovmr at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun May 10 20:50:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66096

            Bug ID: 66096
           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: ---

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



More information about the Gcc-bugs mailing list