From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR06-VI1-obe.outbound.protection.outlook.com (mail-vi1eur06olkn2092.outbound.protection.outlook.com [40.92.17.92]) by sourceware.org (Postfix) with ESMTPS id A7376396E42E for ; Mon, 19 Jul 2021 19:05:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A7376396E42E 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=lM/nn3Rk0SrnOeIMDONCEr8lKu6gszRg30FHsk7j95kvP2Bn+pzNheX9jhW0k7lEbyhqHiDJXbtIP5NVGoto4R+Ie5MHdBExo482b/xs8zOvTw0qQ4If9uSyQgLeJTnjUbaMKPrceFqaGiG0SHVAjqrpexRSw4/G5vjj6sWKfwjLw4eHmNvLGNX4yu03O065zxN7pr6W3zxFmbY3NHjk2jzc4b1J0OV9fPmZZoufkKA29I5wFZal9qXVwErR28OqKMr7CjEvovK00CRP7KpFBoL/NA8UlaHpCKrsTDQgAPLFpM6IJwtp7ymRG0NoxGMCLaarDul8Yu/pcfTx733DJA== 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=qYOz+zteIcXsOWXjPogLQ7rhTOb4LSYh9now7PHc1Vg=; b=VIXqBLrX1j+iEdpZPRTcYV53wLI1JamXPbx3wYsI6XPWS3rwkqYGQVAiDWARTEvcn+qz4rkURX/nbllLQX6ctykkIn9d12JulllkKV6R6SMx/TXsYel7wpZ741pinge6G+WWq2gs9SMQCxHvcf/ZUQi/1F10kg9n2uhZAHpLmLQlCTq6iNscUO+3DuR1+v5r7S2r+X+PUnKgpJ6WnqE1P1b2cbVnePEPKd93xRFCPnsaqdaCLl73U2CTBobghbPWdG/2ZCNCwWaDB3TPhUEnvwjQq4K8lf7+3jSe5QIs9/uyeoiuGB7vmL2AnRZ2bRg+EUhjYjM+hmugyGH5bi4CAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DB8EUR06FT052.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::4a) by DB8EUR06HT059.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::347) 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 19:05:16 +0000 Received: from AM8PR10MB4708.EURPRD10.PROD.OUTLOOK.COM (2a01:111:e400:fc35::44) by DB8EUR06FT052.mail.protection.outlook.com (2a01:111:e400:fc35::482) 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 19:05:16 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:CACE70F42671FC2B9D41580C7CBD4F73986B3CF611B7D58A0B796DE200BBC174; UpperCasedChecksum:A297D762EE27696560308613ABCB43877829C3B31D74AC7FE119DDE49FD9054D; SizeAsReceived:9075; 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 19:05:16 +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 21:05:14 +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: [tbkLrF6H07IkmSe3r3WjAlQByF3dba2i] X-ClientProxiedBy: PR0P264CA0204.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1f::24) 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 PR0P264CA0204.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1f::24) 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 19:05:15 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 5ca7b402-234a-4800-511f-08d94ae824b1 X-MS-TrafficTypeDiagnostic: DB8EUR06HT059: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b1H2qQOFQalqmJ3q+iaWQW2iBa8+y55EY+j/4Ij+WADACrBJzRjHX47698j4FyievmOpqmtHgb6ACg28eR2Gs8/21tqoQPCkkYkqxGyernzNge6iZG/iLObnQuyYYtxQ3y3XYnqPmvPg4GdoauFnvX+X2LQfNU8+nkfrBAiRJIWvpl7YAnOLwbaJdFhHgpoEftJh4Js8Ewdkk+G5o65yOVDN0aQkrhzRBjyEt25T4zpVWI3VWiolcZuwPqPPnmiZWzMcYMJzJv7oh3xjbVb3Ja0w3linIgMxGbx9Etf9FEKKtwbtqBbRq7nyoFtodJnuIjeaj22rexUUQhkhNWeAtNOkAQajRZ5khGXi3vh6yXhDnFVHSYgHyw/wyPPODBhPz5OG1YBhaVy5THu2A9RGVCMv024SPiEhj3LgZA8v0B8Y98PGkMr0j5K6+MP2NpMM X-MS-Exchange-AntiSpam-MessageData: gi7Qsq98MG02Wa23rIXEuBsNPpFZtz/9uyDaxuc7CMZ04wVDFiKTvc7hJTJjh2NY4fL2UZni8vyvbTr9R1bxAvoPR4ZPeZ872QWg3rtExi6rsr5dpTkwKggmm1l2NSXHDYFAqCp+ldvsqH1LmCoP0w== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ca7b402-234a-4800-511f-08d94ae824b1 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 19:05:16.1190 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT052.eop-eur06.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: DB8EUR06HT059 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 19:05:19 -0000 On 7/19/21 8:53 PM, Simon Marchi wrote: >> 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. > Hmm, I see the same effect with expect 5.45-5ubuntu1 tcl 8.6.0+6ubuntu3 dejagnu 1.5-3ubuntu1 and expect 5.45.4-2build1 tcl 8.6.9+1 dejagnu 1.6.2-1 not sure what I made wrong, does anybody else have similar issues? Bernd.