Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 15177 invoked from network); 27 Jun 2007 15:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2007 15:18:22 -0000 Received: (qmail 10395 invoked by uid 500); 27 Jun 2007 15:18:21 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 10380 invoked by uid 500); 27 Jun 2007 15:18:21 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 10332 invoked by uid 99); 27 Jun 2007 15:18:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2007 08:18:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.50.6.28] (HELO WM28.inbox.com) (208.50.6.28) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Jun 2007 08:18:16 -0700 Received: from inbox.com (127.0.0.1:25) by inbox.com with [InBox.Com SMTP Server] id <706270036610.WM28> for from ; Wed, 27 Jun 2007 7:17:35 AM -0800 Mime-Version: 1.0 Date: Wed, 27 Jun 2007 07:17:35 -0800 Message-ID: <6A25EE57DAC.000001EAmbrown@inbox.com> From: Mark Brown Subject: RE: status of thread safety tests To: stdcxx-dev@incubator.apache.org, stdcxx-dev@incubator.apache.org In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE64389D6DFE@epmsa009.minsk.epam.com> References: <5cf326c9d2e.0000016bmbrown@inbox.com> <46774b7b.8070105@roguewave.com> X-Mailer: INBOX.COM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-IWM-ACU: REl3BNnDDtYIwHSxnf_X636zA1IcSicrW3kq7c5rDLWu8jNC3Hg7_l7D6HqL GIO695A-oIgDwWqddKU_8dGn_c_JYOo9ht3y1OQjeb4s8Y4FBh7TNcv4c8k_ vT2vOkh8m4N-sY7c@ X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: farid_zaripov=40epam.com > Sent: Tue, 26 Jun 2007 18:57:44 +0300 > To: stdcxx-dev=40incubator.apache.org > Subject: RE: status of thread safety tests >=20 >> -----Original Message----- >> From: Mark Brown =5Bmailto:mbrown=40inbox.com=5D >> Sent: Tuesday, June 26, 2007 5:06 PM >> To: stdcxx-dev=40incubator.apache.org >> Subject: RE: status of thread safety tests >>=20 >> 22.locale.num.put.mt gets a SIGSEGV on my system (Fedora 6) >> even with a single thread. Here's the output of gdb: >=20 > The same trouble on MSVC. And I found the problem. >=20 > struct Ios: std::ios =7B > =7D io; >=20 > Here should be defined ctor invoking ios_base::init() according to > 27.4.2.7 p1: Ios () =7B this->init (0); =7D >=20 > The same bug present in 22.locale.money.put.mt and > 22.locale.time.put.mt tests. >=20 > Fixed thus: http://svn.apache.org/viewvc?view=3Drev&rev=3D550833 Hi Farid, This change appears to have cleared up the original issue. However, with = multiple threads the test now sometimes crashes with the following error: terminate called after throwing an instance of 'std::runtime_error' what(): /home/mbrown/stdcxx/src/setlocale.cpp:130: = __rw::__rw_setlocale::__rw_setlocale(const char*, int, int): bad locale = name: =22PY=22 The name of the locale varies and is sometimes garbage so it might be = caused by some memory corruption. -- Mark >=20 > I'm not sure if this patch resolves the STDCXX-450 issue. >=20 > Farid. ____________________________________________________________ GET FREE 5GB ONLINE STORAGE - Safely store your documents, photos and = music online=21 Visit http://www.inbox.com/storage to find out more=21