This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]