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#56528: 29.0.50; Emacs lucid segfaults when X dies Date: Thu, 14 Jul 2022 09:06:54 +0800 Message-ID: <87r12osdsh.fsf@yahoo.com> References: <877d4h1vl9.fsf@astatine.mail-host-address-is-not-set> <87ilo1uw9d.fsf@yahoo.com> <87sfn5l1c9.fsf@gmail.com> <87cze9urzv.fsf@yahoo.com> <877d4hi2lx.fsf@gmail.com> <831qupw3us.fsf@gnu.org> <87r12pgn80.fsf@gmail.com> <83zghdunq1.fsf@gnu.org> <87mtddgkp9.fsf@gmail.com> <83v8s1uecy.fsf@gnu.org> <871qup7wv5.fsf@gmail.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33585"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , 56528@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 03:08:13 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 1oBnKu-0008b7-Vh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 03:08:13 +0200 Original-Received: from localhost ([::1]:44966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBnKt-0008FT-JU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 21:08:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBnKk-0008FI-Hh for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 21:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBnKk-0003n0-8z for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 21:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBnKk-0006rH-44 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 21:08: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: Thu, 14 Jul 2022 01:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56528 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56528-submit@debbugs.gnu.org id=B56528.165776083426297 (code B ref 56528); Thu, 14 Jul 2022 01:08:02 +0000 Original-Received: (at 56528) by debbugs.gnu.org; 14 Jul 2022 01:07:14 +0000 Original-Received: from localhost ([127.0.0.1]:48024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBnJy-0006q5-5N for submit@debbugs.gnu.org; Wed, 13 Jul 2022 21:07:14 -0400 Original-Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:42599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBnJv-0006ps-0t for 56528@debbugs.gnu.org; Wed, 13 Jul 2022 21:07:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657760825; bh=3nUI9BwtkpODXqfHVXJsI+C2D0Zjk4b/NWff7+i5vXs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=El7zVVdLDf0U0pT4PrFczZaBbisOTeWdJryXx/cYNJQL5G2XvRb2LaIQQHfJZYG1qRWdJ/6wd07CmsrOFvPDvYEJgbTsLlO3CgXRNsE4uSWqvSJglCu66Tm1pjkf/56dziOGqajo/U4llJ7hmRlnxwWUDLHDOnF7hzhTeDFDYZTHTxolN5n3jumlbqcJiG5ThkhiFNEzxcrQizaTRNAk5dsBUwJxlegjegtz90dwQu+VldHIXM0zpqGBvAx3PVmNElbx3hbq8ERjvpHI5prhQlZ2givVIRUMfsKYLgI6VC9Gs3GkJRtYhrlasrPaVVsVC/2be04NfcyGKra0QKQOfA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657760825; bh=Nveygz7abIsItDl1SCqR1lKY/vMeb+aJO9h12nQLr+O=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=j5z3JwOoXLxwRT1Pdf+g/AQVB4nozTilq4p/K99OIGgtzVwLsAmS/8q9/zvhF+vFw/vJUq22meluq02I0QWCdfyW/Lk7V+Wkb8Bq/wjDPEjXMJmAsgoEPI5gYXk2yzc1IdEX2aH2xwHQG3dXXvTzDzu866Di3EZJuVXYm+XvTVMdpLSUUjgUkiQSP4TU7UVwYs3Z6tHKPf423Zbjbf0AZB4uCYjH9OEP+N8enPoCAcnYs0BszYZWRjVLNr1OS0JKmMcZpwisxdGwZn+2k2VzJDoFMwIA5nvjZlhb25kgLxd/Kx9B7it19GHp282cTyMDirjpgniqhfqo7rabllBqIA== X-YMail-OSG: Ge36B1QVM1mBtOBC3mc7MgeVUkniC9WBl3dvS3XAqCcfd19o_9SyWsRuX9E_O3N CjwTAEyjDQ3BuQg8a5il_aBiamCRaDOln6Fjx7XgSWcLJ9gy.f0j6j3d54UOBY9Dw8eSWrNv7A.4 N1potJlwGPIY3gTJNH6QTO.J0EUVbwBqnvNufl5uTL0JZhwqFI5IigUB1dgvqCG_5ZTwl3lCpb9w ZlRnm7LRp_RjI_KLjkkaJkq1eaDLIGqM5IepDk64iV9d7bdPpoMyD2U46KFYulvBjy.i3TrpizYf 3JvCJ9l_TKdNYkz.WN_rFCsscgkXeJdemm.z3eCZu78Lcqq6YiULUz0mJu8K_Dc2OfF88ewfLjWE YmdZAt66N6jsQ50w8W_8D_MwM0tzoyUnfV.q2p6JiimqiZPdd6HKBwZn6jVt2c2Bp_TFYMhkCnCk 8DTu.1A742NPJ6WfBThNKsxq4fVZdCKlfsc0LPDS70PdIKfONraOmZLXkPI7699MrdK373gOCS7h BHbEh9.gxI9rSpcnlDjFLq4fU8wipF05..qssigXXjIP5nOERKJ47hTYC3.dJJk7F5P1tbC_0kcv z.6cn3Px9joI7VpSrFGBBt6YFUCcY97FmENJx9xQyMD1.rYE1CDanepFCdLWPNND6utCMnedelvy GDz9jGOd_5pNR_9n2vpMCLkq_WlOevuH6kdS_AjhenyoItNDWoHQwqgQsqCkW8.1ZDat8nc3hZwL ccixIAAmTT3fa2w0IM8p8BFyWvo3_yjIbRN1uopig9ujnuNunry.oQHwYJts7ZJWvMu5oTqD8U6z 6qDypARX3z3NB5EvoLgG.I6H6pzzIo9joO82iOrC9V X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Thu, 14 Jul 2022 01:07:05 +0000 Original-Received: by hermes--canary-production-sg3-67975bbd4b-wpvcf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 16f6a5f9027f6c39dd17509fe31dbd94; Thu, 14 Jul 2022 01:06:59 +0000 (UTC) In-Reply-To: <871qup7wv5.fsf@gmail.com> (Visuwesh's message of "Wed, 13 Jul 2022 22:50:30 +0530") X-Mailer: WebService/1.1.20407 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:236938 Archived-At: Visuwesh writes: > I don't think so. Lucid toolkit has been the suggested method to > survive X crashes, and so far, it has worked. If it involved more than > sheer luck, then I don't think people would suggest it. Suriving X crashes in Emacs is always sheer luck, since the error handler can be called anywhere, including in places where it's not safe to delete frames or signal errors. It works most of the time because Emacs will be in XTread_socket or some other similarly benign place. But once all frames are deleted by the error handler, shouldn't `selected-frame' revert back to the initial frame?