From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Heitmann Newsgroups: gmane.emacs.bugs Subject: bug#70438: Emacs error 6 abort when starting rust-ts-mode Date: Wed, 17 Apr 2024 11:41:16 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AM0PR03MB56368EF3BF4D1A1DAEAD1104AC0F2AM0PR03MB5636eurp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15403"; mail-complaints-to="usenet@ciao.gmane.io" To: 70438@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 17 18:12:15 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 1rx7tO-0003m3-AP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Apr 2024 18:12:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx7tA-0006Np-6v; Wed, 17 Apr 2024 12:12:00 -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 1rx7t9-0006Ng-90 for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 12:11:59 -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 1rx7t9-0002HP-0W for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 12:11:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx7tL-0007po-EZ for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 12:12:11 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Heitmann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Apr 2024 16:12:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70438 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.171337027929753 (code B ref -1); Wed, 17 Apr 2024 16:12:08 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Apr 2024 16:11:19 +0000 Original-Received: from localhost ([127.0.0.1]:46727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx7s5-0007gZ-1P for submit@debbugs.gnu.org; Wed, 17 Apr 2024 12:11:19 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:34402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx3kV-0006R0-G0 for submit@debbugs.gnu.org; Wed, 17 Apr 2024 07:46:52 -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 1rx3kB-0006Ge-Pf for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 07:46:27 -0400 Original-Received: from mail-vi1eur04on20701.outbound.protection.outlook.com ([2a01:111:f403:2611::701] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rx3k7-0002cj-6x for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 07:46:27 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hnmBioP0w3O9Y96zlsjGWAeIupZqAvyshMuuueW2A15vkfFpIllcheKv/H5tvlOf+q1f4kqFd9yob0PYHBU8UEeadqBb7AuzKWAc7xkVhOAnaBIsPt6e4snFLGrvm1h0bwaNus67bXvoY/mw64493uyyUTlpgd+pRiQoWg4gUj0/qRN11b3K0oEQP82BB9RoJFjoXqtwKILH6bgak5JoKHRxcpNTvjS68fWTesRqzRPI3/gqI2WMXSpO8EdhSSapXM1Mu4ukKbbbLi7Wxp/+RflNRwV8KlN/O/9NqUvNGW37prF4owwN77rnBkNJl5QTGL58ftZ6SaGK/aAu3nju2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Oty2oyNhPrTWodn8KObKgTq1EaNe1jmP+50ftfOY8CM=; b=Y4cFpbwXNjJ5LZSwccpmWOoa+QM4V8Y4ukTXOK6Xd2TKA0V3/IrdMtCjf8b7KtLHGier3UWc/nT25Z4MT5C6dkPvO9Cv8dXm9QrhSD9N41lB1jDTGvXaP7NmpMtStBnERovpbISS8e1kK7PYDZ3vs8g+6dx49UOQHe6N+qINjbqlLNTnIACgPxvmK2zCnRykfeyK/BbYFmuCPkjpbI8OJtjmP7Ma11+aMQLbOKgftgSKSWyghXAqmMiTZcsP5gg44s3Znps3gkdAwUcrKE0wE1axiYmC6igfVIgPFpQzx5BSA7GQ0luwIqZtqPb1DfkpU/eF2GYp+Iax4jFMzmYowg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bytekomplex.de; dmarc=pass action=none header.from=bytekomplex.de; dkim=pass header.d=bytekomplex.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytekomplex.onmicrosoft.com; s=selector2-bytekomplex-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Oty2oyNhPrTWodn8KObKgTq1EaNe1jmP+50ftfOY8CM=; b=WIVnOqC6/Jn6x5KVuSW8HjdrNI5gN62eqPfmTiai3DiSjHz/LwSBb1FBxYGmQwH2bkXTd2b7jYXeeAze6P1krBDsTdX8jtvf+ee4oIFoL0wmZyJ8llZjnpaJqNEwYSOU5gr8xoRNgyPTgP5YVmemqBamQ+QzzcJz6wLvGMeByk8= Original-Received: from AM0PR03MB5636.eurprd03.prod.outlook.com (2603:10a6:208:178::10) by PAXPR03MB7635.eurprd03.prod.outlook.com (2603:10a6:102:1dd::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Wed, 17 Apr 2024 11:41:16 +0000 Original-Received: from AM0PR03MB5636.eurprd03.prod.outlook.com ([fe80::b9b9:2b8e:2f52:f0dc]) by AM0PR03MB5636.eurprd03.prod.outlook.com ([fe80::b9b9:2b8e:2f52:f0dc%3]) with mapi id 15.20.7452.049; Wed, 17 Apr 2024 11:41:16 +0000 Thread-Topic: Emacs error 6 abort when starting rust-ts-mode Thread-Index: AQHakLwVjLtvMS18gUO43M7qAswlMg== Accept-Language: de-DE, en-US Content-Language: de-DE authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=bytekomplex.de; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM0PR03MB5636:EE_|PAXPR03MB7635:EE_ x-ms-office365-filtering-correlation-id: dcf9be8b-eb46-4a8c-70fa-08dc5ed34abc x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZRIsTpy+8bHoY5qm1mIbEyoAFClDUJt7NndPWpfovqxUlD9UoklfBBLVY9SGVsNP7SbhWGYjisq2Fpi1LQvCro5btog6xA/7H9Q9V51CsiR9bZX9VZ7SAZphbd/pDm6hVw3k7D8xIn/di1Z6mUSdDvIwVHZK3FeVb94D+y9xdkDKChcMA2G2g5wEEmPagWV7IYTaEcjfwg6WeeMYaFtrwBCd4OouQC46ggKZKD/+pSHMnBsnHdFXwETpTq+jeRbPfiM9UJr4bFaTpGPSYRY1mnj0xp/G2T63UTLQyFfo2SGLLApDtBKagiX+kBg6JYNVElqu5Ilj645FsuDoefeEAG6eQvD9eW8HvCLpuglSvrl7FTouDr/tY2l5lDWy3acgr49fe1te5MSrNuQkOiDGD0niN73MD1XhZoyobBGizkd5DOGqQRjyBG0xW9aH+DoDBsp4CwdlxmahXWUugNyi17lGQR1vWoXRzrpmxF1prK1V03kF+immtH1Xes7IQHd46iNp2NmGx/gmz7CZHAB8py6Wr+tlQudzc8Xc9xGa0WF/I5XB5gSEEIBbTbcI1fwDHRX50jOJc9gRXV77GOlvu7dimvn7CpXWldIR9bjWeAVAc/O8AdrCYJ2TLqfAxtJuQ1BmLyTIi9XoKoNaWfo1apiIWeAYFDshcP03hLwym6U= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR03MB5636.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(366007)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: gibNKI+ZL8l8AO7mZRjTtefC0H7ciLqFLLVYCJH9sPFGgzleNROZId+ZEH0yblmbyRwDKwo40iiTlIirndL3mKKOtDT3k+u4yDB2vYCmtKOw2ipqQg5Mqc8KXLC0Yio3s+GyC7URmHGUOT51npGydY4Y4CSOaD/FZNYSbVqDP0vLWgL9bREt9M62BJDMXgArAc7tg4JvqOMl9O5v14wbK9BG9xP73X7+49ej4B5wdH4XqWZyF0UfP1oFIG3xbhthiGjxBPB83Cb9u1CIZJ11zHKWmqUwEcOBlrc6nHR6kMtjhVTzRmnvj+O4yVdyrO0y2U05tCeXAiP8W+oioHr/Y1MNgv6HlucIQ5KdfDktOZ2vEbQIvlcT60xc8sFmKTqsWQgtXC2iuOj6MqPMO5RpEkthWnvUBZkokkNTSmZgbUP+ZEWY2xxOffyDspdyVL4eYAeDHly99E8P+++X8T/oPp2egYPo0P9/AmxlFVayig65FtkeYveNz7JrgXKY2eS3Bs2PpmDALnc5ydvVXpbPBUAqX9B7uSPvIUmBU/FrzAVv5eiYal3iXj8inna1oeBD1oKaVJ8lT03vqRq+A5OmlMwja/oO8Xw2U9UNVxDkzijcuQ/vk7iDdTqJpatHLX8brMEnW0P1OiNr0COe/QqePKTij5qFvlXRw3PMJ0znOfImNece7LvvhO29Xwjj8WBiUUsK5dcgBDP0QQnE5xn0S1379yPIxT5AxSv+1PXhvqBUFow8XkqNAclUHR dqZrsNkFqRQEKNWrYCV76ttWaesHZ0oRsVgkRtfAGFtjp/4r2Fuoj6gJl0763Vh+R+fvbfe0+aF5MqJLV0DjlTjvxuU7hcDH8h X-OriginatorOrg: bytekomplex.de X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR03MB5636.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dcf9be8b-eb46-4a8c-70fa-08dc5ed34abc X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2024 11:41:16.4394 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 422d3cd4-6053-45b4-b6aa-0c7f517c8b4e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AQ7scu9PjtiyfY3jbMaILMqBjlgXLs6npcuoa1v75g9s3ROv2k/l1IFkx4sJSPC5cN/AcLJO3ergeLywDtn6HA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR03MB7635 Received-SPF: pass client-ip=2a01:111:f403:2611::701; envelope-from=sh@bytekomplex.de; helo=EUR04-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 17 Apr 2024 12:10:49 -0400 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:283502 Archived-At: --_000_AM0PR03MB56368EF3BF4D1A1DAEAD1104AC0F2AM0PR03MB5636eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable From: sh@bytekomplex.de To: bug-gnu-emacs@gnu.org Subject: 29.3; After upgrading Arch - Emacs crashes when starting rust-ts-m= ode 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] emacs(+0x1b661e)[0x5cc8dc3ee61e] /usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/font-lock-89= 5216f6-1f3b244f.eln(F666f6e742d6c6f636b2d666f6e746966792d73796e746163746963= 616c6c792d726567696f6e_font_lock_fontify_syntactically_region_0+0x62)[0x736= 911930f42] emacs(+0x1b661e)[0x5cc8dc3ee61e] /usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/font-lock-89= 5216f6-1f3b244f.eln(F666f6e742d6c6f636b2d64656661756c742d666f6e746966792d72= 6567696f6e_font_lock_default_fontify_region_0+0x4af)[0x73691192ebef] emacs(+0x1b661e)[0x5cc8dc3ee61e] /usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/font-lock-89= 5216f6-1f3b244f.eln(F666f6e742d6c6f636b2d666f6e746966792d726567696f6e_font_= lock_fontify_region_0+0x93)[0x73691192d873] emacs(+0x2078be)[0x5cc8dc43f8be] emacs(+0x1b661e)[0x5cc8dc3ee61e] emacs(+0x1bac31)[0x5cc8dc3f2c31] emacs(+0x1b567c)[0x5cc8dc3ed67c] /usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/jit-lock-8a9= 88e43-a9956d8b.eln(F6a69742d6c6f636b2d2d72756e2d66756e6374696f6e73_jit_lock= __run_functions_0+0xd8)[0x736911597c88] emacs(+0x1b661e)[0x5cc8dc3ee61e] /usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/jit-lock-8a9= 88e43-a9956d8b.eln(F6a69742d6c6f636b2d666f6e746966792d6e6f77_jit_lock_fonti= fy_now_0+0x80a)[0x73691159859a] emacs(+0x1b661e)[0x5cc8dc3ee61e] /usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/jit-lock-8a9= 88e43-a9956d8b.eln(F6a69742d6c6f636b2d66756e6374696f6e_jit_lock_function_0+= 0x26f)[0x73691159798f] emacs(+0x1b661e)[0x5cc8dc3ee61e] emacs(+0x29e8d1)[0x5cc8dc4d68d1] emacs(+0x4d90b)[0x5cc8dc28590b] emacs(+0x53a10)[0x5cc8dc28ba10] emacs(+0x57d96)[0x5cc8dc28fd96] emacs(+0x5da76)[0x5cc8dc295a76] emacs(+0x54976)[0x5cc8dc28c976] emacs(+0x76af9)[0x5cc8dc2aeaf9] emacs(+0x7ea02)[0x5cc8dc2b6a02] emacs(+0x6f4c3)[0x5cc8dc2a74c3] emacs(+0x1b3aec)[0x5cc8dc3ebaec] emacs(+0x6f418)[0x5cc8dc2a7418] emacs(+0x6f43d)[0x5cc8dc2a743d] ... Aborted (core dumped) My error seems to be similiar to this one: https://github.com/tree-sitter/tree-sitter/issues/3296 However, I was encouraged on #emacs to file another bug report to the emacs project. In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) System Description: Arch Linux Configured using: 'configure --with-pgtk --with-native-compilation=3Daot --sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib --with-tree-sitter --localstatedir=3D/var --with-cairo --disable-build-details --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=3Dauto' 'CXXFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptio= ns -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Dauto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: marginalia-mode: t vertico-mode: t global-corfu-mode: t corfu-mode: t global-git-commit-mode: t eshell-syntax-highlighting-global-mode: t shell-dirtrack-mode: t projectile-mode: t recentf-mode: t which-key-mode: t persp-mode: t global-evil-collection-unimpaired-mode: t evil-collection-unimpaired-mode: t evil-mode: t evil-local-mode: t minimap-mode: t global-undo-tree-mode: t undo-tree-mode: t doom-modeline-mode: t general-override-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t global-auto-revert-mode: t electric-pair-mode: t delete-selection-mode: t windmove-mode: t elpaca-use-package-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug mule-util vc-git vc-dispatcher org-indent toc-org oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi pulse org-agenda org-element org-persist xdg org-id avl-tree org-refile time rainbow-delimiters rainbow-mode hl-todo orderless marginalia vertico corfu ob-restclient restclient magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit package browse-url url-handlers magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff-mode git-commit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient magit-git magit-base magit-section cursor-sensor crm org-bullets sudo-edit dired-open dired-hacks-utils dired-x tldr vterm-toggle tramp-sh vterm bookmark pp tramp tramp-loaddefs trampver tramp-integration tramp-compat parse-time iso8601 face-remap color vterm-module term/xterm xterm eshell-syntax-highlighting em-prompt em-alias eshell-toggle term disp-table shell ehelp esh-mode eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util files-x neotree projectile project lisp-mnt grep compile text-property-search ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs evil-collection-dashboard dashboard dashboard-widgets recentf tree-widget wid-edit ffap diminish which-key perspective ido evil-tutor evil-collection-unimpaired evil-collection-dired evil-collection annalist evil evil-integration evil-maps evil-commands reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core advice evil-common thingatpt rect evil-vars edmacro kmacro minimap undo-tree diff queue avy all-the-icons-dired dired dired-loaddefs all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core comp comp-cstr warnings shrink-path f s dash nerd-icons nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon compat doom-nord-theme doom-themes doom-themes-base general orderless-autoloads marginalia-autoloads consult-autoloads vertico-autoloads corfu-autoloads ob-restclient-autoloads restclient-autoloads git-timemachine-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads with-editor-autoloads org-bullets-autoloads toc-org-autoloads sudo-edit-autoloads peep-dired-autoloads dired-open-autoloads dired-hacks-utils-autoloads tldr-autoloads vterm-toggle-autoloads vterm-autoloads eshell-syntax-highlighting-autoloads eshell-toggle-autoloads diminish-autoloads neotree-autoloads projectile-autoloads dashboard-autoloads which-key-autoloads perspective-autoloads evil-tutor-autoloads evil-collection-autoloads annalist-autoloads evil-autoloads goto-chg-autoloads hl-todo-autoloads minimap-autoloads undo-tree-autoloads queue-autoloads rainbow-mode-autoloads rainbow-delimiters-autoloads avy-autoloads all-the-icons-dired-autoloads all-the-icons-autoloads doom-modeline-autoloads compat-autoloads nerd-icons-autoloads shrink-path-autoloads f-autoloads s-autoloads dash-autoloads doom-themes-autoloads general-autoloads app-launcher-autoloads org-tempo tempo display-line-numbers autorevert filenotify elec-pair delsel cl-extra help-mode app-launchers buffer-move windmove elpaca-setup elpaca-use-package use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core elpaca-use-package-autoloads elpaca-log elpaca-ui url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core password-cache json map byte-opt bytecomp byte-compile url-vars mailcap cl-seq cl-macs gv elpaca elpaca-process elpaca-autoloads org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date subr-x noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs format-spec cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1019023 61146) (symbols 48 47444 3) (strings 32 317535 5547) (string-bytes 1 7916279) (vectors 16 95168) (vector-slots 8 2017207 65876) (floats 8 1478 287) (intervals 56 10218 397) (buffers 984 23)) --_000_AM0PR03MB56368EF3BF4D1A1DAEAD1104AC0F2AM0PR03MB5636eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
From: sh@bytekomplex.de 
To: bug-gnu-emacs@gnu.org
Subject: 29.3; After upgrading Arch - Emacs crashes when starting rust-ts-m= ode
Date: Wed, 17 Apr 2024 13:35:04 +0200
Message-ID: <87mspsi5nb.fsf@heistemaux.mail-host-address-is-not-set><= /div>
--text follows this line--

Opening a rust file (*.ts) and doing M-x rust-ts-mode <ENTER> 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]
emacs(+0x1b661e)[0x5cc8dc3ee61e]
/usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/font-lock-89= 5216f6-1f3b244f.eln(F666f6e742d6c6f636b2d666f6e746966792d73796e746163746963= 616c6c792d726567696f6e_font_lock_fontify_syntactically_region_0+0x62)[0x736= 911930f42]
emacs(+0x1b661e)[0x5cc8dc3ee61e]
/usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/font-lock-89= 5216f6-1f3b244f.eln(F666f6e742d6c6f636b2d64656661756c742d666f6e746966792d72= 6567696f6e_font_lock_default_fontify_region_0+0x4af)[0x73691192ebef]
emacs(+0x1b661e)[0x5cc8dc3ee61e]
/usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/font-lock-89= 5216f6-1f3b244f.eln(F666f6e742d6c6f636b2d666f6e746966792d726567696f6e_font_= lock_fontify_region_0+0x93)[0x73691192d873]
emacs(+0x2078be)[0x5cc8dc43f8be]
emacs(+0x1b661e)[0x5cc8dc3ee61e]
emacs(+0x1bac31)[0x5cc8dc3f2c31]
emacs(+0x1b567c)[0x5cc8dc3ed67c]
/usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/jit-lock-8a9= 88e43-a9956d8b.eln(F6a69742d6c6f636b2d2d72756e2d66756e6374696f6e73_jit_lock= __run_functions_0+0xd8)[0x736911597c88]
emacs(+0x1b661e)[0x5cc8dc3ee61e]
/usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/jit-lock-8a9= 88e43-a9956d8b.eln(F6a69742d6c6f636b2d666f6e746966792d6e6f77_jit_lock_fonti= fy_now_0+0x80a)[0x73691159859a]
emacs(+0x1b661e)[0x5cc8dc3ee61e]
/usr/bin/../lib/emacs/29.3/native-lisp/29.3-4b59e32f/preloaded/jit-lock-8a9= 88e43-a9956d8b.eln(F6a69742d6c6f636b2d66756e6374696f6e_jit_lock_function_0+= 0x26f)[0x73691159798f]
emacs(+0x1b661e)[0x5cc8dc3ee61e]
emacs(+0x29e8d1)[0x5cc8dc4d68d1]
emacs(+0x4d90b)[0x5cc8dc28590b]
emacs(+0x53a10)[0x5cc8dc28ba10]
emacs(+0x57d96)[0x5cc8dc28fd96]
emacs(+0x5da76)[0x5cc8dc295a76]
emacs(+0x54976)[0x5cc8dc28c976]
emacs(+0x76af9)[0x5cc8dc2aeaf9]
emacs(+0x7ea02)[0x5cc8dc2b6a02]
emacs(+0x6f4c3)[0x5cc8dc2a74c3]
emacs(+0x1b3aec)[0x5cc8dc3ebaec]
emacs(+0x6f418)[0x5cc8dc2a7418]
emacs(+0x6f43d)[0x5cc8dc2a743d]
...
Aborted (core dumped)

My error seems to be similiar to this one:
https://github.com/tree-sitter/tree-sitter/issues/3296

However, I was encouraged on #emacs to file another bug report to the
emacs project.


In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
cairo version 1.18.0)
System Description: Arch Linux

Configured using:
 'configure --with-pgtk --with-native-compilation=3Daot --sysconfdir= =3D/etc
 --prefix=3D/usr --libexecdir=3D/usr/lib --with-tree-sitter
 --localstatedir=3D/var --with-cairo --disable-build-details
 --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=3D-march=3Dx= 86-64
 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURC= E=3D2
 -Wformat -Werror=3Dformat-security -fstack-clash-protection
 -fcf-protection -g
 -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Da= uto'
 'LDFLAGS=3D-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro
 -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=3Dauto'
 'CXXFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexc= eptions
 -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security
 -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g=
 -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Da= uto''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  marginalia-mode: t
  vertico-mode: t
  global-corfu-mode: t
  corfu-mode: t
  global-git-commit-mode: t
  eshell-syntax-highlighting-global-mode: t
  shell-dirtrack-mode: t
  projectile-mode: t
  recentf-mode: t
  which-key-mode: t
  persp-mode: t
  global-evil-collection-unimpaired-mode: t
  evil-collection-unimpaired-mode: t
  evil-mode: t
  evil-local-mode: t
  minimap-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  doom-modeline-mode: t
  general-override-mode: t
  global-display-line-numbers-mode: t
  display-line-numbers-mode: t
  global-auto-revert-mode: t
  electric-pair-mode: t
  delete-selection-mode: t
  windmove-mode: t
  elpaca-use-package-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug mule-util vc-git vc-dispatcher
org-indent toc-org oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe
ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime
smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus
nnheader range ol-docview doc-view jka-compr image-mode exif ol-bibtex
bibtex ol-bbdb ol-w3m ol-doi org-link-doi pulse org-agenda org-element
org-persist xdg org-id avl-tree org-refile time rainbow-delimiters
rainbow-mode hl-todo orderless marginalia vertico corfu ob-restclient
restclient magit-bookmark magit-submodule magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit package browse-url url-handlers magit-repos
magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode
diff-mode git-commit log-edit message sendmail yank-media puny rfc822
mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader
pcvs-util add-log magit-core magit-autorevert magit-margin
magit-transient magit-process with-editor server magit-mode transient
magit-git magit-base magit-section cursor-sensor crm org-bullets
sudo-edit dired-open dired-hacks-utils dired-x tldr vterm-toggle
tramp-sh vterm bookmark pp tramp tramp-loaddefs trampver
tramp-integration tramp-compat parse-time iso8601 face-remap color
vterm-module term/xterm xterm eshell-syntax-highlighting em-prompt
em-alias eshell-toggle term disp-table shell ehelp esh-mode eshell
esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module
esh-groups esh-util files-x neotree projectile project lisp-mnt grep
compile text-property-search ibuf-ext evil-collection-ibuffer ibuffer
ibuffer-loaddefs evil-collection-dashboard dashboard dashboard-widgets
recentf tree-widget wid-edit ffap diminish which-key perspective ido
evil-tutor evil-collection-unimpaired evil-collection-dired
evil-collection annalist evil evil-integration evil-maps evil-commands
reveal evil-jumps evil-command-window evil-types evil-search evil-ex
evil-macros evil-repeat evil-states evil-core advice evil-common
thingatpt rect evil-vars edmacro kmacro minimap undo-tree diff queue avy
all-the-icons-dired dired dired-loaddefs all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core comp
comp-cstr warnings shrink-path f s dash nerd-icons nerd-icons-faces
nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon
nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon
nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline
nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon
compat doom-nord-theme doom-themes doom-themes-base general
orderless-autoloads marginalia-autoloads consult-autoloads
vertico-autoloads corfu-autoloads ob-restclient-autoloads
restclient-autoloads git-timemachine-autoloads magit-autoloads pcase
git-commit-autoloads magit-section-autoloads with-editor-autoloads
org-bullets-autoloads toc-org-autoloads sudo-edit-autoloads
peep-dired-autoloads dired-open-autoloads dired-hacks-utils-autoloads
tldr-autoloads vterm-toggle-autoloads vterm-autoloads
eshell-syntax-highlighting-autoloads eshell-toggle-autoloads
diminish-autoloads neotree-autoloads projectile-autoloads
dashboard-autoloads which-key-autoloads perspective-autoloads
evil-tutor-autoloads evil-collection-autoloads annalist-autoloads
evil-autoloads goto-chg-autoloads hl-todo-autoloads minimap-autoloads
undo-tree-autoloads queue-autoloads rainbow-mode-autoloads
rainbow-delimiters-autoloads avy-autoloads all-the-icons-dired-autoloads
all-the-icons-autoloads doom-modeline-autoloads compat-autoloads
nerd-icons-autoloads shrink-path-autoloads f-autoloads s-autoloads
dash-autoloads doom-themes-autoloads general-autoloads
app-launcher-autoloads org-tempo tempo display-line-numbers autorevert
filenotify elec-pair delsel cl-extra help-mode app-launchers buffer-move
windmove elpaca-setup elpaca-use-package use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core elpaca-use-package-autoloads elpaca-log
elpaca-ui url url-proxy url-privacy url-expand url-methods url-history
url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source
eieio eieio-core password-cache json map byte-opt bytecomp byte-compile
url-vars mailcap cl-seq cl-macs gv elpaca elpaca-process
elpaca-autoloads org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc
ansi-color ring org-list org-footnote org-faces org-entities time-date
subr-x noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle
org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs
find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs
format-spec cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 1019023 61146)
 (symbols 48 47444 3)
 (strings 32 317535 5547)
 (string-bytes 1 7916279)
 (vectors 16 95168)
 (vector-slots 8 2017207 65876)
 (floats 8 1478 287)
 (intervals 56 10218 397)
 (buffers 984 23))
--_000_AM0PR03MB56368EF3BF4D1A1DAEAD1104AC0F2AM0PR03MB5636eurp_--