Your message dated Sun, 16 Mar 2025 21:14:18 +0000
with message-id <e1ttvjk-00d47o...@fasolo.debian.org>
and subject line Bug#1100171: fixed in tree-sitter 0.22.6-6
has caused the Debian Bug report #1100171,
regarding libtree-sitter0: Crashes Emacs with "stack smashing detected" when
python language grammar is installed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1100171: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100171
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libtree-sitter0
Version: 0.22.6-4
Severity: important
Hi,
Emacs uses tree-sitter for syntax highlighting.
Today, using the consult-git-grep Emacs command reliably crashes my Emacs if
I have the python language grammar compiled and installed in
~/.cache/emacs/tree-sitter/:
Mar 12 09:59:57 manticora emacs.desktop[122043]: *** stack smashing detected
***: terminated
Mar 12 09:59:57 manticora emacs.desktop[122043]: Backtrace:
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x15cfd0)
[0x5cdcd3c8ffd0]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x49075)
[0x5cdcd3b7c075]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x4959b)
[0x5cdcd3b7c59b]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x495a2)
[0x5cdcd3b7c5a2]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x15b18f)
[0x5cdcd3c8e18f]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/lib/x86_64-linux-gnu/libc.so.6(+0x3fdb0) [0x7b0e0a449db0]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/lib/x86_64-linux-gnu/libc.so.6(+0x948ac) [0x7b0e0a49e8ac]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x12) [0x7b0e0a449c82]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/lib/x86_64-linux-gnu/libc.so.6(abort+0x22) [0x7b0e0a4324ac]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/lib/x86_64-linux-gnu/libc.so.6(+0x29291) [0x7b0e0a433291]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/lib/x86_64-linux-gnu/libc.so.6(+0x11b975) [0x7b0e0a525975]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/lib/x86_64-linux-gnu/libc.so.6(__stpcpy_chk+0x0) [0x7b0e0a526b90]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x26393c)
[0x5cdcd3d9693c]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/home/intrigeri/.cache/emacs/eln-cache/30.1-afa68807/treesit-37439c61-730b72d7.eln(F747265657369742d666f6e742d6c6f636b2d666f6e746966792d726567696f6e_treesit_font_lock_fontify_region_0+0x2b1)
[0x7b0de3f92a61]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/usr/bin/../lib/emacs/30.1/native-lisp/30.1-afa68807/preloaded/font-lock-895216f6-dbd5a4a0.eln(F666f6e742d6c6f636b2d666f6e746966792d73796e746163746963616c6c792d726567696f6e_font_lock_fontify_syntactically_region_0+0x54)
[0x7b0e0553bed4]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/usr/bin/../lib/emacs/30.1/native-lisp/30.1-afa68807/preloaded/font-lock-895216f6-dbd5a4a0.eln(F666f6e742d6c6f636b2d64656661756c742d666f6e746966792d726567696f6e_font_lock_default_fontify_region_0+0x47f)
[0x7b0e05539c1f]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/usr/bin/../lib/emacs/30.1/native-lisp/30.1-afa68807/preloaded/font-lock-895216f6-dbd5a4a0.eln(F666f6e742d6c6f636b2d666f6e746966792d726567696f6e_font_lock_fontify_region_0+0x88)
[0x7b0e05538a18]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x21f151)
[0x5cdcd3d52151]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d3c91)
[0x5cdcd3d06c91]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1cf1c2)
[0x5cdcd3d021c2]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/usr/bin/../lib/emacs/30.1/native-lisp/30.1-afa68807/preloaded/jit-lock-8a988e43-86e09700.eln(F6a69742d6c6f636b2d2d72756e2d66756e6374696f6e73_jit_lock__run_functions_0+0xca)
[0x7b0e05516d8a]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/usr/bin/../lib/emacs/30.1/native-lisp/30.1-afa68807/preloaded/jit-lock-8a988e43-86e09700.eln(F6a69742d6c6f636b2d666f6e746966792d6e6f77_jit_lock_fontify_now_0+0x7ca)
[0x7b0e0551763a]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/usr/bin/../lib/emacs/30.1/native-lisp/30.1-afa68807/preloaded/jit-lock-8a988e43-86e09700.eln(F6a69742d6c6f636b2d66756e6374696f6e_jit_lock_function_0+0x24f)
[0x7b0e05516acf]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1cea81)
[0x5cdcd3d01a81]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x6fd24)
[0x5cdcd3ba2d24]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x8177a)
[0x5cdcd3bb477a]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x84b27)
[0x5cdcd3bb7b27]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x8be1c)
[0x5cdcd3bbee1c]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x18c7a0)
[0x5cdcd3cbf7a0]
Mar 12 09:59:57 manticora emacs.desktop[122043]:
/usr/bin/../lib/emacs/30.1/native-lisp/30.1-afa68807/preloaded/simple-fab5b0cf-4a9a0458.eln(F626567696e6e696e672d6f662d76697375616c2d6c696e65_beginning_of_visual_line_0+0x5f)
[0x7b0e059de28f]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x21f151)
[0x5cdcd3d52151]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d3aa8)
[0x5cdcd3d06aa8]
Mar 12 09:59:57 manticora emacs.desktop[122043]: /usr/bin/emacs(+0x1d351e)
[0x5cdcd3d0651e]
Mar 12 09:59:57 manticora emacs.desktop[122043]: ...
Downgrading to 0.20.8-2+b2 fixes the problem for me.
Deleting the python language grammars also fixes the problem for me.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (2, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8),
LANGUAGE=en_IE:en_US:en:C
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libtree-sitter0 depends on:
ii libc6 2.41-4
libtree-sitter0 recommends no packages.
libtree-sitter0 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: tree-sitter
Source-Version: 0.22.6-6
Done: James McCoy <james...@debian.org>
We believe that the bug you reported is fixed in the latest version of
tree-sitter, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1100...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James McCoy <james...@debian.org> (supplier of updated tree-sitter package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 16 Mar 2025 16:14:16 -0400
Source: tree-sitter
Architecture: source
Version: 0.22.6-6
Distribution: unstable
Urgency: medium
Maintainer: Tree-sitter Maintainers <team+tree-sit...@tracker.debian.org>
Changed-By: James McCoy <james...@debian.org>
Closes: 1093836 1100171
Changes:
tree-sitter (0.22.6-6) unstable; urgency=medium
.
* Upload to unstable
* Add Breaks/Replaces for libtree-sitter0
.
tree-sitter (0.22.6-5) experimental; urgency=medium
.
* Remove emscripten Recommends until playground command is enabled
(Closes: #1093836)
* Backport patch to include the minor version in the SONAME so the ABI break
is properly reflected. (Closes: #1100171)
* Rename libtree-sitter0 to libtree-sitter0.22 for ABI bump
Checksums-Sha1:
c159996a0b9f451306de4ddf3d42cc447ac06266 4885 tree-sitter_0.22.6-6.dsc
ae08b5900bda6b0a77e081f5349901308522e947 11064
tree-sitter_0.22.6-6.debian.tar.xz
Checksums-Sha256:
cce3dbc2c42b4c3d7ac1473aa174aa5d7ed16e49f5cfef0fc85996b256ab3bf9 4885
tree-sitter_0.22.6-6.dsc
59fa83b13327e53d0347c7c406a220f4f233eafca6269342386c3d39b575de5c 11064
tree-sitter_0.22.6-6.debian.tar.xz
Files:
2662d565daf2340c4344a7016d960a9f 4885 libs optional tree-sitter_0.22.6-6.dsc
1762c1deca7b7d64c3edfdf809c66c42 11064 libs optional
tree-sitter_0.22.6-6.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmfXMXBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9s0KQ//bPuEOSReXqTLqPMgRX6dn2i+BrUE
wDPaO55x47FN9Fj+6obUJwFCPm7njy419F56BoysUlGJZar6/HXqNX1VqcCmQ2CF
bmdaa0/60Qzm3PsXHsvaPDiFcEYJprAQ6c57Q+bVnOZaJEo9WxjudmqF+3goxpEz
tGHmun224WkwQxzCjqioEx0a0Zg2PgZEUCAqYUVt+6zvSIMunpYvWjEIw1TluCqa
nNRmnVD6fIxunzjy3d7ufwd+ldM/PbF0LSnuevk9j869gpmZzDy2da8pBvswTqJ/
JDbZxHy4XD2QCp/udDxQBCdMFOfr/ktxOPVwtTa3ykOezG7MneuZawQVbEGD1aku
j0ggRuGvW34+dhouZPVjMeHp5MOwJoDtBhv/5NdsQU8mbdRcPH7tCxDg1+zc7M+p
ZV7OwULU8/EkMxLFsB97aC7MjryNXkF/nGUH0jLZgr8hFzR053fH2BPmKDY2Jy6u
HCONhIAwopQ+eKka3PeVwUzI6Ln1zdiUVyZUvgMlxL7n3oz/l0K7FAdcwA5dw26r
8eck74mKss23RCtYgEMUB67wifB2XqvQtyzsHqOk452fLo+uWCESDkqBJanNb+p4
KSiTQpMHdIGNh510DicDq+Yl2r8gRoqvTtcfHTZ4A37Wt6+8zNer5vD78s+L7fw9
ePa9qOI8M4um/oU=
=g4iX
-----END PGP SIGNATURE-----
pgpWjTUDauNRK.pgp
Description: PGP signature
--- End Message ---