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#71289: 30.0.50; cmcheckmagic aborts when tty_write_glyphs writes "Garbage collecting..." in some cases Date: Thu, 6 Jun 2024 18:06:16 +0000 Message-ID: References: <86le3mkn73.fsf@gnu.org> <86ed9ekjrm.fsf@gnu.org> <867cf3junq.fsf@gnu.org> <86bk4egm1z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12395"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71289@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 06 20:26:14 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 1sFHoU-0002vi-Kz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jun 2024 20:26:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFHo6-0005yR-Ao; Thu, 06 Jun 2024 14:25:50 -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 1sFHo4-0005xs-56 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 14:25:48 -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 1sFHo3-0003i8-Sj for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 14:25:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFHoI-0000SN-E4 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 14:26: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: Thu, 06 Jun 2024 18:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71289 X-GNU-PR-Package: emacs Original-Received: via spool by 71289-submit@debbugs.gnu.org id=B71289.17176983181657 (code B ref 71289); Thu, 06 Jun 2024 18:26:02 +0000 Original-Received: (at 71289) by debbugs.gnu.org; 6 Jun 2024 18:25:18 +0000 Original-Received: from localhost ([127.0.0.1]:32921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFHnY-0000QZ-Cl for submit@debbugs.gnu.org; Thu, 06 Jun 2024 14:25:18 -0400 Original-Received: from mail-pf1-f169.google.com ([209.85.210.169]:44477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFHeg-0008R6-FR for 71289@debbugs.gnu.org; Thu, 06 Jun 2024 14:16:08 -0400 Original-Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-70245b22365so1035051b3a.1 for <71289@debbugs.gnu.org>; Thu, 06 Jun 2024 11:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717697686; x=1718302486; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kjqd2HQ1nEkYvi70EXUcsv5wSq225m3rApzzbedJAo8=; b=noJFVCxBxUUCVo9M+RtNjs5+kqQGQYgok83uUfAaGTXkXQshpOeIMgjAIy6YN5TQtK u6DSiVMZdUmhufJOs11Og1EKyRfeGRWEW7GONPnwB/oDxogMKKiWQ3E14s3K5TriEpWH oxJBpGivYoafV7c/5+Z5JmCKfE+ZIXxQ8/Tm5Sw3RnniZnt9zaywVc2ObjlkB1ItueIB d8liwVpjBObUusigzfyCtfNGh/U69ClIIzUKUQWEbGhEoLemUoR3QSo+m3v9SHRT0/cR qwAuXcGtu3FiFb4Ww1jE6E4SLrj8aRU8cuwLzIR+/yOD+fe/wpmeEVnKw9yZh5kzQ1Wa LNOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717697686; x=1718302486; h=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=kjqd2HQ1nEkYvi70EXUcsv5wSq225m3rApzzbedJAo8=; b=pHtJ66hS5dFadZKJ6hodRpMGdc2j1kj9NNN2XnQXeB/4Dt9M1WO+ZV4UcMMjGf8rWM AtHr5tMU0GwNSYMpQqp9uGywXZvUlG6Oo1JrjYaJ3pYH6wfdbrj8/3z+X55v3TZzJDii H9untLdKJ+sHdhWnT0WXr37u9XCVJWF3SOFcowh94lYGNsz1rmlbakSWDocGy8Igditg UEBKeuD5tCA8aJrv6sb1x2mqW91NeX+WLb4K0jWYQcOhD1E+IBWHFrFGQxyKHE57I5o1 bsgeass7ov60YFULIohAvKAkQ79CFLMDxmPNUOJRc/0bjml8SoT0TceCehrpKp+/0RAJ APvA== X-Gm-Message-State: AOJu0YzxhdhXbxvrKbw45y1KCNSu424YexkaIZbYCzpR8yJnZiwHYR2D oyLy+ks7Ygx7/XN5+atK/M/MMvgLvDZrO9mwDr7CmyjFPtLUJd1Asz7KTDJSxEQewVXQ/RZE7C2 EDrekETMDpzIEXjzDs7m4k80VVgOcVPCi X-Google-Smtp-Source: AGHT+IFnm8M+6DMHqJTEfeCfrl8Yr+NtVDe9GSxikgZ5gfyPbOUy3O8O3fYPR9Q7NrEjE+EDmpKD/CPEnOnh8GEO+5E= X-Received: by 2002:a54:479a:0:b0:3d1:b515:a5a1 with SMTP id 5614622812f47-3d210f07106mr183778b6e.43.1717697205143; Thu, 06 Jun 2024 11:06:45 -0700 (PDT) In-Reply-To: <86bk4egm1z.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:286718 Archived-At: > I see a different abort, for which I've now installed a fix. To try > to fix the above one, I need some additional data: In an Emacs build with this patch, I can't see the minibuffer anymore, also not while I type. Happens with -Q, with and without daemon. I didn't have time to test this thoroughly or to find where it came from. On Thu, 6 Jun 2024 at 14:53, Eli Zaretskii wrote: > > > From: Daniel Clemente > > Date: Thu, 6 Jun 2024 12:34:34 +0000 > > Cc: 71289@debbugs.gnu.org > > > > The key to reproduce it to have 2 Emacs windows inside the frame: > > 1. Open emacs (no need for emacsclient) with -Q. No need to set > > garbage-collection-messages to t > > 2. Do C-x 2 to have 2 windows, one above one below > > 3. Resize the X window to make it very small, (1 line or so) > > 4. It should immediately crash. > > > > (gdb) bt full > > #0 terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:443 > > No locals. > > #1 0x00005555556bd41b in emacs_abort () at sysdep.c:2391 > > No locals. > > #2 0x000055555558cb33 in check_matrix_pointers (window_matrix=0x5555588efa10, > > frame_matrix=0x5555595855c0) at dispnew.c:3129 > > i = 0 > > j = 0 > > #3 0x000055555558ca52 in check_window_matrix_pointers (w=0x5555591f66b8) > > at dispnew.c:3098 > > f = 0x555558008768 > > #4 0x000055555558c9df in check_window_matrix_pointers (w=0x555559452b90) > > at dispnew.c:3094 > > No locals. > > #5 0x000055555558c9df in check_window_matrix_pointers (w=0x55555960d2d8) > > at dispnew.c:3094 > > No locals. > > #6 0x000055555558d10e in update_frame (f=0x555558008768, force_p=true, > > inhibit_hairy_id_p=false) at dispnew.c:3359 > > paused_p = false > > root_window = 0x55555960d2d8 > > I see a different abort, for which I've now installed a fix. To try > to fix the above one, I need some additional data: > > (gdb) frame 2 > (gdb) p window_matrix->rows->glyphs[0] > (gdb) p frame_matrix->rows->glyphs[0] > (gdb) p frame_matrix->rows->glyphs[2] > (gdb) p window_matrix->nrows > (gdb) p frame_matrix->nrows