From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94293 invoked by alias); 27 Jun 2018 18:39:53 -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 94278 invoked by uid 89); 27 Jun 2018 18:39:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Jun 2018 18:39:51 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 72AA5356C1 for ; Wed, 27 Jun 2018 18:39:50 +0000 (UTC) Received: from theo.uglyboxes.com (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 80A39BAAE; Wed, 27 Jun 2018 18:39:47 +0000 (UTC) Subject: Re: Possible regression on gdb.multi/multi-arch-exec.exp (was: Re: [PATCH] Use thread_info and inferior pointers more throughout) To: Sergio Durigan Junior , Pedro Alves Cc: gdb-patches@sourceware.org References: <20180607180704.3991-1-palves@redhat.com> <87in649jtd.fsf@redhat.com> From: Keith Seitz Message-ID: <670b9da0-762a-2ad4-80bc-012a279b29e9@redhat.com> Date: Wed, 27 Jun 2018 18:39:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <87in649jtd.fsf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00662.txt.bz2 On 06/27/2018 11:16 AM, Sergio Durigan Junior wrote: > ../../binutils-gdb/gdb/target.c:3200: internal-error: gdbarch* default_thread_architecture(target_ops*, ptid_t): Assertion `inf != NULL' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n) FAIL: gdb.multi/multi-arch-exec.exp: first_arch=1: selected_thread=1: follow_exec_mode=new: continue across exec that changes architecture (GDB internal error) > FWIW, I see this on HEAD on my F26 box in the test suite: $ make check TESTS="gdb.multi/multi-arch-exec.exp gdb.base/foll-exec-mode.exp" [snip] FAIL: gdb.multi/multi-arch-exec.exp: first_arch=1: selected_thread=1: follow_exec_mode=new: continue across exec that changes architecture (GDB internal error) ERROR: : spawn id exp10 not open while executing "expect { -i exp10 -timeout 10 -re "Quit this debugging session\\? \\(y or n\\) $" { send_gdb "n\n" incr count } -re "Create a core..." ("uplevel" body line 1) invoked from within "uplevel $body" NONE : spawn id exp10 not open [snip] === gdb Summary === # of expected passes 35 # of unexpected failures 8 # of unresolved testcases 13 Unlike Sergio, I haven't looked into this at all. ;-) Keith