From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119714 invoked by alias); 19 Dec 2017 16:27:08 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 119000 invoked by uid 89); 19 Dec 2017 16:27:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=buildings, Hx-languages-length:1535 X-HELO: mail-qt0-f176.google.com Received: from mail-qt0-f176.google.com (HELO mail-qt0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Dec 2017 16:27:06 +0000 Received: by mail-qt0-f176.google.com with SMTP id g9so24847426qth.9 for ; Tue, 19 Dec 2017 08:27:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6+Uvm15XmWhQpYeZTOvmxaaRS2ZsfjoOqDzrClV6/Og=; b=N5rb9EBGrO2fL48iF/3jk8f/la5ps4yrcmUWTyLzXdXmTgJxwt48q6/si6kr7k6mWg Lu9w2EG866I3A19C02CO+UOPZ+rR10aWFRmg1Mvy1/Etc6uccQkKUkYMuVpyaIw96R1F y8eLvkwnhVCrJjZSYMkgEXmss1ux/2yYRaSFxwhKfPAPHHj8sezxz2mbTe9+4dwvYJla J9qWuW7QNpkYzQ3wAdYnM8pDE44AHh3ARutHDLAVMJYSFfT2Ke3MVh+1YOC5Tltcy9aW A5ELk57z7pkeon29Oc6BhlYurNhmXop4CP7JqImarILQlZPG8jMcFvay2Ng9G+R442r8 jUFA== X-Gm-Message-State: AKGB3mLqnS3+2J2ll7i/Q9pSpdhtbfR0Viz3SdQvQAtj7dDV3vHUSLhe hPptPAlH0HAelYgBSK0Q/piIstGRaUf97VD24mEvgg== X-Google-Smtp-Source: ACJfBovvkHqtzyQUxcRrnL3EfQZGKlwR2OdSsiecHBt6/7Qv7a7OPQ8ig9rso9GxKcmoYJJBNN49NZCzTeqpuwYldNc= X-Received: by 10.200.63.107 with SMTP id w40mr5647785qtk.24.1513700824829; Tue, 19 Dec 2017 08:27:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.132.161 with HTTP; Tue, 19 Dec 2017 08:27:04 -0800 (PST) In-Reply-To: References: From: Yao Qi Date: Tue, 19 Dec 2017 16:27:00 -0000 Message-ID: Subject: Re: ppc64* native-gdbserver testsuite hangs on gdb.threads/process-dies-while-handling-bp.exp To: Edjunior Machado Cc: GDB Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00431.txt.bz2 On Tue, Dec 19, 2017 at 9:17 AM, Edjunior Machado wrot= e: > 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] wh= en > 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=3Dbinutils-gdb.git;a=3Dcommit;h= =3D173981 > > 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=3Don: cond_bp_target=3D0: 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. --=20 Yao (=E9=BD=90=E5=B0=A7)