public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Yao Qi <qiyaoltc@gmail.com>, Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: one week to go until GDB 7.11 branch creation...
Date: Thu, 21 Jan 2016 15:22:00 -0000	[thread overview]
Message-ID: <56A0F798.5050608@redhat.com> (raw)
In-Reply-To: <8637trrmss.fsf@gmail.com>

On 01/21/2016 03:10 PM, Yao Qi wrote:
>>> >>  - A fail in gdb.threads/interrupted-hand-call.exp
>>> >> 
>>> >>   $ make check
>>> >> RUNTESTFLAGS='--target_board=remote-gdbserver-on-localhost
>>> >> interrupted-hand-call.exp'
>>> >> 
>>> >>   (gdb) PASS: gdb.threads/interrupted-hand-call.exp: dummy frame popped
>>> >>   continue^M
>>> >>   Continuing.^M
>>> >>   FAIL: gdb.threads/interrupted-hand-call.exp: continue until exit (timeout)
>>> >>   Remote debugging from host 127.0.0.1^M
>>> >>   ptrace(regsets_fetch_inferior_registers) PID=9710: No such process^M
>>> >>   ptrace(regsets_fetch_inferior_registers) PID=9710: No such process^
>>> >> 
>>> >>   I suspect it is about a GDB PR about disappeared inferior, but I can't
>>> >>   find the PR in bugzilla.  I'll look into it.
>> >
>> > A little confusing, at the very least, but if the program did terminate,
>> > I would say this issue is not blocking for the release. WDYT?
> I am afraid not, the program didn't terminate, at least there is one
> thread, as far as I can tell.  Again, nothing useful to say here without
> further analysis.  PR 19508 is opened to track it.

Several tests have this racy issue with gdbserver.  It'll usually manifest when
running the main thread to exit while there are still other threads running.
Notice how the test program doesn't gracefully terminate/join all threads
before exiting.  So gdb/gdbserver are processing something for one thread,
and meanwhile the process exits.  This is really the same as PR 18749.

Thanks,
Pedro Alves

  reply	other threads:[~2016-01-21 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18  3:44 Joel Brobecker
2016-01-20 16:32 ` Yao Qi
2016-01-21 10:05   ` Joel Brobecker
2016-01-21 15:10     ` Yao Qi
2016-01-21 15:22       ` Pedro Alves [this message]
2016-01-21 15:24         ` Pedro Alves

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=56A0F798.5050608@redhat.com \
    --to=palves@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.com \
    /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).