Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.
Received: (at 81730) by debbugs.gnu.org; 29 Aug 2026 05:56:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 29 01:56:24 2026
Received: from localhost ([127.0.0.1]:54104 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1x0C3C-000684-1W
for submit <at> debbugs.gnu.org; Sat, 29 Aug 2026 01:56:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49900)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
id 1x0C36-00066J-0Y; Sat, 29 Aug 2026 01:56:20 -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 <eliz@HIDDEN>)
id 1x0C30-0003aQ-KD; Sat, 29 Aug 2026 01:56:10 -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=sRlt2cfJhZ+JFRNDIiGe2Fs+qPukYeeLA4BBRk5Yw8w=; b=QxbDsGH+a/PU/Q6iwuIr
GwZe/eYfXtQOiqxZvC38WR+BBwhRIvZ5Ns3IYQaNwnCbY7w3C1b0Ur+bQYU9xap71J8cO/eDNDq6s
WPYZil7Thu0U4kXdMP2fj45Y8DBXXK9LXHtbjDbZPp0djGZ2lmWQNVZxSpt4bb5zfn+m0atCnehqm
TKlybgekyIOGDkHKhms3vBaQx9LXeIVPovpQ8w3y4tHQpqD5Mi4K6vrG1cu1nC2vVKq7Uc8nee9FL
xa4u2/eNsM0B0szqti2dlKDzV2zQVDqHENNez3lSdpklGOroSSsu0Jz6L8dlp0vTWghnp9gEEFboB
JObLtEq4NJqa9g==;
Date: Sat, 29 Aug 2026 08:56:05 +0300
Message-Id: <86pkz1cvwq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?7KCV7Iq57LKg?= <scjung.gtone@HIDDEN>, Yuan Fu
<casouri@HIDDEN>
In-Reply-To: <9AE41F68-EF35-4F99-94CF-468388777C79@HIDDEN> (message from
=?utf-8?B?7KCV7Iq57LKg?= on Fri, 28 Aug 2026 19:56:44 +0900)
Subject: Re: bug#81730: 31.1;
tree-sitter segfault during syntactic fontification with
syntax-propertize-function
References: <9AE41F68-EF35-4F99-94CF-468388777C79@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81730
Cc: 81730 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
merge 81730 81729
thanks
> From: 정승철 <scjung.gtone@HIDDEN>
> Date: Fri, 28 Aug 2026 19:56:44 +0900
>
>
> Emacs 31.1 reproducibly segfaults during tree-sitter fontification when
> using neocaml-mode (OCaml mode) after neocaml added a `syntax-propertize-function'.
>
> To reproduce:
>
> - Install neocaml.
> - emacs -Q
> - Eval the following code:
>
> (progn
> (package-initialize)
> (with-temp-buffer
> (neocaml-mode)
> (insert "module M = struct type t = string end")
> (font-lock-flush)
> (font-lock-ensure)))
>
> The crash occurs in Ftreesit_query_capture. The relevant part of the
> backtrace is:
>
> - libtree-sitter.0.25.dylib
> - Ftreesit_query_capture
> - treesit--font-lock-fontify-region-1
> - treesit-font-lock-fontify-region
> - font-lock-fontify-syntactically-region
This seems to be the same bug as bug#81729, so I'm merging them.
Yuan, could you please look into this ASAP?
> The crash appears to involve the interaction between tree-sitter
> syntactic fontification and `syntax-propertize-function'.
>
> In particular, replacing only `font-lock-fontify-region-function' does
> NOT prevent the crash:
>
> (progn
> (package-initialize)
> (with-temp-buffer
> (neocaml-mode)
> (insert "module M = struct type t = string end")
> (setq-local font-lock-fontify-region-function
> #'font-lock-default-fontify-region)
> (font-lock-flush)
> (font-lock-ensure)))
>
> However, replacing `font-lock-fontify-syntactically-function' DOES
> prevent the crash:
>
> (progn
> (package-initialize)
> (with-temp-buffer
> (neocaml-mode)
> (insert "module M = struct type t = string end")
> (setq-local font-lock-fontify-syntactically-function
> #'font-lock-default-fontify-syntactically)
> (font-lock-flush)
> (font-lock-ensure)))
>
> Disabling neocaml's `syntax-propertize-function' also prevents the
> crash.
>
> Pre-running syntax propertization and then disabling further syntax
> propertization also works:
>
> (progn
> (package-initialize)
> (with-temp-buffer
> (neocaml-mode)
> (insert "module M = struct type t = string end")
> (syntax-propertize (point-max))
> (setq-local syntax-propertize-function nil)
> (font-lock-flush)
> (font-lock-ensure)))
>
> The neocaml change which introduced use of `syntax-propertize-rules' and
> exposed the problem is:
>
> https://github.com/bbatsov/neocaml/pull/66/changes/14bd18c255ff7cc82a9a3b013895adc65b271b4a
>
> The corresponding neocaml issue is:
>
> https://github.com/bbatsov/neocaml/issues/67
>
> The tree-sitter library and grammar ABI versions have been checked and
> match.
>
> There appears to be some similarity to bug#71681, which also involved
> a segfault in Ftreesit_query_capture due to invalid tree/node state,
> although I do not know whether the underlying cause is the same.
That crash was supposed to be fixed in Emacs 30, so I don't think it's
the same issue.
> Backtrace:
>
> Exception Type: EXC_BAD_ACCESS (SIGABRT)
> Exception Subtype: KERN_INVALID_ADDRESS at 0x0000126173ca7c24
> Exception Codes: 0x0000000000000001, 0x0000126173ca7c24
>
> Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6
> Terminating Process: Emacs [64867]
>
>
> VM Region Info: 0x126173ca7c24 is not in any region. Bytes after previous region: 20204805889061 Bytes before following region: 85343352488924
> REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
> __LINKEDIT 127834000-127836000 [ 8K] r--/rwx SM=COW /Users/USER/*/libtree-sitter-ocaml-interface.dylib
> ---> GAP OF 0x5ffed87ca000 BYTES
> MALLOC_NANO 600000000000-600020000000 [512.0M] rw-/rwx SM=PRV
>
> Kernel Triage:
> VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
> VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
>
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0 libsystem_kernel.dylib 0x7ff8106cf7de __pthread_kill + 10
> 1 libsystem_pthread.dylib 0x7ff81070ca5b pthread_kill + 259
> 2 libsystem_c.dylib 0x7ff8105e13ca raise + 24
> 3 Emacs 0x1020c381c terminate_due_to_signal + 92
> 4 Emacs 0x1020c3bce emacs_abort + 19
> 5 Emacs 0x10207b60d ns_term_shutdown + 157
> 6 Emacs 0x101f19e62 shut_down_emacs + 370
> 7 Emacs 0x1020c3869 terminate_due_to_signal + 169
> 8 Emacs 0x101f413d6 deliver_fatal_thread_signal + 134
> 9 Emacs 0x101f437a1 handle_sigsegv + 81
> 10 libsystem_platform.dylib 0x7ff8107163bd _sigtramp + 29
> 11 ??? 0x0 ???
> 12 libtree-sitter.0.25.dylib 0x1025a2d92 0x10258c000 + 93586
> 13 libtree-sitter.0.25.dylib 0x1025a2433 0x10258c000 + 91187
> 14 Emacs 0x1020549bb Ftreesit_query_capture + 1547
> 15 treesit-37439c61-69806c0c.eln 0x1115c6636 F747265657369742d2d666f6e742d6c6f636b2d666f6e746966792d726567696f6e2d31_treesit__font_lock_fontify_region_1_0 + 406
> 16 Emacs 0x101fbbf85 funcall_subr + 437
> 17 Emacs 0x101fb5ef6 Ffuncall + 502
> -------- RECURSION LEVEL 10
> 18 treesit-37439c61-69806c0c.eln 0x1115c620e F747265657369742d666f6e742d6c6f636b2d666f6e746966792d726567696f6e_treesit_font_lock_fontify_region_0 + 1278
> 19 Emacs 0x101fbbefe funcall_subr + 302
> 20 Emacs 0x101fb5ef6 Ffuncall + 502
> -------- RECURSION LEVEL 9
> 21 font-lock-895216f6-8a5fe33c.eln 0x105f83efc F666f6e742d6c6f636b2d666f6e746966792d73796e746163746963616c6c792d726567696f6e_font_lock_fontify_syntactically_region_0 + 108
> 22 Emacs 0x101fbbefe funcall_subr + 302
> 23 Emacs 0x101fb5ef6 Ffuncall + 502
> -------- RECURSION LEVEL 8
> --------
> -------- ELIDED 4 LEVELS OF RECURSION THROUGH 0x101fb5ef6 Ffuncall + 502
> --------
> 53 Emacs 0x101fb8beb Fhandler_bind_1 + 123
> 54 elisp-mode-90dbfe40-ce6e7deb.eln 0x105f298eb F6576616c2d6c6173742d73657870_eval_last_sexp_0 + 171
> 55 Emacs 0x101fbbf2a funcall_subr + 346
> 56 Emacs 0x101fb5ef6 Ffuncall + 502
> -------- RECURSION LEVEL 3
> 57 Emacs 0x101fb222b Ffuncall_interactively + 75
> 58 Emacs 0x101fb5ef6 Ffuncall + 502
> -------- RECURSION LEVEL 2
> 59 Emacs 0x101fb3916 Fcall_interactively + 5846
> 60 simple-fab5b0cf-eb6715e5.eln 0x105b19792 F636f6d6d616e642d65786563757465_command_execute_0 + 642
> 61 Emacs 0x101fbbedc funcall_subr + 268
> 62 Emacs 0x101fb5ef6 Ffuncall + 502
> -------- RECURSION LEVEL 1
> 63 Emacs 0x101f1e355 command_loop_1 + 1685
> 64 Emacs 0x101fb8de7 internal_condition_case + 295
> 65 Emacs 0x101f1dc9e command_loop_2 + 46
> 66 Emacs 0x101fb81ec internal_catch + 284
> 67 Emacs 0x101f1d4a4 command_loop + 228
> 68 Emacs 0x101f1d31c recursive_edit_1 + 156
> 69 Emacs 0x101f1d647 Frecursive_edit + 359
> 70 Emacs 0x101f1c173 main + 8851
> 71 dyld 0x7ff8103271c8 start + 3240
>
>
>
> ---
>
> In GNU Emacs 31.1 (build 1, x86_64-apple-darwin24.6.0, NS appkit-2575.70
> Version 15.7.7 (Build 24G720)) of 2026-08-26 built on
> sjc20-cw761-aee3a32b-d2ec-4921-9578-0a9bdd88ee45-26B47A52E34C.local
> Repository revision: 4367d6b80ed562995be16b4a017c25e2baf73931
> Repository branch: HEAD
> Windowing system distributor 'Apple', version 10.3.2685
> System Description: macOS 26.6.2
>
> Configured using:
> 'configure --with-ns --with-modules
> '--enable-locallisppath=/Library/Application
> Support/Emacs/${version}/site-lisp:/Library/Application
> Support/Emacs/site-lisp:/usr/local/share/emacs/site-lisp:/opt/homebrew/share/emacs/site-lisp'
> --with-xwidgets --with-tree-sitter --with-native-compilation=aot
> 'CFLAGS=-O2
> -I/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/include
> -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT -frandom-seed=3zmql8qcqs
> -isystem
> /nix/store/cmr5mdb0x6znlxglfafs79bw4adf4d3m-libiconv-109-dev/include
> -isystem
> /nix/store/w0j726kwgyr178l5l1sixzah81zh1sxw-libresolv-83-dev/include
> -isystem
> /nix/store/xhdq8jnq9c8925hgnjj97dhwfcnfb074-libsbuf-14.1.0-dev/include
> -isystem
> /nix/store/1hj598hl3qkin3l7rb3wc9znhn9cbvfq-cups-headers-2.4.11/include
> -isystem
> /nix/store/xiajhp74idkihhiqnzq0073zwb6rayka-bash-interactive-5.2p37-dev/include
> -isystem
> /nix/store/v233jjb9s23vs5xmvmlgbrv9py38q6qk-cairo-1.18.2-dev/include
> -isystem
> /nix/store/nvck2xagb8a1prqmr9q4rl8mmcyxsv5w-fontconfig-2.16.0-dev/include
> -isystem
> /nix/store/m3hfb6v45hj1lccwz26gj59xrax08bg3-freetype-2.13.3-dev/include
> -isystem
> /nix/store/84jb3r54giwjd0wnhfrgcfwyb8377002-zlib-1.3.1-dev/include
> -isystem
> /nix/store/h45l8b7cvqbgm3qxy59d17ab324njj36-bzip2-1.0.8-dev/include
> -isystem
> /nix/store/rmqzdfpnsxnkfshimrx7y4zv5kpib9hx-brotli-1.1.0-dev/include
> -isystem
> /nix/store/vjp41ipk2vfpz91k44h2wqs1vw1bszgb-libpng-apng-1.6.46-dev/include
> -isystem
> /nix/store/xf5n5c2ycjkgjj9c567zi6537rrpjpkf-pixman-0.44.2/include
> -isystem
> /nix/store/khi8kbbnwfxw7cxh7a2h1p3q1lzhjvgh-libXext-1.3.6-dev/include
> -isystem
> /nix/store/ij8v1jg1c327970nf4xjqms2cm4s4fg6-xorgproto-2024.1/include
> -isystem
> /nix/store/n8xfnis5rpr7mk9jyhpca01wf6w7r2br-libXau-1.0.12-dev/include
> -isystem
> /nix/store/dh1nj9fnf5xk8p3f02sf3rnw9dbr5268-libXrender-0.9.12-dev/include
> -isystem
> /nix/store/mp3ak9fszd4m9g29xwgqlbd9svpq194a-libX11-1.8.12-dev/include
> -isystem
> /nix/store/6s5jmasakldi7pl2406wgi71cw41q9g8-libxcb-1.17.0-dev/include
> -isystem
> /nix/store/8lwb4vhy6fzh0j7kyhxmzrjkqcwvn9bc-glib-2.84.3-dev/include
> -isystem
> /nix/store/dfgy97f6ciyxrhlhas20a262w4f9z3m5-libffi-39-dev/include
> -isystem
> /nix/store/f76r7x2pymp75y0ry98245zn9h3rip7i-gettext-0.22.5/include
> -isystem
> /nix/store/yklnbfjykjk9hz5b04lc8qd1mjsdx6dv-curl-8.14.1-dev/include
> -isystem
> /nix/store/b0i367iqrmwn6fyhllyyz0z5wirbam52-krb5-1.21.3-dev/include
> -isystem
> /nix/store/j00x43snwg06v32zqfmrbcd4bs0bwgc1-nghttp2-1.65.0-dev/include
> -isystem
> /nix/store/0c2psna79fx67hcxv7kaxvm957gd9llp-libidn2-2.3.8-dev/include
> -isystem
> /nix/store/axjwrz52dkhrvkgvyy8kfprkhdxybjdr-openssl-3.4.2-dev/include
> -isystem
> /nix/store/3ds46s7mljdgzgx039bnky67gwndb4p8-libpsl-0.21.5-dev/include
> -isystem
> /nix/store/drbwym0pxdqca3clzywz8cjsfmg22k98-libssh2-1.11.1-dev/include
> -isystem
> /nix/store/06zm7igcm0x4xfnk230c1y6vd8dzy5nf-zstd-1.5.7-dev/include
> -isystem
> /nix/store/ps64y4zk08602skknjkpfs0mk3x280mm-dbus-1.14.10-dev/include
> -isystem
> /nix/store/sch4hn968hm5jqbppy5xz49l5gn3xlyj-expat-2.7.1-dev/include
> -isystem
> /nix/store/9j5180f22nj1ab0ys4v72bgx2hx7m27q-giflib-5.2.2/include
> -isystem
> /nix/store/08946knzs2xy1z6sny394rkzjpxllyl0-gmp-with-cxx-6.3.0-dev/include
> -isystem
> /nix/store/qr25h97j1scazjd4w2kjv4b2xyvscxha-gnumake-4.4.1/include
> -isystem
> /nix/store/644dbyiadnrz88fxnzcaagii744l7dd9-gnutls-3.8.9-dev/include
> -isystem
> /nix/store/slaf2r9grgs08pbj0wwgrhs25v0nagrp-nettle-3.10.1-dev/include
> -isystem
> /nix/store/4ngmzm579kzhy9dq69lb8w48n4zsr8kq-harfbuzz-10.2.0-dev/include
> -isystem
> /nix/store/9w451xv6gh3127hdhvwjd6sdmyz4k437-graphite2-1.3.14-dev/include
> -isystem
> /nix/store/yfvr1x1ic4pbbyfhs9vn2g73vyfbc82n-jansson-2.14-dev/include
> -isystem
> /nix/store/nx0w6vavk7s1w3zcahcladhv196fgs63-jq-1.7.1-dev/include
> -isystem
> /nix/store/ngin5nsxg14f9xnbv3f62r7qypzjz97m-lcms2-2.17-dev/include
> -isystem
> /nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/include
> -isystem
> /nix/store/rd5s62paachck47szwz2rda25p32a1q7-libjpeg-turbo-3.0.4-dev/include
> -isystem
> /nix/store/i4j7k42j26818ipsckybvqh47m2hvbmq-librsvg-2.60.0-dev/include
> -isystem
> /nix/store/idvbgwy6lqapwjqw9z5z56lbb4k7bmv8-gdk-pixbuf-2.42.12-dev/include
> -isystem
> /nix/store/8ciy68aw566h8381cacyd1r4a1z0mg5m-libtiff-4.7.0-dev/include
> -isystem
> /nix/store/1jq4pk3x8fadkkzhzmflbvq2l5d0rvz1-libdeflate-1.23/include
> -isystem
> /nix/store/961afvf867f41qs5i2yx3y6wpbqlk7mx-libwebp-1.5.0/include
> -isystem
> /nix/store/1ads5j21v33qirbq630pzw5hjxhy74j9-xz-5.8.1-dev/include
> -isystem
> /nix/store/9x7fkpnxvbaasc5xxf5yj68b7qkqi7yj-libtasn1-4.20.0-dev/include
> -isystem
> /nix/store/8j8bj55izlqb9hnclgs43il03v1gniqs-libunistring-1.3-dev/include
> -isystem
> /nix/store/5jkvr5psfmp4fhhxmr2c74jy0i4h9cx3-libiconv-1.17/include
> -isystem
> /nix/store/wad46frla2l9m7nk7nf7q4asl447djmy-libwebp-1.5.0/include
> -isystem
> /nix/store/bc2a6gnqkq9pc9z5r9dbkmdz43xgb4n1-libxml2-2.13.8-dev/include
> -isystem
> /nix/store/74hslbi4ypr7mvz26j1x5k21sbj3gdj1-mailutils-3.18/include
> -isystem
> /nix/store/g7kspywnrybqc2mwcarb1rr19597j1b8-python3-3.13.5/include
> -isystem /nix/store/02dcqdj2jgg9gj30rcvp9f3y2cbcv9nm-ruby-3.3.9/include
> -isystem
> /nix/store/rjwwjwwgnmlh112rw8fqc8rj42npr3wd-sqlite-3.48.0-dev/include
> -isystem
> /nix/store/h3nx618fx3h9g4snwbadk00587b0y3vy-tree-sitter-0.25.3/include
> -isystem
> /nix/store/h1sw7b2k8r8699dgi5ldi6h13qmr22fv-libcxx-19.1.7-dev/include
> -isystem
> /nix/store/32pw0qn102a16rk3k669x07bavi6wnh2-compiler-rt-libc-19.1.7-dev/include'
> 'LDFLAGS=-Wl,-headerpad_max_install_names
> -L/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/lib
> -L/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/lib/gcc/x86_64-apple-darwin/14.3.0
> -I/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/include
> -L/nix/store/60bjrvcya1wnnnm27rsm4ygd48bsrrf4-Csu-88/lib
> -L/nix/store/h4ahsf3bj5x6l39x33pr5992njx2a2x0-libiconv-109/lib
> -L/nix/store/vj92m204vr2faqiyrr467ivkdai3pa52-libresolv-83/lib
> -L/nix/store/p5i2qq55lkd6s0q5r28ldd472n422y28-libsbuf-14.1.0/lib
> -L/nix/store/773crkfhy6phnwhlg17crhcsjb29a0gx-libutil-72/lib
> -L/nix/store/b5k7pcf1cl4idkcvc97i0kym0i01p87h-zlib-1.3.1/lib
> -L/nix/store/cm8bcfgbgaaq2akbaf3fxfczrhdi4hs1-bzip2-1.0.8/lib
> -L/nix/store/z82hxhirsxkfxbmyv9qwxkphidsxs865-brotli-1.1.0-lib/lib
> -L/nix/store/zgd81j55x84v43pvj9cjr9gy94wy1vzz-libpng-apng-1.6.46/lib
> -L/nix/store/yv6jbhq55bk0h10piylkxnkb8x21zk6y-freetype-2.13.3/lib
> -L/nix/store/wav05z9p2az9xdqff8h457l6pzrbkxmj-fontconfig-2.16.0-lib/lib
> -L/nix/store/xf5n5c2ycjkgjj9c567zi6537rrpjpkf-pixman-0.44.2/lib
> -L/nix/store/662xn735g69ny0blinm74fs4wzy1kx3w-libXau-1.0.12/lib
> -L/nix/store/6bz422vqasqxcbmbjgh2h79d9ljarzkv-libXext-1.3.6/lib
> -L/nix/store/vgzfyn0r4hkyhbadisz6pw74v6bbp422-libxcb-1.17.0/lib
> -L/nix/store/6csdkav1p849773nsslns17dh4w87pmf-libX11-1.8.12/lib
> -L/nix/store/8qjvw3a3chawzfxzvrl9q8s1xw8v1khd-libXrender-0.9.12/lib
> -L/nix/store/a8anl9nv22vlymcrkn5lkl18vniwsh59-libffi-39/lib
> -L/nix/store/f76r7x2pymp75y0ry98245zn9h3rip7i-gettext-0.22.5/lib
> -L/nix/store/dlqlwqn0hw414pv0fmfch84m588fkhxz-glib-2.84.3/lib
> -L/nix/store/751syz7bxppp7vfwsgg6i4w67hfs5l7m-cairo-1.18.2/lib
> -L/nix/store/x0y5gmqjzs1i9gs64pzdwybb5xv28k4y-krb5-1.21.3-lib/lib
> -L/nix/store/20lnb44dc7l3qfmy8ch283hg5k3lzj53-nghttp2-1.65.0-lib/lib
> -L/nix/store/079gnw7f0vc07371x05aiz9qyxx035nq-libidn2-2.3.8/lib
> -L/nix/store/wfxzn868f73dhbfvilq00pby5iilxkr1-openssl-3.4.2/lib
> -L/nix/store/ijh6v10yd7dvqcqgw4x8clz3bp6gixx1-libpsl-0.21.5/lib
> -L/nix/store/4qq42l2417z6r8gs0ibw80wx6pcvjf2f-libssh2-1.11.1/lib
> -L/nix/store/z6g5wxpavv3qcs9ry03j611mqpkfk634-zstd-1.5.7/lib
> -L/nix/store/c9lwhhhl9rivk3412ayhcma7y5cg0vzd-curl-8.14.1/lib
> -L/nix/store/84bca48b9r7574372cad748694a51dc3-expat-2.7.1/lib
> -L/nix/store/js32553wd6dj4280pr9b4b70yryz3swa-dbus-1.14.10-lib/lib
> -L/nix/store/9j5180f22nj1ab0ys4v72bgx2hx7m27q-giflib-5.2.2/lib
> -L/nix/store/s1074ik1d1xm7hm9k9sdpnl5jlr2jg8r-gmp-with-cxx-6.3.0/lib
> -L/nix/store/j5kd5vdvpzq7rhqb9q5zj0lvmq7qm729-nettle-3.10.1/lib
> -L/nix/store/8nkn01809qqkahpsm116pjprw362ll0i-gnutls-3.8.9/lib
> -L/nix/store/q13h74f0cym5nipp2l7n1svg5xvlxl2v-graphite2-1.3.14/lib
> -L/nix/store/cif78icl00ll0knqabb8lznd3fmyibs4-harfbuzz-10.2.0/lib
> -L/nix/store/wvdr2zxhvdbxk69mz2n1lw0va4qafpps-jansson-2.14/lib
> -L/nix/store/17ldngh066cjl3dc8xmi1i3549dxa8si-jq-1.7.1/lib
> -L/nix/store/0ngkn2ri3ljl9s68cbwbv0w1n0raxfs1-lcms2-2.17/lib
> -L/nix/store/j0x7jappkpxgg4wd69kbszllyvbg5qrs-libjpeg-turbo-3.0.4/lib
> -L/nix/store/1jq4pk3x8fadkkzhzmflbvq2l5d0rvz1-libdeflate-1.23/lib
> -L/nix/store/961afvf867f41qs5i2yx3y6wpbqlk7mx-libwebp-1.5.0/lib
> -L/nix/store/a5w2k9nly8rbp57mvvjfx0jdwbnzqax7-xz-5.8.1/lib
> -L/nix/store/4ks0bi987p73iz35n4mk74db6liab192-libtiff-4.7.0/lib
> -L/nix/store/cgqrwrwn5bsy6nmw4yrinahjidy7b26s-gdk-pixbuf-2.42.12/lib
> -L/nix/store/pbhwnxm59gn7skkbhww11gzpswrzc12v-librsvg-2.60.0/lib
> -L/nix/store/grqwas7c5ha7x194jbvbqiq0gfm7zr44-libtasn1-4.20.0/lib
> -L/nix/store/5jkvr5psfmp4fhhxmr2c74jy0i4h9cx3-libiconv-1.17/lib
> -L/nix/store/71mbm77fihlp5mb930qdfy4awzq5lh15-libunistring-1.3/lib
> -L/nix/store/wad46frla2l9m7nk7nf7q4asl447djmy-libwebp-1.5.0/lib
> -L/nix/store/w7g7n29kqyqxwrvyxii7p2zafzmd48sv-libxml2-2.13.8/lib
> -L/nix/store/74hslbi4ypr7mvz26j1x5k21sbj3gdj1-mailutils-3.18/lib
> -L/nix/store/g7kspywnrybqc2mwcarb1rr19597j1b8-python3-3.13.5/lib
> -L/nix/store/02dcqdj2jgg9gj30rcvp9f3y2cbcv9nm-ruby-3.3.9/lib
> -L/nix/store/spffa7ylhpdh0g1yv8h07cx68jd20aam-sqlite-3.48.0/lib
> -L/nix/store/h3nx618fx3h9g4snwbadk00587b0y3vy-tree-sitter-0.25.3/lib
> -L/nix/store/vacamp96bw9qbggskibjzgqicwnn5jgs-xcbuild-0.1.1-unstable-2019-11-20/lib
> -L/nix/store/z7lkan2rvng9b686rgfyk1g2zdljfqid-libcxx-19.1.7/lib
> -L/nix/store/hpvadwy68vwqmybww6wd4x2h62jcv104-compiler-rt-libc-19.1.7/lib''
>
> Configured features:
> ACL DBUS GIF GLIB GMP GNUTLS JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP
> NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
> TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS ZLIB
>
> Important settings:
> value of $LANG: en_US.UTF-8
> locale-coding-system: utf-8-unix
>
>
>
>
bug-gnu-emacs@HIDDEN:bug#81730; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 28 Aug 2026 16:52:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 28 12:52:28 2026
Received: from localhost ([127.0.0.1]:50819 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wzzoU-0007D0-5a
for submit <at> debbugs.gnu.org; Fri, 28 Aug 2026 12:52:27 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:57426)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <scjung.gtone@HIDDEN>)
id 1wzuGi-0002Zo-MJ
for submit <at> debbugs.gnu.org; Fri, 28 Aug 2026 06:57:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <scjung.gtone@HIDDEN>)
id 1wzuGd-0001aC-0Z
for bug-gnu-emacs@HIDDEN; Fri, 28 Aug 2026 06:57:03 -0400
Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <scjung.gtone@HIDDEN>)
id 1wzuGa-0004n3-1h
for bug-gnu-emacs@HIDDEN; Fri, 28 Aug 2026 06:57:02 -0400
Received: by mail-pf1-x435.google.com with SMTP id
d2e1a72fcca58-8557c3f270eso340709b3a.3
for <bug-gnu-emacs@HIDDEN>; Fri, 28 Aug 2026 03:56:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1787914618; x=1788519418; darn=gnu.org;
h=to:message-id:subject:date:mime-version:content-transfer-encoding
:content-type:from:from:to:cc:subject:date:message-id:reply-to
:content-type; bh=rFuo2DICGOAPMbX5Hg9aU72Opw75GFRL8u0+ypnh+EM=;
b=dydcxB/vNK3EN7w/8iPo/YtDsxm3hxyELYeoCJZfeOYwySOH0H17Ry/ftHf1iN3Zhz
Ez4GJ3R1aMsewS85QKoGlK3V2OPGlXvuRHWxW06fxNQi3Y2uKbz1k57N9WKyr6JN+DDB
kKeJ4UPchB2vgJSTb3WhYkmTmnPr5ZeChTE+PK+5YCZz50RATjfeVXZZ7h6TGEe6n7JT
SInXToGx8dO0J/vgdZSUNRhFOVKPvm1hc1Qv63c8nlzyGs4f0y4S74Z0QPUbaq/MsBqo
kOkAccdkmQNLxrQvFTi0hdT64alejxpolkScKEC0BgOVSt0dJMGqdpsaTfF78HtDXUuX
agNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1787914618; x=1788519418;
h=to:message-id:subject:date:mime-version:content-transfer-encoding
:content-type:from:x-gm-gg:x-gm-message-state:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=rFuo2DICGOAPMbX5Hg9aU72Opw75GFRL8u0+ypnh+EM=;
b=FRqpMWuDBHjjjb98iVJgLAtShVxOwvReuzvaN628A6njriTVYslToyv2TA9mCByfMk
/Ado64Sj/zsCNgGnnJw0w1w+yeTa3Br3nVjHaz3hzQVcyOMvAnZsxL+IXnSoCI0652C6
nxU8GJZEughGaZbe2H2a1GUPN8MW0vd0jnEfU2zEFDoDuWpK0XjMCevaPi4vCJD3B9Eg
0hQcUBCgOTqwxkB1BvlzWXXcpMfY5ZsM/vC4segm3xw1w/u7f5IDJWJNBrax/diq0cQu
Gr2pPrs12/X5T0/OsOiP7zp3PjCfyR9UYW0FRRiII1cnUFgTTJXVtZZGKPI5D3/ANWst
XQ5g==
X-Gm-Message-State: AFuF++n68dt40rTzzedci/u6oEBkA6SQEBLNbEA0OdNH7oXaS830cxSG
ljG1nInpnanZ6b+0OYDpEymoWCGHJLhBPbYcLhId0JxihMQqH8u73fWlgvX3aA==
X-Gm-Gg: AR+sD10cPY9O3HurNnCtBPSKrmX9QpSqOkcxGNsRPjGve2Q5wy1D6F/FTaf4PtgcZwC
eg4j3mEasNZDZmqqAKU2McfjQ2blKrJFtllyPtLKlqXMyEyJY7TQc9cA1jIPKe52pCVpgKPxLvZ
/WfVDyvQCfe6vNdnWGk1KfiGa0XYDNRf+1Vr8Ij3BjBDTuUzioSoMU+KlLkhxBeFQeOt7rfBJki
ebVcCb2Acpv1EjIM5Uh8Z7fLoHctbS51gzMQZVpO6i10kY8omwZYS6tPWA2l7OHK1DcxhhTpuVH
kgEA88Lm7IbMSYKNolsJEuK3nQP5ZB65GTBA+35Ha0j5CA+Z+eJKmG4nlNaIaQi7qugJfCNV15p
7k0CEEJ5UCwg3OgKL/Hmr9YUbTvxuxKKSE2/Q+YOWIqlcPSZZ9wzqxNIv2UxfUd1fgaL5ICrtNj
5B5eQVFQjBYdNV+Hqhzh8kXVnOQGlIFEQETRVPGtyo14HXMM1U2bsSv4i8It7a2jBtEA1Dn64/v
VczcRWAGKdGDQ==
X-Received: by 2002:a05:6a00:8015:b0:842:2419:6c0b with SMTP id
d2e1a72fcca58-8562b499a0dmr12666768b3a.10.1787914617846;
Fri, 28 Aug 2026 03:56:57 -0700 (PDT)
Received: from smtpclient.apple ([123.215.235.5])
by smtp.gmail.com with ESMTPSA id
d2e1a72fcca58-8569fb857c1sm442900b3a.21.2026.08.28.03.56.56
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Fri, 28 Aug 2026 03:56:57 -0700 (PDT)
From: =?utf-8?B?7KCV7Iq57LKg?= <scjung.gtone@HIDDEN>
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.700.51.1.1\))
Date: Fri, 28 Aug 2026 19:56:44 +0900
Subject: 31.1; tree-sitter segfault during syntactic fontification with
syntax-propertize-function
Message-Id: <9AE41F68-EF35-4F99-94CF-468388777C79@HIDDEN>
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3864.700.51.1.1)
Received-SPF: pass client-ip=2607:f8b0:4864:20::435;
envelope-from=scjung.gtone@HIDDEN; helo=mail-pf1-x435.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,
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: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Emacs 31.1 reproducibly segfaults during tree-sitter
fontification
when using neocaml-mode (OCaml mode) after neocaml added a
`syntax-propertize-function'.
To reproduce: - Install neocaml. - emacs -Q - Eval the following code:
Content analysis details: (2.0 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (scjung.gtone[at]gmail.com)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 28 Aug 2026 12:52:20 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)
Emacs 31.1 reproducibly segfaults during tree-sitter fontification when
using neocaml-mode (OCaml mode) after neocaml added a =
`syntax-propertize-function'.
To reproduce:
- Install neocaml.
- emacs -Q
- Eval the following code:
(progn
(package-initialize)
(with-temp-buffer
(neocaml-mode)
(insert "module M =3D struct type t =3D string end")
(font-lock-flush)
(font-lock-ensure)))
The crash occurs in Ftreesit_query_capture. The relevant part of the
backtrace is:
- libtree-sitter.0.25.dylib
- Ftreesit_query_capture
- treesit--font-lock-fontify-region-1
- treesit-font-lock-fontify-region
- font-lock-fontify-syntactically-region
The crash appears to involve the interaction between tree-sitter
syntactic fontification and `syntax-propertize-function'.
In particular, replacing only `font-lock-fontify-region-function' does
NOT prevent the crash:
(progn
(package-initialize)
(with-temp-buffer
(neocaml-mode)
(insert "module M =3D struct type t =3D string end")
(setq-local font-lock-fontify-region-function
#'font-lock-default-fontify-region)
(font-lock-flush)
(font-lock-ensure)))
However, replacing `font-lock-fontify-syntactically-function' DOES
prevent the crash:
(progn
(package-initialize)
(with-temp-buffer
(neocaml-mode)
(insert "module M =3D struct type t =3D string end")
(setq-local font-lock-fontify-syntactically-function
#'font-lock-default-fontify-syntactically)
(font-lock-flush)
(font-lock-ensure)))
Disabling neocaml's `syntax-propertize-function' also prevents the
crash.
Pre-running syntax propertization and then disabling further syntax
propertization also works:
(progn
(package-initialize)
(with-temp-buffer
(neocaml-mode)
(insert "module M =3D struct type t =3D string end")
(syntax-propertize (point-max))
(setq-local syntax-propertize-function nil)
(font-lock-flush)
(font-lock-ensure)))
The neocaml change which introduced use of `syntax-propertize-rules' and
exposed the problem is:
=
https://github.com/bbatsov/neocaml/pull/66/changes/14bd18c255ff7cc82a9a3b0=
13895adc65b271b4a
The corresponding neocaml issue is:
https://github.com/bbatsov/neocaml/issues/67
The tree-sitter library and grammar ABI versions have been checked and
match.
There appears to be some similarity to bug#71681, which also involved
a segfault in Ftreesit_query_capture due to invalid tree/node state,
although I do not know whether the underlying cause is the same.
---
Backtrace:
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000126173ca7c24
Exception Codes: 0x0000000000000001, 0x0000126173ca7c24
Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6
Terminating Process: Emacs [64867]
VM Region Info: 0x126173ca7c24 is not in any region. Bytes after =
previous region: 20204805889061 Bytes before following region: =
85343352488924
REGION TYPE START - END [ VSIZE] =
PRT/MAX SHRMOD REGION DETAIL
__LINKEDIT 127834000-127836000 [ 8K] =
r--/rwx SM=3DCOW /Users/USER/*/libtree-sitter-ocaml-interface.dylib
---> GAP OF 0x5ffed87ca000 BYTES
MALLOC_NANO 600000000000-600020000000 [512.0M] =
rw-/rwx SM=3DPRV =20
Kernel Triage:
VM - (arg =3D 0x3) mach_vm_allocate_kernel failed within call to =
vm_map_enter
VM - (arg =3D 0x3) mach_vm_allocate_kernel failed within call to =
vm_map_enter
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff8106cf7de =
__pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff81070ca5b pthread_kill =
+ 259
2 libsystem_c.dylib 0x7ff8105e13ca raise + 24
3 Emacs 0x1020c381c =
terminate_due_to_signal + 92
4 Emacs 0x1020c3bce emacs_abort + =
19
5 Emacs 0x10207b60d =
ns_term_shutdown + 157
6 Emacs 0x101f19e62 =
shut_down_emacs + 370
7 Emacs 0x1020c3869 =
terminate_due_to_signal + 169
8 Emacs 0x101f413d6 =
deliver_fatal_thread_signal + 134
9 Emacs 0x101f437a1 =
handle_sigsegv + 81
10 libsystem_platform.dylib 0x7ff8107163bd _sigtramp + =
29
11 ??? 0x0 ???
12 libtree-sitter.0.25.dylib 0x1025a2d92 0x10258c000 + =
93586
13 libtree-sitter.0.25.dylib 0x1025a2433 0x10258c000 + =
91187
14 Emacs 0x1020549bb =
Ftreesit_query_capture + 1547
15 treesit-37439c61-69806c0c.eln 0x1115c6636 =
F747265657369742d2d666f6e742d6c6f636b2d666f6e746966792d726567696f6e2d31_tr=
eesit__font_lock_fontify_region_1_0 + 406
16 Emacs 0x101fbbf85 funcall_subr =
+ 437
17 Emacs 0x101fb5ef6 Ffuncall + =
502
-------- RECURSION LEVEL 10
18 treesit-37439c61-69806c0c.eln 0x1115c620e =
F747265657369742d666f6e742d6c6f636b2d666f6e746966792d726567696f6e_treesit_=
font_lock_fontify_region_0 + 1278
19 Emacs 0x101fbbefe funcall_subr =
+ 302
20 Emacs 0x101fb5ef6 Ffuncall + =
502
-------- RECURSION LEVEL 9
21 font-lock-895216f6-8a5fe33c.eln 0x105f83efc =
F666f6e742d6c6f636b2d666f6e746966792d73796e746163746963616c6c792d726567696=
f6e_font_lock_fontify_syntactically_region_0 + 108
22 Emacs 0x101fbbefe funcall_subr =
+ 302
23 Emacs 0x101fb5ef6 Ffuncall + =
502
-------- RECURSION LEVEL 8
--------
-------- ELIDED 4 LEVELS OF RECURSION THROUGH 0x101fb5ef6 Ffuncall + 502
--------
53 Emacs 0x101fb8beb =
Fhandler_bind_1 + 123
54 elisp-mode-90dbfe40-ce6e7deb.eln 0x105f298eb =
F6576616c2d6c6173742d73657870_eval_last_sexp_0 + 171
55 Emacs 0x101fbbf2a funcall_subr =
+ 346
56 Emacs 0x101fb5ef6 Ffuncall + =
502
-------- RECURSION LEVEL 3
57 Emacs 0x101fb222b =
Ffuncall_interactively + 75
58 Emacs 0x101fb5ef6 Ffuncall + =
502
-------- RECURSION LEVEL 2
59 Emacs 0x101fb3916 =
Fcall_interactively + 5846
60 simple-fab5b0cf-eb6715e5.eln 0x105b19792 =
F636f6d6d616e642d65786563757465_command_execute_0 + 642
61 Emacs 0x101fbbedc funcall_subr =
+ 268
62 Emacs 0x101fb5ef6 Ffuncall + =
502
-------- RECURSION LEVEL 1
63 Emacs 0x101f1e355 =
command_loop_1 + 1685
64 Emacs 0x101fb8de7 =
internal_condition_case + 295
65 Emacs 0x101f1dc9e =
command_loop_2 + 46
66 Emacs 0x101fb81ec =
internal_catch + 284
67 Emacs 0x101f1d4a4 command_loop =
+ 228
68 Emacs 0x101f1d31c =
recursive_edit_1 + 156
69 Emacs 0x101f1d647 =
Frecursive_edit + 359
70 Emacs 0x101f1c173 main + 8851
71 dyld 0x7ff8103271c8 start + 3240
---
In GNU Emacs 31.1 (build 1, x86_64-apple-darwin24.6.0, NS appkit-2575.70
Version 15.7.7 (Build 24G720)) of 2026-08-26 built on
sjc20-cw761-aee3a32b-d2ec-4921-9578-0a9bdd88ee45-26B47A52E34C.local
Repository revision: 4367d6b80ed562995be16b4a017c25e2baf73931
Repository branch: HEAD
Windowing system distributor 'Apple', version 10.3.2685
System Description: macOS 26.6.2
Configured using:
'configure --with-ns --with-modules
'--enable-locallisppath=3D/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
=
Support/Emacs/site-lisp:/usr/local/share/emacs/site-lisp:/opt/homebrew/sha=
re/emacs/site-lisp'
--with-xwidgets --with-tree-sitter --with-native-compilation=3Daot
'CFLAGS=3D-O2
-I/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/include
-DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT -frandom-seed=3D3zmql8qcqs
-isystem
/nix/store/cmr5mdb0x6znlxglfafs79bw4adf4d3m-libiconv-109-dev/include
-isystem
/nix/store/w0j726kwgyr178l5l1sixzah81zh1sxw-libresolv-83-dev/include
-isystem
/nix/store/xhdq8jnq9c8925hgnjj97dhwfcnfb074-libsbuf-14.1.0-dev/include
-isystem
/nix/store/1hj598hl3qkin3l7rb3wc9znhn9cbvfq-cups-headers-2.4.11/include
-isystem
=
/nix/store/xiajhp74idkihhiqnzq0073zwb6rayka-bash-interactive-5.2p37-dev/in=
clude
-isystem
/nix/store/v233jjb9s23vs5xmvmlgbrv9py38q6qk-cairo-1.18.2-dev/include
-isystem
=
/nix/store/nvck2xagb8a1prqmr9q4rl8mmcyxsv5w-fontconfig-2.16.0-dev/include
-isystem
/nix/store/m3hfb6v45hj1lccwz26gj59xrax08bg3-freetype-2.13.3-dev/include
-isystem
/nix/store/84jb3r54giwjd0wnhfrgcfwyb8377002-zlib-1.3.1-dev/include
-isystem
/nix/store/h45l8b7cvqbgm3qxy59d17ab324njj36-bzip2-1.0.8-dev/include
-isystem
/nix/store/rmqzdfpnsxnkfshimrx7y4zv5kpib9hx-brotli-1.1.0-dev/include
-isystem
=
/nix/store/vjp41ipk2vfpz91k44h2wqs1vw1bszgb-libpng-apng-1.6.46-dev/include=
-isystem
/nix/store/xf5n5c2ycjkgjj9c567zi6537rrpjpkf-pixman-0.44.2/include
-isystem
/nix/store/khi8kbbnwfxw7cxh7a2h1p3q1lzhjvgh-libXext-1.3.6-dev/include
-isystem
/nix/store/ij8v1jg1c327970nf4xjqms2cm4s4fg6-xorgproto-2024.1/include
-isystem
/nix/store/n8xfnis5rpr7mk9jyhpca01wf6w7r2br-libXau-1.0.12-dev/include
-isystem
=
/nix/store/dh1nj9fnf5xk8p3f02sf3rnw9dbr5268-libXrender-0.9.12-dev/include
-isystem
/nix/store/mp3ak9fszd4m9g29xwgqlbd9svpq194a-libX11-1.8.12-dev/include
-isystem
/nix/store/6s5jmasakldi7pl2406wgi71cw41q9g8-libxcb-1.17.0-dev/include
-isystem
/nix/store/8lwb4vhy6fzh0j7kyhxmzrjkqcwvn9bc-glib-2.84.3-dev/include
-isystem
/nix/store/dfgy97f6ciyxrhlhas20a262w4f9z3m5-libffi-39-dev/include
-isystem
/nix/store/f76r7x2pymp75y0ry98245zn9h3rip7i-gettext-0.22.5/include
-isystem
/nix/store/yklnbfjykjk9hz5b04lc8qd1mjsdx6dv-curl-8.14.1-dev/include
-isystem
/nix/store/b0i367iqrmwn6fyhllyyz0z5wirbam52-krb5-1.21.3-dev/include
-isystem
/nix/store/j00x43snwg06v32zqfmrbcd4bs0bwgc1-nghttp2-1.65.0-dev/include
-isystem
/nix/store/0c2psna79fx67hcxv7kaxvm957gd9llp-libidn2-2.3.8-dev/include
-isystem
/nix/store/axjwrz52dkhrvkgvyy8kfprkhdxybjdr-openssl-3.4.2-dev/include
-isystem
/nix/store/3ds46s7mljdgzgx039bnky67gwndb4p8-libpsl-0.21.5-dev/include
-isystem
/nix/store/drbwym0pxdqca3clzywz8cjsfmg22k98-libssh2-1.11.1-dev/include
-isystem
/nix/store/06zm7igcm0x4xfnk230c1y6vd8dzy5nf-zstd-1.5.7-dev/include
-isystem
/nix/store/ps64y4zk08602skknjkpfs0mk3x280mm-dbus-1.14.10-dev/include
-isystem
/nix/store/sch4hn968hm5jqbppy5xz49l5gn3xlyj-expat-2.7.1-dev/include
-isystem
/nix/store/9j5180f22nj1ab0ys4v72bgx2hx7m27q-giflib-5.2.2/include
-isystem
=
/nix/store/08946knzs2xy1z6sny394rkzjpxllyl0-gmp-with-cxx-6.3.0-dev/include=
-isystem
/nix/store/qr25h97j1scazjd4w2kjv4b2xyvscxha-gnumake-4.4.1/include
-isystem
/nix/store/644dbyiadnrz88fxnzcaagii744l7dd9-gnutls-3.8.9-dev/include
-isystem
/nix/store/slaf2r9grgs08pbj0wwgrhs25v0nagrp-nettle-3.10.1-dev/include
-isystem
/nix/store/4ngmzm579kzhy9dq69lb8w48n4zsr8kq-harfbuzz-10.2.0-dev/include
-isystem
/nix/store/9w451xv6gh3127hdhvwjd6sdmyz4k437-graphite2-1.3.14-dev/include
-isystem
/nix/store/yfvr1x1ic4pbbyfhs9vn2g73vyfbc82n-jansson-2.14-dev/include
-isystem
/nix/store/nx0w6vavk7s1w3zcahcladhv196fgs63-jq-1.7.1-dev/include
-isystem
/nix/store/ngin5nsxg14f9xnbv3f62r7qypzjz97m-lcms2-2.17-dev/include
-isystem
/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/include
-isystem
=
/nix/store/rd5s62paachck47szwz2rda25p32a1q7-libjpeg-turbo-3.0.4-dev/includ=
e
-isystem
/nix/store/i4j7k42j26818ipsckybvqh47m2hvbmq-librsvg-2.60.0-dev/include
-isystem
=
/nix/store/idvbgwy6lqapwjqw9z5z56lbb4k7bmv8-gdk-pixbuf-2.42.12-dev/include=
-isystem
/nix/store/8ciy68aw566h8381cacyd1r4a1z0mg5m-libtiff-4.7.0-dev/include
-isystem
/nix/store/1jq4pk3x8fadkkzhzmflbvq2l5d0rvz1-libdeflate-1.23/include
-isystem
/nix/store/961afvf867f41qs5i2yx3y6wpbqlk7mx-libwebp-1.5.0/include
-isystem
/nix/store/1ads5j21v33qirbq630pzw5hjxhy74j9-xz-5.8.1-dev/include
-isystem
/nix/store/9x7fkpnxvbaasc5xxf5yj68b7qkqi7yj-libtasn1-4.20.0-dev/include
-isystem
/nix/store/8j8bj55izlqb9hnclgs43il03v1gniqs-libunistring-1.3-dev/include
-isystem
/nix/store/5jkvr5psfmp4fhhxmr2c74jy0i4h9cx3-libiconv-1.17/include
-isystem
/nix/store/wad46frla2l9m7nk7nf7q4asl447djmy-libwebp-1.5.0/include
-isystem
/nix/store/bc2a6gnqkq9pc9z5r9dbkmdz43xgb4n1-libxml2-2.13.8-dev/include
-isystem
/nix/store/74hslbi4ypr7mvz26j1x5k21sbj3gdj1-mailutils-3.18/include
-isystem
/nix/store/g7kspywnrybqc2mwcarb1rr19597j1b8-python3-3.13.5/include
-isystem /nix/store/02dcqdj2jgg9gj30rcvp9f3y2cbcv9nm-ruby-3.3.9/include
-isystem
/nix/store/rjwwjwwgnmlh112rw8fqc8rj42npr3wd-sqlite-3.48.0-dev/include
-isystem
/nix/store/h3nx618fx3h9g4snwbadk00587b0y3vy-tree-sitter-0.25.3/include
-isystem
/nix/store/h1sw7b2k8r8699dgi5ldi6h13qmr22fv-libcxx-19.1.7-dev/include
-isystem
=
/nix/store/32pw0qn102a16rk3k669x07bavi6wnh2-compiler-rt-libc-19.1.7-dev/in=
clude'
'LDFLAGS=3D-Wl,-headerpad_max_install_names
-L/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/lib
=
-L/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/lib/gcc/x86=
_64-apple-darwin/14.3.0
-I/nix/store/rwikb50a7x5m7c9mvymqbafjack29ijh-libgccjit-14.3.0/include
-L/nix/store/60bjrvcya1wnnnm27rsm4ygd48bsrrf4-Csu-88/lib
-L/nix/store/h4ahsf3bj5x6l39x33pr5992njx2a2x0-libiconv-109/lib
-L/nix/store/vj92m204vr2faqiyrr467ivkdai3pa52-libresolv-83/lib
-L/nix/store/p5i2qq55lkd6s0q5r28ldd472n422y28-libsbuf-14.1.0/lib
-L/nix/store/773crkfhy6phnwhlg17crhcsjb29a0gx-libutil-72/lib
-L/nix/store/b5k7pcf1cl4idkcvc97i0kym0i01p87h-zlib-1.3.1/lib
-L/nix/store/cm8bcfgbgaaq2akbaf3fxfczrhdi4hs1-bzip2-1.0.8/lib
-L/nix/store/z82hxhirsxkfxbmyv9qwxkphidsxs865-brotli-1.1.0-lib/lib
-L/nix/store/zgd81j55x84v43pvj9cjr9gy94wy1vzz-libpng-apng-1.6.46/lib
-L/nix/store/yv6jbhq55bk0h10piylkxnkb8x21zk6y-freetype-2.13.3/lib
-L/nix/store/wav05z9p2az9xdqff8h457l6pzrbkxmj-fontconfig-2.16.0-lib/lib
-L/nix/store/xf5n5c2ycjkgjj9c567zi6537rrpjpkf-pixman-0.44.2/lib
-L/nix/store/662xn735g69ny0blinm74fs4wzy1kx3w-libXau-1.0.12/lib
-L/nix/store/6bz422vqasqxcbmbjgh2h79d9ljarzkv-libXext-1.3.6/lib
-L/nix/store/vgzfyn0r4hkyhbadisz6pw74v6bbp422-libxcb-1.17.0/lib
-L/nix/store/6csdkav1p849773nsslns17dh4w87pmf-libX11-1.8.12/lib
-L/nix/store/8qjvw3a3chawzfxzvrl9q8s1xw8v1khd-libXrender-0.9.12/lib
-L/nix/store/a8anl9nv22vlymcrkn5lkl18vniwsh59-libffi-39/lib
-L/nix/store/f76r7x2pymp75y0ry98245zn9h3rip7i-gettext-0.22.5/lib
-L/nix/store/dlqlwqn0hw414pv0fmfch84m588fkhxz-glib-2.84.3/lib
-L/nix/store/751syz7bxppp7vfwsgg6i4w67hfs5l7m-cairo-1.18.2/lib
-L/nix/store/x0y5gmqjzs1i9gs64pzdwybb5xv28k4y-krb5-1.21.3-lib/lib
-L/nix/store/20lnb44dc7l3qfmy8ch283hg5k3lzj53-nghttp2-1.65.0-lib/lib
-L/nix/store/079gnw7f0vc07371x05aiz9qyxx035nq-libidn2-2.3.8/lib
-L/nix/store/wfxzn868f73dhbfvilq00pby5iilxkr1-openssl-3.4.2/lib
-L/nix/store/ijh6v10yd7dvqcqgw4x8clz3bp6gixx1-libpsl-0.21.5/lib
-L/nix/store/4qq42l2417z6r8gs0ibw80wx6pcvjf2f-libssh2-1.11.1/lib
-L/nix/store/z6g5wxpavv3qcs9ry03j611mqpkfk634-zstd-1.5.7/lib
-L/nix/store/c9lwhhhl9rivk3412ayhcma7y5cg0vzd-curl-8.14.1/lib
-L/nix/store/84bca48b9r7574372cad748694a51dc3-expat-2.7.1/lib
-L/nix/store/js32553wd6dj4280pr9b4b70yryz3swa-dbus-1.14.10-lib/lib
-L/nix/store/9j5180f22nj1ab0ys4v72bgx2hx7m27q-giflib-5.2.2/lib
-L/nix/store/s1074ik1d1xm7hm9k9sdpnl5jlr2jg8r-gmp-with-cxx-6.3.0/lib
-L/nix/store/j5kd5vdvpzq7rhqb9q5zj0lvmq7qm729-nettle-3.10.1/lib
-L/nix/store/8nkn01809qqkahpsm116pjprw362ll0i-gnutls-3.8.9/lib
-L/nix/store/q13h74f0cym5nipp2l7n1svg5xvlxl2v-graphite2-1.3.14/lib
-L/nix/store/cif78icl00ll0knqabb8lznd3fmyibs4-harfbuzz-10.2.0/lib
-L/nix/store/wvdr2zxhvdbxk69mz2n1lw0va4qafpps-jansson-2.14/lib
-L/nix/store/17ldngh066cjl3dc8xmi1i3549dxa8si-jq-1.7.1/lib
-L/nix/store/0ngkn2ri3ljl9s68cbwbv0w1n0raxfs1-lcms2-2.17/lib
-L/nix/store/j0x7jappkpxgg4wd69kbszllyvbg5qrs-libjpeg-turbo-3.0.4/lib
-L/nix/store/1jq4pk3x8fadkkzhzmflbvq2l5d0rvz1-libdeflate-1.23/lib
-L/nix/store/961afvf867f41qs5i2yx3y6wpbqlk7mx-libwebp-1.5.0/lib
-L/nix/store/a5w2k9nly8rbp57mvvjfx0jdwbnzqax7-xz-5.8.1/lib
-L/nix/store/4ks0bi987p73iz35n4mk74db6liab192-libtiff-4.7.0/lib
-L/nix/store/cgqrwrwn5bsy6nmw4yrinahjidy7b26s-gdk-pixbuf-2.42.12/lib
-L/nix/store/pbhwnxm59gn7skkbhww11gzpswrzc12v-librsvg-2.60.0/lib
-L/nix/store/grqwas7c5ha7x194jbvbqiq0gfm7zr44-libtasn1-4.20.0/lib
-L/nix/store/5jkvr5psfmp4fhhxmr2c74jy0i4h9cx3-libiconv-1.17/lib
-L/nix/store/71mbm77fihlp5mb930qdfy4awzq5lh15-libunistring-1.3/lib
-L/nix/store/wad46frla2l9m7nk7nf7q4asl447djmy-libwebp-1.5.0/lib
-L/nix/store/w7g7n29kqyqxwrvyxii7p2zafzmd48sv-libxml2-2.13.8/lib
-L/nix/store/74hslbi4ypr7mvz26j1x5k21sbj3gdj1-mailutils-3.18/lib
-L/nix/store/g7kspywnrybqc2mwcarb1rr19597j1b8-python3-3.13.5/lib
-L/nix/store/02dcqdj2jgg9gj30rcvp9f3y2cbcv9nm-ruby-3.3.9/lib
-L/nix/store/spffa7ylhpdh0g1yv8h07cx68jd20aam-sqlite-3.48.0/lib
-L/nix/store/h3nx618fx3h9g4snwbadk00587b0y3vy-tree-sitter-0.25.3/lib
=
-L/nix/store/vacamp96bw9qbggskibjzgqicwnn5jgs-xcbuild-0.1.1-unstable-2019-=
11-20/lib
-L/nix/store/z7lkan2rvng9b686rgfyk1g2zdljfqid-libcxx-19.1.7/lib
=
-L/nix/store/hpvadwy68vwqmybww6wd4x2h62jcv104-compiler-rt-libc-19.1.7/lib'=
'
Configured features:
ACL DBUS GIF GLIB GMP GNUTLS JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
정승철 <scjung.gtone@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81730; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.