This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17664] Crash in std::map when using _GLIBCXX_DEBUG with multithreading
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2004 20:42:08 -0000
- Subject: [Bug libstdc++/17664] Crash in std::map when using _GLIBCXX_DEBUG with multithreading
- References: <20040924220544.17664.lothar@xcerla.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-11-01 20:42 -------
Created an attachment (id=7454)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7454&action=view)
proposed patch
Here's how you'd fix it by adding mutexes. I don't know if all of these are
necessary, because I haven't bothered to reproduce it. If you can test this
patch and see if it fixes your fail I'd appreciate it.
Is there a way to get this to fail without ACE?
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17664