From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#71681: 29.3.50; tree-sitter crash Date: Mon, 01 Jul 2024 09:49:09 +0300 Organization: LINKOV.NET Message-ID: <864j99d2vr.fsf@mail.linkov.net> References: <86h6dny3om.fsf@mail.linkov.net> <9D0E4C93-9CCC-4C0E-BDF7-CB6F09132C23@gmail.com> <86o77rpnjz.fsf@mail.linkov.net> <74F62063-1C20-4257-92BA-F2CF02B9A588@gmail.com> <25A37A53-DD48-4E34-ABD7-1BACECCD8CEC@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37116"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 71681@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 01 08:51:20 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 1sOAsi-0009Xt-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Jul 2024 08:51:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOAsR-0007Xn-Tk; Mon, 01 Jul 2024 02:51:03 -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 1sOAsQ-0007Ql-DZ for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2024 02:51:02 -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 1sOAsQ-0000oz-1K for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2024 02:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOAsQ-0007AY-6D for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2024 02:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jul 2024 06:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71681 X-GNU-PR-Package: emacs Original-Received: via spool by 71681-submit@debbugs.gnu.org id=B71681.171981662127508 (code B ref 71681); Mon, 01 Jul 2024 06:51:02 +0000 Original-Received: (at 71681) by debbugs.gnu.org; 1 Jul 2024 06:50:21 +0000 Original-Received: from localhost ([127.0.0.1]:59945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOArk-00079b-Iv for submit@debbugs.gnu.org; Mon, 01 Jul 2024 02:50:20 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:54059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOArd-00079F-Tt for 71681@debbugs.gnu.org; Mon, 01 Jul 2024 02:50:18 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 427EA20004; Mon, 1 Jul 2024 06:50:04 +0000 (UTC) In-Reply-To: <25A37A53-DD48-4E34-ABD7-1BACECCD8CEC@gmail.com> (Yuan Fu's message of "Sat, 29 Jun 2024 16:54:39 -0700") X-GND-Sasl: juri@linkov.net 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:288235 Archived-At: > I reduced the crash to a signal and pushed the fix to emacs-30. > Next I’ll make sure the signal is properly handled. Now with the latest emacs-30 at the commit b2c966f8396 there is another problem: 0. emacs -Q 1. eval: (setq backtrace-on-redisplay-error t) 2. eval: (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode)) 3. C-x v L 4. in the *vc-change-log* buffer move point to the commit b2c966f8396 5. type D Warning (error): Error in a redisplay Lisp hook. See buffer *Redisplay-trace* Error: treesit-node-outdated (#) treesit--font-lock-fontify-region-1(# # 99654 99975 nil nil) treesit-font-lock-fontify-region(99654 99975 nil) font-lock-fontify-syntactically-region(99654 99975 nil) font-lock-default-fontify-region(99654 99974 nil) font-lock-fontify-region(99654 99974) font-lock-ensure(99654 99974) diff-syntax-fontify-hunk(122 539 t) diff-syntax-fontify(122 539) diff--font-lock-syntax(539) font-lock-fontify-keywords-region(1 539 nil) font-lock-default-fontify-region(1 539 nil) font-lock-fontify-region(1 539) jit-lock--run-functions(1 539) jit-lock-fontify-now(1 539) jit-lock-function(1) vc-diff-finish(# nil nil) vc-exec-after(#f(compiled-function () #)) log-view-diff-common(1 1 t) log-view-diff-changeset(1 1) funcall-interactively(log-view-diff-changeset 1 1) command-execute(log-view-diff-changeset)