Red Hat Bugzilla – Bug 62550
libstdc++.so.3.0.4 is not thread safe on SMP machine
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311
Description of problem:
Programs compiled with streams in libstdc++ library (version 3.0.4) are not
thread safe and they crash radomly on a SMP machine. They work on UP machine
It seems that the bug was solved already by gcc developers.
View Problem Report: 5432
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a c++ program which creates ostringstream in a loop.
2. Start multiple threads that execute that part of the code
3. Compile with g++ 3.0.4
4. Run it on SMP machine
A crash dump happens really quicky.
We now ship 3.2 on 8.0