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#70438: Emacs error 6 abort when starting rust-ts-mode Date: Sat, 20 Apr 2024 15:20:41 -0700 Message-ID: References: <868r1cgdk9.fsf@gnu.org> <0439FD61-C3EE-4438-B775-043FE098F41E@gmail.com> <86zfto8jfs.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) 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="36018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70438@debbugs.gnu.org, Stefan Heitmann To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 21 00:22: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 1ryJ65-00097I-Pp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Apr 2024 00:22:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryJ5g-0001F2-Au; Sat, 20 Apr 2024 18:21:48 -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 1ryJ5f-0001Er-En for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 18:21:47 -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 1ryJ5f-00009Y-5o for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 18:21:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryJ5t-000157-Sv for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 18:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2024 22:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70438 X-GNU-PR-Package: emacs Original-Received: via spool by 70438-submit@debbugs.gnu.org id=B70438.17136516793862 (code B ref 70438); Sat, 20 Apr 2024 22:22:01 +0000 Original-Received: (at 70438) by debbugs.gnu.org; 20 Apr 2024 22:21:19 +0000 Original-Received: from localhost ([127.0.0.1]:38530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryJ5B-0000zn-Sw for submit@debbugs.gnu.org; Sat, 20 Apr 2024 18:21:19 -0400 Original-Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:59847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryJ57-0000yE-U5 for 70438@debbugs.gnu.org; Sat, 20 Apr 2024 18:21:16 -0400 Original-Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-5d3907ff128so2455029a12.3 for <70438@debbugs.gnu.org>; Sat, 20 Apr 2024 15:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713651653; x=1714256453; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+1z65RTUOKWWqcETT+L9uWJSlzps0s1rhKbuRaou/20=; b=f3Ye5Sr99er+nDnfe3A1jECNyxL2D7iewvMYZ5ZLuPKdv04/OL6edEuuchagR0rdfR 5NgNrjtFCFQmlVvK/JaEMnza+NL4gdgC9O2Ozhf0n6Z/OPe0v6mqHFsvzxBZfi9UB67B d5Mag0latPQKk3es0nBWF0dmG5QfIfzLmfzGCKUAb/GgOH8YCdoTPWWZ8UU4pLqddo+A ebVqFqFYMxqEC/grNBrXROqWBCVCqT5nW7uew0TK9fjRXsFeRdVzfTwCnL7wY5y5SKZa khGOwSacdXYTr8oEKDW61me4NdN8bp3dGy4NsUBXdunyXZBC5re/rfRRT+GMoW894h8Z vDZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713651653; x=1714256453; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+1z65RTUOKWWqcETT+L9uWJSlzps0s1rhKbuRaou/20=; b=wdsOyPLyAmv1LJiVe4P9sTKFJ2mdX36kheMGNGagcaV9wEmxyquH+WEkLDyQk4/CsE Zfn7GnxWoflPkNGrMRvRs00dsmRCampg0e8S9zNP4DB93pHEy2BFBkqBKek1DHJKbe7w WHz+Z49hjQWlDOO0dq1GTWWi0XkBsb6ElMtNShVEBIUjwvJe8RT9H4LLOl52aatdD6Gi TGH8F2TtFzrkmI4+oIxj7DGAB8iUQnnLAqt/YmvBqnAhu6w7p/poNFp1xgryDTXbHzJb YCew1aY0TX22cglbhJuRO5iF9e1pfV9/AJ7YwRLTyC3Kk2MwAsORFurMeFD0dELjWIQ6 wofg== X-Forwarded-Encrypted: i=1; AJvYcCW/+jmJPRuVhRpyECXK+ucezszM3NXMIONK8OTFvkJxFBA1BeRDHasR0PlK704D8LQa/ghGB+74I/fmpAjy8fW3LhLVpdY= X-Gm-Message-State: AOJu0Ywgd6crlFXoEtsfruEqnYN/awxYfFkLLzusy3c8GUYQY+0GT3jD xY+YZ4aAKn5ATWEhR1427qGWnzjfY4nZ8VQ1mA7xcHqOvH+AnyHc X-Google-Smtp-Source: AGHT+IGJx3yhHE+ypiEkJD0Q2y/kQ1N0+LAeN3WZdpFPIJQdDbTQgAUJ8MTyt0OF9GxK2i6bokaQTw== X-Received: by 2002:a05:6a20:3ca0:b0:1a7:3d2a:7383 with SMTP id b32-20020a056a203ca000b001a73d2a7383mr9691496pzj.18.1713651652955; Sat, 20 Apr 2024 15:20:52 -0700 (PDT) Original-Received: from smtpclient.apple ([208.95.235.149]) by smtp.gmail.com with ESMTPSA id y3-20020aa78543000000b006ed53b2652fsm5318237pfn.101.2024.04.20.15.20.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Apr 2024 15:20:52 -0700 (PDT) In-Reply-To: <86zfto8jfs.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.700.6.1.1) 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:283747 Archived-At: > On Apr 20, 2024, at 2:36 AM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Sat, 20 Apr 2024 01:28:48 -0700 >> Cc: Stefan Heitmann , >> 70438@debbugs.gnu.org >>=20 >>> Yuan, can you please look into this? It seems the latest versions = of >>> tree-sitter made some incompatible ABI change (without changing the >>> shared-library version, I guess? not nice!), so can we have some >>> workaround for this? >>=20 >> I think tree-sitter people are working to fix this [1]. I don=E2=80=99t= think we can do much here, AFAICT tree-site changed ABI without bumping = ABI version, and Arch and Gentoo are serving old Emacs build this new = tree-sitter so, which is incompatible and crashed Emacs. We can=E2=80=99t = really do anything to the Emacs build on people=E2=80=99s machines = (though, who knows, maybe you CAN cask spells and flip bits). >>=20 >> [1] https://github.com/tree-sitter/tree-sitter/issues/3296 >=20 > It isn't clear to me what would be their solution. Couldn't we at > least reject these new versions at configure time, until they fix the > issue? =46rom what I understand, rebuilding Emacs with the new header file = should fix the issue? Even if we push some change, users need to rebuild = Emacs anyway. >=20 > And when they do bump the ABI version, what would be our solution to > support both previous and new ABIs? When then do bump ABI version, the old and new libtree-sitter.so will = live alongside each other, Emacs built with the old libtree-sitter.so = will use the old version, and Emacs built with the new libtree-sitter.so = will use the new version. Yuan=