This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: expect buffer overruns (was: testsuite/*/*/*/*.exp run twice)
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: Rob Savoye <rob at welcomehome dot org>, dje at watson dot ibm dot com, cato at df dot lth dot se, christian at j-son dot org, gcc at gcc dot gnu dot org, dejagnu at gnu dot org
- Date: Fri, 06 Jun 2003 18:39:22 +0100
- Subject: Re: expect buffer overruns (was: testsuite/*/*/*/*.exp run twice)
- Organization: SuperH UK Ltd.
- References: <200306061725.h56HP45T001212@hiauly1.hia.nrc.ca>
John David Anglin wrote:
> While we are on the subject of "deja" bugs, there is a buffer truncation
> problem that particularly seems to plague hppa-linux but I have also seen
> if occur on i386-linux. This affects tests that produce a large amount
> of output. The last part of the data received by dejagnu is truncated,
> usually in the middle of a line. This might be a kernel or glibc
> problem as I never see it under hpux. If anybody has any clues as to
> the fix, let me know.
From:
"H. J. Lu" <hjl@lucon.org>
To:
Joern Rennecke <joern.rennecke@superh.com>
CC:
Jim Ingham <jingham@apple.com>, Aldy Hernandez <aldyh@redhat.com>, Andreas Tobler <toa@pop.agri.ch>,
GCC <gcc@gcc.gnu.org>
Subject:
Re: Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1)
Message-ID:
<20021015061141.B13451@lucon.org>
References:
<09E11C02-DF9B-11D6-BBA1-00039379E320@apple.com> <3DAB04CD.9C674C41@superh.com>
<20021014110015.A30940@lucon.org> <3DAC0F9C.49725F3B@superh.com>
Mime-Version:
1.0
Content-Type:
text/plain; charset=us-ascii
Content-Disposition:
inline
User-Agent:
Mutt/1.2.5.1i
In-Reply-To:
<3DAC0F9C.49725F3B@superh.com>; from joern.rennecke@superh.com on Tue, Oct 15, 2002 at 01:52:44PM
+0100
Return-Path:
hjl@lucon.org
X-OriginalArrivalTime:
15 Oct 2002 13:11:11.0639 (UTC) FILETIME=[55400270:01C2744C]
On Tue, Oct 15, 2002 at 01:52:44PM +0100, Joern Rennecke wrote:
> "H. J. Lu" wrote:
> >
> > On Mon, Oct 14, 2002 at 06:54:21PM +0100, Joern Rennecke wrote:
> > > Jim Ingham wrote:
> > > >
> > > > If you have expect patches have you submitted them back to the expect
> > > > maintainers? This is now hosted at SourceForge.
> > > >
> > > > This won't help gcc & gdb, because they use a weird hacked version of
> > > > expect - the current expect won't run the testsuite correctly. But if
> > > > you have found some Linux bug, you should submit a patch to the
> > > > SourceForge patch tracker...
> > >
> > > I had already downloaded & installed the unaltered expect 5.38.0 .
> > > This has stopped expect from hanging, but the semi-random loss of output
> > > hasn't improved, if anything, it got worse.
> > > And no, I haven't got patches, I'm fishing for clues where to start.
> > >
> >
> > Try the latest patch from
> >
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=43310
>
> I get a message that the connection was refused by the server bugzilla.redhat.com .
>
> > Let me know if it works for you. If it does, I will file a bug report
> > for expect if it hasn't been fixed already.
>
> In Jack Howarth's message in this thread (only by subject, not by reference),
> I found the link
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=156854&archive=yes&repeatmerged=yes
> and the patch there seems to work. Running sh64-elf regression tests with this patch
> removes 87 spurious failures.
Good. That is the same patch. I will file a bug report against expect.
H.J.
- end of pasted message-
--
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658