From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arvin Sevilla Newsgroups: gmane.emacs.bugs Subject: bug#52273: 27.2; Segmentation Fault (SIGSEGV) when using evil-search-forward (/) in info page Date: Sat, 4 Dec 2021 11:17:28 +0800 Message-ID: Reply-To: sevillaarvin@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ea61f305d249784a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31053"; mail-complaints-to="usenet@ciao.gmane.io" To: 52273@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 04 09:38:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtQYg-0007st-I7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 09:38:14 +0100 Original-Received: from localhost ([::1]:55244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtQYf-000430-23 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 03:38:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtQXW-000347-9E for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 03:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtQXW-0008VS-19 for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 03:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtQXV-0004qe-W1 for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 03:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arvin Sevilla Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Dec 2021 08:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52273 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163860702018627 (code B ref -1); Sat, 04 Dec 2021 08:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Dec 2021 08:37:00 +0000 Original-Received: from localhost ([127.0.0.1]:52886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtQXS-0004qK-9X for submit@debbugs.gnu.org; Sat, 04 Dec 2021 03:37:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:36474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtLYy-0002Bm-Ez for submit@debbugs.gnu.org; Fri, 03 Dec 2021 22:18:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtLYy-0005TS-9z for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 22:18:12 -0500 Original-Received: from [2607:f8b0:4864:20::b35] (port=44845 helo=mail-yb1-xb35.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtLYv-000281-B0 for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 22:18:12 -0500 Original-Received: by mail-yb1-xb35.google.com with SMTP id q74so14759516ybq.11 for ; Fri, 03 Dec 2021 19:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:reply-to:from:date:message-id:subject:to; bh=7ej2WRYzOZ5oxpRum9qLJvymWFXqYp0VV8aBgwpjzm4=; b=O8r0JRSIbPVQeI2PUSWRlbAFn8JpvRreTefsuzWsk5BMH6wSXgTMIj80Kpf7HK+esP GjHp+DteCCJc2hi/+z/FG73PNgEzLdF/BA4MBkDMGfb7K2mHHj0oJXGaIXvtgFyqsGXL xEsI9mIqwpagEuxYwge0woQYDIOAFL+BOFzXGQHI7ZHFqAfxDf6eiKmLNk+JX8ExkAFi FF0YV1IOP8CScW273ni3ZaM6bIO/rQKnfRw7yJReEVNhlHS9tYtTI1U9e58zBUUClpC4 T/Qu8Dlin3yyjdo2Nq/0l3mQvVMifeLFZjG764ySyZwEfW5NC7718EPplvslVvAI5/va 2JRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=7ej2WRYzOZ5oxpRum9qLJvymWFXqYp0VV8aBgwpjzm4=; b=HBP0mym0O3ZjLpVxYMux1kf4apNClFBuFbXdVb0LpYw03uoAsUTvQpz7NX+JwBo7Dr lDHtGOI/BH10EPM/6WkeYZ4xiXd+gZyXVla52Qm4iivQD0CpfxmODmR/10td4aNxL0sk 33Uxzn1DxQTUiYwoWgszNUqysFqdC6LlP6fRjiSjzIj4ChFbEXSxHiPk+lf1+a0PVqA7 Bxua9CjrLmlX+0Ho7FA0LZa7h94x3NtrVqrlTPote46fA1cywV7OiGCEUAlNVUmcYTtb A+s7rYaX44eX9rabcpOLK88g+a2tZVC3ZHRAEavTyHgiGljlIp/9qZdX3ZgBrgpafUY0 KTKA== X-Gm-Message-State: AOAM5319C7rSxEXN5I+Y74ffzqWeoFiBuV4yr6bGLpk6I49KrH3bR9lq E3SoRWYk0S8TF9VcJgig7E8zCZCcEFMGGIW9mzrN/sRaXQM= X-Google-Smtp-Source: ABdhPJyTZpQnIrvIqrh8Go6fXYb/HLH+8WAUepwAJKCfGkplfd0NvaV/kdCQwIRJUjg+pUN87B9+rigc1Cy6MVM7JbY= X-Received: by 2002:a25:9303:: with SMTP id f3mr25766812ybo.702.1638587886622; Fri, 03 Dec 2021 19:18:06 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b35 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b35; envelope-from=sevilla.arvin@gmail.com; helo=mail-yb1-xb35.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, FREEMAIL_REPLYTO=1, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 04 Dec 2021 03:36:57 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221447 Archived-At: --000000000000ea61f305d249784a Content-Type: text/plain; charset="UTF-8" Hi, Reproduction steps: 1. emacs -Q 2. ;"paste the evil install script [code1]" 3. M-x eval-buffer 4. C-h i 5. C-12 j ;"move cursor to evil node/topic/section" 6. /info ;"use evil-search-forward and type 'info'" 7. ;"END emacs@27.2 will crash to desktop" Alternative reproduction steps 1. emacs -Q 2. ;"paste the evil install script [code1]" 3. M-x eval-buffer 4. C-h i 5. k ;"move cursor to first line, which is '(dir)Top'" 6. M-x evil-search-forward dirtop ;"use evil-search-forward and type 'dirtop'" 7. ;"END emacs@27.2 will crash to desktop" [code1] https://github.com/emacs-evil/evil ```emacs-lisp ;; Set up package.el to work with MELPA (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) (package-refresh-contents) ;; Download Evil (unless (package-installed-p 'evil) (package-install 'evil)) ;; Enable Evil (require 'evil) (evil-mode 1) ``` I'm able to reproduce with emacs@27.2 using manjaro linux and macos@10.15.7 Initial report can be found here: https://github.com/emacs-evil/evil/issues/1546 ==== auto generated message below using report-emacs-bug ==== In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-27 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12101001 System Description: Manjaro Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: en_PH.UTF-8 value of $LC_NUMERIC: en_PH.UTF-8 value of $LC_TIME: en_PH.UTF-8 value of $LANG: en_PH.utf8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: override-global-mode: t global-undo-tree-mode: t shell-dirtrack-mode: t evil-mode: t evil-local-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search 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 cl-extra help-mode use-package-ensure use-package-bind-key bind-key easy-mmode use-package-core undo-tree diff evil evil-keybindings evil-integration evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-search evil-ex shell pcomplete comint ansi-color evil-types evil-macros evil-repeat evil-states evil-core advice evil-common windmove calc calc-loaddefs calc-macs thingatpt rect evil-digraphs evil-vars ring edmacro kmacro gruvbox-theme gruvbox autothemer dash info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 128548 7194) (symbols 48 13606 1) (strings 32 37114 2101) (string-bytes 1 1238285) (vectors 16 21666) (vector-slots 8 240940 9068) (floats 8 56 35) (intervals 56 280 0) (buffers 1000 12)) Kind regards, Arvin --000000000000ea61f305d249784a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Reproduction steps:<= br>1. emacs -Q
2. ;"paste the evil install script [code1]"
= 3. M-x eval-buffer
4. C-h i
5. C-12 j =C2=A0;"move cursor to evi= l node/topic/section"
6. /info =C2=A0 ;"use evil-search-forwar= d and type 'info'"
7. ;"END emacs@27.2 will crash to d= esktop"

Alternative reproduction steps
1. emacs -Q
2. ;&q= uot;paste the evil install script [code1]"
3. M-x eval-buffer
4.= C-h i
5. k =C2=A0;"move cursor to first line, which is '(dir)T= op'"
6. M-x evil-search-forward dirtop =C2=A0;"use evil-se= arch-forward and type 'dirtop'"
7. ;"END emacs@27.2 wi= ll crash to desktop"

[code1] https://github.com/emacs-evil/evil
```emacs-lisp
;; = Set up package.el to work with MELPA
(require 'package)
(add-to-l= ist 'package-archives
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0'("melpa" . "= https://melpa.org/packages/"))
(package-initialize)
(package= -refresh-contents)

;; Download Evil
(unless (package-installed-p = 'evil)
=C2=A0 (package-install 'evil))

;; Enable Evil
= (require 'evil)
(evil-mode 1)
```

I'm able to reproduc= e with emacs@27.2 using manjaro linux and macos@10.15.7

Initial repo= rt can be found here:
https://github.com/emacs-evil/evil/issues/1546

=3D=3D= =3D=3D auto generated message below using report-emacs-bug =3D=3D=3D=3D
=
In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, = cairo version 1.17.4)
=C2=A0of 2021-03-27 built on juergen
Windowing = system distributor 'The X.Org Foundation', version 11.0.12101001System Description: Manjaro Linux

Recent messages:
For informati= on about GNU Emacs and the GNU system, type C-h C-a.

Configured usin= g:
=C2=A0'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir= =3D/usr/lib
=C2=A0--localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-= xft --with-wide-int
=C2=A0--with-modules --with-cairo --with-harfbuzz &#= 39;CFLAGS=3D-march=3Dx86-64
=C2=A0-mtune=3Dgeneric -O2 -pipe -fno-plt= 9; CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-commo= n,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG = TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL= GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BA= RS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER LCMS2 GMP
Important settings:
=C2=A0 value of $LC_MONETARY: en_PH.UTF-8
= =C2=A0 value of $LC_NUMERIC: en_PH.UTF-8
=C2=A0 value of $LC_TIME: en_PH= .UTF-8
=C2=A0 value of $LANG: en_PH.utf8
=C2=A0 locale-coding-system:= utf-8-unix

Major mode: Fundamental

Minor modes in effect:=C2=A0 override-global-mode: t
=C2=A0 global-undo-tree-mode: t
=C2= =A0 shell-dirtrack-mode: t
=C2=A0 evil-mode: t
=C2=A0 evil-local-mode= : t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 elec= tric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 file-name-shado= w-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 blink-cursor-mode: t=
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
= =C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 lin= e-number-mode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:=
None found.

Features:
(shadow sort mail-extr emacsbug message= rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derive= d epg epg-config gnus-util
rmail rmail-loaddefs text-property-search tim= e-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-u= tils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr m= ail-utils cl-extra
help-mode use-package-ensure use-package-bind-key bin= d-key easy-mmode
use-package-core undo-tree diff evil evil-keybindings e= vil-integration
evil-maps evil-commands reveal flyspell ispell evil-jump= s
evil-command-window evil-search evil-ex shell pcomplete comint
ansi= -color evil-types evil-macros evil-repeat evil-states evil-core
advice e= vil-common windmove calc calc-loaddefs calc-macs thingatpt rect
evil-dig= raphs evil-vars ring edmacro kmacro gruvbox-theme gruvbox
autothemer das= h info package easymenu browse-url url-handlers url-parse
auth-source cl= -seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x = map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-= lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type = mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image= regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mod= e lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch= timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-c= ore
term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook
jka-c= mpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button= faces cus-face macroexp files text-properties overlay sha1 md5
base64 f= ormat env code-pages mule custom widget hashtable-print-readable
backquo= te threads dbusbind inotify lcms2 dynamic-setting
system-font-setting fo= nt-render-setting cairo move-toolbar gtk x-toolkit
x multi-tty make-netw= ork-process emacs)

Memory information:
((conses 16 128548 7194)=C2=A0(symbols 48 13606 1)
=C2=A0(strings 32 37114 2101)
=C2=A0(str= ing-bytes 1 1238285)
=C2=A0(vectors 16 21666)
=C2=A0(vector-slots 8 2= 40940 9068)
=C2=A0(floats 8 56 35)
=C2=A0(intervals 56 280 0)
=C2= =A0(buffers 1000 12))





Kind regards,

Arvin
<= /div> --000000000000ea61f305d249784a--