From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7488 invoked by alias); 20 Apr 2002 12:46:01 -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 7474 invoked by uid 71); 20 Apr 2002 12:46:01 -0000 Date: Sat, 20 Apr 2002 05:46:00 -0000 Message-ID: <20020420124601.7473.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Craig Rodrigues Subject: Re: libstdc++/5396: ifstream read()'s data multiple times on Solaris Reply-To: Craig Rodrigues X-SW-Source: 2002-04/txt/msg01024.txt.bz2 List-Id: The following reply was made to PR libstdc++/5396; it has been noted by GNATS. From: Craig Rodrigues To: jakub@unthought.net, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, anderson@ligo.caltech.edu, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: libstdc++/5396: ifstream read()'s data multiple times on Solaris Date: Sat, 20 Apr 2002 08:40:40 -0400 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5396 Submitted by jakub@unthought.net: On Thu, Apr 18, 2002 at 07:58:11AM -0400, Andras Pataki wrote: > Last week I investigated the problem I was experiencing some more and > found a solution. We installed a Solaris linker patch (as part of a > larger patch set) which seems to have solved the problem for me. > > Here are the patch numbers for the various versions of Solaris. It's > worth giving a try: > 103627 - Solaris 2.5.1 > 107733 - Solaris 2.6 > 106950 - Solaris 7 > 109147 - Solaris 8 > Great ! Thanks, I will give this a try over the weekend. So far I have solved the problem by simple changing the structure of the exceptions that I throw. Previously, the exception that caused the problem was a class inherited from another class, again inherited from a base. By only throwing exceptions inherited directly from the base, the problem disappears. Thanks, / jakob