[Bug libstdc++/17664] Crash in std::map when using _GLIBCXX_DEBUG with multithreading

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 24 23:44:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-24 23:44 -------
Invalid as std::map is not multithreaded that way (you would have the same problem without 
_GLIBCXX_DEBUG also as it is not done this way for either).  What this is showing you is that you need to 
add the write guard other wise you get a crash or wrong answers without _GLIBCXX_DEBUG.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17664



More information about the Gcc-bugs mailing list