Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <qiyaoltc@gmail.com>
To: Edjunior Machado <edjunior@gmail.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: ppc64* native-gdbserver testsuite hangs on gdb.threads/process-dies-while-handling-bp.exp
Date: Tue, 19 Dec 2017 16:27:00 -0000	[thread overview]
Message-ID: <CAH=s-PO2vN4Gahajo5rNfSeSWRJsAEf_5r3yz-2Yw5jsMrXVaw@mail.gmail.com> (raw)
In-Reply-To: <CAJJrRvag0nc6_HAWrPAkGZQ9eD4RFqiTUz=10Zgf97byWEdeWg@mail.gmail.com>

On Tue, Dec 19, 2017 at 9:17 AM, Edjunior Machado <edjunior@gmail.com> wrote:
> from the discussions that followed
> https://sourceware.org/ml/gdb-patches/2017-12/msg00374.html, regarding
> buildings that were taking much longer than the expected, noticed that
> gdb.threads/process-dies-while-handling-bp.exp is hanging on ppc64[le] when
> testing native-gdbserver, leading the testrun to take hours until it is
> timed out. According to git bisect, it seems it started to happen after
> this commit:
>
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=173981
>
> However, I couldn't figure out what exactly might be root cause of this
> behavior. Also, the same doesn't happen on default (non-gdbserver)
> testsuite run. Any idea/suggestion?
>

It is a known issue in GDB, described in PR 18749, rather than a
regression, so git bisect can't tell you anything useful.  Pedro fixed
one GDBserver crash caused by 18749, but PR 18749 is still
there.

I can reproduce the timeout on gcc110,

KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on:
cond_bp_target=0: inferior 1 exited (timeout) (PRMS: gdb/18749)
Remote debugging from host 127.0.0.1^M
gdbserver: reading register 10: No such process^M
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Killing process(es): 15614^M
monitor exit^M
Ignoring packet error, continuing...

I think some code path in GDBserver doesn't expect this error.

-- 
Yao (齐尧)


  reply	other threads:[~2017-12-19 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19  9:17 Edjunior Machado
2017-12-19 16:27 ` Yao Qi [this message]
2017-12-19 17:51   ` Yao Qi
2017-12-20 15:24     ` Edjunior Machado
2017-12-20 16:23       ` Yao Qi
2017-12-20 21:35         ` Yao Qi
2017-12-21 16:02           ` Edjunior Machado
2018-01-16  9:12     ` Yao Qi

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='CAH=s-PO2vN4Gahajo5rNfSeSWRJsAEf_5r3yz-2Yw5jsMrXVaw@mail.gmail.com' \
    --to=qiyaoltc@gmail.com \
    --cc=edjunior@gmail.com \
    --cc=gdb-patches@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