dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: expect buffer overruns (was: testsuite/*/*/*/*.exp run twice)


From: Joern Rennecke
Subject: Re: expect buffer overruns (was: testsuite/*/*/*/*.exp run twice)
Date: Fri, 06 Jun 2003 18:39:22 +0100

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" <address@hidden>
             To: 
               Joern Rennecke <address@hidden>
            CC: 
               Jim Ingham <address@hidden>, Aldy Hernandez <address@hidden>, 
Andreas Tobler <address@hidden>,
               GCC <address@hidden>
          Subject: 
               Re: Subject: Kernel bugs that trip expect (Was: Re: 2 new 
regression on darwin6.1)
       Message-ID: 
               <address@hidden>
        References: 
               <address@hidden> <address@hidden>
               <address@hidden> <address@hidden>
      Mime-Version: 
               1.0
      Content-Type: 
               text/plain; charset=us-ascii
   Content-Disposition: 
               inline
        User-Agent: 
               Mutt/1.2.5.1i
       In-Reply-To: 
               <address@hidden>; from address@hidden on Tue, Oct 15, 2002 at 
01:52:44PM
               +0100
       Return-Path: 
               address@hidden
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]