From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27735 invoked by alias); 13 Feb 2003 02:16:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 27706 invoked by uid 71); 13 Feb 2003 02:16:00 -0000 Date: Thu, 13 Feb 2003 02:16:00 -0000 Message-ID: <20030213021600.27705.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: cwitty@newtonlabs.com (Carl R. Witty) Subject: Re: libstdc++/9069: race condition in libstdc++3 (basic_string.tcc) Reply-To: cwitty@newtonlabs.com (Carl R. Witty) X-SW-Source: 2003-02/txt/msg00550.txt.bz2 List-Id: The following reply was made to PR libstdc++/9069; it has been noted by GNATS. From: cwitty@newtonlabs.com (Carl R. Witty) To: bkoz@gcc.gnu.org Cc: 140201@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, cwitty@newtonlabs.com, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/9069: race condition in libstdc++3 (basic_string.tcc) Date: 12 Feb 2003 18:10:10 -0800 bkoz@gcc.gnu.org writes: > Synopsis: race condition in libstdc++3 (basic_string.tcc) > > State-Changed-From-To: open->analyzed > State-Changed-By: bkoz > State-Changed-When: Mon Jan 6 12:49:46 2003 > State-Changed-Why: > Can example code that demonstrates this problem be provided please? I'd like to add it to the thread testcase if possible. > > As a general rule, MT bugs always need a test case before a patch can be developed and a fix can be applied. > > thanks, > benjamin > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9069 I never had a test case for this; I saw the problem by examining the source code. Carl Witty