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:07:48 +0000 Message-ID: References: <86le07624j.fsf@gnu.org> <86ed5z5z8m.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="14912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73022@debbugs.gnu.org, Eli Zaretskii To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 08 13:10:13 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 1snFo4-0003kZ-UQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Sep 2024 13:10:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snFnu-0004cb-1I; 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-0004c3-5K 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 1snFnr-0004kG-TA for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:09:59 -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=7wJViNcJJBcEbM87wmuOB/yUGru7q5EgZumHILOR+4k=; b=qqXapetC+HYBUp01WjXwZIK7q8A1n7wTEPkUc5W6Zr/6B+rNDBuxsKxtSzFHh6/iMY0XabwP8wOuCOQsGxp0SLXdvDoMxlgBtdtsr14qWlBIXyBVcVzcurGnW5V8SlrewdNQqUdc6eICAWfxQ4B+N39SWXBhKG4J1d2zhF1sge//g2B1qod4a0bvnIe25W4tnXcueJ6XTnwOG0eFlBGe0/uURAmyinaqZPBVuJwp2Kr8pj9ySNHNEB2Zk5LNoGQk80LJ0hnPOvAxoI2SsUU6dUWIM6eU7VzYxUUODKu2rpnKA+MkLsShUf65yKZVQOGeociNmuZghPCUpro7AYyXRA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snFnt-0005kd-U3 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 07:10:01 -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: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.172579376222022 (code B ref 73022); Sun, 08 Sep 2024 11:10:01 +0000 Original-Received: (at 73022) by debbugs.gnu.org; 8 Sep 2024 11:09:22 +0000 Original-Received: from localhost ([127.0.0.1]:58035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snFnG-0005j8-2b for submit@debbugs.gnu.org; Sun, 08 Sep 2024 07:09:22 -0400 Original-Received: from mail-ua1-f52.google.com ([209.85.222.52]:60666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snFnE-0005iq-5I for 73022@debbugs.gnu.org; Sun, 08 Sep 2024 07:09:20 -0400 Original-Received: by mail-ua1-f52.google.com with SMTP id a1e0cc1a2514c-846cdfbb153so935578241.0 for <73022@debbugs.gnu.org>; Sun, 08 Sep 2024 04:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725793692; x=1726398492; 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=7wJViNcJJBcEbM87wmuOB/yUGru7q5EgZumHILOR+4k=; b=WB3tXbMN08VUAtVTDk4iruEmqScjeXCykPdahT/Uu6afMqw48WhyJUCZk19xPTcD2k iADpkF4c8HTE0ptVYqEQxTlNA8aaW+AHMAPsT5fXaeXkRRdNQp2oRZprLn8Lwy+CeYxL uGf3FEESwW28ZLcWazfAFXTy6N92ZyKhqfdxzMz6QkCX0RaJZ0D15kTn2G1uABwHZj4h DtP5w399HaQPgsfmQpNfMP1GCHdK3qWQJzJAfnylW69bvT6C8NHFYUP9E7TXjHnbiAKH c9W0ENaasaDB2uMqYLPMgfP1yby8jRoUyF2KIDd3718M28u66NK9p9M+KcSzuFrrQMY8 5jjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725793692; x=1726398492; 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=7wJViNcJJBcEbM87wmuOB/yUGru7q5EgZumHILOR+4k=; b=QFv55TsljKXWZFbDMHHYtOINHOSH0o1Q0WoyJxYF11Izn3TKPJH3fty1fCy0X64XVx NrfTNjX2A8FEdBGBZDB170uXY7YhZ8nDsH8UrvYWhpOom4tJfUoGfnTZ3prjeJ0yeqmV yApmc8cJIoJpCO1aK8BE3xDsXwSV+47oofiveJ8BH+kY3wZbRI4VU2o4saiFajQ/Hf3s S1BdsJHNMNAc+9JFwXto1mDf1O9Oig9cYyJli7crFar0DBQqa3PP2/1q8kmvoR7JRPJA UJb9kh6W2Wl5FXzsxAaoA6Wkr8L21ykBzrSEhQN8xGSs4efKS2WYkBlkKSkRSIwAuxfK 4McQ== X-Forwarded-Encrypted: i=1; AJvYcCUyMYtYPFu9W1q2njZE2Q2uLouzIHljF/8c+80E9tR0h5FadlF8PgBrJZJuiwRrpY6S/E759w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyyjqhpXGjN5x5nfdLMkCgQibJ1PrU0/MEbv+GUcbrX50lUX350 aZAaHIGsP5eR4IbCOpsBWM6IjMPJ/FR8r3DQtbIPPZz1QbZBNJGQCup5b24DU41aeHeY7OR0+IB riAvjzvW8P1iws98LbsisFMvFISTBgZkY X-Google-Smtp-Source: AGHT+IHYKvVtvjTwm/Yz3Tt9KbDd/y5D3jkNpbI0Z625WauYZmVdLUdMlK2+CXdbb3rkzXfSFScoyX4qdaYbm6I9WOo= X-Received: by 2002:a05:6102:3a12:b0:49b:fe9f:42fb with SMTP id ada2fe7eead31-49bfe9f4601mr251211137.13.1725793692472; Sun, 08 Sep 2024 04:08:12 -0700 (PDT) In-Reply-To: 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:291437 Archived-At: > #0 terminate_due_to_signal (sig=3D6, backtrace_limit=3D40) at ../../src/= emacs.c:432 > #1 0x000000000061b51b in emacs_abort () at ../../src/sysdep.c:2391 > #2 0x0000000000541fc2 in cmcheckmagic (tty=3D0x1ebe0d0) at ../../src/cm.= c:122 > #3 0x0000000000546564 in tty_write_glyphs (f=3D0x1e7bb30, string=3D0x1e9= afe0, len=3D80) at ../../src/term.c:819 > #4 0x00000000005508c9 in write_glyphs (f=3D0x1e7bb30, string=3D0x1e9a0e0= , len=3D80) at ../../src/terminal.c:164 > #5 0x000000000042a6d7 in update_frame_line (f=3D0x1e7bb30, vpos=3D4, upd= ating_menu_p=3Dfalse) at ../../src/dispnew.c:5326 > #6 0x00000000004298c5 in update_frame_1 (f=3D0x1e7bb30, force_p=3Dtrue, = inhibit_id_p=3Dfalse, set_cursor_p=3Dtrue, > [=E2=80=A6] > so the original assertion violation is gone here. > We're dealing with two type of assertion violations / crashes / backtraces: - in update_frame_line, that causes chcheckmagic to fail - in build_frame_matrix_from_leaf_window, assertion violation With the same build I mentioned in the top post (that is, without any code change), I can see both, after following the same instructions I posted. The update_frame_line happens much more frequently, therefore I thought that the update_frame_line was fixed in 71289; but it's not: I just reproduced the update_frame_line issue. So you can't be sure that the original assertion violation is gone. Your build may have crashed with the update_frame_line crash, before reaching the build_frame_matrix_from_leaf_window crash. The best would be to solve both crashes :-) I don't know whether both crashes are related.