From unknown Tue Aug 19 00:33:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76362 <76362@debbugs.gnu.org> To: bug#76362 <76362@debbugs.gnu.org> Subject: Status: 31.0.50; Setting display-line-numbers-type to 'relative crashes Emacs when opening certain files Reply-To: bug#76362 <76362@debbugs.gnu.org> Date: Tue, 19 Aug 2025 07:33:08 +0000 retitle 76362 31.0.50; Setting display-line-numbers-type to 'relative crash= es Emacs when opening certain files reassign 76362 emacs submitter 76362 Yiyu Zhou severity 76362 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 08:29:52 2025 Received: (at submit) by debbugs.gnu.org; 17 Feb 2025 13:29:52 +0000 Received: from localhost ([127.0.0.1]:44639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tk1C1-0004cJ-LM for submit@debbugs.gnu.org; Mon, 17 Feb 2025 08:29:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60386) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjwIC-0002gf-Ni for submit@debbugs.gnu.org; Mon, 17 Feb 2025 03:15:53 -0500 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 1tjwI3-0001IZ-6u for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2025 03:15:43 -0500 Received: from mx0b-00277301.pphosted.com ([148.163.158.109]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjwI0-0000qp-8F for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2025 03:15:42 -0500 Received: from pps.filterd (m0109196.ppops.net [127.0.0.1]) by mx0b-00277301.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51H7rrMi018578 for ; Mon, 17 Feb 2025 00:15:35 -0800 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) by mx0b-00277301.pphosted.com (PPS) with ESMTPS id 44trpucrtt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 17 Feb 2025 00:15:35 -0800 (PST) Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-5fce3f2d8e4so150097eaf.0 for ; Mon, 17 Feb 2025 00:15:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739780134; x=1740384934; h=content-transfer-encoding:from:cc:content-language:subject:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=un6iWgpSiHV9mfHpnWZBgir5lzRd0S8VDuPbGwU8Wl0=; b=DROVWE8xOyfd7ZQIhyal17y9USBCYg+ahcEptWmYNzVcoYMDmZ+m0gHEehVk0ctmNO vy5z4sV6jOIOEb6dgevrPP6X3s7ybHfFSPCf83g6otFnBRFn1xGfhmTOzP04y/+qSWOj 1qwvR2dgRyyq484IfA6VoLdM9FVZ2fV0HPgPQAX8LtE2eC/KFJ5/k1oIlGYgi+W60sLL MenWb09lh3tq/cv1XpHP2FGHj8VTfC42U+mZq5rX3ICHTjnQUjoCga/H5fU/59x/58V1 cpNWh3xH28zfcnOR0WDtd8lQtPdPRdL3y/w5oQ0Zn8dsQPYcC/SHua1fuO78Pm705Q2A 03Mg== X-Gm-Message-State: AOJu0Yz8J+tRz3eHMi0IRNDwg3geIuXpdctw1//I9rMzMaiEYPo+d+L9 NmcwQ9MqpvqJAZiou0anJY6ahunQzgsJOVg1m28+ysQ0Pcw5NU2JIDJUbbP3w+7ThAs6X83K/QU Y9pQNO6mOe0VCzTRlRiT8HHn6Oh5Cdj5UV+7dSdHIDKqgk3+p6T+WNVo= X-Gm-Gg: ASbGncujv1E2Bthwt8HiZGWqwDxM1XecvD+7+JUxLvzFu6qFX23JNz5O9iT1Z9O4vH0 26wtMFbJnUT9smXx128+NDFButbDLrJ6x6EknkqUm6AoYYhz27BF8ekzeclSK1w7LcmaCRrT2P4 aB2B3cqSy2fzhQqy+YaJYWovLLXqxgTjp7vcM6dVQYpJDASUgo8aIPGjZvEfbUhmMYRAXE9oc4X V4o5XZJ/7TJdUIe4+PfkO14OH5vKU8sBp4wkXzuO89dgAwOz2p8yfZsGeeZiQC46nF+i2mXhnbb JcqS9X/JLm93ao7g2ZJ4KMgzZvsgCaklEcTnnYD4nEBa2+hf+sZWhQ== X-Received: by 2002:a05:6871:7bc4:b0:2b8:3b8d:31f9 with SMTP id 586e51a60fabf-2bc99dcb056mr5283818fac.33.1739780134025; Mon, 17 Feb 2025 00:15:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKCaO5oexXfTI+/A6WWk5mdH7LqQ5bRPUE3dN0MLjPrkRB/n02XrFC2O3avEk5GgnUJ484oQ== X-Received: by 2002:a05:6871:7bc4:b0:2b8:3b8d:31f9 with SMTP id 586e51a60fabf-2bc99dcb056mr5283806fac.33.1739780133694; Mon, 17 Feb 2025 00:15:33 -0800 (PST) Received: from [100.122.99.83] (static-198-54-134-100.cust.tzulo.com. [198.54.134.100]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2b9548205d6sm3878065fac.4.2025.02.17.00.15.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Feb 2025 00:15:32 -0800 (PST) Message-ID: <223dc420-be5d-48fc-ad3b-df45700b0c53@dons.usfca.edu> Date: Mon, 17 Feb 2025 00:15:31 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Setting display-line-numbers-type to 'relative crashes Emacs when opening certain files Content-Language: en-US From: Yiyu Zhou Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MailRoute: Internal X-Proofpoint-GUID: d643etJ2e7EesP6e56LpuKSvHeiEnOrx X-Proofpoint-ORIG-GUID: d643etJ2e7EesP6e56LpuKSvHeiEnOrx X-Authority-Analysis: v=2.4 cv=S7gjwJsP c=1 sm=1 tr=0 ts=67b2f027 cx=c_pps a=lkkFf9KBb43tY3aOjL++dA==:117 a=37MgoqoTGptAw5cFn16PhA==:17 a=IkcTkHD0fZMA:10 a=T2h4t0Lz3GQA:10 a=aR16PxjQAAAA:8 a=TiQkGGyP9WqhUGMDQXYA:9 a=QEXdDO2ut3YA:10 a=k4UEASGLJojhI9HsvVT1:22 a=zbFvvTOBjyH4ze5LlUjX:22 X-Proofpoint-Spam-Reason: safe Received-SPF: pass client-ip=148.163.158.109; envelope-from=yzhou155@dons.usfca.edu; helo=mx0b-00277301.pphosted.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 17 Feb 2025 08:29:49 -0500 Cc: yiyuzhou19@gmail.com 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: -0.1 (/) This bug is reproducible with two lines in the init.el file: (global-display-line-numbers-mode 1) (setopt display-line-numbers-type 'relative) I discovered this when calling `push-button' in the help-mode buffer trying to view a function definition in its source. I suspect the overflow happens when loading a large file into the buffer, since I could open certain files without crashing Emacs. Here are the details of the backtrace: *** buffer overflow detected ***: terminated Fatal error 6: Aborted Backtrace: /run/current-system/sw/bin/emacs() [0x588c88] /run/current-system/sw/bin/emacs() [0x424402] /run/current-system/sw/bin/emacs() [0x42492c] /run/current-system/sw/bin/emacs() [0x424933] /run/current-system/sw/bin/emacs() [0x586b49] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(+0x40a70) [0x7fa8ba640a70] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(+0x9876c) [0x7fa8ba69876c] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(gsignal+0x16) [0x7fa8ba6409c6] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(abort+0xd7) [0x7fa8ba628938] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(+0x2978b) [0x7fa8ba62978b] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(+0x126e09) [0x7fa8ba726e09] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(+0x126714) [0x7fa8ba726714] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(__strcat_chk+0x3a) [0x7fa8ba7282ba] /run/current-system/sw/bin/emacs() [0x46c1e5] /run/current-system/sw/bin/emacs() [0x47a1d7] /run/current-system/sw/bin/emacs() [0x47c77c] /run/current-system/sw/bin/emacs() [0x49b9d1] /run/current-system/sw/bin/emacs() [0x49e06b] /run/current-system/sw/bin/emacs() [0x5f914c] /run/current-system/sw/bin/emacs() [0x44c4b9] /run/current-system/sw/bin/emacs() [0x44c4e5] /run/current-system/sw/bin/emacs() [0x481eb0] /run/current-system/sw/bin/emacs() [0x574d68] /run/current-system/sw/bin/emacs() [0x578854] /run/current-system/sw/bin/emacs() [0x57a6c2] /run/current-system/sw/bin/emacs() [0x5f90b7] /run/current-system/sw/bin/emacs() [0x5638ee] /run/current-system/sw/bin/emacs() [0x5f8fa3] /run/current-system/sw/bin/emacs() [0x563886] /run/current-system/sw/bin/emacs() [0x568b28] /run/current-system/sw/bin/emacs() [0x568ecf] /run/current-system/sw/bin/emacs() [0x42d1de] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(+0x2a1fc) [0x7fa8ba62a1fc] /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6(__libc_start_main+0x89) [0x7fa8ba62a2b9] /run/current-system/sw/bin/emacs() [0x42d7e5] Aborted (core dumped) In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.2, Xaw3d scroll bars) Repository revision: 35d4316101752fc45bfd2301d891fb7b64060500 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12401005 System Description: NixOS 25.05 (Warbler) Configured using: 'configure --prefix=/nix/store/5ar1qipbd7cgz3ggqxlrvhlymziddavj-emacs-git-20250216.0 --disable-build-details --with-modules --with-x-toolkit=lucid --with-cairo --without-xft --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus --with-selinux' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: global-display-line-numbers-mode: t tooltip-mode: t global-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 blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: 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: /run/current-system/sw/share/emacs/site-lisp/site-start hides /nix/store/5ar1qipbd7cgz3ggqxlrvhlymziddavj-emacs-git-20250216.0/share/emacs/site-lisp/site-start 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 time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils compile text-property-search comint subr-x ansi-osc ansi-color ring comp-run bytecomp byte-compile comp-common rx cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib display-line-numbers 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 91860 20792) (symbols 48 8493 0) (strings 32 22134 1240) (string-bytes 1 758171) (vectors 16 12148) (vector-slots 8 167468 10150) (floats 8 31 1) (intervals 56 435 0) (buffers 992 12)) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 11:02:35 2025 Received: (at 76362) by debbugs.gnu.org; 17 Feb 2025 16:02:35 +0000 Received: from localhost ([127.0.0.1]:47946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tk3Zr-0000gN-ER for submit@debbugs.gnu.org; Mon, 17 Feb 2025 11:02:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39588) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tk3Zo-0000fq-DS for 76362@debbugs.gnu.org; Mon, 17 Feb 2025 11:02:33 -0500 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 1tk3Zi-0000AN-8e; Mon, 17 Feb 2025 11:02:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=b6xjDlF8NxAG9ARM7zOCFlAZT6ZbTRh3E8qnDq+PtYk=; b=FD/AW0y97NjT Z6FFXTkS/3rjS6O7Ct/I5NRx9JKPBRD+2PfH2qpHv71/MDeJK5f3APrySpOBJVXdGI+r1m61ssdXl 20FNa1va90k9Yt757WxvaRQr+t35LW7N9eA4lcwkFlGJz91gnRVs4sP8pgzDgCUX6L2GGxims85nX 2uMoDdEqwooDPrc3rXv+/Kcl42nQeYBrZ7ptPSq5u46m8wDRIsx15v8Qhim6Cd1VPgxAl3Tx00PqQ HAOcvVIS2LSk+KCy7MQMhXfgV4XH3JZE1GkW08Li5mpeRTHpvt4IOAXVTAStBY5syy8/r8v7fTcQ4 rqU536NlOFFO9DQ1oV1X3A==; Date: Mon, 17 Feb 2025 18:02:20 +0200 Message-Id: <868qq4blv7.fsf@gnu.org> From: Eli Zaretskii To: Yiyu Zhou In-Reply-To: <223dc420-be5d-48fc-ad3b-df45700b0c53@dons.usfca.edu> (message from Yiyu Zhou on Mon, 17 Feb 2025 00:15:31 -0800) Subject: Re: bug#76362: 31.0.50; Setting display-line-numbers-type to 'relative crashes Emacs when opening certain files References: <223dc420-be5d-48fc-ad3b-df45700b0c53@dons.usfca.edu> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76362 Cc: 76362@debbugs.gnu.org, yiyuzhou19@gmail.com 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: yiyuzhou19@gmail.com > Date: Mon, 17 Feb 2025 00:15:31 -0800 > From: Yiyu Zhou > > > This bug is reproducible with two lines in the init.el file: > > (global-display-line-numbers-mode 1) > (setopt display-line-numbers-type 'relative) > > I discovered this when calling `push-button' in the help-mode buffer > trying to view a function definition in its source. I suspect the > overflow happens when loading a large file into the buffer, since I > could open certain files without crashing Emacs. > > Here are the details of the backtrace: > > *** buffer overflow detected ***: terminated > Fatal error 6: Aborted Thanks, I installed what I think should fix this. If you still get the overflow, please tell more details: what function you had in help-buffer and what other steps are needed to reproduce this. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 23:15:50 2025 Received: (at 76362) by debbugs.gnu.org; 18 Feb 2025 04:15:50 +0000 Received: from localhost ([127.0.0.1]:52734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkF1R-000563-RE for submit@debbugs.gnu.org; Mon, 17 Feb 2025 23:15:50 -0500 Received: from mx0a-00277301.pphosted.com ([148.163.148.175]:24436) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkEYx-0002ff-C4 for 76362@debbugs.gnu.org; Mon, 17 Feb 2025 22:46:24 -0500 Received: from pps.filterd (m0109195.ppops.net [127.0.0.1]) by mx0a-00277301.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51HGLfOn011512 for <76362@debbugs.gnu.org>; Mon, 17 Feb 2025 19:46:21 -0800 Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-00277301.pphosted.com (PPS) with ESMTPS id 44v8jj1vv8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for <76362@debbugs.gnu.org>; Mon, 17 Feb 2025 19:46:21 -0800 (PST) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-2fc1eadf5a8so9504612a91.3 for <76362@debbugs.gnu.org>; Mon, 17 Feb 2025 19:46:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739850381; x=1740455181; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1KV/HhQMGhXNWkc5aKIE3Es+dpw/BZtRbxh4zIKpnRI=; b=EkC7ymAqA4tDACJE/umLOgW7LOooPuXR1CKrSDqIvZNLvaE+yYfEXDo6pOXdTnZmRF o7iHDsN3atbNrGxznUxvhUyYk+rWRhPu+MvQ6HN75CNxV1tX0P6ps8h9tGPwO49KZJjT ZmuK4fY3CXAWJruLEcnyADO1X01JkfFoi9dloJqHHFVBhFypXgkCuAtBy6evTxexxXCB DzE8HNmhh+W+3tZ9CfYIenrOXHsxl7urdTboD9be2FRqvGwfau5DeM0XWAHV2pyd+rGA AhzkxqgHfBlAU75aiwNQ2wDj6KnhY18qAkLp1gAg+EKsySSmSvfjCkNazYs8JahH7aQ8 ag/A== X-Gm-Message-State: AOJu0YzUDfzzn70sBVRMwcRYxGw9tGj21Bc5GEKqVNqiNnRrBFpdqrWh BwpgmIhPdQ6c96zf0XXJBO5+OXVeiVZDQ8sSa9Z6le/Sdy3F2ZQ61BO7S42rQLGQwDt5tRZ+BS7 3IRCYzoOez5Fcokganrmd8oynBM52Xnx8oZex8ujzjEqJlns= X-Gm-Gg: ASbGnctpqcD8Odj/Ljs1w9AlsF2nWZcsd0fF7IhhLbp9YInxOFmvDWojxnhR5+3MnFN WciJGhqxdIBwwaow3pLbQ+CVmjvs2a1ee99Pfc94dcLP7LiVR8A6xZLHlOZ7B//R/0hNBJA3l21 86WYw+IpyOMukBIhoauHDZts/DPtTHLHWKwmr8XS0/g7jjWVyemmjJ80GodE1BzyvOETIEoUvIv NxdPE8p7DynAWWULXHv0wUJIR1q7/JijtekILJC3+XUScgbhALO8tKDlQtQLfG7PLcnEq2JRMyb 9+evXEzgxS0D2Q== X-Received: by 2002:a05:6a20:12c3:b0:1e1:ad39:cc5c with SMTP id adf61e73a8af0-1ee8cb491ffmr21643584637.14.1739850380904; Mon, 17 Feb 2025 19:46:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOIMYBBqjvykOSIFe523rPsf15uiLOVnnftEAfjkPqqo9jOCuqylOLpY81qcK47CPA9KOJ6Q== X-Received: by 2002:a05:6a20:12c3:b0:1e1:ad39:cc5c with SMTP id adf61e73a8af0-1ee8cb491ffmr21643560637.14.1739850380568; Mon, 17 Feb 2025 19:46:20 -0800 (PST) Received: from [10.41.243.110] ([138.202.26.110]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-add5a4cb306sm5556911a12.3.2025.02.17.19.46.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Feb 2025 19:46:19 -0800 (PST) Message-ID: Date: Mon, 17 Feb 2025 19:46:18 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#76362: 31.0.50; Setting display-line-numbers-type to 'relative crashes Emacs when opening certain files To: Eli Zaretskii References: <223dc420-be5d-48fc-ad3b-df45700b0c53@dons.usfca.edu> <868qq4blv7.fsf@gnu.org> Content-Language: en-US From: Yiyu Zhou In-Reply-To: <868qq4blv7.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MailRoute: Internal X-Proofpoint-GUID: RCpJAHJh95m9ReTPR8EcwggIHiodf02U X-Proofpoint-ORIG-GUID: RCpJAHJh95m9ReTPR8EcwggIHiodf02U X-Authority-Analysis: v=2.4 cv=d5UPyQjE c=1 sm=1 tr=0 ts=67b4028d cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=n+U0ugSQn2JhspejUVr2RQ==:17 a=IkcTkHD0fZMA:10 a=T2h4t0Lz3GQA:10 a=pGLkceISAAAA:8 a=jMcQJNVpbd2UjbRU7PEA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Reason: safe X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 76362 X-Mailman-Approved-At: Mon, 17 Feb 2025 23:15:44 -0500 Cc: 76362@debbugs.gnu.org, yiyuzhou19@gmail.com 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 (-) Hi Eli, Thanks for the patch, it's working great for me now after 1136963b4e81e2b3efd42f3bd609bf968d05831f Best, Yiyu On 2/17/25 08:02, Eli Zaretskii wrote: >> Cc: yiyuzhou19@gmail.com >> Date: Mon, 17 Feb 2025 00:15:31 -0800 >> From: Yiyu Zhou >> >> >> This bug is reproducible with two lines in the init.el file: >> >> (global-display-line-numbers-mode 1) >> (setopt display-line-numbers-type 'relative) >> >> I discovered this when calling `push-button' in the help-mode buffer >> trying to view a function definition in its source. I suspect the >> overflow happens when loading a large file into the buffer, since I >> could open certain files without crashing Emacs. >> >> Here are the details of the backtrace: >> >> *** buffer overflow detected ***: terminated >> Fatal error 6: Aborted > Thanks, I installed what I think should fix this. If you still get > the overflow, please tell more details: what function you had in > help-buffer and what other steps are needed to reproduce this. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 18 08:07:15 2025 Received: (at 76362-done) by debbugs.gnu.org; 18 Feb 2025 13:07:15 +0000 Received: from localhost ([127.0.0.1]:56306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkNJi-0000Ci-GZ for submit@debbugs.gnu.org; Tue, 18 Feb 2025 08:07:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43504) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkNJS-0000AN-CQ for 76362-done@debbugs.gnu.org; Tue, 18 Feb 2025 08:06:59 -0500 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 1tkNJM-0004Zu-5O; Tue, 18 Feb 2025 08:06:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2ahFnJeeRp9RjjZAF2aaMEzpYUdSANrYIIOk73RxFgs=; b=lhqgxdW8sgbv HgVZ6AQDOM2ZeICOMhm/qxbXTNn2aGlII6+8MMnb3ElQO1ZjUCxqPmpE/XAjRx9c3+mDnCerbhB9M UM7+ozFyHQ4obyHoj2//UPOpN8Fi+HlyTzODs0957uWDVaTxytbZ7olAEr92nJCM2CyZudpidU2Pa LbSF7fBitB81DQKhF18xYV037Q2pVf2IvYuKFwwkq4bHG2WgixPcFGspy1f3dFCvCxurL+zfgxyGi dY2J1qZGvzkeVvELgW0gcoUFbsib73pajwLEw3D4y+YCzbDC3+R8IZvhU1X7dEgsmSGY/rSWUpnYr tljPeTdHBzZ2tfHfoBL+DQ==; Date: Tue, 18 Feb 2025 15:06:50 +0200 Message-Id: <86a5aj9zbp.fsf@gnu.org> From: Eli Zaretskii To: Yiyu Zhou In-Reply-To: (message from Yiyu Zhou on Mon, 17 Feb 2025 19:46:18 -0800) Subject: Re: bug#76362: 31.0.50; Setting display-line-numbers-type to 'relative crashes Emacs when opening certain files References: <223dc420-be5d-48fc-ad3b-df45700b0c53@dons.usfca.edu> <868qq4blv7.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76362-done Cc: yiyuzhou19@gmail.com, 76362-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: -3.3 (---) > Date: Mon, 17 Feb 2025 19:46:18 -0800 > Cc: 76362@debbugs.gnu.org, yiyuzhou19@gmail.com > From: Yiyu Zhou > > Hi Eli, > > Thanks for the patch, it's working great for me now after > 1136963b4e81e2b3efd42f3bd609bf968d05831f Thanks for testing, I'm therefore closing this bug. If you see something similar in the future, we can reopen. From unknown Tue Aug 19 00:33:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Mar 2025 11:24:21 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator