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#60096: 29.0.60; Crash in format_mode_line_unwind_data Date: Fri, 16 Dec 2022 17:03:42 +0200 Message-ID: <83fsdfjsq9.fsf@gnu.org> References: <86a63oen2m.fsf@mail.linkov.net> <83sfhgjqd7.fsf@gnu.org> <86cz8jls87.fsf@mail.linkov.net> <83k02rk1vk.fsf@gnu.org> <83ilibjttu.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2557"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60096@debbugs.gnu.org, juri@linkov.net To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 16 16:04:50 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 1p6CGY-0000XV-GH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Dec 2022 16:04:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6CGA-00032k-I5; Fri, 16 Dec 2022 10:04:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6CFn-0002x0-3B for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 10:04:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6CFm-0003LX-L6 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 10:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6CFm-0000ax-GE for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 10:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2022 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60096 X-GNU-PR-Package: emacs Original-Received: via spool by 60096-submit@debbugs.gnu.org id=B60096.16712030282275 (code B ref 60096); Fri, 16 Dec 2022 15:04:02 +0000 Original-Received: (at 60096) by debbugs.gnu.org; 16 Dec 2022 15:03:48 +0000 Original-Received: from localhost ([127.0.0.1]:49874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6CFY-0000ad-5A for submit@debbugs.gnu.org; Fri, 16 Dec 2022 10:03:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6CFW-0000aW-SF for 60096@debbugs.gnu.org; Fri, 16 Dec 2022 10:03:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6CFR-0003C1-Ap; Fri, 16 Dec 2022 10:03:41 -0500 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=IjRrV+xcbkhHyUp7gAx3zIJyFixyZkca6oWOdQEN2R8=; b=GBgHynYqyv6H KPlTVNbNVsWaJKXJPpaW88ArqOHAHPtcFU0jruOSyhnhcFc2KWa8R65dJO0wHttdrBz7ufMfgV42x AIRAPZOn0elgR0VaGLMZYUW5U+olPLtdrJmDkrQpioz18pIKbIJypWGdyiZJM1eNhuYw+qkB/6C2A JZ7nX1rKLCMMzktQ56WA4GNTfj8wKyFXgYFJ7qIASZQkXecRHjsurphMKjqHwhv5PU3bkhLrCKdzQ I0i6SMf1fb8P754Z+HygesJZn4Jla2H2SvBgfRjiJgoNHZ8LaT1SsVfzfiKzZL2mWvniC1ZKnY4GJ V6scULZloQoBvDHYc6wLIA==; Original-Received: from [87.69.77.57] (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 1p6CFQ-00006q-8X; Fri, 16 Dec 2022 10:03:41 -0500 In-Reply-To: <83ilibjttu.fsf@gnu.org> (message from Eli Zaretskii on Fri, 16 Dec 2022 16:39:57 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251213 Archived-At: > Cc: 60096@debbugs.gnu.org > Date: Fri, 16 Dec 2022 16:39:57 +0200 > From: Eli Zaretskii > > Note that the *scratch* buffer is re-created in this scenario without > the blurb we put into it, and in Fundamental mode. I've fixed at least the last part, so the major mode of the re-created *scratch* is now as expected. Martin, I'd appreciate your views on the changeset in commit 89f54e8157 and regarding the original problem to begin with. Basically, set-window-configuration was called in a situation where it has only one valid buffer to play with, which is tough for its logic and the various other functions it invokes. The result was a bunch of bad windows with nil as their buffer.