From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0GtTIGLL9WBWQQAAWB0awg (envelope-from ) for ; Mon, 19 Jul 2021 14:58:42 -0400 Received: by simark.ca (Postfix, from userid 112) id 7EE8D1EDF2; Mon, 19 Jul 2021 14:58:42 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C734C1E54D for ; Mon, 19 Jul 2021 14:58:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7FFCD396E03F for ; Mon, 19 Jul 2021 18:58:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FFCD396E03F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1626721121; bh=3y+4910yHkiK6NYokj2Y3lvgoxrAgplCmLnvOevKUmA=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=kQR3aXx9AFKlXhP8dhuRjn7kTX4sWgleiRgtQAboau08JLl/o0ZlTw4yWZhI5Bckn DHCaveIg5ccQ8UdbRAw6rF0xSz7Z0RxR6GFUg1h2esZ55q3gnqFLCn9OXzMbprDUjW S6/A9kEd5DkK9qnK0AhZcmXqBiXhmeODMrHnqEiw= Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 1BD4E385482F for ; Mon, 19 Jul 2021 18:53:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1BD4E385482F Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 16JIrHXa019713 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Jul 2021 14:53:22 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 16JIrHXa019713 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 879F41E54D; Mon, 19 Jul 2021 14:53:17 -0400 (EDT) Subject: Re: [PATCH] gdb/testsuite: capture GDB tty name in default_gdb_spawn To: Bernd Edlinger , Tom Tromey , Simon Marchi via Gdb-patches References: <20210608212126.1673188-1-simon.marchi@polymtl.ca> <874ke7jcrv.fsf@tromey.com> <269336aa-5500-c03e-9e00-81279c24e5be@polymtl.ca> <87a6nxinjj.fsf@tromey.com> Message-ID: Date: Mon, 19 Jul 2021 14:53:17 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Mon, 19 Jul 2021 18:53:17 +0000 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > every time I do "make check-gdb" since this patch, > I see a SIGSEGV in /usr/bin/expect at the end: > > The symptoms are: > > === gdb Summary === > > # of expected passes 80145 > # of unexpected failures 867 > # of expected failures 72 > # of unknown successes 3 > # of known failures 121 > # of unresolved testcases 5 > # of untested testcases 41 > # of unsupported tests 257 > # of duplicate test names 100 > /home/ed/gnu/gdb-build-2/gdb/testsuite/../../gdb/gdb version 11.0.50.20210610-git -nw -nx -data-directory /home/ed/gnu/gdb-build-2/gdb/testsuite/../data-directory -iex "set height 0" -iex "set width 0" > > /bin/bash: line 1: 8471 Segmentation fault (core dumped) runtest --status > make[3]: *** [check-single] Error 139 > make[3]: Leaving directory `/home/ed/gnu/gdb-build-2/gdb/testsuite' > make[2]: *** [check] Error 2 > make[2]: Leaving directory `/home/ed/gnu/gdb-build-2/gdb/testsuite' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/home/ed/gnu/gdb-build-2/gdb' > make: *** [check-gdb] Error 2 > > > the crash is always: > > "expect -- /usr/share/dejagnu/runtest.exp --status" > > crashed with SIGSEGV in Tcl_GetChannelName() > > Do you have any idea what is wrong here, and how to fix it? I don't know, probably an Expect bug? Does it happen when running any test or when running a specific test? What version do you have? For reference, I have: - expect 5.45.4 - tcl 8.6.11 - dejagnu 1.6.2 And I don't see that. Simon