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 14:24:31 +0800 Message-ID: <87tu7kqkio.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> <874jzkv878.fsf@yahoo.com> <837d4guug2.fsf@gnu.org> 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="16277"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 56528@debbugs.gnu.org, visuweshm@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 08:29:33 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 1oBsLt-00047p-CE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 08:29:33 +0200 Original-Received: from localhost ([::1]:38796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBsLs-0004BW-89 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 02:29:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBsHX-0001zT-RG for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 02:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBsHX-00089L-AE for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 02:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBsHW-0005ku-0t for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 02:25: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 06:25:01 +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.165777989122104 (code B ref 56528); Thu, 14 Jul 2022 06:25:01 +0000 Original-Received: (at 56528) by debbugs.gnu.org; 14 Jul 2022 06:24:51 +0000 Original-Received: from localhost ([127.0.0.1]:48491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBsHL-0005kS-BK for submit@debbugs.gnu.org; Thu, 14 Jul 2022 02:24:51 -0400 Original-Received: from sonic309-22.consmr.mail.ne1.yahoo.com ([66.163.184.148]:42691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBsHH-0005kC-Ok for 56528@debbugs.gnu.org; Thu, 14 Jul 2022 02:24:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657779882; bh=a1SP5bBB7BcHGkad1Ix9TEMbu/eY0pnWgNaPoLC+h+s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=kJwUkFmVmcUaA7qkS5aoiSMMjPCRa6P+Wjc77ep860l0E4yNeFHzLXiuwZHRZlArEAwgfTaJ1ImYBjboiD2Ij+9qNZIVMd2jHm46Yc8mRQaf2NrUI0JexHZ7qIrgsVknUSNjhWbk5+igqB9dEhBSFBR1D3sS4L/WuIIMt9k6yiFUYVr1/t9ZVkqH189kMlMwSq+mtCXESBQJ57uDJri2BuzFjl+YZe6Fv0ng9GbGvDOzLm/2fcj+GQRqYw9TYyJLklvIxbxmrWzRs7E8+nKrPtibV+FCOacnYNrmo7/OfKi1wAxe+ti5IBBCrTg6XQ0ohsp7kYA7wmMspN3qz7XuPQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657779882; bh=ECvnf1xSAqTNrSmHYUpNNGR3ILCuyhxi9heTKA+BguH=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=EFNo+yHfTmPFGHIuXb4Og7LMDv2xIvJ90ARAWMf6Pe0KY+M0TgEc0BgKR6X8tJmOUQ6Gjmm7OCMkXatC5sbHTbm7IS9S9nYdWj6f2sQ7+1HTTqbDhih0DWCkZnosATOo8+sopv7U/2T4s4gFLLA5dd1rrxaiHhOHxrPI/tm+CBH4F061G++svBZp3c2uTQORmBHaD86bLhy3aRvqNwQSF0yiGPJ6L7Z2itJ8TI8XPehHSrXxeZZyxtA/bzwtSqaN003Kc1peJKgMPfEGp7uIFQGq469YxhYuZ2DP/YAvrloLOIdWwq2sxMbqormvc98MY4L+hNxcdoiDCQGaScNNrw== X-YMail-OSG: JhEkJqwVM1mvlO06BDndmZtzcvyXp_k5pLpwzvV2qBfmhnsG35NvzG0V19eOHko prmY_QveQ.12sNq4yiz7QpfukinGIXQNDGCfBeErdQMhdzaI2axbbpROz0lizqG7f0ICbTqvZLVd K.ggBIiuoE4IyxhfnByo9qzGvwW0OawHQOI_pPm635xBzaTEisaSJlm0kvlIaLaXSINrT11OAym7 Q3ZcSAzjBgU1U3EkKSqyUE1Fkrcv8Nw1A8YKPpV2QRMN106cbmfOyDstHVS_5EYz7sUX_CeYgrP5 oxNQb.G5r1u4ZZEfahQ2C0wTf7AwbVW6GoXAvsROw_lDVHO4ccK3ACw52D1MsDT1ubqtCaBC6Ebf IVjANHo0I8SJ41ph50YGLA5hWtqExbXUyeZXrHYmJpNfC5X51kQn9CQVkNcm9Ed7D6bvO2I.j7uR 9elJVYWkXI3vS9SYVjeQ44Xq5kwrCW98LS1HZhB2AoROtnoVXIxtnJ5FBU7AJQJCxB176cSwT8K9 7P5WnA1aQKv8vj9nPh2kkeZ8CpZ2j8MwubReF_kC9j6gQHY7jdgmpGEEg9x85fy.CVnYaRVc3oMh Tfb2yQ6mx271dU2Op2KQMmIKZ4LftcC6jSzvo.7c4OkNnw4d5Wvgv54zuJZp_FX1EZ9MoAL.kmiI jBoImG9M29x6nhYJx2xesXyIOjiRLqOwTGZqIYXfHKQY5NKFCGqVtkeYDtUseUui07z1ca9kMySa 7R4Vv_XYrAxx0bxqFAkDxzVGgH_W3E8frcXqpRDBGUg0wrnQpGg_PGVVFC_9zzJLS4gWw8xMBqXj QVI9GRHJ1WdZ3lU0sNO.Qtx.Vid67sp_I4EXIj.gjk X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Thu, 14 Jul 2022 06:24:42 +0000 Original-Received: by hermes--canary-production-sg3-67975bbd4b-hh5lh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 140be2426e1d48eb8033f24dd09c928b; Thu, 14 Jul 2022 06:24:38 +0000 (UTC) In-Reply-To: <837d4guug2.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Jul 2022 08:36:29 +0300") 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:236957 Archived-At: Eli Zaretskii writes: > Print an error message where? To whatever happens to be stdout at the moment. (Probably .Xsession_errors) > I think the right solution for this use case is to add a new command > that deletes all client frames. We are talking about a user who > intentionally kills the X server, so the ability to conveniently > delete all the frames except the daemon frame will (or should) allow > Emacs to survive the traumatic event. That's already performed automatically upon the traumatic event. But if deleting the terminal from Lisp is what you want, why not directly use `delete-terminal'?