Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 46589 invoked from network); 9 Aug 2006 17:22:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2006 17:22:54 -0000 Received: (qmail 23375 invoked by uid 500); 9 Aug 2006 17:22:54 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 23317 invoked by uid 500); 9 Aug 2006 17:22:54 -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 23304 invoked by uid 99); 9 Aug 2006 17:22:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 10:22:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 10:22:53 -0700 Received: from qxvcexch01.ad.quovadx.com (qxvcexch01.ad.quovadx.com [192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.4) with ESMTP id k79HMFML004501 for ; Wed, 9 Aug 2006 17:22:16 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 9 Aug 2006 11:22:41 -0600 Message-ID: <44DA19DB.6030402@roguewave.com> Date: Wed, 09 Aug 2006 11:22:35 -0600 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: FW: 17116,756,000 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Aug 2006 17:22:41.0901 (UTC) FILETIME=[6B96C1D0:01C6BBD8] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nicole Willson wrote: > I had to do it for every call to msgs.open. Just change it like this: > // const std::messages_base::catalog cat = (msgs.open)(CAT_NAME, > loc); > const std::string cat_name_str = CAT_NAME; > const std::messages_base::catalog cat = > (msgs.open)(cat_name_str, loc); > > The problem was that it was returning some number like -5475, instead of > the number it should have been returning and causing the close to fail. > This is a compiler bug that I've not yet been able to document with a > testcase. Fortunately, it is easy to workaround, if somewhat annoying. Hmm. That's not what I'm seeing in the latest test. The latest test aborts in a call to close with a good catalog id (0) but one that's already been closed. The test exercises the facet's ability to detect this (a double close) and throw an exception in response to this type of an error. > > I've also solved the problem with the stress_test. Since the NLSPATH > variable is being used, it can't have the .cat at the end of the catalog > name - NLSPATH has already added that, so it is looking for > catalogname.cat.cat and of course, not finding it. I'm surprised that > this would work on any system. No kidding! There must be something else going on since I'm not seeing any failures with gcc. I suspect the stress_test is buggy beyond the NLSPATH problem and the bug is masking the failures with gcc. Let me look into it. Martin