Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 39901 invoked from network); 16 Oct 2007 14:40:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2007 14:40:00 -0000 Received: (qmail 26542 invoked by uid 500); 16 Oct 2007 14:39:48 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 26529 invoked by uid 500); 16 Oct 2007 14:39:48 -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 26518 invoked by uid 99); 16 Oct 2007 14:39:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 07:39:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Farid_Zaripov@epam.com designates 217.21.63.3 as permitted sender) Received: from [217.21.63.3] (HELO EPMSA009.epam.com) (217.21.63.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 14:39:51 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: 4.2.0-rc-6, final candidate Date: Tue, 16 Oct 2007 17:39:29 +0300 Message-ID: <7BDB2168BEAEF14C98F1901FD2DE64380117E4CF@epmsa009.minsk.epam.com> In-Reply-To: <4714BEA1.9040707@roguewave.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 4.2.0-rc-6, final candidate Thread-Index: AcgP+dEJCUR6JMi7TaW25VgP72Np+QAB+l6w References: <4712B64B.5040203@roguewave.com> <47144970.3080300@gmail.com> <4714BEA1.9040707@roguewave.com> From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Martin Sebor [mailto:sebor@roguewave.com]=20 > Sent: Tuesday, October 16, 2007 4:38 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: 4.2.0-rc-6, final candidate >=20 > > Regarding binary compatibility, after upgrading from 4.1.3 to the=20 > > latest 4.2.0 I'm getting invalid pointer errors from glibc=20 > in some of=20 > > my programs. I reproduced the same error in the except example in=20 > > 4.1.3. Unfortunately, I don't have time to debug it right now. >=20 > Yowza! That's not good. We not fix that ASAP. Farid, could=20 > any of these changes be causing the incompatibility? >=20 > http://svn.apache.org/viewvc?view=3Drev&revision=3D549766 > http://svn.apache.org/viewvc?view=3Drev&revision=3D549586 > http://svn.apache.org/viewvc?view=3Drev&revision=3D549584 I have checked the except.cpp example on MSVC 7.1 and found that the problem was caused by this change: http://svn.apache.org/viewvc?rev=3D583667&view=3Drev ---------------- catch (const std::ios::failure &e) { std::cout << "Caught an exception: " << e.what () << std::endl; } ---------------- Here instead std::exception::what() invoked std::ios::failure::~failure(). Farid.