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#73022: 31.0.50; Crash in build_frame_matrix_from_leaf_window after C-x 2 and reducing terminal size Date: Sun, 08 Sep 2024 14:31:08 +0300 Message-ID: <86h6aqwfer.fsf@gnu.org> References: <86le07624j.fsf@gnu.org> <60579ab6-db81-4f6e-b281-0cee03dc3b82@gmx.at> <86cyli4fxj.fsf@gnu.org> <86seue2l2b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10186"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 73022@debbugs.gnu.org To: Daniel Clemente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 08 13:32:11 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 1snG9K-0002Uy-Is for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Sep 2024 13:32:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snG9B-0007ai-My; Sun, 08 Sep 2024 07:32:01 -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 1snG99-0007aR-Sn for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:31:59 -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 1snG99-0007Fl-Jw for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:31:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=qoJNhtcWSxkFDGJ2J8WzD+ClEk1Qafu47q8XiJ0b2mc=; b=Cr5o3fanuviWW3m8KJaa0UhvyyIg23URHgz2whjoLnVO/YJ0Rl8e4Zn9Ne0Ig/7rAyX9U6YK2ByxubqEc1CcvOg7noKUzOs1QpZhYJjOI0U+9S4mP6CmEwdd/0QJvynjBcG/pnbtFRqV5KSoS9S7bIBv3FYgRur5+kEeNAD/scRPTwOtp+om/c3s9acjj5+0F4gFUJIFc/5X7rhFIpg0ZB5KxqOTWjsqAFjF5DbCmvziClwr1qZVgcI89WmqSxDdpcbMjvGrBRTH7gwcYlqO8bDwST9lNGsiH3EF+tTvrzxPZtVfXZZfbPd2Uqkquwa5ChllhIR9xovUKLL6brp7cQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snG9B-00072n-Lh for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:32: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: Sun, 08 Sep 2024 11:32:01 +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.172579508427027 (code B ref 73022); Sun, 08 Sep 2024 11:32:01 +0000 Original-Received: (at 73022) by debbugs.gnu.org; 8 Sep 2024 11:31:24 +0000 Original-Received: from localhost ([127.0.0.1]:58077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snG8a-00071r-77 for submit@debbugs.gnu.org; Sun, 08 Sep 2024 07:31:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snG8Y-00071e-PQ for 73022@debbugs.gnu.org; Sun, 08 Sep 2024 07:31:23 -0400 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 1snG8Q-0007DZ-Ua; Sun, 08 Sep 2024 07:31:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=qoJNhtcWSxkFDGJ2J8WzD+ClEk1Qafu47q8XiJ0b2mc=; b=Do54uwPSJEUDF2tOXI41 cfnoy3dziw7gjHLxn6dyUi6vdG7Spvsp/S3fp+A9qO8LG62pl2t7bc+PXsynTAUZSMT7YC2Mh1htr e2qbHnv2Hq7ENF8WjFog+UsiGQlHJqI14t0QT3gNyBtcAZRLyJtUXJomh6RxnsmcO3ICg2FTgu4p/ 2wFdE//3sULrL0zorWg6ElYDMEBSO+3hWe12p+HvPoTseDdsKyAfSG37VDuq8QqMMI0q9s2OUHqIb AINSip6FvZUCNre+WIRuCtiEb19gJYsr3jT2co+I7ossrG5E6m3QW/HarmPrwRXd/09TNv51Q8srV UO7PzMv3RFtsvQ==; In-Reply-To: (message from Daniel Clemente on Sun, 8 Sep 2024 11:08:14 +0000) 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:291447 Archived-At: > From: Daniel Clemente > Date: Sun, 8 Sep 2024 11:08:14 +0000 > Cc: martin rudalics , 73022@debbugs.gnu.org > > > I noticed that causing this assertion to fail is not very easy. For > > example, if I drag the terminal emulator window one line at a time, I > > can never cause it, even if I get to frame sizes that are much smaller > > than the minimum we need for 2 windows. Somehow, I need to drag the > > frame so it resizes by several lines and/or columns. Not sure why. > > > > I can cause the build_frame_matrix_from_leaf_window failed assertion ( > glyph_row_slice_p(window_row, frame_row) is false ) when slowly > resizing row by row (7→6→5 rows). The number of columns doesn't matter > (can be a normal one). I cannot. Slowly dragging the window never crashes. > You can also try maximizing/unmaximizing“the window if you window > manager supports it. That's a way of suddenly changing the number of > rows from a normal value (e.g. 20) to a dangerous value (e.g. 4). > After unmaximizing it immediately crashes (if you did the C-x 2 > split). This also never crashes here.