From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074044.outbound.protection.outlook.com [40.92.74.44]) by sourceware.org (Postfix) with ESMTPS id F0FE7384F012 for ; Mon, 19 Jul 2021 18:36:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F0FE7384F012 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=hotmail.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hotmail.de ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mqLZ3Vfatwirk9YxvH3JvemnnQvLZhJJlWfKPjS7szL1xFEzSYRP2CjN6pEmVFVeP0wDCY8M0KlffEzYeOAZ0xzY7Esarjipn0Lspz6ICryk6r2MaUjnJ0oW88RXZrzMuEqhQZYfx9DCTxZTaQY7fLiGoYcfrkFExWEB7mX2AIzCmdNTSctAgUnN1oINBH5GGIWj3wfpsGJnsYH4m8F42XY116iHKAzn29Vn6uS22pcPxMAoa2LgSPEPbYUQzTTIb7pjU8uTk93xorHolIrUE6gXPw9L45MeViS6NDf4wmobAldI+6JdpupvS8tob/WdLhbQrIR/3RXUmXTdS7QpvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dVarbQw6s/F+XMdkXorNNynjdkNoX94wWd0iVwMVCR4=; b=cR0Z9uSpVWGUEHICPc0z7k76jT2pO8dACDBLiTgDIraZeT8Wuv6pkelFtyPEYNBNFxao8GpykwjPiH1coFL7ahj5b8yyi9eSawUHg593m147UsWhOIdPZOwKpej7zqGQDwiBTX358wWIgfKkxdXUKMiYG7iIfFE4LCqlhRSH8VBGcF973b+08GUz/jHQSxl/LHlJJlG7w3JqAfk7YyLdatEsDAbNBwXg4jM2bzGOVQegDNB20PmY0OPgH4sDjXL6jOTDwHQQHtS4gxI/eUcv/2lEnaDCqryowMCp736K5eoCELz3tbo2bmYzoQSGKE8CMwv9rLyNSdsveiz9WDj53w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from HE1EUR04FT048.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::49) by HE1EUR04HT153.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::379) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Mon, 19 Jul 2021 18:36:08 +0000 Received: from AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM (2a01:111:e400:7e0d::4a) by HE1EUR04FT048.mail.protection.outlook.com (2a01:111:e400:7e0d::64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 18:36:08 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:C1DA451FFCBEC718D08B0A3A9759AD9CF5B06AA640AEE375E9B55F60D3F4B194; UpperCasedChecksum:BC87FB84A569229464DFF38D50F9B7614F9091E23558C81C760271E57650FFFD; SizeAsReceived:8939; Count:47 Received: from AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM ([fe80::3d30:d151:570a:8a16]) by AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM ([fe80::3d30:d151:570a:8a16%7]) with mapi id 15.20.4331.032; Mon, 19 Jul 2021 18:36:08 +0000 Subject: Re: [PATCH] gdb/testsuite: capture GDB tty name in default_gdb_spawn To: Simon Marchi , 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> From: Bernd Edlinger Message-ID: Date: Mon, 19 Jul 2021 20:36:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TMN: [Q4rM0BEq93xiwAPhYdi/4+knllHNGVFl] X-ClientProxiedBy: FR3P281CA0043.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::15) To AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:364::23) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.101] (88.76.118.196) by FR3P281CA0043.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.13 via Frontend Transport; Mon, 19 Jul 2021 18:36:07 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d0936b53-676d-43b8-80fa-08d94ae412e9 X-MS-TrafficTypeDiagnostic: HE1EUR04HT153: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qG1yZ61D/Y1sG/WS5PlPBX7qNAqjyk3t4IoFYtbKkxwl5WZbsHssnZLioo/bmUxtjdDiyHXE+oOJGmnK05Dn6N52xGZz9mFf+brtL5jCz+/RZhiFyI6XactjFbFQbR9ZVrZPcSTtrpm+GaoGGyUFNT8gebiSYnEjZ/PkW/qJnLFknCNABxX++8Ifdjxz5jB7tkNeYwtRsSrE/avG+hdXNdpsEsMW47CgJOcbkA6nlS2OLVh8+PAoZgm9TgFyEwOGEFdv+I2r8dwfV/BOOV9o79rutybTrFkKuZB/ZgZxTeNEHF31Ze19nEmI/w5klkUtVkxfwS/6dVm/giF4P22vcRPTvaI5fsYnt8fI3Weqee8ycuxkSFuQvJBxV1LSns6CNMb67KzpKCdiMw8lRCfOni3tM3iFXl5v6BR856ZFOOfpB4txx0QFTxk9NtkXR5GW X-MS-Exchange-AntiSpam-MessageData: Mz+5fDqh8xdBcd+tHo0ITb3XGnC/l44rP4LX2icuiMHIGGfrbw0HuDC7HfG9MWlRDriLf8ixLrCKJnU/J8zc5sbiO9AI7npAWkn9BmVKoY/LqKyB+EHh5QawVJPBFTmtJvp5pBazvxft0urVpFg6GA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0936b53-676d-43b8-80fa-08d94ae412e9 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 18:36:08.4447 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT048.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT153 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, FORGED_MUA_MOZILLA, FREEMAIL_FROM, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Mon, 19 Jul 2021 18:36:13 -0000 On 6/10/21 8:32 PM, Simon Marchi via Gdb-patches wrote: > > > On 2021-06-10 2:26 p.m., Tom Tromey wrote: >> Simon> Here's the version that overrides all the time. >> >> Looks good. Thank you for doing this. >> >> Tom >> > > Thanks, pushed. > > Simon > Hi, 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? Bernd.