From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59703: 29.0.50; Emacs crashes when turning treesit-explore-mode on with some C++ code Date: Wed, 30 Nov 2022 11:44:43 +0100 Message-ID: References: <87r0xklta4.fsf@thornhill.no> Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7211"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: 59703@debbugs.gnu.org To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 30 11:45:27 2022 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 1p0Kal-0001cd-2N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Nov 2022 11:45:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0KaZ-000179-2c; Wed, 30 Nov 2022 05:45:16 -0500 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 1p0KaQ-00016t-Bp for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:45:06 -0500 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 1p0KaM-0005Vo-CZ for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:45:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0KaM-0007JI-7u for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2022 10:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59703 X-GNU-PR-Package: emacs Original-Received: via spool by 59703-submit@debbugs.gnu.org id=B59703.166980510028078 (code B ref 59703); Wed, 30 Nov 2022 10:45:02 +0000 Original-Received: (at 59703) by debbugs.gnu.org; 30 Nov 2022 10:45:00 +0000 Original-Received: from localhost ([127.0.0.1]:60215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0KaJ-0007Io-W6 for submit@debbugs.gnu.org; Wed, 30 Nov 2022 05:45:00 -0500 Original-Received: from sonic309-24.consmr.mail.ir2.yahoo.com ([77.238.179.82]:45271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0KaF-0007Ig-GH for 59703@debbugs.gnu.org; Wed, 30 Nov 2022 05:44:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1669805087; bh=8LhyXHT5XjwSwn8n3eXpWZltfXLf6F5rn9GQosI7Rhk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=PerrHw7NpoipTTtO3kw/QgC42+QKE6fJaX1a862wye0OmnakA7rFx3E0RdpSzFL0/YF9sDGCaFL70RnSMZ8dK1NjcUoboDwgN9MKIbB0P0iNzdvwEiLODX8ODq0TyXjEZEP8Jy3p/Z2UnXv5XTY0S38iThT5Z5adDQZT3qUgdQAt+S3UGSkRbf8/+/iaYPP74KknPhtv59XXoWIg8yLIMw+Lb4WrMDNXKoZ0XkbYOApZlRuYqbtCpEXKlTohokKyYfinJ9M9JdD5jJar2haW1iZlio4W8bqhl4acQ9WYrC9MWgRkNj9AahTD+efRBxD2PTSDvXted6136/dMQ/Nz8Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669805087; bh=l6N121F05BAhg3CRyL7tIJorYcvaru3odmSoMKN51YM=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=s7ZE7TXPtjh/VSTrWn64Ie6400RdNTFKqXcPrSMEKWcPJLa8bTDNO8KrBlUHM9bZ6vTFuadjJmqBKQbzws6YD6iG2R3kVE7qigJgVOAUw1v23ilIDAqTdmeor1nLYzzCVbqB55F2qRg2vLHuooRg4Y7GFQjJGUJbScHZ9DwxwMFmWgQWAmutQbpWmoYtg+JqslWIca5La+leM/q8xp6gagzPebJajJpY54q1KNhrYGFkUwu3fzFI7z8HPWvxsnl0RCeIDrdaitCRnsgciQp8PLfCjvrUarIiM1t2FT9gkynzxf1/hW6pf6EiZV2/VGgClGpw77EGFLbK/hucwRAsrQ== X-YMail-OSG: hWavb_EVM1kc9X6e0SOCogGBA._IWBwMTSDr.YIfsYkm4Ce3tIv4bkvXpe_k1HD qU5WpPHjfz0tYz1I2iXn3TRugKxpGfvVoa7o2yRp2LtIlERpe6iuhCQ2esuZw8r2NhlOQ526Sfn5 WPc6XCpQN129XfYYFcA_aS6eb.7mIXoztzew0BO1yYZirHVBYEG1tCtD2QvpQAHYBXcoxSwGfYgw 0BTrGkKbtIJkHc2RTpIpx6k41is6b.9cQtdLAe5Opc0jyyqQtrAP2WCz54Wjt_5BeWiiMtkt94X2 jPbK83uyZjNSIHZ9ZwdySaiXJstenPGY.dhsYntCwWPk2cG8s3X1y63JXx2fVRLRiWjmXefEWPC5 DHjiw_heRnNGFzo1QlnIPOL_4iqmQPngE6KKm9H5p2bb4e25JMAZqcU1CCzIxlEgK7YlUDJhEXls AI89rAZvcrYw7w3GXFmZjN3IYpq9iDk2CQ9OSWM2qqf85aPEDrxsaLNX0A9esjuWZtuGLG2Rs.pU JjCFmXHgvetC7DVHOaNDahcaxVDp1kDZyONa_UBO6ptirHvHljREJGPBVR1Y24pVqlQpLHP4sNbL Ch1zaFfX9R3p0AG96EEyZppTXQrjifH0P_yvrJX6qYd3aPSQIzJatNIzOd5W_44QLsvI0.wri8dl ex4od4ptnlMRGJl55NKO3fgBxn7UYOoFAUVF_83o75uC0Jc9vhTvKF3dbWoI1.YELY3DJI1ZlvEr oVcl..lQj6P.FHl8Fjx2Zw2OGCMP6msNm2QIxzuUHy1imFlMjsFS5Ikc0ft5ayRn7jfAay_RTs89 GS2FeOSkO0SZQAzrUZzx5DrKBOuYLc4kLsFC8oaPUQ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Wed, 30 Nov 2022 10:44:47 +0000 Original-Received: by hermes--production-ir2-74cf6dc4df-jcjh7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2556f7486bc4eb658d8c9c5c4feeadd7; Wed, 30 Nov 2022 10:44:44 +0000 (UTC) In-Reply-To: <87r0xklta4.fsf@thornhill.no> (Theodor Thornhill's message of "Wed, 30 Nov 2022 09:51:15 +0100") X-Mailer: WebService/1.1.20863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:249482 Archived-At: Theodor Thornhill writes: > It doesn't crash here. I remember there were some crashes with fairly > new versions of tree-sitter. When I used the version provided in apt > the crashes disappeared. I have version 20.3 now. > > Could that be what's causing this issue? > Did you try to move the point after the last step? It doesn't crash for me when I enable treesit-explore-mode, but it does as soon as I move the point upwards a bit by pressing C-p repeatedly. I'm using Tree-sitter version 0.20.6. Here's the full details of my Emacs build: In GNU Emacs 29.0.60 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-11-29 built on Daniels-MacBook-Pro.local Repository revision: f6aa7c335fb848a27934aa31b2012c511d6f1b19 Repository branch: emacs-29 Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6 Configured using: 'configure -C --enable-checking=yes,glyphs 'CFLAGS=-O0 -gdwarf-4 -g3' CPPFLAGS=-I/opt/homebrew/opt/openjdk@11/include' Configured features: ACL DBUS GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-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 message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 36829 7587) (symbols 48 5070 0) (strings 32 12596 1478) (string-bytes 1 354146) (vectors 16 10262) (vector-slots 8 153161 11986) (floats 8 21 23) (intervals 56 206 0) (buffers 992 10))