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#70438: Emacs error 6 abort when starting rust-ts-mode Date: Wed, 17 Apr 2024 19:27:02 +0300 Message-ID: <868r1cgdk9.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20151"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70438@debbugs.gnu.org To: Stefan Heitmann , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 17 18:28:17 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 1rx88t-0004wz-ER for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Apr 2024 18:28:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx88Y-0003Oz-1K; Wed, 17 Apr 2024 12:27:54 -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 1rx88V-0003OQ-No for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 12:27:51 -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 1rx88V-0004Yx-FY for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 12:27:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx88i-0001HI-Bf for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 12:28:04 -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, 17 Apr 2024 16:28:04 +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.17133712524664 (code B ref 70438); Wed, 17 Apr 2024 16:28:04 +0000 Original-Received: (at 70438) by debbugs.gnu.org; 17 Apr 2024 16:27:32 +0000 Original-Received: from localhost ([127.0.0.1]:46807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx88B-0001Cx-DK for submit@debbugs.gnu.org; Wed, 17 Apr 2024 12:27:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx887-0001CG-NY for 70438@debbugs.gnu.org; Wed, 17 Apr 2024 12:27:28 -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 1rx87n-0004VL-1Y; Wed, 17 Apr 2024 12:27:07 -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=cJ5dT6hFcrLDTSJdruZp4CGGvnmexfsIjiE7SjIuJC8=; b=FNQtyx+7iUwl ttyoKJLLOKU4YWBYSWmXsSY1BYkRSNtlqEcuhQp8WtpRDu87xXSRm/O2Wmo+vj7uaB880bKG8zBMw 0ep/pcwbVY/SidHWSsUED1QMOGG5wRfNNme5/KPDAbjd7KiAxeU2qkA26z0d6TpvQKyUFrLULUeVh TK/U9b7Thy3F40DV092xkEGeaJh77ANu/q7nNpBMC/59KDGQwyno4eUjIF/iB5fe+SfWyNQQkK/iI MDb+9Yv3zzVy2B/PP2GtbX/4XXUh7zO2kATaxddTZ6JwGLamX50hu6sey9fXJVXEjuLVC3+kQBi8S IKUn/sxRT32qxi7ouExYJQ==; In-Reply-To: (message from Stefan Heitmann on Wed, 17 Apr 2024 11:41:16 +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:283505 Archived-At: > From: Stefan Heitmann > Date: Wed, 17 Apr 2024 11:41:16 +0000 > > From: sh@bytekomplex.de > To: bug-gnu-emacs@gnu.org > Subject: 29.3; After upgrading Arch - Emacs crashes when starting rust-ts-mode > Date: Wed, 17 Apr 2024 13:35:04 +0200 > Message-ID: <87mspsi5nb.fsf@heistemaux.mail-host-address-is-not-set> > --text follows this line-- > > Opening a rust file (*.ts) and doing M-x rust-ts-mode crashes my > emacs. When I start emacs using the terminal I get the following when it > crashes: > > *** stack smashing detected ***: terminated > Fatal error 6: Aborted > Backtrace: > emacs(+0x140096)[0x5cc8dc378096] > emacs(+0x20330)[0x5cc8dc258330] > emacs(+0x21153)[0x5cc8dc259153] > emacs(+0x29ad8d)[0x5cc8dc4d2d8d] > /usr/lib/libc.so.6(+0x3c770)[0x736916235770] > /usr/lib/libc.so.6(+0x8d32c)[0x73691628632c] > /usr/lib/libc.so.6(gsignal+0x18)[0x7369162356c8] > /usr/lib/libc.so.6(abort+0xd7)[0x73691621d4b8] > /usr/lib/libc.so.6(+0x25395)[0x73691621e395] > /usr/lib/libc.so.6(+0x11473b)[0x73691630d73b] > /usr/lib/libc.so.6(+0x115a56)[0x73691630ea56] > emacs(+0x24a063)[0x5cc8dc482063] > /usr/lib/emacs/29.3/native-lisp/29.3-4b59e32f/treesit-37439c61-97df641d.eln > (F747265657369742d666f6e742d6c6f636b2d666f6e746966792d726567696f6e_treesit_font_lock_fontify_region_0+0x1f2)[0x7369068e6832] > 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? Thanks.