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#72238: 31.0.50; Segfault after treesit_delete_query Date: Mon, 22 Jul 2024 14:17:08 +0300 Message-ID: <865xsxbrrf.fsf@gnu.org> References: <87h6cixu2i.fsf@pub.pink> 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="4121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: noah.v.peart@gmail.com, jm@pub.pink, 72238@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 22 13:20:19 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 1sVr5V-0000w5-Kk for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Jul 2024 13:20:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVr5I-0008Je-Vi; Mon, 22 Jul 2024 07:20:05 -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 1sVr5G-0008AM-KR for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 07:20: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 1sVr5D-0005Fw-Dp for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 07:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVr5G-0003w3-5R for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 07:20: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: Mon, 22 Jul 2024 11:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs Original-Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.172164717315081 (code B ref 72238); Mon, 22 Jul 2024 11:20:02 +0000 Original-Received: (at 72238) by debbugs.gnu.org; 22 Jul 2024 11:19:33 +0000 Original-Received: from localhost ([127.0.0.1]:56897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVr4n-0003vB-6h for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:19:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVr4l-0003uy-10 for 72238@debbugs.gnu.org; Mon, 22 Jul 2024 07:19:31 -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 1sVr2W-00051C-J8; Mon, 22 Jul 2024 07:17:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hExujTLoAgYXW9jzW67YqKxJnG3C5RE1rEFlYXzGuQs=; b=hTaF6HnqBurDB/h/fnnN edXlpSmCmDHgudfem8GaJyoazx0VOODUiOifdIG0Tjbne2z5HY1k4Lm1560Cx2KBsJ5tv5QEGXQIr CCitW5/2TXlJNLlPIxOEQ+BgeJjHD39sR1wh8zkR3vIDU24GKsY7mLAA6nTgl9+WhlpZhOJ2qvtWA k3QHJTsq/vmQ75oeJq2krLxbZ1s14rJ5xzJXudyNPZM3qZZPBfdULAx7kScZdgyKIKwUEvPWDmR/J dzFSL3J3/XZBBlrs6Dqv2f2QJ1T5DAh5D37pc/twjGlMljV8Eg50GDbqCOMP2V6j+p9m5Nlo+KecG aC7bARokYcRclQ==; In-Reply-To: (message from Yuan Fu on Sun, 21 Jul 2024 17:01:31 -0700) 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:289112 Archived-At: > Cc: Noah Peart , 72238@debbugs.gnu.org > From: Yuan Fu > Date: Sun, 21 Jul 2024 17:01:31 -0700 > > > > > On Jul 21, 2024, at 3:24 PM, john muhl wrote: > > > > Noah Peart writes: > > > >> After recent build, emacs is crashing frequently when using tree-sitter > >> modes. > >> > >> The following backtrace was generated after opening a few C files, > >> enabling c-ts-mode, and moving the cursor around a bit. I dont have > >> precise steps for repeatability at this point (sorry!), as it seems to > >> occur during garbage collection. > >> > >> Let me know if there is more useful output I could provide. > > > > Could you try reverting 1abf3bdd7ed and see if that helps? > > Hey guys, sorry for the segfault. It’s indeed caused by 1abf3bdd7ed, I just fixed it on master. Thanks, but I'm confused, since I see a fix both on emacs-30 and on master. What exactly did you fix and on which branch(es)? Did the problem exist on emacs-30 (it was reported for master)?