From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: Noah Peart Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jul 2024 21:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 72238@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172159828916897 (code B ref -1); Sun, 21 Jul 2024 21:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2024 21:44:49 +0000 Received: from localhost ([127.0.0.1]:56240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVeMK-0004OS-Pi for submit@debbugs.gnu.org; Sun, 21 Jul 2024 17:44:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:59640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVeMI-0004OK-Cd for submit@debbugs.gnu.org; Sun, 21 Jul 2024 17:44:47 -0400 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 1sVeMF-0005MU-KU for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2024 17:44:43 -0400 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVeMA-00047H-BR for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2024 17:44:42 -0400 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-260e8c98cc2so2026857fac.0 for ; Sun, 21 Jul 2024 14:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721598274; x=1722203074; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=g+slPL8ZSJjB5438/jSNBqwkAjUM/IqI63tE2UbmJEE=; b=Hz3E116l/eWpsBj+lgZ3yJhkgjGC0Xpj/EwUekW/oSEOiuc/Yg5jEh8AyM670Gsm1Q Fpa1Qj3VVJ799vU7LjshN7W4POn/lWnaAY9nvg1O+BVmmBbA3FiS95Qk2SLFBjAmqRB/ naKB+uJBz4+5h+P88w9uHGYEeXtcg4QAo9rVdec2UNr5g2dOzTME0hZRrjh/2t/XjqPs Sngk786wLcG7BAM1io3n9BDejo63OZdrwKD+2mLHFH+iATtREF9uG6ORR+2nSkpE3Q7q K9oPVTmuONjAG369xmP7gA4AfhZoPusOia2sRJ3a1x+jmflcDs89SRW6PL21U6CaQ+xx 0a/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721598274; x=1722203074; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g+slPL8ZSJjB5438/jSNBqwkAjUM/IqI63tE2UbmJEE=; b=MhUedODV5PFp6/lm0vuUkaqqUw3H8c9S2sUKjXMvAa3zV7zA4e3n0PODUkIcCtVZr2 hUofKQ6z+mKzCLHxdQJVtOAbnYwPRYtS+mzsultpvPDF9qFP/n1VLfXO0IZor+xLR7AZ pbOtrMk3T9Y2YTSjO3zJePdcwCJPS1XbbQm8BPCLkXe4WdM0f4kSHh4mp59VtEXZ/QjA xLoq35PoexjiUeY2uZfpuM4DaLbwVaPfzwiJVJnXqvwuVAg+V2M1wy/FVIFsQ40jt7iN UaHZ7nXR6G0bIaCpgppzn8N4tZ+V8Dj6Gs79GMrz38H2Gtv+bnz3E99XlRLcGKX6XHi4 gsqg== X-Gm-Message-State: AOJu0YzJmYBhd10oaSX7p7zO8PzZr8GIIyecZkUYh38eslPpNnleoXsC KPA5uorihChizXQlCwfHHpHtBZ6GTgN/itkSNFKMDz0gLV0fWwraEghlhgCpiFsJOGdamkMwsSj upxKVlMo1HV9qmcrIDneYAgDnSwquaX4G8PIa1w== X-Google-Smtp-Source: AGHT+IEnB/Yu3RDPjp1/DRx6T8atTsRmcaOGfnBWUOF99Zptio8IhJf2n1R2rwXIt+5hyvUOlJlfk6V72sVPu+c6CZg= X-Received: by 2002:a05:6870:700a:b0:25d:8238:1c3c with SMTP id 586e51a60fabf-2638df3227bmr4714689fac.18.1721598274434; Sun, 21 Jul 2024 14:44:34 -0700 (PDT) MIME-Version: 1.0 From: Noah Peart Date: Sun, 21 Jul 2024 14:44:23 -0700 Message-ID: Content-Type: multipart/alternative; boundary="00000000000097fcce061dc8d51f" Received-SPF: pass client-ip=2001:4860:4864:20::2c; envelope-from=noah.v.peart@gmail.com; helo=mail-oa1-x2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --00000000000097fcce061dc8d51f Content-Type: text/plain; charset="UTF-8" After recent build, emacs is crashing frequently when using tree-sitter modes. The following backtrace was generated after opening a few C files, enabling c-ts-mode, and moving the cursor around a bit. I dont have precise steps for repeatability at this point (sorry!), as it seems to occur during garbage collection. Let me know if there is more useful output I could provide. $ emacs -Q Fatal error 11: Segmentation fault Backtrace: emacs(emacs_backtrace+0x47)[0x5f9bb9f83338] emacs(terminate_due_to_signal+0x8f)[0x5f9bb9f5fb40] emacs(+0x1dc391)[0x5f9bb9f81391] emacs(+0x1dc3f6)[0x5f9bb9f813f6] emacs(+0x1dc423)[0x5f9bb9f81423] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x71c8fe442520] /usr/local/lib/libtree-sitter.so.0(ts_query_cursor_delete+0x11)[0x71c902abf2c1] emacs(treesit_delete_query+0x1a)[0x5f9bba078994] emacs(+0x221b29)[0x5f9bb9fc6b29] emacs(garbage_collect+0x705)[0x5f9bb9fcb1a2] emacs(maybe_garbage_collect+0x2a)[0x5f9bb9fcb3c9] emacs(Ffuncall+0x171)[0x5f9bb9feac4d] emacs(internal_condition_case_n+0x7d)[0x5f9bb9fe9713] emacs(+0xb1ec4)[0x5f9bb9e56ec4] emacs(+0xb1f9d)[0x5f9bb9e56f9d] emacs(+0xe2468)[0x5f9bb9e87468] emacs(+0xe265e)[0x5f9bb9e8765e] emacs(+0xe2517)[0x5f9bb9e87517] emacs(+0xe265e)[0x5f9bb9e8765e] emacs(+0xe3732)[0x5f9bb9e88732] emacs(+0xe59b4)[0x5f9bb9e8a9b4] emacs(+0xfb9d5)[0x5f9bb9ea09d5] emacs(+0xfcfa6)[0x5f9bb9ea1fa6] emacs(internal_condition_case_1+0x68)[0x5f9bb9fe95f8] emacs(+0xe77ad)[0x5f9bb9e8c7ad] emacs(redisplay+0xd)[0x5f9bb9e8cd39] emacs(read_char+0x714)[0x5f9bb9f71d34] emacs(+0x1cf6ff)[0x5f9bb9f746ff] emacs(+0x1d21d3)[0x5f9bb9f771d3] emacs(internal_condition_case+0x5f)[0x5f9bb9fe957a] emacs(command_loop_2+0x27)[0x5f9bb9f627ef] emacs(internal_catch+0x3e)[0x5f9bb9fe94ac] emacs(+0x1bd7a5)[0x5f9bb9f627a5] emacs(recursive_edit_1+0x69)[0x5f9bb9f67206] emacs(Frecursive_edit+0xbf)[0x5f9bb9f6756d] emacs(main+0x1f85)[0x5f9bb9f61b1d] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x71c8fe429d90] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x71c8fe429e40] emacs(_start+0x25)[0x5f9bb9e3d9c5] Segmentation fault In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-07-21 built on noah-X580VD Repository revision: ccb856189f483abfaa584f428b09a863f816a040 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.4 LTS Configured using: 'configure --prefix=/usr/local --with-modules --with-tree-sitter --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls --with-mailutils --with-jpeg --with-png --with-rsvg --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12 CXX=gcc-12 CFLAGS=-ggdb3 CXXFLAGS=' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus 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 minibuffer-regexp-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/x-win x-win term/common-win x-dnd touch-screen 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 xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 49659 12038) (symbols 48 5384 0) (strings 32 13418 2082) (string-bytes 1 391638) (vectors 16 9589) (vector-slots 8 125589 8356) (floats 8 22 12) (intervals 56 279 0) (buffers 992 11)) --00000000000097fcce061dc8d51f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After recent build, emacs is crashing frequently when usin= g tree-sitter
modes.

The following backtrace was generated after = opening a few C files,
enabling c-ts-mode, and moving the cursor around = a bit. I dont have
precise steps for repeatability at this point (sorry!= ), as it seems to
occur during garbage collection.

Let me know if= there is more useful output I could provide.

$ emacs -Q
Fatal er= ror 11: Segmentation fault
Backtrace:
emacs(emacs_backtrace+0x47)[0x5= f9bb9f83338]
emacs(terminate_due_to_signal+0x8f)[0x5f9bb9f5fb40]
emac= s(+0x1dc391)[0x5f9bb9f81391]
emacs(+0x1dc3f6)[0x5f9bb9f813f6]
emacs(+= 0x1dc423)[0x5f9bb9f81423]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x71= c8fe442520]
/usr/local/lib/libtree-sitter.so.0(ts_query_cursor_delete+0x= 11)[0x71c902abf2c1]
emacs(treesit_delete_query+0x1a)[0x5f9bba078994]
= emacs(+0x221b29)[0x5f9bb9fc6b29]
emacs(garbage_collect+0x705)[0x5f9bb9fc= b1a2]
emacs(maybe_garbage_collect+0x2a)[0x5f9bb9fcb3c9]
emacs(Ffuncal= l+0x171)[0x5f9bb9feac4d]
emacs(internal_condition_case_n+0x7d)[0x5f9bb9f= e9713]
emacs(+0xb1ec4)[0x5f9bb9e56ec4]
emacs(+0xb1f9d)[0x5f9bb9e56f9d= ]
emacs(+0xe2468)[0x5f9bb9e87468]
emacs(+0xe265e)[0x5f9bb9e8765e]
= emacs(+0xe2517)[0x5f9bb9e87517]
emacs(+0xe265e)[0x5f9bb9e8765e]
emacs= (+0xe3732)[0x5f9bb9e88732]
emacs(+0xe59b4)[0x5f9bb9e8a9b4]
emacs(+0xf= b9d5)[0x5f9bb9ea09d5]
emacs(+0xfcfa6)[0x5f9bb9ea1fa6]
emacs(internal_= condition_case_1+0x68)[0x5f9bb9fe95f8]
emacs(+0xe77ad)[0x5f9bb9e8c7ad]emacs(redisplay+0xd)[0x5f9bb9e8cd39]
emacs(read_char+0x714)[0x5f9bb9f7= 1d34]
emacs(+0x1cf6ff)[0x5f9bb9f746ff]
emacs(+0x1d21d3)[0x5f9bb9f771d= 3]
emacs(internal_condition_case+0x5f)[0x5f9bb9fe957a]
emacs(command_= loop_2+0x27)[0x5f9bb9f627ef]
emacs(internal_catch+0x3e)[0x5f9bb9fe94ac]<= br>emacs(+0x1bd7a5)[0x5f9bb9f627a5]
emacs(recursive_edit_1+0x69)[0x5f9bb= 9f67206]
emacs(Frecursive_edit+0xbf)[0x5f9bb9f6756d]
emacs(main+0x1f8= 5)[0x5f9bb9f61b1d]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x71c8fe429= d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x71c8fe429= e40]
emacs(_start+0x25)[0x5f9bb9e3d9c5]
Segmentation fault


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
= =C2=A03.24.33, cairo version 1.16.0) of 2024-07-21 built on noah-X580VD
= Repository revision: ccb856189f483abfaa584f428b09a863f816a040
Repository= branch: master
Windowing system distributor 'The X.Org Foundation&#= 39;, version 11.0.12101004
System Description: Ubuntu 22.04.4 LTS
Configured using:
=C2=A0'configure --prefix=3D/usr/local --with-mod= ules --with-tree-sitter
=C2=A0--with-threads --with-x-toolkit=3Dgtk3 --w= ith-xwidgets --with-gnutls
=C2=A0--with-mailutils --with-jpeg --with-png= --with-rsvg --with-tiff
=C2=A0--with-xml2 --with-xpm --with-imagemagick= CC=3Dgcc-12 CXX=3Dgcc-12
=C2=A0CFLAGS=3D-ggdb3 CXXFLAGS=3D'

= Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTIN= GS HARFBUZZ
IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COM= P NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
= TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS
G= TK3 ZLIB

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: u= tf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:=
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-m= ode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
= =C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mo= de: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 minib= uffer-regexp-mode: t
=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mo= de: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: t=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

= Load-path shadows:
None found.

Features:
(shadow sort mail-ext= r emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 m= ml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util t= ext-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-= parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmai= l rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils rmc iso-trans= l tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-f= loat-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch= -screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list repl= ace 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-la= ng vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932= hebrew greek
romanian slovak czech european ethiopic indian cyrillic ch= inese
composite emoji-zwj charscript charprop case-table epa-hook
jka= -cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
the= me-loaddefs faces cus-face macroexp files window text-properties
overlay= sha1 md5 base64 format env code-pages mule custom widget keymap
hashtab= le-print-readable backquote threads xwidget-internal dbusbind
inotify lc= ms2 dynamic-setting system-font-setting font-render-setting
cairo gtk x-= toolkit xinput2 x multi-tty move-toolbar
make-network-process native-com= pile emacs)

Memory information:
((conses 16 49659 12038) (symbols= 48 5384 0) (strings 32 13418 2082)
=C2=A0(string-bytes 1 391638) (vecto= rs 16 9589)
=C2=A0(vector-slots 8 125589 8356) (floats 8 22 12) (interva= ls 56 279 0)
=C2=A0(buffers 992 11))
--00000000000097fcce061dc8d51f-- From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jul 2024 22:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noah Peart Cc: 72238@debbugs.gnu.org Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.172160065521205 (code B ref 72238); Sun, 21 Jul 2024 22:25:02 +0000 Received: (at 72238) by debbugs.gnu.org; 21 Jul 2024 22:24:15 +0000 Received: from localhost ([127.0.0.1]:56263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVeyV-0005Vx-9S for submit@debbugs.gnu.org; Sun, 21 Jul 2024 18:24:15 -0400 Received: from fout8-smtp.messagingengine.com ([103.168.172.151]:58343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVeyT-0005Vj-Qy for 72238@debbugs.gnu.org; Sun, 21 Jul 2024 18:24:14 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id 4003A138012D; Sun, 21 Jul 2024 18:24:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 21 Jul 2024 18:24:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1721600646; x=1721687046; bh=LspoMPWle1 Bdh4KIPcwKNFY6Ot3YACtgnfDIKgbtNNQ=; b=PQdn2YtyGrVloK4dgFF3roIR6w sHgxqLRYWbRYsu5whqGs6LC9RPMsR/WfxEG8jSPKJphuIV3IP7ZQFQKoy0vlHpGY SVYcpPoxlYXqRIGn46XxVCwOwI1NXgeU4p3c34vCfPdb/CIfLuuvqVPOGVjx9who BXRH6tk3vyU/pBxfbrtU/kez9YgFQ06zqUNZxADdmAQIMXxE0u67zz7HcQDy72Ja jRwFvY7XqG0ChAhmGuKLvXYY5znhSx+x+Vte1K/QwZuKXzHAbO/gtskeVdfJlh2J zS8EWmF1+h7TdHbx+/gHapiFTTWtmjZ7OUZuCmYmw42xbxBqmpKiwreIBQDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1721600646; x=1721687046; bh=LspoMPWle1Bdh4KIPcwKNFY6Ot3Y ACtgnfDIKgbtNNQ=; b=KUoOKroH73ynW0CVK9x8gx5Omp6qJ65EFKugEyRca5n8 8sUjLPylptFD8GtH2lIZD3bV7uIXpzEYnfx57sC1BMecZrbEQtoHpmBBYVrAuvYv 3MQ2d8ltwrk9Ha8zZ4lEuT0lVzjF9VPstHlTniZihQLBsbIJjtJ1/+IPgfhWYfQR 1vOwQ6lgwVeI1z2meLTdPrcvn+dgYzqqob6jD2ehu88pbkwZsYJCSs9XP14pl0ha VuBGZScpMmLKUh74uw5hvHT+JbC1jwmitu5Ev8R2XKXItVvyV/vJwpqsW6ZplG/i 6KV0bt0rtAGQmibxoyhJuAxqiRWZMT6ZfK9HQL/DEQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheeigddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpehjohhhnhcu mhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhephfdtveeggf etteekkeffkeevtdeuheetffelvefhvddvveehjeelfeffleffhffgnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Jul 2024 18:24:05 -0400 (EDT) From: john muhl In-Reply-To: (Noah Peart's message of "Sun, 21 Jul 2024 14:44:23 -0700") References: User-Agent: mu4e 1.12.1; emacs 31.0.50 Date: Sun, 21 Jul 2024 17:24:05 -0500 Message-ID: <87h6cixu2i.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Noah Peart writes: > After recent build, emacs is crashing frequently when using tree-sitter > modes. > > The following backtrace was generated after opening a few C files, > enabling c-ts-mode, and moving the cursor around a bit. I dont have > precise steps for repeatability at this point (sorry!), as it seems to > occur during garbage collection. > > Let me know if there is more useful output I could provide. Could you try reverting 1abf3bdd7ed and see if that helps? From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2024 00:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl Cc: Noah Peart , 72238@debbugs.gnu.org Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.172160657432230 (code B ref 72238); Mon, 22 Jul 2024 00:03:01 +0000 Received: (at 72238) by debbugs.gnu.org; 22 Jul 2024 00:02:54 +0000 Received: from localhost ([127.0.0.1]:56294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVgVx-0008Nm-Oc for submit@debbugs.gnu.org; Sun, 21 Jul 2024 20:02:53 -0400 Received: from mail-oo1-f49.google.com ([209.85.161.49]:58847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVgVv-0008NX-Ky for 72238@debbugs.gnu.org; Sun, 21 Jul 2024 20:02:52 -0400 Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-5cbc5b63939so1956633eaf.1 for <72238@debbugs.gnu.org>; Sun, 21 Jul 2024 17:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721606503; x=1722211303; 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=+T2pNa7yPb0kuM6ORw8qK/YCO8qeSZRLA/aA//3HSmc=; b=cgGrEk58JvZLZT6DnmJLYi64u+uwQNii39PbNL8h3v6seFRmVpGSu0N2JE4trgtYWO IpahYnDQr8+ZomZ7PGVU5ta7hpMBI+uQBRAjTQb+vd6Zgc878h0DoeIqRsjzTKCVHVMT l+PCHbndomGNv5zxGC2hpQIVA/AF5/ebxBlRbmiSH1aLwTlle4pr/3b/wfRpqc7e0H3S 0JS/E1lUyEwqBWZ6O9wmaYc4CoCnzgi8nrV86Q5rnHaoPFLIv++Or3ldE2QLhR936mNW zxyWH+A2u0hPs8l/GYP/ONldTdfPi3QiEOo/aarf+eY2AfxJcAzE0YIQe/nCn07zXEui vzCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721606503; x=1722211303; 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=+T2pNa7yPb0kuM6ORw8qK/YCO8qeSZRLA/aA//3HSmc=; b=WxO6TYxmq09N8PrfIHQGxW6ZOmBmns7kwIhtG6FYPVjvEsFmS5ChFE7HZD+P26bMfo UZDFy827QXRSSF1wt2y1h0VHUKa8TP9FDz6Kx7esd3jPrIYcdPv07MPysOt8Al9oz4m6 JJILarF8bHTd7Bc/LVUGY5iW1ejnjQBS5DFw5S/lZqS3hmVjN0TALzhFveG3KbClc4Ir nz7Xi78HRPv6vpZeHTAS8IV3kVgcm3zoXsw7qxMlK3DeF6o9MrMmd0S6zn1oiepvDJvW FLavpIpmbi8BiYGYQrHtyhz3wFWALp7VQBDqHrlemJ05Rf+vOisgwX/4/ImJGqRshisC fqdg== X-Forwarded-Encrypted: i=1; AJvYcCXOgPSWJwwB9inOr9fOgMH+vndsyLmnzG9JMv1ahWrVWAIl7ka1oya+W+rmdk8sCOrqO+evjFcqmHFX8EvvIexzrSVe0Ec= X-Gm-Message-State: AOJu0Yy0Dsom8YJmgTYEgalEyhUK8nFm41logtzN0mxbJc+YgDM4RvD9 QPS9jgXi+NieQeQpImaMFE/WLoMMuSM5tibQZReK8SQoQRKEAeku X-Google-Smtp-Source: AGHT+IEWjFp30ikcSmezP+BTd6DSAMPhIaQpSkCN+trltqkeiafx0nsbHgMSTYD8TRnkMHkCvel59w== X-Received: by 2002:a05:6358:6223:b0:1aa:d6fe:f424 with SMTP id e5c5f4694b2df-1acc5b0cb92mr755213955d.13.1721606503353; Sun, 21 Jul 2024 17:01:43 -0700 (PDT) Received: from smtpclient.apple ([2601:646:8f81:6120:b956:76d3:6f2e:526a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-79f0a3debc1sm3693443a12.7.2024.07.21.17.01.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jul 2024 17:01:42 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) From: Yuan Fu In-Reply-To: <87h6cixu2i.fsf@pub.pink> Date: Sun, 21 Jul 2024 17:01:31 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87h6cixu2i.fsf@pub.pink> X-Mailer: Apple Mail (2.3774.600.62) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Jul 21, 2024, at 3:24=E2=80=AFPM, john muhl wrote: >=20 > Noah Peart writes: >=20 >> After recent build, emacs is crashing frequently when using = tree-sitter >> modes. >>=20 >> The following backtrace was generated after opening a few C files, >> enabling c-ts-mode, and moving the cursor around a bit. I dont have >> precise steps for repeatability at this point (sorry!), as it seems = to >> occur during garbage collection. >>=20 >> Let me know if there is more useful output I could provide. >=20 > Could you try reverting 1abf3bdd7ed and see if that helps? Hey guys, sorry for the segfault. It=E2=80=99s indeed caused by = 1abf3bdd7ed, I just fixed it on master.=20 Yuan= From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: Noah Peart Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2024 01:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yuan Fu Cc: john muhl , 72238@debbugs.gnu.org Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.17216123638861 (code B ref 72238); Mon, 22 Jul 2024 01:40:02 +0000 Received: (at 72238) by debbugs.gnu.org; 22 Jul 2024 01:39:23 +0000 Received: from localhost ([127.0.0.1]:56320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVi1K-0002Iq-M2 for submit@debbugs.gnu.org; Sun, 21 Jul 2024 21:39:22 -0400 Received: from mail-oi1-f179.google.com ([209.85.167.179]:49510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVi1I-0002Ih-9j for 72238@debbugs.gnu.org; Sun, 21 Jul 2024 21:39:21 -0400 Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3d934cb84b6so2305229b6e.3 for <72238@debbugs.gnu.org>; Sun, 21 Jul 2024 18:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721612297; x=1722217097; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9QxQIedrikqL4YRV8E1A+knD69/aALvQdDdV8+3z8sA=; b=mnYGj9E2RjOgJl3wJgUbT4r/+LqHQfy1dys/ubB2B8zQVEl8PlRokA5s5o7Us1bvyZ Xv+gBgWUzg1MsD+CQ6EpvKRexeFmvN2Dr7kFxd5vIWSdbKmiwJLaFnOnTW/kwuQ+KyhI QtYwal5HWlrW4ch0QVgY3blbNr09s5jfZ9lxc/02T6k6QaVrlJwLsZuc93lLkIVrCGid rj7CzoQWjZuKQrltvoD2wX/F/VybUoSOTiJyctlbMvIarygFM//BcDho0YVzwNdKNLQ5 FjKHmUuXAWYLrB7jqDdjBo+8AG5vlpVKQykaUewp9y1m6wFphg70JNLghSf6umWEgQUI AVJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721612297; x=1722217097; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9QxQIedrikqL4YRV8E1A+knD69/aALvQdDdV8+3z8sA=; b=N4u9pfoqKfSSe6PscNXaN434O8dtO79OA6xA3k0qMOWuuwQw4A+N7z8Mi4XKvvY2+g LwJ7NqlFCuDIJrFWBeY+99k3F93JZoDamp+2bPCpIYUdJLrGmL1/KUi8HwYEoIapDdXs NNbep8Y7H6uQ9nobKvN6j6imj2pNVMIDsXTq6CKYGt9yzfQxQCYWNYSGMO7ORGlyzIfZ x+YhnVLS4N3hToUtKPRsayeW97ulPNV93YDKEQA08xdZjyPBwlO8zPKmRELN4qsUk6vk Ag7wvdB0Mw0gHB/LJF1G4CCFAQYsd+43AVR1JC11btjMI5JBspzlnNV2b4h+GqIAOMI5 F9hw== X-Forwarded-Encrypted: i=1; AJvYcCUiwEaJSnnAFjWjmEhi+pVphVt/KKIjKejhMV+j8Dra+94jlocdc4TKGHZLlUDWPHN6sXt4Ecrw6DVFy9K18C41dQ8ys84= X-Gm-Message-State: AOJu0YxOQrqDZMgbmd3/F5gATa0OI+KGJlOKh7LJZnqGZzl76NpFMQ9k yMfiP/8gjMD7X+nuKJSvAqPWPrCNAkapha/5ATavJmLmzAS5mg2IOkgwYH2OQk746D3oMWYKsPV 7TuWueUrANrKEly3vHU+wSGla2jY= X-Google-Smtp-Source: AGHT+IGH5DgzPTGWjD4n3/47JVjsKJb4Cq3qqhZOfAXYDS9K3HzB7/txiX9Wl05ltWybdxi4gUIDzlXe71mIB19rZ1A= X-Received: by 2002:a05:6870:8588:b0:25e:d90:fe78 with SMTP id 586e51a60fabf-2638deea93fmr4440971fac.8.1721612296891; Sun, 21 Jul 2024 18:38:16 -0700 (PDT) MIME-Version: 1.0 References: <87h6cixu2i.fsf@pub.pink> In-Reply-To: From: Noah Peart Date: Sun, 21 Jul 2024 18:38:06 -0700 Message-ID: Content-Type: multipart/alternative; boundary="00000000000065ba8b061dcc1997" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000065ba8b061dcc1997 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thankyou! No longer seeing segfaults after rebuild. On Sun, Jul 21, 2024 at 5:01=E2=80=AFPM Yuan Fu wrote: > > > > On Jul 21, 2024, at 3:24=E2=80=AFPM, john muhl wrote: > > > > Noah Peart writes: > > > >> After recent build, emacs is crashing frequently when using tree-sitte= r > >> modes. > >> > >> The following backtrace was generated after opening a few C files, > >> enabling c-ts-mode, and moving the cursor around a bit. I dont have > >> precise steps for repeatability at this point (sorry!), as it seems to > >> occur during garbage collection. > >> > >> Let me know if there is more useful output I could provide. > > > > Could you try reverting 1abf3bdd7ed and see if that helps? > > Hey guys, sorry for the segfault. It=E2=80=99s indeed caused by 1abf3bdd7= ed, I > just fixed it on master. > > Yuan --00000000000065ba8b061dcc1997 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thankyou! No longer seeing segfaults after rebuild.
<= br>
On Sun,= Jul 21, 2024 at 5:01=E2=80=AFPM Yuan Fu <casouri@gmail.com> wrote:


> On Jul 21, 2024, at 3:24=E2=80=AFPM, john muhl <jm@pub.pink> wro= te:
>
> Noah Peart <noah.v.peart@gmail.com> writes:
>
>> After recent build, emacs is crashing frequently when using tree-s= itter
>> modes.
>>
>> The following backtrace was generated after opening a few C files,=
>> enabling c-ts-mode, and moving the cursor around a bit. I dont hav= e
>> precise steps for repeatability at this point (sorry!), as it seem= s to
>> occur during garbage collection.
>>
>> Let me know if there is more useful output I could provide.
>
> Could you try reverting 1abf3bdd7ed and see if that helps?

Hey guys, sorry for the segfault. It=E2=80=99s indeed caused by 1abf3bdd7ed= , I just fixed it on master.

Yuan
--00000000000065ba8b061dcc1997-- From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2024 11:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yuan Fu Cc: noah.v.peart@gmail.com, jm@pub.pink, 72238@debbugs.gnu.org Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.172164717315081 (code B ref 72238); Mon, 22 Jul 2024 11:20:02 +0000 Received: (at 72238) by debbugs.gnu.org; 22 Jul 2024 11:19:33 +0000 Received: from localhost ([127.0.0.1]:56897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVr4n-0003vB-6h for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:19:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVr4l-0003uy-10 for 72238@debbugs.gnu.org; Mon, 22 Jul 2024 07:19:31 -0400 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 1sVr2W-00051C-J8; Mon, 22 Jul 2024 07:17:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hExujTLoAgYXW9jzW67YqKxJnG3C5RE1rEFlYXzGuQs=; b=hTaF6HnqBurDB/h/fnnN edXlpSmCmDHgudfem8GaJyoazx0VOODUiOifdIG0Tjbne2z5HY1k4Lm1560Cx2KBsJ5tv5QEGXQIr CCitW5/2TXlJNLlPIxOEQ+BgeJjHD39sR1wh8zkR3vIDU24GKsY7mLAA6nTgl9+WhlpZhOJ2qvtWA k3QHJTsq/vmQ75oeJq2krLxbZ1s14rJ5xzJXudyNPZM3qZZPBfdULAx7kScZdgyKIKwUEvPWDmR/J dzFSL3J3/XZBBlrs6Dqv2f2QJ1T5DAh5D37pc/twjGlMljV8Eg50GDbqCOMP2V6j+p9m5Nlo+KecG aC7bARokYcRclQ==; Date: Mon, 22 Jul 2024 14:17:08 +0300 Message-Id: <865xsxbrrf.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Yuan Fu on Sun, 21 Jul 2024 17:01:31 -0700) References: <87h6cixu2i.fsf@pub.pink> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Noah Peart , 72238@debbugs.gnu.org > From: Yuan Fu > Date: Sun, 21 Jul 2024 17:01:31 -0700 > > > > > On Jul 21, 2024, at 3:24 PM, john muhl wrote: > > > > Noah Peart writes: > > > >> After recent build, emacs is crashing frequently when using tree-sitter > >> modes. > >> > >> The following backtrace was generated after opening a few C files, > >> enabling c-ts-mode, and moving the cursor around a bit. I dont have > >> precise steps for repeatability at this point (sorry!), as it seems to > >> occur during garbage collection. > >> > >> Let me know if there is more useful output I could provide. > > > > Could you try reverting 1abf3bdd7ed and see if that helps? > > Hey guys, sorry for the segfault. It’s indeed caused by 1abf3bdd7ed, I just fixed it on master. Thanks, but I'm confused, since I see a fix both on emacs-30 and on master. What exactly did you fix and on which branch(es)? Did the problem exist on emacs-30 (it was reported for master)? From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jul 2024 11:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: casouri@gmail.com Cc: noah.v.peart@gmail.com, jm@pub.pink, 72238@debbugs.gnu.org Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.17217325871418 (code B ref 72238); Tue, 23 Jul 2024 11:04:02 +0000 Received: (at 72238) by debbugs.gnu.org; 23 Jul 2024 11:03:07 +0000 Received: from localhost ([127.0.0.1]:59290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWDIR-0000Mo-52 for submit@debbugs.gnu.org; Tue, 23 Jul 2024 07:03:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWDIM-0000MF-LD for 72238@debbugs.gnu.org; Tue, 23 Jul 2024 07:03:05 -0400 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 1sWDIC-0003Qx-7e; Tue, 23 Jul 2024 07:02:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=MXsTvIph+oDnt91UmA/TIsg5qKaZ3aNiUk/yrbAIG0Y=; b=eDJjri7kFUX4UFquNAcL Idqo3phILj55GWjJCLACA6L4IAIux4RswgmC1YQoqWoc8l+akPPRUdtAUHrLqu+6ppYQehPjWWpUu jZN1V1hFv6YNyhYAEGTeBzxkuvVxRr1SNI+BOfOA9FhSamgD2qBDUMTBDAs8bES/hYYFXnb+DaL+R 3pJb3Onyp7ZV7j9NSYQ4UyBpUpCT9ltF8wyqTREenrdMcdd7ssSejMlsZU0RtSVaQwE2sZPx/OxOP lOHNIJYagzgR7ROL0jeYxSJ5iKEHDv07zE4P1Z+/b71LMyKvQqy+UCi85MkhNhnhQjUzvvZapzcgY NkNQNM8+9AP/Iw==; Date: Tue, 23 Jul 2024 14:02:49 +0300 Message-Id: <86frs09xra.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <865xsxbrrf.fsf@gnu.org> (message from Eli Zaretskii on Mon, 22 Jul 2024 14:17:08 +0300) References: <87h6cixu2i.fsf@pub.pink> <865xsxbrrf.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! > Cc: noah.v.peart@gmail.com, jm@pub.pink, 72238@debbugs.gnu.org > Date: Mon, 22 Jul 2024 14:17:08 +0300 > From: Eli Zaretskii > > > Cc: Noah Peart , 72238@debbugs.gnu.org > > From: Yuan Fu > > Date: Sun, 21 Jul 2024 17:01:31 -0700 > > > > > > > > > On Jul 21, 2024, at 3:24 PM, john muhl wrote: > > > > > > Noah Peart writes: > > > > > >> After recent build, emacs is crashing frequently when using tree-sitter > > >> modes. > > >> > > >> The following backtrace was generated after opening a few C files, > > >> enabling c-ts-mode, and moving the cursor around a bit. I dont have > > >> precise steps for repeatability at this point (sorry!), as it seems to > > >> occur during garbage collection. > > >> > > >> Let me know if there is more useful output I could provide. > > > > > > Could you try reverting 1abf3bdd7ed and see if that helps? > > > > Hey guys, sorry for the segfault. It’s indeed caused by 1abf3bdd7ed, I just fixed it on master. > > Thanks, but I'm confused, since I see a fix both on emacs-30 and on > master. What exactly did you fix and on which branch(es)? Did the > problem exist on emacs-30 (it was reported for master)? > > > > From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jul 2024 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Noah Peart , john muhl , 72238@debbugs.gnu.org Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.172175318715157 (code B ref 72238); Tue, 23 Jul 2024 16:47:02 +0000 Received: (at 72238) by debbugs.gnu.org; 23 Jul 2024 16:46:27 +0000 Received: from localhost ([127.0.0.1]:60629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWIeg-0003wP-Je for submit@debbugs.gnu.org; Tue, 23 Jul 2024 12:46:26 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:51644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWIee-0003wB-8a for 72238@debbugs.gnu.org; Tue, 23 Jul 2024 12:46:24 -0400 Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1fd640a6454so7226905ad.3 for <72238@debbugs.gnu.org>; Tue, 23 Jul 2024 09:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721753114; x=1722357914; 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=+qc7qiYos2tW2DBJCovywKOAp4pYbS6nihTnBfqBmkQ=; b=Zh8VxVvCYeBi4xkUE+ScAAnPTeRH4a8wKkmlbDB5mE8NCBldTtEbzB67q/NPJDXkAg 9gY4xEN0goCgACYlTdo8vdlef2fScaomFrEL3EpsmsnIkhgrmSjTy6lSESaKmlUQtNCc rSN+lcPBoTJ2J0y2uoZ446W37nj5fw1HvEAqi1DyRYNMb9APiEkHpnh0UZ/abCBAvV3E F0cJFH46xAohS8jCQk2XN8ThJzN7EnW8c1xHC6YSbquh1RqgysMVGLoV5qYHbBmfEs2I D51KEKMcQ5Xfr7kkve2u0N78OAYTOOQYjGdTE2jTSK0lBKE7fvSwUnciEYT3j/XY83yv 9unw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721753114; x=1722357914; 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=+qc7qiYos2tW2DBJCovywKOAp4pYbS6nihTnBfqBmkQ=; b=PUH/pRWmEYZQbI2wzQXZ8ZZo5oLrMu8utrlzB+5T50OU8ofVeHYFLhaBBwQiks6YsA ZwAxmhz1GAzoZ4hAF3hNS20atSMwkipSpL+OjUxmb8Boju4E0GvEWsHHSeSsNxDnYPm1 kXoY+m9XAJ/wfJZKEuTHauYhguLtTY2fr1AL9fg3+P+yvq9sVH7YmEg4DaijN2cSmaek yVlPywscuR9LR9X9gYF9EQXBHYAynHL1TW9hT4lC0Osh51fJwAmer3Sdl7vn1OUKCl1t GXUYV3eqFVxRZaLllyul/NvGk49XrB5+Qx+BdRjkzk4ioBXBq4bGwFidH6N86NoXrSop CWeQ== X-Forwarded-Encrypted: i=1; AJvYcCXgLcbtdVnFKyMgc+VYGOi4hy9a8XiFtiVbcD0x0/7UCS2BGLYWL5Xlli7XPccQ4FkATKwBSq1B4wUg8A+S7Hb8DElCBSM= X-Gm-Message-State: AOJu0YyDzZoQxmXDFdoVdpC/pbVZcvOz/E3VfgwHYKtBc/pxZf+8KooT kWshPW/TSjXqwc/E9X7YZTxZS9q0jmCves+D7N4dx63wMvViFs9QRQwDGA== X-Google-Smtp-Source: AGHT+IHEtVZt4heMTgYS98oztOtvNhzcGxEG/PVJFw1laVukiwH6WcEbn3u+f5jUZo95mh/ZFjWmYA== X-Received: by 2002:a17:903:186:b0:1fd:7fac:a539 with SMTP id d9443c01a7336-1fdd2115026mr3697125ad.16.1721753113696; Tue, 23 Jul 2024 09:45:13 -0700 (PDT) Received: from smtpclient.apple ([2601:646:8f81:6120:c931:36dd:b6ff:8bfc]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fd6f45498bsm76884165ad.229.2024.07.23.09.45.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jul 2024 09:45:08 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) From: Yuan Fu In-Reply-To: <865xsxbrrf.fsf@gnu.org> Date: Tue, 23 Jul 2024 09:44:56 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87h6cixu2i.fsf@pub.pink> <865xsxbrrf.fsf@gnu.org> X-Mailer: Apple Mail (2.3774.600.62) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Jul 22, 2024, at 4:17=E2=80=AFAM, Eli Zaretskii = wrote: >=20 >> Cc: Noah Peart , 72238@debbugs.gnu.org >> From: Yuan Fu >> Date: Sun, 21 Jul 2024 17:01:31 -0700 >>=20 >>=20 >>=20 >>> On Jul 21, 2024, at 3:24=E2=80=AFPM, john muhl wrote: >>>=20 >>> Noah Peart writes: >>>=20 >>>> After recent build, emacs is crashing frequently when using = tree-sitter >>>> modes. >>>>=20 >>>> The following backtrace was generated after opening a few C files, >>>> enabling c-ts-mode, and moving the cursor around a bit. I dont have >>>> precise steps for repeatability at this point (sorry!), as it seems = to >>>> occur during garbage collection. >>>>=20 >>>> Let me know if there is more useful output I could provide. >>>=20 >>> Could you try reverting 1abf3bdd7ed and see if that helps? >>=20 >> Hey guys, sorry for the segfault. It=E2=80=99s indeed caused by = 1abf3bdd7ed, I just fixed it on master.=20 >=20 > Thanks, but I'm confused, since I see a fix both on emacs-30 and on > master. What exactly did you fix and on which branch(es)? Did the > problem exist on emacs-30 (it was reported for master)? Yeah, there=E2=80=99re two bugs: 1) we shouldn=E2=80=99t delete the = query object without checking for NULL, and 2) we shouldn=E2=80=99t = delete the cursor object without checking for NULL. In emacs-30, only = query could be NULL, cursor is always initialized; in emacs-master, due = to my recent change, both query and cursor could be NULL. So I added checks for both query and cursor in one commit and pushed to = master, and cherry-picked the commit to emacs-30.=20 Yuan= From unknown Sun Sep 21 04:52:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72238: 31.0.50; Segfault after treesit_delete_query Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2024 01:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72238 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yuan Fu Cc: Noah Peart , Eli Zaretskii , john muhl , 72238@debbugs.gnu.org Received: via spool by 72238-submit@debbugs.gnu.org id=B72238.17276606331844 (code B ref 72238); Mon, 30 Sep 2024 01:44:02 +0000 Received: (at 72238) by debbugs.gnu.org; 30 Sep 2024 01:43:53 +0000 Received: from localhost ([127.0.0.1]:43548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sv5S4-0000Tg-PM for submit@debbugs.gnu.org; Sun, 29 Sep 2024 21:43:53 -0400 Received: from mail-lj1-f181.google.com ([209.85.208.181]:46343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sv5S2-0000TH-Rs for 72238@debbugs.gnu.org; Sun, 29 Sep 2024 21:43:51 -0400 Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2facf481587so3338681fa.1 for <72238@debbugs.gnu.org>; Sun, 29 Sep 2024 18:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727660533; x=1728265333; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=ptlhsISMh7/6qMXhQwlD7LxaMPtOvVRKo1xu2i5E28k=; b=VJz1pr4nENGqAE4Y363cCQNM88NnLE+DpGS3GVER0jV5fHhaxLz8YSrRTOYbnIVB7k 3M98t59nhvgySZJ3RGRK2GNN9hJiAQ63mXi6A/j+CDqlwYl/lI5cWtxKEIkq3BTZPv93 CYWQICixwj7zb6VfdAtTA0qN8MoMjmp3nhjJ3eONST1jQQBAi26gMXAG906DJ3nHvH0Y 4cmrw+7qbFK7nz8eZduvepKM96vG6UuFG9uZYAx6Nb/N1ZjzzRADhjtyXYqgmWW9Byh2 Y/PFCcQ/rwYZVkWHAlHK4g0SfCL7a4+S6/2U1eRLNQVFCDddnfQg8zyfPso6E3MRCFGs ScRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727660533; x=1728265333; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ptlhsISMh7/6qMXhQwlD7LxaMPtOvVRKo1xu2i5E28k=; b=rYTO2XOSLPhCrdKhKVHD9lWHDMg02s0HDphFEJu/zuk2diBnXAFasDvhARpUrpCj6O IAz/O5Aau+fuwb9c8vICEaNP8iTaC6X/0xs+PWZ+P4V7kMbgCvsA7BRuhmCuzrBmxHAK KNqCPgl5VH5JTwCdtCyXWZcDvyD425WrmXNlYXd7BGQ0T4FGnXSvYIim40m9zs2AE+qu D5L4HHVIORmnUYGaRqK48EFeL3kzGy+Fk5MhbeqcZuz3qFA5WZ3XPjobXeGsiSbE/x89 IKcSX/p5bBTHaCm5Dw+sYq9IuViFxpbZHG2KJ4mPpRvNN9wvM3b1fyWlHecmfS4gwcnm kX3Q== X-Forwarded-Encrypted: i=1; AJvYcCXe1Q5auxdz4KlQjlmHA2SXClQJvBE2Qk3B3R+G9EbrzEaAz+0nqBqY1+3GpNTAFtdCj95oEw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyhazkm9QnsRqE0JhNO4VBgC12TFVKzkrp1aQJfJesg9v0/znm0 fgq/N4paoVTNgLt5OsmJrQd3hyIjTveD40MLO+YzxXeF2nVBAVr9agXmtdtMTf/XcxMWuZWNv8b BNEadLTHO1oXrLkupryshP9R5I7M= X-Google-Smtp-Source: AGHT+IFPDMe0xu5Ox9JyQFVdUVmidNb5IX/ByZGoM4TkemLu44TcZZIm3XdRF2L+Nl/6agMP/bateHJ/G95MNKkNB1M= X-Received: by 2002:a05:651c:551:b0:2fa:d354:1435 with SMTP id 38308e7fff4ca-2fad35416a1mr452111fa.0.1727660532693; Sun, 29 Sep 2024 18:42:12 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 29 Sep 2024 18:42:12 -0700 From: Stefan Kangas In-Reply-To: (Yuan Fu's message of "Tue, 23 Jul 2024 09:44:56 -0700") References: <87h6cixu2i.fsf@pub.pink> <865xsxbrrf.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 29 Sep 2024 18:42:12 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) Yuan Fu writes: >> On Jul 22, 2024, at 4:17=E2=80=AFAM, Eli Zaretskii wrote: >> >>> Cc: Noah Peart , 72238@debbugs.gnu.org >>> From: Yuan Fu >>> Date: Sun, 21 Jul 2024 17:01:31 -0700 >>> >>> >>> >>>> On Jul 21, 2024, at 3:24=E2=80=AFPM, john muhl wrote: >>>> >>>> Noah Peart writes: >>>> >>>>> After recent build, emacs is crashing frequently when using tree-sitt= er >>>>> modes. >>>>> >>>>> The following backtrace was generated after opening a few C files, >>>>> enabling c-ts-mode, and moving the cursor around a bit. I dont have >>>>> precise steps for repeatability at this point (sorry!), as it seems t= o >>>>> occur during garbage collection. >>>>> >>>>> Let me know if there is more useful output I could provide. >>>> >>>> Could you try reverting 1abf3bdd7ed and see if that helps? >>> >>> Hey guys, sorry for the segfault. It=E2=80=99s indeed caused by 1abf3bd= d7ed, I just fixed it on master. >> >> Thanks, but I'm confused, since I see a fix both on emacs-30 and on >> master. What exactly did you fix and on which branch(es)? Did the >> problem exist on emacs-30 (it was reported for master)? > > Yeah, there=E2=80=99re two bugs: 1) we shouldn=E2=80=99t delete the query= object without > checking for NULL, and 2) we shouldn=E2=80=99t delete the cursor object w= ithout checking > for NULL. In emacs-30, only query could be NULL, cursor is always initial= ized; > in emacs-master, due to my recent change, both query and cursor could be = NULL. > > So I added checks for both query and cursor in one commit and pushed to m= aster, and cherry-picked the commit to emacs-30. > > Yuan Should this bug be closed then? From unknown Sun Sep 21 04:52:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Noah Peart Subject: bug#72238: closed (Re: bug#72238: 31.0.50; Segfault after treesit_delete_query) Message-ID: References: X-Gnu-PR-Message: they-closed 72238 X-Gnu-PR-Package: emacs Reply-To: 72238@debbugs.gnu.org Date: Wed, 02 Oct 2024 05:46:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1727847962-2425-1" This is a multi-part message in MIME format... ------------=_1727847962-2425-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72238: 31.0.50; Segfault after treesit_delete_query which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72238@debbugs.gnu.org. --=20 72238: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72238 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1727847962-2425-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72238-done) by debbugs.gnu.org; 2 Oct 2024 05:45:12 +0000 Received: from localhost ([127.0.0.1]:56287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svsAh-0000Uy-CR for submit@debbugs.gnu.org; Wed, 02 Oct 2024 01:45:11 -0400 Received: from mail-yw1-f173.google.com ([209.85.128.173]:44088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svsAe-0000Ty-Ty for 72238-done@debbugs.gnu.org; Wed, 02 Oct 2024 01:45:09 -0400 Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-6e129c01b3bso59123817b3.0 for <72238-done@debbugs.gnu.org>; Tue, 01 Oct 2024 22:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727847847; x=1728452647; 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=Jg1OCwRbCy8eqgJPWLUeKJTi/VgQEkKArQaQscXPFJQ=; b=cbcFdS/WNJZ72/a2+XTE1QjAKGi6ISRo7Sf/6JPOEpBqKFR8O9sc16xaFMa10U/6qm WknXNnVrCiGyoK9S2Dw5PDwkhYqLamfuBWtqy13WVX+xGg6YRUxkQi5QJqS+qnl30Ajx Qu/MbSCdAAHnBnc+waDkxXSephJsKV8kjg9prSQTbItVWipPoB9gzDGkul3WkN+KkdKV LKPUtb7u44bvKmpmarbT1C1fTyPTQ2OgE4S5TVSknzLnc0xvKULY036p8kujF1ZwGUjL lbdQncZUN//lQhSzShvDmfhM/Ru8LYpAmN9JjPXch49ZD6PMVBPx1+L0YPgnFO0f76y9 vMmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727847847; x=1728452647; 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=Jg1OCwRbCy8eqgJPWLUeKJTi/VgQEkKArQaQscXPFJQ=; b=hbroOtYELjWCcqhbg/YWo0aEhLw4C+b5lEA4AyJOBDmyDkJCIhqJRhm9ZLYd91OMTO niyIE6JwAs17WqFItzP89zotqQK+aHsVeMzvoJYMoMLZvR28UGQD75zklO6cRI4W6sUq qXLwEliAeSfgUGDNi2nt5EC5dJJfJFGBd6GDiR7IDwKXqnt+sBGJP9w66LT3O5vcxUcg tnjUc+X9HSH0spVNn44ScGZSBWXOkwn7N0xmSLKHEXEbRoow7F6pXeVp/cWmfduFGh8j PkAO+x7L7gFJsu+99KwPUs8D6vmP6+j6tNjaMrzXuS8gLUvL0PuxnZber5NjexHqIgNd DDqQ== X-Forwarded-Encrypted: i=1; AJvYcCWzaWzEonTjLb8NCZDBXFMSMLK4jwyV6CSVF4x7nv6xRkxEA4PSf6BuYPfoxcPD0WGWr/7G9VKPcGDc@debbugs.gnu.org X-Gm-Message-State: AOJu0YxZK1bJDOHqbwBDAGJA7UMO3mLXkkHpV/g/XBLe/9t7wvYrU3TD 08krZ5P45J9Km/dk+esticUDnD0T9hEl4zHARIDTpizIaejOerozxrGxxQ== X-Google-Smtp-Source: AGHT+IGCaJisyOpfabTU+E+0XMKh+BDsRNPLSST9BAmXmBe0YOmYC/vjwh1esNx4E/6I8vvYL7+b0A== X-Received: by 2002:a17:90a:7c4b:b0:2da:7b8b:ea0d with SMTP id 98e67ed59e1d1-2e184526e93mr2475282a91.8.1727847474024; Tue, 01 Oct 2024 22:37:54 -0700 (PDT) Received: from smtpclient.apple ([2601:646:8f81:6120:6dd0:d187:4760:9860]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e18f8e67e2sm661064a91.45.2024.10.01.22.37.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2024 22:37:53 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: bug#72238: 31.0.50; Segfault after treesit_delete_query From: Yuan Fu In-Reply-To: Date: Tue, 1 Oct 2024 22:37:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87h6cixu2i.fsf@pub.pink> <865xsxbrrf.fsf@gnu.org> To: Stefan Kangas X-Mailer: Apple Mail (2.3776.700.51) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72238-done Cc: Noah Peart , Eli Zaretskii , john muhl , 72238-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Sep 29, 2024, at 6:42=E2=80=AFPM, Stefan Kangas = wrote: >=20 > Yuan Fu writes: >=20 >>> On Jul 22, 2024, at 4:17=E2=80=AFAM, Eli Zaretskii = wrote: >>>=20 >>>> Cc: Noah Peart , 72238@debbugs.gnu.org >>>> From: Yuan Fu >>>> Date: Sun, 21 Jul 2024 17:01:31 -0700 >>>>=20 >>>>=20 >>>>=20 >>>>> On Jul 21, 2024, at 3:24=E2=80=AFPM, john muhl = wrote: >>>>>=20 >>>>> Noah Peart writes: >>>>>=20 >>>>>> After recent build, emacs is crashing frequently when using = tree-sitter >>>>>> modes. >>>>>>=20 >>>>>> The following backtrace was generated after opening a few C = files, >>>>>> enabling c-ts-mode, and moving the cursor around a bit. I dont = have >>>>>> precise steps for repeatability at this point (sorry!), as it = seems to >>>>>> occur during garbage collection. >>>>>>=20 >>>>>> Let me know if there is more useful output I could provide. >>>>>=20 >>>>> Could you try reverting 1abf3bdd7ed and see if that helps? >>>>=20 >>>> Hey guys, sorry for the segfault. It=E2=80=99s indeed caused by = 1abf3bdd7ed, I just fixed it on master. >>>=20 >>> Thanks, but I'm confused, since I see a fix both on emacs-30 and on >>> master. What exactly did you fix and on which branch(es)? Did the >>> problem exist on emacs-30 (it was reported for master)? >>=20 >> Yeah, there=E2=80=99re two bugs: 1) we shouldn=E2=80=99t delete the = query object without >> checking for NULL, and 2) we shouldn=E2=80=99t delete the cursor = object without checking >> for NULL. In emacs-30, only query could be NULL, cursor is always = initialized; >> in emacs-master, due to my recent change, both query and cursor could = be NULL. >>=20 >> So I added checks for both query and cursor in one commit and pushed = to master, and cherry-picked the commit to emacs-30. >>=20 >> Yuan >=20 > Should this bug be closed then? Yes, sorry. Closing. Yuan ------------=_1727847962-2425-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Jul 2024 21:44:49 +0000 Received: from localhost ([127.0.0.1]:56240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVeMK-0004OS-Pi for submit@debbugs.gnu.org; Sun, 21 Jul 2024 17:44:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:59640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVeMI-0004OK-Cd for submit@debbugs.gnu.org; Sun, 21 Jul 2024 17:44:47 -0400 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 1sVeMF-0005MU-KU for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2024 17:44:43 -0400 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVeMA-00047H-BR for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2024 17:44:42 -0400 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-260e8c98cc2so2026857fac.0 for ; Sun, 21 Jul 2024 14:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721598274; x=1722203074; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=g+slPL8ZSJjB5438/jSNBqwkAjUM/IqI63tE2UbmJEE=; b=Hz3E116l/eWpsBj+lgZ3yJhkgjGC0Xpj/EwUekW/oSEOiuc/Yg5jEh8AyM670Gsm1Q Fpa1Qj3VVJ799vU7LjshN7W4POn/lWnaAY9nvg1O+BVmmBbA3FiS95Qk2SLFBjAmqRB/ naKB+uJBz4+5h+P88w9uHGYEeXtcg4QAo9rVdec2UNr5g2dOzTME0hZRrjh/2t/XjqPs Sngk786wLcG7BAM1io3n9BDejo63OZdrwKD+2mLHFH+iATtREF9uG6ORR+2nSkpE3Q7q K9oPVTmuONjAG369xmP7gA4AfhZoPusOia2sRJ3a1x+jmflcDs89SRW6PL21U6CaQ+xx 0a/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721598274; x=1722203074; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g+slPL8ZSJjB5438/jSNBqwkAjUM/IqI63tE2UbmJEE=; b=MhUedODV5PFp6/lm0vuUkaqqUw3H8c9S2sUKjXMvAa3zV7zA4e3n0PODUkIcCtVZr2 hUofKQ6z+mKzCLHxdQJVtOAbnYwPRYtS+mzsultpvPDF9qFP/n1VLfXO0IZor+xLR7AZ pbOtrMk3T9Y2YTSjO3zJePdcwCJPS1XbbQm8BPCLkXe4WdM0f4kSHh4mp59VtEXZ/QjA xLoq35PoexjiUeY2uZfpuM4DaLbwVaPfzwiJVJnXqvwuVAg+V2M1wy/FVIFsQ40jt7iN UaHZ7nXR6G0bIaCpgppzn8N4tZ+V8Dj6Gs79GMrz38H2Gtv+bnz3E99XlRLcGKX6XHi4 gsqg== X-Gm-Message-State: AOJu0YzJmYBhd10oaSX7p7zO8PzZr8GIIyecZkUYh38eslPpNnleoXsC KPA5uorihChizXQlCwfHHpHtBZ6GTgN/itkSNFKMDz0gLV0fWwraEghlhgCpiFsJOGdamkMwsSj upxKVlMo1HV9qmcrIDneYAgDnSwquaX4G8PIa1w== X-Google-Smtp-Source: AGHT+IEnB/Yu3RDPjp1/DRx6T8atTsRmcaOGfnBWUOF99Zptio8IhJf2n1R2rwXIt+5hyvUOlJlfk6V72sVPu+c6CZg= X-Received: by 2002:a05:6870:700a:b0:25d:8238:1c3c with SMTP id 586e51a60fabf-2638df3227bmr4714689fac.18.1721598274434; Sun, 21 Jul 2024 14:44:34 -0700 (PDT) MIME-Version: 1.0 From: Noah Peart Date: Sun, 21 Jul 2024 14:44:23 -0700 Message-ID: Subject: 31.0.50; Segfault after treesit_delete_query To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000097fcce061dc8d51f" Received-SPF: pass client-ip=2001:4860:4864:20::2c; envelope-from=noah.v.peart@gmail.com; helo=mail-oa1-x2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --00000000000097fcce061dc8d51f Content-Type: text/plain; charset="UTF-8" After recent build, emacs is crashing frequently when using tree-sitter modes. The following backtrace was generated after opening a few C files, enabling c-ts-mode, and moving the cursor around a bit. I dont have precise steps for repeatability at this point (sorry!), as it seems to occur during garbage collection. Let me know if there is more useful output I could provide. $ emacs -Q Fatal error 11: Segmentation fault Backtrace: emacs(emacs_backtrace+0x47)[0x5f9bb9f83338] emacs(terminate_due_to_signal+0x8f)[0x5f9bb9f5fb40] emacs(+0x1dc391)[0x5f9bb9f81391] emacs(+0x1dc3f6)[0x5f9bb9f813f6] emacs(+0x1dc423)[0x5f9bb9f81423] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x71c8fe442520] /usr/local/lib/libtree-sitter.so.0(ts_query_cursor_delete+0x11)[0x71c902abf2c1] emacs(treesit_delete_query+0x1a)[0x5f9bba078994] emacs(+0x221b29)[0x5f9bb9fc6b29] emacs(garbage_collect+0x705)[0x5f9bb9fcb1a2] emacs(maybe_garbage_collect+0x2a)[0x5f9bb9fcb3c9] emacs(Ffuncall+0x171)[0x5f9bb9feac4d] emacs(internal_condition_case_n+0x7d)[0x5f9bb9fe9713] emacs(+0xb1ec4)[0x5f9bb9e56ec4] emacs(+0xb1f9d)[0x5f9bb9e56f9d] emacs(+0xe2468)[0x5f9bb9e87468] emacs(+0xe265e)[0x5f9bb9e8765e] emacs(+0xe2517)[0x5f9bb9e87517] emacs(+0xe265e)[0x5f9bb9e8765e] emacs(+0xe3732)[0x5f9bb9e88732] emacs(+0xe59b4)[0x5f9bb9e8a9b4] emacs(+0xfb9d5)[0x5f9bb9ea09d5] emacs(+0xfcfa6)[0x5f9bb9ea1fa6] emacs(internal_condition_case_1+0x68)[0x5f9bb9fe95f8] emacs(+0xe77ad)[0x5f9bb9e8c7ad] emacs(redisplay+0xd)[0x5f9bb9e8cd39] emacs(read_char+0x714)[0x5f9bb9f71d34] emacs(+0x1cf6ff)[0x5f9bb9f746ff] emacs(+0x1d21d3)[0x5f9bb9f771d3] emacs(internal_condition_case+0x5f)[0x5f9bb9fe957a] emacs(command_loop_2+0x27)[0x5f9bb9f627ef] emacs(internal_catch+0x3e)[0x5f9bb9fe94ac] emacs(+0x1bd7a5)[0x5f9bb9f627a5] emacs(recursive_edit_1+0x69)[0x5f9bb9f67206] emacs(Frecursive_edit+0xbf)[0x5f9bb9f6756d] emacs(main+0x1f85)[0x5f9bb9f61b1d] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x71c8fe429d90] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x71c8fe429e40] emacs(_start+0x25)[0x5f9bb9e3d9c5] Segmentation fault In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-07-21 built on noah-X580VD Repository revision: ccb856189f483abfaa584f428b09a863f816a040 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.4 LTS Configured using: 'configure --prefix=/usr/local --with-modules --with-tree-sitter --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls --with-mailutils --with-jpeg --with-png --with-rsvg --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12 CXX=gcc-12 CFLAGS=-ggdb3 CXXFLAGS=' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus 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 minibuffer-regexp-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/x-win x-win term/common-win x-dnd touch-screen 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 xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 49659 12038) (symbols 48 5384 0) (strings 32 13418 2082) (string-bytes 1 391638) (vectors 16 9589) (vector-slots 8 125589 8356) (floats 8 22 12) (intervals 56 279 0) (buffers 992 11)) --00000000000097fcce061dc8d51f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After recent build, emacs is crashing frequently when usin= g tree-sitter
modes.

The following backtrace was generated after = opening a few C files,
enabling c-ts-mode, and moving the cursor around = a bit. I dont have
precise steps for repeatability at this point (sorry!= ), as it seems to
occur during garbage collection.

Let me know if= there is more useful output I could provide.

$ emacs -Q
Fatal er= ror 11: Segmentation fault
Backtrace:
emacs(emacs_backtrace+0x47)[0x5= f9bb9f83338]
emacs(terminate_due_to_signal+0x8f)[0x5f9bb9f5fb40]
emac= s(+0x1dc391)[0x5f9bb9f81391]
emacs(+0x1dc3f6)[0x5f9bb9f813f6]
emacs(+= 0x1dc423)[0x5f9bb9f81423]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x71= c8fe442520]
/usr/local/lib/libtree-sitter.so.0(ts_query_cursor_delete+0x= 11)[0x71c902abf2c1]
emacs(treesit_delete_query+0x1a)[0x5f9bba078994]
= emacs(+0x221b29)[0x5f9bb9fc6b29]
emacs(garbage_collect+0x705)[0x5f9bb9fc= b1a2]
emacs(maybe_garbage_collect+0x2a)[0x5f9bb9fcb3c9]
emacs(Ffuncal= l+0x171)[0x5f9bb9feac4d]
emacs(internal_condition_case_n+0x7d)[0x5f9bb9f= e9713]
emacs(+0xb1ec4)[0x5f9bb9e56ec4]
emacs(+0xb1f9d)[0x5f9bb9e56f9d= ]
emacs(+0xe2468)[0x5f9bb9e87468]
emacs(+0xe265e)[0x5f9bb9e8765e]
= emacs(+0xe2517)[0x5f9bb9e87517]
emacs(+0xe265e)[0x5f9bb9e8765e]
emacs= (+0xe3732)[0x5f9bb9e88732]
emacs(+0xe59b4)[0x5f9bb9e8a9b4]
emacs(+0xf= b9d5)[0x5f9bb9ea09d5]
emacs(+0xfcfa6)[0x5f9bb9ea1fa6]
emacs(internal_= condition_case_1+0x68)[0x5f9bb9fe95f8]
emacs(+0xe77ad)[0x5f9bb9e8c7ad]emacs(redisplay+0xd)[0x5f9bb9e8cd39]
emacs(read_char+0x714)[0x5f9bb9f7= 1d34]
emacs(+0x1cf6ff)[0x5f9bb9f746ff]
emacs(+0x1d21d3)[0x5f9bb9f771d= 3]
emacs(internal_condition_case+0x5f)[0x5f9bb9fe957a]
emacs(command_= loop_2+0x27)[0x5f9bb9f627ef]
emacs(internal_catch+0x3e)[0x5f9bb9fe94ac]<= br>emacs(+0x1bd7a5)[0x5f9bb9f627a5]
emacs(recursive_edit_1+0x69)[0x5f9bb= 9f67206]
emacs(Frecursive_edit+0xbf)[0x5f9bb9f6756d]
emacs(main+0x1f8= 5)[0x5f9bb9f61b1d]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x71c8fe429= d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x71c8fe429= e40]
emacs(_start+0x25)[0x5f9bb9e3d9c5]
Segmentation fault


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
= =C2=A03.24.33, cairo version 1.16.0) of 2024-07-21 built on noah-X580VD
= Repository revision: ccb856189f483abfaa584f428b09a863f816a040
Repository= branch: master
Windowing system distributor 'The X.Org Foundation&#= 39;, version 11.0.12101004
System Description: Ubuntu 22.04.4 LTS
Configured using:
=C2=A0'configure --prefix=3D/usr/local --with-mod= ules --with-tree-sitter
=C2=A0--with-threads --with-x-toolkit=3Dgtk3 --w= ith-xwidgets --with-gnutls
=C2=A0--with-mailutils --with-jpeg --with-png= --with-rsvg --with-tiff
=C2=A0--with-xml2 --with-xpm --with-imagemagick= CC=3Dgcc-12 CXX=3Dgcc-12
=C2=A0CFLAGS=3D-ggdb3 CXXFLAGS=3D'

= Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTIN= GS HARFBUZZ
IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COM= P NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
= TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS
G= TK3 ZLIB

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: u= tf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:=
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-m= ode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
= =C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mo= de: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 minib= uffer-regexp-mode: t
=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mo= de: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: t=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

= Load-path shadows:
None found.

Features:
(shadow sort mail-ext= r emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 m= ml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util t= ext-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-= parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmai= l rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils rmc iso-trans= l tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-f= loat-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch= -screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list repl= ace 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-la= ng vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932= hebrew greek
romanian slovak czech european ethiopic indian cyrillic ch= inese
composite emoji-zwj charscript charprop case-table epa-hook
jka= -cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
the= me-loaddefs faces cus-face macroexp files window text-properties
overlay= sha1 md5 base64 format env code-pages mule custom widget keymap
hashtab= le-print-readable backquote threads xwidget-internal dbusbind
inotify lc= ms2 dynamic-setting system-font-setting font-render-setting
cairo gtk x-= toolkit xinput2 x multi-tty move-toolbar
make-network-process native-com= pile emacs)

Memory information:
((conses 16 49659 12038) (symbols= 48 5384 0) (strings 32 13418 2082)
=C2=A0(string-bytes 1 391638) (vecto= rs 16 9589)
=C2=A0(vector-slots 8 125589 8356) (floats 8 22 12) (interva= ls 56 279 0)
=C2=A0(buffers 992 11))
--00000000000097fcce061dc8d51f-- ------------=_1727847962-2425-1--