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#71289: 30.0.50; cmcheckmagic aborts when tty_write_glyphs writes "Garbage collecting..." in some cases Date: Wed, 05 Jun 2024 18:06:49 +0300 Message-ID: <867cf3junq.fsf@gnu.org> References: <86le3mkn73.fsf@gnu.org> <86ed9ekjrm.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38223"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71289@debbugs.gnu.org To: Daniel Clemente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 05 17:08:35 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 1sEsFe-0009iT-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jun 2024 17:08:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEsEx-0006RH-2t; Wed, 05 Jun 2024 11:07:51 -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 1sEsEv-0006Qv-Me for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 11:07:49 -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 1sEsEv-0002NT-Dl for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 11:07:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEsF8-0002rp-KN for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 11:08: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, 05 Jun 2024 15:08: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.171760004810804 (code B ref 71289); Wed, 05 Jun 2024 15:08:02 +0000 Original-Received: (at 71289) by debbugs.gnu.org; 5 Jun 2024 15:07:28 +0000 Original-Received: from localhost ([127.0.0.1]:41414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEsET-0002nn-40 for submit@debbugs.gnu.org; Wed, 05 Jun 2024 11:07:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEsEK-0002mn-OM for 71289@debbugs.gnu.org; Wed, 05 Jun 2024 11:07:19 -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 1sEsE1-0002Bq-5p; Wed, 05 Jun 2024 11:06:53 -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=3DJIhIpw5NSv/nm/1YnNnddCZQWekRLd0n2PKHBkS2M=; b=qvJj8GoLKwRy D02kQ+rVZMEEeit1AFyplr4rlnNjbqPZEYFNqlb3Cldj70V8kv/Pt6hIBvblItwa+j89U7yTedk04 PvOMObzhBsquType28KPXPgZpkKIIl8JcdXGXndw0lFRYh+fHG0a+rhpcN6jciX3LAQuKyz+dL3Wa hJT3QWlH6122h2gC3F3O/HTGjPB0IimY6szx1Ll7au41v25d04biE9n71a3vUOt644jb42NcYBH/X +d3w8Ij8vqkYnB982NdbZXP9b1GPnXsTSfYtuVDs8JuZvWI2pZ+T6EfHuTIxb6kvJsq5xfG6rFbQ8 AKwRCeYmh2J0lOPtUXV4zw==; In-Reply-To: (message from Daniel Clemente on Wed, 5 Jun 2024 13:50:48 +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:286613 Archived-At: > From: Daniel Clemente > Date: Wed, 5 Jun 2024 13:50:48 +0000 > Cc: 71289@debbugs.gnu.org > > With it (running on 799f78a92c6c31f4d181390523b83d036020ede1 with no > other changes), I still see the same types of crash that I already > reported: in tty_write_glyphs (see BT1 below) and in > build_frame_matrix_from_leaf_window (see BT2 below). > However they don't mention GC now. So it is not exactly the same type of crash. In what scenario does this happen now? IOW, what did you do to trigger those crashes? I'd like to ask you to run that scenario with a watchpoint on the variable delayed_size_change, and the following two watchpoint commands: bt 5 continue I hope the backtraces produced by this will explain who resets the delayed_size_change flag, seemingly prematurely(?), and might suggest ideas for a solution. (I have an idea already, but would like to see some data to make sure the idea is solid.) It is best to run GDB in a separate terminal for this experiment. IOW, start Emacs, attach GDB to it from another terminal, say "set height 0" to let GDB scroll the output freely, then set up the watchpoint with the commands, and run Emacs with your recipe. Thanks.