Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 87098 invoked from network); 19 Mar 2008 22:24:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2008 22:24:05 -0000 Received: (qmail 45237 invoked by uid 500); 19 Mar 2008 22:24:03 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 45220 invoked by uid 500); 19 Mar 2008 22:24:03 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 45211 invoked by uid 99); 19 Mar 2008 22:24:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 15:24:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 22:23:25 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m2JMNZ2t005019 for ; Wed, 19 Mar 2008 22:23:35 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C88A0F.F45418D7" Subject: _RWSTD_REQUIRES throwing uncaught exceptions in tests? Date: Wed, 19 Mar 2008 16:24:10 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: _RWSTD_REQUIRES throwing uncaught exceptions in tests? Thread-Index: AciKD/REJo8sn5sKQ7OA6F407YiG+Q== From: "Eric Lemings" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C88A0F.F45418D7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Greetings, =20 I've been stepping through one of the string tests. The std::string::at() member function is being called with a __pos value that is >=3D size() causing the _RWSTD_REQUIRES assertion to fail. It seems to be throwing an exception, which is not being caught, as a result. Consequently, the whole test program raises an ABRT signal. There are several such programs raising ABRT signals (on the Mac platform at least). =20 Now there's certainly nothing wrong with the test case testing out-of-bounds behavior but it should be catching any possible exceptions, shouldn't it? Assuming the std::string::at() function does not have a no-throw guarantee. =20 Brad. =20 ------_=_NextPart_001_01C88A0F.F45418D7--