From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73022: 31.0.50; Crash in build_frame_matrix_from_leaf_window after C-x 2 and reducing terminal size Date: Thu, 5 Sep 2024 10:18:35 +0200 Message-ID: <60579ab6-db81-4f6e-b281-0cee03dc3b82@gmx.at> References: <86le07624j.fsf@gnu.org> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29030"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: n142857@gmail.com, 73022@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 05 10:19:35 2024 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 1sm7iI-0007Op-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Sep 2024 10:19:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sm7hj-0007qX-8G; Thu, 05 Sep 2024 04:18:59 -0400 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 1sm7hh-0007pO-Og for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 04:18:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sm7hh-0002Fp-GO for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 04:18:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=BL09vN1+zVwqCOG6yMdGi09fGyBfrgr3+pbBNfbvrgU=; b=i+EVgHBAnBO/9eSgsFwK9V6ID8RMVJKHL45TvHdReGKSl2n6yfcFtTv7roKvayO4a1oqeS4wE/kkinfyl3ewIX25JTYOZHZ98SvY/zqhoimMqDP1vqj1UebLOKfn3EvShqgq95O8D+sx9EveBrXyDUqE6v2IdGZAOtkf1gM2tQczaKBRN6G4B5mH+bAqBOhESdNnp7UbrtLmMGGTlKxvz7GkrzZ0Ms0CTw4B1XKBgiFbGFF/M2KHTV7OnWErKO40OTqxtWJ51NoX30ZRpbJPRsah1CobJG6jysE/Ww0kac7zt9IJB6+YC1rV5wPwUz6Am+oWEVMydmvH6KHf6rVrmg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sm7ik-0002Ya-7W for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 04:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Sep 2024 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73022 X-GNU-PR-Package: emacs Original-Received: via spool by 73022-submit@debbugs.gnu.org id=B73022.17255244009814 (code B ref 73022); Thu, 05 Sep 2024 08:20:02 +0000 Original-Received: (at 73022) by debbugs.gnu.org; 5 Sep 2024 08:20:00 +0000 Original-Received: from localhost ([127.0.0.1]:36079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sm7ih-0002YB-CU for submit@debbugs.gnu.org; Thu, 05 Sep 2024 04:19:59 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:47205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sm7ie-0002Xd-UN for 73022@debbugs.gnu.org; Thu, 05 Sep 2024 04:19:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1725524318; x=1726129118; i=rudalics@gmx.at; bh=BL09vN1+zVwqCOG6yMdGi09fGyBfrgr3+pbBNfbvrgU=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=l1nI198I7y5IWrWVzP8NWDDvhsBeYdR9/E7hdnAVrNrTyQPhH0alTc2eeVrRkznf 12bXc4J0rWzhLQUuva1YpoBCOBmebtWy9v4/JaEc/hjn9LELiekwBVDTesl6VxHCu GXdulZWbprZ/QLh7kfk1H0r9VU2XPCR1hm8DpiaArxW9pepHOf71C6op2IaD3xuKb bRdaO2Jx6qEaBIHoQocb8oZP2aPn/Dzt0mqJ/EdBi3XS0ar0G2vTTW7p12WW6/NRM YbmJN3OUmDR7ZvUxBy/DtDFydHb6SL+B8txbMrTxbIq7Jtefo88pP185N+1frk5OE bsTPqMAbDhi1wX9rSg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.5.159]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQ5vW-1sQ4ZJ3B9E-00XIaT; Thu, 05 Sep 2024 10:18:38 +0200 Content-Language: en-US In-Reply-To: <86le07624j.fsf@gnu.org> X-Provags-ID: V03:K1:VT8kD72NCt/Tf8iIjIQYQAns2X/auimBRqhjAP11+ISyGNlKrag tuOrFWW7NudRffZRbafKKUKiKzznBaUpn+wtRHvrpZZlbCe8Zc+WBfDAjVJulOmUg3pVYBX Vh+1Mtfe8w7v/TC/2jbipeSHxgYvuytpYHcKS0fKYH1OOte6kpcs3X5Wad1vKUxsF7J8NZQ eeRZLi1s1AEXl3E4jJgDg== UI-OutboundReport: notjunk:1;M01:P0:j14/2Z33oDU=;pCZ160HpNwSj96QeLeyxsAHQqJB +R3Xwp7JTbhTDYRI6vvesVtuZiw+ye5OeI2xKjvJbFmWMNtHfDK+iPiGUBICveflTCCbMZbnD wAXLKK3+d2HKkzy9zNdkIvYGHpR+BFifqD2qD28IUMbMQZLPOKMexXs6xzP82pd309vWwh7MY LXfuigrNa2sfdjrWPxb71SCcfiy3hKeFa8FYJGhALFFUeaw4aPy8GgxX++zvhFEo7a20eSFu3 N6Lh6Q7BDGXRHXH/1/NQoAYv/Mkke9+4Ll0R2uhyHz6Jg3+lwxsuh0UO9IvPLGAKHfCsiY4hI Cj8RVZzRA84zZbUtx2vqN3kwsYGRIGo5GqDctfOAatiXutNURwMPdqPfgR6t5Yoii/i1WMdss ST0gZdHkX5hK0/ADUYuwAZhQ1zU1DeoRnl5pNkvEpH2v8L6oe5mw7XhvIINom+VrC7GhjshMA wtUDF5SliwaKkdgvhEv/UBYaWQx89PDKluoGxuU27quzQDwv429jtZVfA8SRg+uxPQT16FqaT 5e6o8Omqt7JSDOf9oqCIECyq5AHmq0CzD3qs8UaM0JToBGVokLyQyIQ//d9k1toTLvSxkA6hK g5Zx/AQGji8Jf2NK61aGbncTIBMCX0Z+De++uqYoXyZ+g47CE5AeI7jseFock8ffZuHnl2cKP tVADlxEEfgT5lThc5/4IVZRSMXXUvO0KdIy2XDPZe6ooKrC36gAPYOFbJKYqToz3bTxMkw3tM y41AnS6Shc3OMyw6bdoO1sZQX4gCZDwdZ/ZZfzdCHfSjjxTatr27g5GVSWYLMqHt2LOXO5qn 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:291231 Archived-At: > Thanks, but could you tell how that change could have affected this > assertion violation? I attach the patch now, sorry for not doing it earlier. IIUC we are talking about this assertion eassert (frame_size_change_delayed (XFRAME (w->frame)) || glyph_row_slice_p (window_row, frame_row)); Right? If so, then this violation might be caused by the fact that we (1) did resize windows according to the new sizes but (2) did not update the frame sizes accordingly. Which seems to match one observation that the assertion gets violated when we increase the terminal height after making it very small and not before. > AFAICT, adjust_frame_glyphs is not in the > backtrace, so how could moving code inside of it affect what happens > here? I don't understand what you mean here. martin