From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#62875: 28.2; Crash on MacOS/M1 with treesitter enabled Date: Sat, 15 Apr 2023 22:33:31 -0700 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) 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="27714"; mail-complaints-to="usenet@ciao.gmane.io" Cc: drew.moseley@gmail.com, 62875@debbugs.gnu.org To: Ruijie Yu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 16 07:34:26 2023 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 1pnv1t-0006zU-Lv for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Apr 2023 07:34:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnv1a-0007Kx-Sx; Sun, 16 Apr 2023 01:34:06 -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 1pnv1X-0007KQ-CW for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 01:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pnv1W-0002B6-In for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 01:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnv1W-0003Qk-3h for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 01:34:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Apr 2023 05:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62875 X-GNU-PR-Package: emacs Original-Received: via spool by 62875-submit@debbugs.gnu.org id=B62875.168162323113166 (code B ref 62875); Sun, 16 Apr 2023 05:34:02 +0000 Original-Received: (at 62875) by debbugs.gnu.org; 16 Apr 2023 05:33:51 +0000 Original-Received: from localhost ([127.0.0.1]:50466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnv1K-0003QH-Up for submit@debbugs.gnu.org; Sun, 16 Apr 2023 01:33:51 -0400 Original-Received: from mail-pg1-f176.google.com ([209.85.215.176]:51405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnv1J-0003Q1-Bf for 62875@debbugs.gnu.org; Sun, 16 Apr 2023 01:33:49 -0400 Original-Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-51452556acdso1369170a12.2 for <62875@debbugs.gnu.org>; Sat, 15 Apr 2023 22:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681623223; x=1684215223; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=tfitIX99fYB7m0KdWed8cZBWHLslsfSf2+BsNbThFio=; b=pmbZmFPP0kEMNR+/trA3Z9NOj3II9IINML1zkCWpRMWEHapt9egT7HDg8wirKGzvcy e+JFYBvtYPyAlCRsnHzqhWySm1coOpCcH8zrsd97GxnvabGZIXeRVsu5wYgn0Ren8Caj cFuj5T9OG1xGCgBWaKxBMkDpMS+qZK1XvP+h0Z/jHCeKwXJxUHdyuM3aEUzsNp3t/k0j e2WC7BBycAM4Q8t1eF1rxzKRFXmbDU6W5iNEDf4zNxZKzOFahgFQh2L1tcx43BWw/Z2a KwXibGfwKmahxY8gZKNgesrc4cdPz6HcGefyyiQwXfo/dU4kLpBLd3roTgD+RrSomY6U EqhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681623223; x=1684215223; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tfitIX99fYB7m0KdWed8cZBWHLslsfSf2+BsNbThFio=; b=Qd0NlnaF7+s4f33R7LSo4wYIAjgTWJ8NDYrGHeRpy7O6PzP6woIPdHB+Bp6OhGkDz4 q1hIRTDWjGBju8c62jVdF8JQEJODJKYc5+mnV2IK+1GlgM41f8DMBAXoc4GN3xGG9tyh MXw1TuRhCxSHg6wyrIuYeiij/BV+V3b0vWmaYPkRiXjsB/CuAlAqHWd7/MdZ8lSw9/Mx wWRRUWujv7A5mnA5UWsiS+cKp+A2UH6XztsLbKUKXd63l3WziELEUQlW+Ze9AOX9LYpS cAKcTn+9dZMx/xt2Br5fc8QVR5o1S0quk6BqVWM+ZU7+/2KlNC4D3qF6PZ2sFTCAY60o yMBw== X-Gm-Message-State: AAQBX9fYVB5/p0Rgw1lz756p3+O9YmRedRvwaq+3RjX4yUOAYoVirnA2 digfhlMik2RSBmziVZD1/HU= X-Google-Smtp-Source: AKy350YoF+7cOX2aSyyRcjNQimfuH9pk5qxP8DhLt9xUsJ4kKom5XKOmZJjYI4YqsPDiidnqp4YU7g== X-Received: by 2002:a05:6a00:9a2:b0:63b:8778:99f7 with SMTP id u34-20020a056a0009a200b0063b877899f7mr2516420pfg.9.1681623223396; Sat, 15 Apr 2023 22:33:43 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id p24-20020aa78618000000b00625616f59a1sm2316084pfn.73.2023.04.15.22.33.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Apr 2023 22:33:42 -0700 (PDT) X-Mailer: Apple Mail (2.3731.500.231) 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:260089 Archived-At: Thanks for notifying me Ruijie Yu writes: >> [...] >> Although, please take that with a grain of salt, because I noticed = that >> tree-sitter is not mentioned in configure, nor the configured = features. >> If I'm not mistaken, tree-sitter feature is automatically enabled = when >> the executable "tree-sitter" is found. Did you install it from your >> package manager like brew? > > Clarification: "Did you install *tree-sitter* from your package = manager > like brew?". A couple of things: you are using the third-party tree-sitter package, not the builtin one, so what Ruijie said doesn=E2=80=99t apply in this particular case. Let=E2=80=99s see the log and check out what=E2=80=99s = going on. Emacs 29 (and nightly) comes with a builtin support for tree-sitter. Looking at emacsformacosx, all nightly builds since 2023/3/10 have tree-sitter builtin. To try that out, you can follow this guide: https://archive.casouri.cc/note/2023/tree-sitter-in-emacs-29/index.html A easy way to distinguish between the third-party package and the builtin support is to look at the prefix, tree-sitter-xxx is the third-party one, treesit-xxx is the builtin one. Yuan