public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "simark at simark dot ca" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/29729] New: Intermittent failure in gdb.threads/step-N-all-progress.exp
Date: Fri, 28 Oct 2022 01:51:48 +0000	[thread overview]
Message-ID: <bug-29729-4717@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=29729

            Bug ID: 29729
           Summary: Intermittent failure in
                    gdb.threads/step-N-all-progress.exp
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: simark at simark dot ca
  Target Milestone: ---

I get this kind of failures on my CI:

(gdb) PASS: gdb.threads/step-N-all-progress.exp: non-stop=on:
target-non-stop=on: continue to breakpoint: break here
next 3^M
[New Thread 0x7ffff7d88640 (LWP 1327129)]^M
50        return 0;^M
(gdb) [Thread 0x7ffff7d88640 (LWP 1327129) exited]^M
FAIL: gdb.threads/step-N-all-progress.exp: non-stop=on: target-non-stop=on:
next 3 (timeout)

The timeout failure appears to be because the "thread exited" notification was
consumed at the same time of the prompt.  Off-hand, it seems plausible that in
non-stop=on, the event for the non-main thread exit is processed after the
event for the main thread breakpoint hit.  I don't see any way to force it to
go in the "right" order, so I think we'll have to adjust the test to accept
this output.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

                 reply	other threads:[~2022-10-28  1:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29729-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).