gdb  User: guest  Access: viewconf gnatsweb
MAIN PAGECREATEQUERYADV. QUERYLOGIN AGAINHELP

View Problem Report: 544

or add note or send email to interested parties


Reporter's email: drow@false.org
CC these people
on PR status email:
   
Number: 544
Category: cli
Synopsis: gdb.c++/annota2.exp: annotate-quit test sometimes fails
Confidential: no
Severity: non-critical
Priority: medium
Responsible: drow
State: closed
Class: sw-bug
Submitter-Id: net
Arrival-Date: Mon May 13 12:18:01 PDT 2002
Closed-Date: Fri Mar 21 21:47:53 UTC 2008
Last-Modified: Fri Mar 21 21:47:53 UTC 2008
Originator: drow@mvista.com
Release: CVS
Organization:
Environment: At least i386-linux, arm-netbsd
Description: This test normally passes, but sometimes fails unexpectedly under expect.  I've never reproduced it outside of expect.

See:
http://sources.redhat.com/ml/gdb-patches/2002-02/msg00073.html
File Attachments:
How-To-Repeat:
Fix:
Release-Note:
Unformatted:

or send email to interested parties

Audit Trail:

From: David Carlton <carlton@math.stanford.edu>
To: gdb-gnats@sources.redhat.com
Cc: drow@mvista.com
Subject: Re: c++/544: gdb.c++/annota2.exp: annotate-quit test sometimes fails
Date: 18 Dec 2002 14:41:20 -0800

 This test fails most of the time in Michael Chastain's test bed.  I've
 never seen it pass under i686-pc-linux-gnu/gcc-3.1/dwarf-2.
 
 
        http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=544

From: Michael Elizabeth Chastain <mec@shout.net>
To: carlton@math.stanford.edu, gdb@sources.redhat.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: c++/544: gdb.c++/annota2.exp: annotate-quit test sometimes fails
Date: Fri, 7 Feb 2003 09:39:57 -0600

 I ran annota2.exp 10 times with my usual testbed for a total of 380 test
 runs.  annotate-quit had 380 PASSes and 0 non-PASSes.  This is for gdb
 HEAD date '2003-02-06 19:11:07 UTC'.
 
 The last report had gdb HEAD date '2003-02-05 07:30:23 UTC' and it had
 5 PASS, 33 KFAIL for this test.  This has been typical for years.
 
 (By the way, those dates are exact arguments to "cvs -D '...' checkout".
 I used to do "cvs checkout" and record the date in an XML file.
 Now I look at my clock (which is NTP sync'ed), subtract a couple
 of minutes, and do "cvs -D '...'" on that date.  So the date should
 be exactly reproducible for stuff like "cvs diff -D ... -D ...".
 Thanks to Andrew C for that tip).
 
 I diff'ed 2003-02-05 07:30:23 UTC and 2003-02-06 19:11:07 UTC.  The only
 patch of interest is the big Ingham/Seitz/Zannoni/Cagney interpreter
 change.  Fred Fish checked in a precedence fix to infttrace.c but the
 only effect of that fix is to change some gdb debugging messages.
 
 The cool part is that we will leave all the code in gdb.c++/annota2.exp
 exactly the same, so that we will get KFAIL's again if the bug comes
 back, and the KFAIL's will point to the PR, and the PR has this thread
 in the audit trail.  We can edit the comments in annota2.exp to reflect
 our new knowledge.
 
 I would like to put the PR into 'feedback' state for 30 days, and then
 close it.
 
 Michael C
State-Changed-From-To: open->feedback
State-Changed-By: chastain
State-Changed-When: Fri Feb  7 19:13:45 2003
State-Changed-Why:
    David C reports that this no longer happens in gdb HEAD as of 2003-02-06.
    
    Daniel J says that the test is working for him too.
    
    Michael C says "me too": the bug stopped happening between 2003-02-05 07:30:23 UTC and 2003-02-06 19:06:03 UTC
    
    It likely got fixed by the big interpreter merge.
    
    I intend to leave this bug in 'feedback' for 30 days and then close it.
State-Changed-From-To: feedback->open
State-Changed-By: chastain
State-Changed-When: Thu Feb 13 01:33:37 2003
State-Changed-Why:
    Broken again as of 2003-02-12 20:00:55 UTC.

From: Michael Elizabeth Chastain <mec@shout.net>
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: c++/544: gdb.c++/annota2.exp: annotate-quit test sometimes fails
Date: Wed, 12 Feb 2003 19:29:23 -0600

 I ran annota2.exp 1000 times with gcc v2 and v3, dwarf-2 and stabs+.
 
     $ cat r-*/*/*/gdb.sum | grep annotate-quit | sort | uniq -c
     997 KFAIL: gdb.c++/annota2.exp: annotate-quit (PRMS: gdb/544)
       3 PASS: gdb.c++/annota2.exp: annotate-quit
 
 This is with 'cvs -D 2003-02-12 20:00:55 UTC'.
 This is on an idle system.
 
 The patch that fixed ^Z broke annotate-quit.  Argh.
 
 Michael C
Responsible-Changed-From-To: unassigned->drow
Responsible-Changed-By: drow
Responsible-Changed-When: Fri Mar 21 21:47:53 2008
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->closed
State-Changed-By: drow
State-Changed-When: Fri Mar 21 21:47:53 2008
State-Changed-Why:
    Jan K. figured out the problem and suggested a solution.