From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Clemente 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, 8 Sep 2024 11:08:14 +0000 Message-ID: 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: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16391"; mail-complaints-to="usenet@ciao.gmane.io" Cc: martin rudalics , 73022@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 08 13:10:31 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 1snFoM-00045Z-Jo for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Sep 2024 13:10:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snFnu-0004cu-Ed; Sun, 08 Sep 2024 07:10:02 -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 1snFns-0004cB-I6 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:10:00 -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 1snFns-0004kM-9U for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:10:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=1pYXpKl1Cc3D9RIN6Ga2xoKM8y04A6fjkG9eS9qeQ2Y=; b=bmQH5/ES5KrEtNWyaAwhsJUy0kAAEYz5ENQ180bwASlZDpVpopvnlQc2fMJDLobbqm4YB6dWXIbRjhhO8knUNYjCz1n31dWfJBY7KKc7Pf9Bl134WKbjySVx+g8mx3gc04Yw9rDOpYDWw8rAuI/LBzZNxSTSB/rVv6NC5HZSO09hm0cyL7Yfr6wEQw9AJlPtvirY+62UCyiVqq6D2/5RAEy/6gTN5QDKXrrfK9VS4hUCEtUllA5EGw+O1+RJPlnT6fz4Mwf9hl8O3L0XzFscwDG7QTw2EuybstNIYXAKy/NMM+RBGHfIwUEV3qCozQs5TzC4mxBtCqtpXc+xQtFWSg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snFnu-0005kk-AK for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Clemente Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Sep 2024 11:10: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.172579378822074 (code B ref 73022); Sun, 08 Sep 2024 11:10:02 +0000 Original-Received: (at 73022) by debbugs.gnu.org; 8 Sep 2024 11:09:48 +0000 Original-Received: from localhost ([127.0.0.1]:58038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snFng-0005jy-EW for submit@debbugs.gnu.org; Sun, 08 Sep 2024 07:09:48 -0400 Original-Received: from mail-vk1-f178.google.com ([209.85.221.178]:61495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snFne-0005ji-8W for 73022@debbugs.gnu.org; Sun, 08 Sep 2024 07:09:46 -0400 Original-Received: by mail-vk1-f178.google.com with SMTP id 71dfb90a1353d-5012813249cso522961e0c.2 for <73022@debbugs.gnu.org>; Sun, 08 Sep 2024 04:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725793718; x=1726398518; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1pYXpKl1Cc3D9RIN6Ga2xoKM8y04A6fjkG9eS9qeQ2Y=; b=fiMubweWbMsx6s1hoRU2N+4C6rnbttekR8RttC7nsBEJSTi8cHVM4hjiB8u0gCJhVE PIHObYhSsv+ou/mx1Ab755gNlJLiUKCQCQwmtKDzYBfqx+IpNsRO8kZcvLKPcJ6CG7uL rtpyrORJSPT7BjiKr4B+Nx/IN2i/uYsMnxpCEzB5oNuNwEQ1ro/LCc5N6RxLPAEFKDxw mtvvWZv27p6f37dJke4oqlS3J4Hs/yB26VwOxE7sPu0T3/gj9bzC+4cZnHAOWNE9OMa0 nR7SEr0p3m711hWmUsyIVC0YFQVxZW5tGRCkXqOqi+clHkF4rh5tOTIHB7V773PMGpCC YEWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725793718; x=1726398518; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1pYXpKl1Cc3D9RIN6Ga2xoKM8y04A6fjkG9eS9qeQ2Y=; b=CDh6X5/QEjU6wCc8KNhkcut/RBFA0i8ql9PpFeWvSJpIbG4JF5o/YYLJv8TQ2SKpNb O2NGgNptk3Ibip4AljHlRy4vDpndBlL1UApxAsA+Fc0Mv0YD+dYoWlYd3BV+vxuBuPJ4 7/dKjUCw+yx0R5SFFWlVUDuD8ygl6eKfG0DlNAe/KjAwRY291N8664t8zxe8iRocRAGi hblsKpmbKqM8amdmh7MUgoDYZaoVXt7dCnmwv7DWrjOyUoQCd8CEiEPrYC2iTdE2qf7W cGMMycxLfTM2Yhi266nfqNleUqSmpSQK8rSzNoy49ILuFFYOfIsUdgQ0vym43W2VqxR+ 8czQ== X-Forwarded-Encrypted: i=1; AJvYcCXaHHOcdn2+5YqdQBZJKAKWxm4F9mu/SNlDLqOl+IYcC+FOVcjNISoLAMuX+fsCtOIKfhtiIw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyivsDg4ldRcejMSF6LChX2KIRTV/5zRecIsfQvikhHgoJq55YK w3KaFHVz5EDAQ0okGDAhh3evnCWVrT1Zuy4FDttFIN9tiRnDsK+bwPlZuOTZeuA4RxRWMhe1zco WLYXMYl87F95aNpKTVjo4QfrGWm2u1XHfoOA= X-Google-Smtp-Source: AGHT+IGqr99BRn8s/3qbHv3n+2lnCieFzxsgvbmVbhQbR+tBGCZ/6BGrhxnjiLzmCSEyDhjXoxbCX2eXVrVo281CtFo= X-Received: by 2002:a05:6122:3123:b0:4fc:e4f5:7f83 with SMTP id 71dfb90a1353d-5021423527dmr6891127e0c.9.1725793718609; Sun, 08 Sep 2024 04:08:38 -0700 (PDT) In-Reply-To: <86seue2l2b.fsf@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:291438 Archived-At: > 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=E2=86=926=E2=86=925 rows). The number of columns doe= sn't matter (can be a normal one). You can also try maximizing/unmaximizing=E2=80=9Cthe 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).