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: Thu, 14 Jul 2022 10:18:08 +0300 Message-ID: <83tu7ktb67.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> <87y1wwsdvy.fsf@yahoo.com> <835yk0uuad.fsf@gnu.org> <87k08gqkel.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32775"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56528@debbugs.gnu.org, visuweshm@gmail.com To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 09:20:08 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 1oBt8p-0008JK-Il for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 09:20:07 +0200 Original-Received: from localhost ([::1]:38646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBt8m-0000EP-Rr for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 03:20:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBt7m-0000C1-TT for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 03:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBt7m-0007vi-H3 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 03:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBt7m-0007A7-B3 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 03:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2022 07:19: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.165778310227485 (code B ref 56528); Thu, 14 Jul 2022 07:19:02 +0000 Original-Received: (at 56528) by debbugs.gnu.org; 14 Jul 2022 07:18:22 +0000 Original-Received: from localhost ([127.0.0.1]:48608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBt78-00079F-1D for submit@debbugs.gnu.org; Thu, 14 Jul 2022 03:18:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBt76-000792-KR for 56528@debbugs.gnu.org; Thu, 14 Jul 2022 03:18:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBt70-0007q3-V5; Thu, 14 Jul 2022 03:18:15 -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=Hk9KhS3+fiyuWza1Z48pvHnJFi3TXRpY9lnhwtTr75Y=; b=IZaT6ls3SqPa 1Q8W3F56J2236lYwXM33cbxItxs/78JOdFvYln+u1tZlEU1zRiYCpjoL9+RvVrb/6CfWyfzZm8iai mUghQjCYPjuUksnnz3dAK2SZensTlKPfneW5fv1XQ4J3W4IIseVAbwlCflhmyUZ3t/SmZz2ytGXRd O8nAU9vQdCSnCd1D6d2ni0kUvRm2uKgbsPhlfrxASEkOj75hA3YmrXzjhnG8N8Lm+CaBnBIdp4cVZ F2uT9yAw7EAHSyta4lBAtxghuO4zQ8xg7UYJqAy+RG1uKfO56AuRenJPW5DD+KcTXHkrgV3z2dVZQ VvF6llORhrrBC54LkHdQDw==; Original-Received: from [87.69.77.57] (port=2376 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 1oBt70-0003w6-Di; Thu, 14 Jul 2022 03:18:14 -0400 In-Reply-To: <87k08gqkel.fsf@yahoo.com> (message from Po Lu on Thu, 14 Jul 2022 14:26:58 +0800) 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:236967 Archived-At: > From: Po Lu > Cc: visuweshm@gmail.com, 56528@debbugs.gnu.org > Date: Thu, 14 Jul 2022 14:26:58 +0800 > > Eli Zaretskii writes: > > > The reason seems to be that the selected-frame wasn't changed to be a > > valid usable frame. > > Right, but under daemon mode, shouldn't `delete_frame' eventually select > the initial frame? I don't think so. That frame is not a real frame, it cannot be used for anything real. > > But I wonder how the above is different from simply crashing. > > When there are multiple terminals, it allows suriving the disconnect of > a single terminal. I very much doubt that any such "solution" can survive the code churn we have every day. IMNSHO, we shouldn't try.