From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56528: 29.0.50; Emacs lucid segfaults when X dies Date: Wed, 13 Jul 2022 20:50:25 +0300 Message-ID: <83r12ovr4u.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33702"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 56528@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 13 19:51: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 1oBgVx-0008Zr-Sa for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 19:51:10 +0200 Original-Received: from localhost ([::1]:40612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBgVw-0005pD-Fb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 13:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgVq-0005p3-Ct for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBgVq-00060p-2T for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBgVp-00032K-UJ for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2022 17:51: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.165773464111640 (code B ref 56528); Wed, 13 Jul 2022 17:51:01 +0000 Original-Received: (at 56528) by debbugs.gnu.org; 13 Jul 2022 17:50:41 +0000 Original-Received: from localhost ([127.0.0.1]:47711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBgVU-00031g-Sn for submit@debbugs.gnu.org; Wed, 13 Jul 2022 13:50:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBgVT-00031P-5Y for 56528@debbugs.gnu.org; Wed, 13 Jul 2022 13:50:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgVN-0005u3-QY; Wed, 13 Jul 2022 13:50:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9ip6AC/SlbMKSeWbQ3OZJ531n5441HfOQd9WKJJ2GYE=; b=Fo3suecCwqjC DHvLc0oAp7ethm+skGgHRx4Aq5ea5C1Hmi66wM+BLK+J+8oCutrOLWF898klItmmwrzz+SVH/gAdc nWa+E41nZoAxd/7AGTp3kMc4b9w35imO8dBf5zLQ3SNKAiZVUOd2i/c0QpeOVrAWO3elZo0vlS4IO STwBhNPv8XyHWr2YJv10s8pm9/svNEqTVG10lSOGGcSgT09eFz/fqkcIxAvnUuP2MwK/UIhjakLzp WxUW8jAlZlJIO9Nr6q43i2Mmm3vDFQ2kiJxMgMKxJC8snMBnphbx/FgoxhClrXzgLzs2t2Mr86TX3 GH45y8Waq68tvj5yI4jt6A==; Original-Received: from [87.69.77.57] (port=4697 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgVM-0003dK-VK; Wed, 13 Jul 2022 13:50:33 -0400 In-Reply-To: <871qup7wv5.fsf@gmail.com> (message from Visuwesh on Wed, 13 Jul 2022 22:50:30 +0530) 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:236918 Archived-At: > From: Visuwesh > Cc: luangruo@yahoo.com, 56528@debbugs.gnu.org > Date: Wed, 13 Jul 2022 22:50:30 +0530 > > >> #0 message3_nolog (m=XIL(0x555556066254)) at xdisp.c:11770 > >> #1 0x00005555555f3449 in message3 (m=XIL(0x555556066254)) at xdisp.c:11698 > >> #2 0x0000555555848e28 in Fmessage (nargs=2, args=0x7ffff15ff250) at editfns.c:2881 > > > > Here's an excellent example of what I was trying to say: this says > > that Emacs tried to show some message, and crashed because that > > requires a valid frame with a terminal connection. What do you expect > > Emacs to do here? > > Ignore it? How would Emacs know it should ignore it? > Or write it to stdout? What stdout? the daemon session doesn't have any stdout. > I killed X the same way I did here last month and > Emacs coped just fine; the same way being M-! pkill X RET. I told you: sheer luck. > > I think we should close this bug as wontfix. It's unreasonable to > > expect a GUI program to stay in the air when its GUI infrastructure is > > forcibly killed. > > Please reconsider. I will finally quote etc/PROBLEMS here, > > ** When Emacs is compiled with Gtk+, closing a display kills Emacs. "Closing the display" and killing X is not the same.