Bug 62550 - libstdc++.so.3.0.4 is not thread safe on SMP machine
Summary: libstdc++.so.3.0.4 is not thread safe on SMP machine
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libstdc++
Version: 7.2
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-02 15:01 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2002-12-15 19:50:19 UTC


Attachments (Terms of Use)

Description Need Real Name 2002-04-02 15:01:22 UTC
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
however.

It seems that the bug was solved already by gcc developers.

Additional references:

View Problem Report: 5432
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&pr=5432&cmd=view

Announcing libstdc++-v3.0.97
http://gcc.gnu.org/ml/libstdc++/2002-03/msg00050.html



Version-Release number of selected component (if applicable):


How reproducible:
Always

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
	

Actual Results:  
A crash dump happens really quicky.


Additional info:

Comment 1 Alan Cox 2002-12-15 19:50:19 UTC
We now ship 3.2 on 8.0



Note You need to log in before you can comment on or make changes to this bug.