This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/5396: ifstream read()'s data multiple times on Solaris
- From: Craig Rodrigues <rodrigc at attbi dot com>
- To: jakub at unthought dot net, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, anderson at ligo dot caltech dot edu, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Sat, 20 Apr 2002 08:40:40 -0400
- Subject: Re: libstdc++/5396: ifstream read()'s data multiple times on Solaris
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