From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?= Newsgroups: gmane.emacs.bugs Subject: bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY Date: Fri, 26 Aug 2022 03:43:41 +0000 Organization: bien.comun.org Message-ID: References: <87tu624d64.fsf@yahoo.com> <87pmgnu812.fsf@yahoo.com> <874jxzu2et.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31903"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57364@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 26 05:44:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRQGP-0008Bc-M5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Aug 2022 05:44:10 +0200 Original-Received: from localhost ([::1]:51898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRQGO-0000pj-Pf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Aug 2022 23:44:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRQGJ-0000pV-4t for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 23:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRQGI-0002Ht-S8 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 23:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRQGI-0005X9-EI for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 23:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Aug 2022 03:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57364 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57364-submit@debbugs.gnu.org id=B57364.166148543721251 (code B ref 57364); Fri, 26 Aug 2022 03:44:02 +0000 Original-Received: (at 57364) by debbugs.gnu.org; 26 Aug 2022 03:43:57 +0000 Original-Received: from localhost ([127.0.0.1]:51721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRQGD-0005Wh-Hj for submit@debbugs.gnu.org; Thu, 25 Aug 2022 23:43:57 -0400 Original-Received: from mail-dm6nam11olkn2094.outbound.protection.outlook.com ([40.92.19.94]:62432 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRQGB-0005WU-De for 57364@debbugs.gnu.org; Thu, 25 Aug 2022 23:43:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ke2VSq+tNOtu03ud4BSasX0Vzr8y5PWegsfkgo4Yuve4fhqUtL2OFU3CatqagnKiGeuYnbF5jHNCPjYJYxR582Wx/mVrHxv2rn8lcj50c4vt6xwfTKQApGaqIZIlrr82tvog50rKq6Q7jWQTyIMCq4v7+Dzr/lMyEkrGmOvf4MDZzq2jzdNboy4Fq8C54uT7PlXf4qL0KAqfDW1KRycctaJ7BOGVSzQCtw78uQylo2/nkb5KkW2dDKZqYJMKNcezcrWF8USUvOQ6w6bsWcr6Rl+q4eY++fZL/By2dBLQgazmNgX3UtxeTQvT4HoaAO8PzdPeKfl06gscPlk1D558zQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QrR879c3crkcJfSfcodG7aNLXAutrYSVGbwZzE3Q3s4=; b=TL3IrsYr/U81jfPYh+hqbQ7SKGWePZLzEpTjFp8DaBSE2fbBrBHdfX8LV1X2SuSg/X24FeNltzGhAT03b8JOWtt/22PuoYlmemXJhCPpEW0YfEFaO2A6u1o9IcR864hqmJKewKMLkzZIKuMM5epmzFM7KOUDtvYiB3aGP5B5MxPjQhIZpxa9VAOsATsbgRp1mLDMR7zJXMOLIThzieNDASW6P7gsKob/9663XvfWcBo5EESShDKI2bJpOU/cMkcsZ5UoUNUBEe1VNUGzIYxUhO4W/Kf6tU4WReLMD8D8PzFIR3dsMTNbzMgzQJqf9I6ttHHl0EenbG0/JXCAYmbtxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QrR879c3crkcJfSfcodG7aNLXAutrYSVGbwZzE3Q3s4=; b=htF9WP5vUrWJxiEB+mZUtt0hGDTiipyUel8upF57xm6tXXn6pkRFp4XpDDR7BIEL8Za0T17RLabt+DxzhUnCeXMWUy45V8KyFDGBlCnckjIqd4FVQAQKgcifyJ3ei5yzHRqTrYI9MdMS1/l8JIZm/agECFPAWiAG2Sz1NKHq4uhicgfVm1xOZhYaFrlrk88PcqZFQSjGZKk+yvjhjcYMBZNk3yETO00nPilK2eV9o4ElSaPVz2/i4XWbyELc2G1ecZXnny55yn8Jzs6BbU0TimGv3W8QTUisNBS8D191VioKsXGMcUeOek50i2uNUu0XXcBCxq8DeJ3gDynYXXsHFQ== Original-Received: from SJ1PR12MB6363.namprd12.prod.outlook.com (2603:10b6:a03:453::9) by SA0PR12MB7074.namprd12.prod.outlook.com (2603:10b6:806:2d5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.14; Fri, 26 Aug 2022 03:43:49 +0000 Original-Received: from SJ1PR12MB6363.namprd12.prod.outlook.com ([fe80::21f6:c272:eae0:bf6]) by SJ1PR12MB6363.namprd12.prod.outlook.com ([fe80::21f6:c272:eae0:bf6%8]) with mapi id 15.20.5504.028; Fri, 26 Aug 2022 03:43:49 +0000 In-Reply-To: <874jxzu2et.fsf@yahoo.com> X-Attribution: INKA X-TMN: [SVxnJpNFZMp6NcKb3xMw4FaWlt6cIU9h] X-ClientProxiedBy: SC1PR80CA0037.lamprd80.prod.outlook.com (2603:10d6:4:56::12) To SJ1PR12MB6363.namprd12.prod.outlook.com (2603:10b6:a03:453::9) X-Microsoft-Original-Message-ID: <86a67r655e.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0b5447e2-8393-41f8-909f-08da87152f70 X-MS-TrafficTypeDiagnostic: SA0PR12MB7074:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: REdB52cIrHLBNYfe3ZS/OHkIzg0QV7mfvZ/oe1OcHFATqfM9/WvveUVnb0Vw0CAN5UmmgBES4qT/LRleqzOENb5aWkP9hGXTL2SreuLMH2mad/kxWb++AJCGLQy+iyyS2ZtQ/O6SSeCWhpw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s9onAw0oG+qj+hIkQShfxPelSD5tVf56/E4GUQ9uBxizBaFWGvebLZW7ksngm4elotNH3JgnVlqDV402BHm2exM+nT9uIrgOW4NjeR8XUbhsAEmlasWF1KKedBIZh+M/lp/AAe4NHKMffaqHcCkFH/Q5qXx7BtJvbGE55pWJMRnSY6/HZ1PTMZlLBClcZL4fAWbiMMiKBMk6la9HxVFfpfZ9xBVrOVIWWD7GAcSeNpXNljh8acI4Vwu1ycONzoxTFRJXny5o73pknyImAfiQQkqW7zsIf5xdhZ1LXI 5dfib/WQPZPRzWeDS8MDWedmWlq0ZE7svYiQfOI2Qm/12BGegcOiju2BSqAKY33jfeTwuhVZTKbXyq63eCWVTnCsPziYSqev6B X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-71ea3.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 0b5447e2-8393-41f8-909f-08da87152f70 X-MS-Exchange-CrossTenant-AuthSource: SJ1PR12MB6363.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2022 03:43:49.0846 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB7074 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240765 Archived-At: Hi. Po. >>>>> "Po" == Po Lu writes: [...] Po> Ah, that explains it. x-command-line-resources doesn't take effect if you run with "-Q", Po> try "-q" instead. As tested before. after s/Q/q the error does NOT show. >> And also take in account, that the error is not reproducible in this condition. Po> I think I've seen this somewhere. Does the error still happen if you build Po> "--without-cairo"? It does NOT happen If You use --without-cairo. Perhaps this could be a workaround for my case. But I still think We should try to find the offending line. WDYT? >> I have had a question on my mind? Inspecting the last backtrace I have published on this bug >> report. >> >> I see the error is recovered in a call on the function x_frame_highlight (within the call to >> x_catch_error). Why If I am calling close-display-connection. Some functions need to be >> called? Po> Functions can be called on the display being closed while handling async input from that Po> display, or when performing cleanup tasks. Unless, of course, the display is down, but that Po> is rarely the case when you manually call close-display-connection/delete-terminal. for cleanup tasks it's ok. But for x_frame_highlight. I am getting rid of all the X-frames on this display. Is there a way of avoiding calling that function in case of close-display-connections. Best Regards