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 08:39:23 +0800 Message-ID: <874jzkv878.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> 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="23201"; 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, Visuwesh To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 02:40:18 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 1oBmtu-0005rJ-Hh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 02:40:18 +0200 Original-Received: from localhost ([::1]:40008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBmtt-0003CG-1Q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 20:40:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBmtf-0003Ad-1n for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 20:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBmte-0000x5-Oz for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 20:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBmte-00061u-Jp for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 20:40: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 00:40: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.165775918623147 (code B ref 56528); Thu, 14 Jul 2022 00:40:02 +0000 Original-Received: (at 56528) by debbugs.gnu.org; 14 Jul 2022 00:39:46 +0000 Original-Received: from localhost ([127.0.0.1]:47998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBmtN-00061G-Of for submit@debbugs.gnu.org; Wed, 13 Jul 2022 20:39:45 -0400 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:37104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBmtJ-00060x-Em for 56528@debbugs.gnu.org; Wed, 13 Jul 2022 20:39:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657759175; bh=zIYlaMuze8/KzobAXYyq010tzwL3BnpD0YHo33TSm3g=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=eJ9X3zmRR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FQnq99zUUq.kbUPx6yOMDJoaYW59vgHA8iMnDQizHFzY1sbIlLVBlX.FrwGt8S OQpTjNTFnrDtlxiknaTXGW0yEi2hApnToLGputgGSC2oO3768mzipYcMKf8o_DEfKVQru5EFJ0H5 PMZfJp6uHlwBFil5lW6RcOrLuljtU0xHYrU4tnt3gyKqRWwpReKrRagXDP9N55MzxHKV1kwDPfsv blX2xgf8WwSzYNofa_ueB6FJ.DqrTDGGWx55BVYO7vt2hrbrRoAvZl7gf3hdzWe2.Hu8azuHK0IE jvk3vRe4z4nt2qk2UDZ860c60Rto2Daukv491Qa8iiKZ5L1Kp_XA84qWrklPraTRjGHBo5A.LCCB 1NoJpWvuXIqgIGqjtxS5vkukpkkN53RtU5umIFk5GWRfKCaJLbSZxrJGo9FmL_1yCCvWPEBPzUQb eX2z8liyK_nSLCA1tHYBhfSZAnxAybuKhMrknYLti._oboOW80v5bFhEml9Fnox7OtiTv2Lr7R97 7bVYUrlnDIiO9kc1EP_qhYhYqPgizZ3VB8LYc1hEiYOj7C2mXxxzq9rrpWRPq5aSiDEsWyPhBWeZ RbJfDqIVNR68QKkDlH2qgILQltNoxYZUchW82BMdBf X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Thu, 14 Jul 2022 00:39:35 +0000 Original-Received: by hermes--canary-production-sg3-67975bbd4b-5klrh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID df85836b0e6cadd21228d7028b770773; Thu, 14 Jul 2022 00:39:29 +0000 (UTC) In-Reply-To: <831qupw3us.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 13 Jul 2022 16:15:39 +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:236934 Archived-At: Eli Zaretskii writes: > Btw, what do we expect Emacs to do in this scenario? If the X server > is killed, Emacs cannot display anything, so why an abort is not TRT? > What practically interesting use case does this emulate? It should just print an error message and die with a specific exit code, without printing a giant backtrace to stdout. Would binding `inhibit-redisplay' around the call to Fkill_emacs be a reasonable solution?