From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 11:08:58 +0800 Message-ID: <874jxzu2et.fsf@yahoo.com> References: <87tu624d64.fsf@yahoo.com> <87pmgnu812.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39251"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 57364@debbugs.gnu.org To: =?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 26 05:10:12 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 1oRPjX-000A7n-R9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Aug 2022 05:10:11 +0200 Original-Received: from localhost ([::1]:57490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRPjW-0003z5-ON for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Aug 2022 23:10:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRPjO-0003yR-LU for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 23:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRPjO-0005OG-CF for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 23:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRPjO-0004i5-0g for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 23:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Aug 2022 03:10:01 +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.166148335818044 (code B ref 57364); Fri, 26 Aug 2022 03:10:01 +0000 Original-Received: (at 57364) by debbugs.gnu.org; 26 Aug 2022 03:09:18 +0000 Original-Received: from localhost ([127.0.0.1]:51700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRPif-0004gy-W8 for submit@debbugs.gnu.org; Thu, 25 Aug 2022 23:09:18 -0400 Original-Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]:35545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRPib-0004gg-GN for 57364@debbugs.gnu.org; Thu, 25 Aug 2022 23:09:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661483346; bh=qDlWSUfWEKYhEudA2oJykuAaxRjK2Odbo+J/N5OjQCc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=YlKcRDi67vU9tgsmhSB8WxWafZq6w0kknNfawkcI8kHRlbZqdobkA7SFjO9yL3lLrXjgcM3NPBGI8jABWfJxuPqLFz7r1/ZzMQPCwhBrfFSLgqMQ4LuD2TuS8wiMaoYVano4ZwW3ENRgvHMckBaS0WoZR8+baCISs5nGexY7aj55ghUAhvgvkRwBeTcC5wjDSWz6o2LkjuPcrq561dFUWXPUEq4wt+WAiL7tzApnCipO49eNSs3WsM4lfcUc8NPqQhBSWQwguoJmUeE2P9xleeAzoracdbyKJPJOkB5Jn7FP79akn/VlINuVlqipXhwZJ4aScWmbQ48zcoSs8zpEGw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661483346; bh=t++pyWoOpsUTb9hmWVbjwfjGeJmume4fdYeR831KU4E=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=mtLi6/XSCMESBUN3HstqsVfA5Zhhiioswk3XzOWmGH7yPdDq2us0I2hg9AtN6u00rkzxwfQcDlXU/ES7K/8S2KPaah6V2aiS3EJqHNbTE81gvyK957XE973DHNWrXFyq1WigjHbm/tdTtqP3WDeE+G1I8eAkbkGFdY+8tmQmpYbbzhn155exhYnB2O3AuEk+UfKZboLjEjTpuKLevbnMZZRkXshu2l2/JtPmIiXFpf77FprY56fyPkEpHRXKlWcgxGaAReluVs7uWl/ow8+wTjELKXpdoYhybb+0usKM+ZNVPSmfxKIBEZs/RuWhkajJul6t0YoKJioSYvhIluGe0w== X-YMail-OSG: Li2TYmgVM1ndt.ex5exoCKImgoh.UnqSY2dY6v3IKnUvNWdX0mNcs00Fn2czr2U oDZk04ISTzVMrOkUU.s0BeikM.V5fVN7DyCkzy1fhwOM7VDWYK_.YNRxPNYHZ27SF7D.a.A8ZIFX TqwL3MfFVO8nyjojJKqxTpVTysLH.9wB1SomOprq8CKc_ED.A4Jqs1GhSJjEt2GG5XnMJXwNR5YM mtDRu_oHLb4rxMXy0zL3HoBguwrc0RHeYd8OGBJmSnHG3ZN._woq21.9aCtXbosX6FDvTcJ92LNg nJESQB6Bc1k7IPMRqoCwuJXUw97rF3yUKHfohGLnAZDVEnhmvvi7MQH_A.TQGGUgoT7eatKYg8.8 1DWZPaxyhV3wyuSMB2nT18sW8b_SXChoOVKMgWKQG0Fh93beuoAEsWlG.Cj_NS.zq61N925u9GsM evXsIJHODIQOpZCABg_l3E3WnedPKiRDIYk1l4KHKIUeOgVJuQ2FT12ohqb1W3SrPJyn8tLIG9az GF6.1aEjMUpHnjHwoMz_uNAYjGlwFzbs3l0DEKaR4O4Q2oiK6DSNXKdgsQsNnvd6MLpafXXMsYWG 2XDN0nLI2h9k2Ut3P_.XcN_LUGdyo1mBrTgkI2xiCgSv70DtL2WHxDpBNW0m3BLduko5xpOUaZHZ v23gzje6_36h3.vD2lNI_CUL3e_SZFyK90MoMCkDo2SjtgC3AtA1_rYBOQQIfc4jxP8sfSKhR1T9 GyJKOoPJDOK7cQdJPKWgPLYxE7x0X9XfvLLjN1XVEFW1U36RBlAMcc0IFOLswCAE8qpJ3_nJTO7J IQFo_U_GbBdwCRRDjYBoUiK3IFdl.LYOi3ttocdIeo X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Fri, 26 Aug 2022 03:09:06 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-fnk8z (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 817f056d40530bb3c8fc9033a3c463f0; Fri, 26 Aug 2022 03:09:03 +0000 (UTC) In-Reply-To: ("=?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?="'s message of "Fri, 26 Aug 2022 01:50:37 +0000") X-Mailer: WebService/1.1.20595 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:240763 Archived-At: andr=C3=A9s ram=C3=ADrez writes: > gdb -i=3Dmi --args ./emacs -Q -f toggle-debug-on-error --eval '(setq x-co= mmand-line-resources emacs.synchronous: true)' --fg-daemon Ah, that explains it. x-command-line-resources doesn't take effect if you run with "-Q", try "-q" instead. > And also take in account, that the error is not reproducible in this > condition.=20 I think I've seen this somewhere. Does the error still happen if you build "--without-cairo"? > 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? Functions can be called on the display being closed while handling async input from that display, or when performing cleanup tasks. Unless, of course, the display is down, but that is rarely the case when you manually call close-display-connection/delete-terminal.