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: Wed, 04 Sep 2024 15:21:16 +0300 Message-ID: <86le07624j.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5440"; mail-complaints-to="usenet@ciao.gmane.io" Cc: n142857@gmail.com, 73022@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 04 14:22:16 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 1slp1b-0001I2-LI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Sep 2024 14:22:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slp1M-0002Sz-Bi; Wed, 04 Sep 2024 08:22:00 -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 1slp1L-0002Oh-2n for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 08:21: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 1slp1K-00045c-QY for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 08:21:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=E5fMnV9yB7POTpFo2eBe9fiZPJ0aFaeGy4hJd5EhVSI=; b=L48IGUO6by/6FU3SLI4hJYe7mkmJlMEj/141/r0g1PTG23jje90/AEWOpyPH7Jhb6h4XQQTbiKTPUtb6oeVMah18atr07lu5TGLiO8+fenybIXk8CD4sHjjWzpb4ZsPo18ObquYLMEffEPmevkH1gS4AQPR2CDH+p86s6Azi2IJjgcH4TTIdYp5j/Ue/HCPG1j3uNvs9SbPzidAEP/j7Wt3OmkauGzb7qOreZrc0CAhUtjvi3ZXgzQu7kJfkmhqJPLMZ91cSTXgXM0Tw3EegyDq80Fvk0Q3vXTRlSkc7S5AytQuTCfz4o8A2XyAYIIWypvXYZFsVj7hxV9hZ4USzUQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slp2M-0007xt-5Y for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 08:23: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: Wed, 04 Sep 2024 12:23: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.172545256030577 (code B ref 73022); Wed, 04 Sep 2024 12:23:02 +0000 Original-Received: (at 73022) by debbugs.gnu.org; 4 Sep 2024 12:22:40 +0000 Original-Received: from localhost ([127.0.0.1]:33771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slp1z-0007x7-Ph for submit@debbugs.gnu.org; Wed, 04 Sep 2024 08:22:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slp1x-0007wt-95 for 73022@debbugs.gnu.org; Wed, 04 Sep 2024 08:22:38 -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 1slp0q-0003xD-2B; Wed, 04 Sep 2024 08:21:28 -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=E5fMnV9yB7POTpFo2eBe9fiZPJ0aFaeGy4hJd5EhVSI=; b=rTgoPJdqM0jI b6mTYO2+ZRWhaCJcMWQtBrB7XW4Uxtx7jQHRxR7EItnZcCUmn+TFlT52SFsyW8Oqva28ghLa+la80 T+xrP427EhQZ6INvK7m8n5PgS0qgz5ZfsInDduJQuZP507vvMxXe5fFFZWWj07nPdnASWM0oq/MFl wylCnO3jl9ogp4rVCwb3S3wirN7jIEnZtQsftPT63v/OB7GnFjC4lrsKLn/pHTQWh0dj4ogofk0FO Dg4P5YCQk3kU++84Brjh5j7HE3ZBsaVe5NJeeLBs9s0TiG52FlHdYWE6C+cXcEaoCe0DJ2aOzr09A egpuxwimR3h6aHNQfmlOCw==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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:291195 Archived-At: > Date: Wed, 4 Sep 2024 09:28:47 +0200 > From: martin rudalics via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > To reproduce: > > 1. Open emacs -Q > > 2. Press C-x 2 to split the frame (top/bottom) > > 3. Make the terminal very small (I slowly resize the X window that's > > running urxvt, to the minimum size, 1 row and 2 columns in my case). > > This shrinking process alone can produce the crash when the window is > > around 5 lines high > > 4. It always crashes in my case. If it doesn't, make the terminal > > larger again, and repeat the resizing for some seconds until it > > crashes > > > > Note that the C-x 2 is required. The problem doesn't happen with a > > left/right split (C-x 3). But it happens after a C-x 3 C-x 2. > > Kindly have a look at the fix I proposed here: > > https://lists.gnu.org/archive/html/emacs-devel/2024-09/msg00054.html Thanks, but could you tell how that change could have affected this assertion violation? AFAICT, adjust_frame_glyphs is not in the backtrace, so how could moving code inside of it affect what happens here?