From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jayden Navarro Newsgroups: gmane.emacs.bugs Subject: bug#36328: 26.2; Args out of range on search-and-replace of *.cc file Date: Fri, 21 Jun 2019 16:03:43 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f8ad77058bdd79d4" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="161655"; mail-complaints-to="usenet@blaine.gmane.org" To: 36328@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 22 01:11:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1heSgp-000fuI-BX for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 01:11:27 +0200 Original-Received: from localhost ([::1]:38364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heSgn-00032I-OY for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Jun 2019 19:11:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35744) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heSgS-000320-Ax for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2019 19:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heSgQ-0001yE-Ib for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2019 19:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heSgQ-0001xo-6d for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2019 19:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1heSgP-0005HV-V6 for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2019 19:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jayden Navarro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jun 2019 23:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36328 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.156115860820211 (code B ref -1); Fri, 21 Jun 2019 23:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2019 23:10:08 +0000 Original-Received: from localhost ([127.0.0.1]:50793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heSfX-0005Fs-7k for submit@debbugs.gnu.org; Fri, 21 Jun 2019 19:10:08 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heSaB-00056F-K1 for submit@debbugs.gnu.org; Fri, 21 Jun 2019 19:04:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34676) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heSa3-0000mb-BV for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2019 19:04:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heSZu-0007aK-OV for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2019 19:04:22 -0400 Original-Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:45699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heSZs-0006pu-VX for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2019 19:04:18 -0400 Original-Received: by mail-lj1-x22a.google.com with SMTP id m23so7292945lje.12 for ; Fri, 21 Jun 2019 16:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yugabyte-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=+DzzX/wEvmBECHFrZ8vZUaoXkFDeDbljPvQm6lcAAZY=; b=bZBEMjnVBjBRW2AX2xZvhmtIsQcVzOzg9i77rvL+Lzzui0Tqw67AsdJro8VpZXIrtz Q3Sgl03YBAWqPTtq66QnPT+oB53CfXPWYZj1Ohdt6jh7iDyV6JvnDxw2hHlNIG3EX635 Tpyi0nZggvIvsqlR00cuEFAzpeQYFVWEERnKUla6SIzW2KD/N4pYoeOt2qoEXfq3pEnw 7EmM397G9w96HI3vOWB5cyn1FeEK4e4xPOQ22O0cG8Som8xTU3c9Jm9xNEAQygbZnxcy 1lYsxDQCyn1vZoI0wGvFZAB2WndjenOaxu/jqeeRCDv6w9RfG8Q46ZO5HJZtr7qPXFI4 OfUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+DzzX/wEvmBECHFrZ8vZUaoXkFDeDbljPvQm6lcAAZY=; b=kvV514qac51QOWe8k/Ot89hqGh3U0NXd9tMekJpLBmHswV66li4X1PT3t+o3GH8Ugh i5XKCb20SBoUdQmWbqnf5aWNlY0WTdkK8Do0h4K/hLSn3qFIzG/YRsBieUEnJNmy8/xd sEHP5XWnDlKplRy9Vb9O3lzBMpUA0rHBjLgrZoCVDRHGKmoN7tH1uAIjUEfL9fL1aiOQ g7XYd2JjFIJdpctdbiJPp9ZjNdGv7Kyi2ctROkvYJHqSgHt8OFJiucU81Lq9B7YRf2Xg fEWXOUvAaE1cCIYHVpXJeUQ367BLJBwnWZlFr4exF+jWLPP599cXuZMMNHO+qlAJDyCZ xuTA== X-Gm-Message-State: APjAAAVpoV3NBgJBlQXqbJNetKm9+Ln3p6YYgedqcPhJ4R0tR+n9l1Bj tPnQ6gdK6as2n+IeJcT6bAfNfD3drLsQLx+tbRKqX0SsaGDyCw== X-Google-Smtp-Source: APXvYqyVMhmvSi/dmqUnCl6s1vDEl2EL3XmBZog9m7p+PMup7QOVSnpRSPHsjX4osMym6xx1s4qPOeA6XbdgzShnah0= X-Received: by 2002:a2e:29c4:: with SMTP id p65mr46157311ljp.141.1561158233922; Fri, 21 Jun 2019 16:03:53 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Fri, 21 Jun 2019 19:10:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160959 Archived-At: --000000000000f8ad77058bdd79d4 Content-Type: text/plain; charset="UTF-8" This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from 'emacs -Q': Fill a *.cc file with 100 lines of any string (e.g. "bar"). At line 101 write a unique string (e.g. "foo"). Close the file and reopen (emacs -Q) and perform search-and-replace on "foo" (replacing with any other string). At this point you should see "Args out of range: #, 0, 1". If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: 'bt full' and 'xbacktrace'. For information about debugging Emacs, please read the file /usr/local/Cellar/emacs/26.2/share/emacs/26.2/etc/DEBUG. In GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.5.0) of 2019-04-13 built on Mojave-2.local Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/26.2/share/info/emacs --prefix=/usr/local/Cellar/emacs/26.2 --with-gnutls --without-x --with-xml2 --without-dbus --with-modules --without-ns --without-imagemagick' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB MODULES THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C++//l Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail tool-bar rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt cl-loaddefs cl-lib term/xterm xterm time-date elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 kqueue multi-tty make-network-process emacs) Memory information: ((conses 16 114832 6835) (symbols 48 21718 1) (miscs 40 36 157) (strings 32 33556 1381) (string-bytes 1 1027563) (vectors 16 14526) (vector-slots 8 479822 7914) (floats 8 49 415) (intervals 56 205 0) (buffers 992 12)) --000000000000f8ad77058bdd79d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This bug report will= be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.=C2=A0 Please check th= at
the From: line contains a valid email address.=C2=A0 After a delay of= up
to one day, you should receive an acknowledgment at that address.
Please write in English if possible, as the Emacs maintainers
usual= ly do not have translators for other languages.

Please describe exac= tly what actions triggered the bug, and
the precise symptoms of the bug.= =C2=A0 If you can, give a recipe
starting from 'emacs -Q':
Fill a *.cc file with 100 lines of any string (e.g. "bar"). At = line 101
write a unique string (e.g. "foo"). Close the file an= d reopen (emacs -Q)
and perform search-and-replace on "foo" (r= eplacing with any other string).
At this point you should see=C2=A0"Args out of range: #<buffer tes= t.cc>, 0, 1".

= If Emacs crashed, and you have the Emacs process in the gdb debugger,
pl= ease include the output from the following gdb commands:
=C2=A0 =C2=A0 &= #39;bt full' and 'xbacktrace'.
For information about debuggi= ng Emacs, please read the file
/usr/local/Cellar/emacs/26.2/share/emacs/= 26.2/etc/DEBUG.

In GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.5.= 0)
=C2=A0of 2019-04-13 built on Mojave-2.local
Recent messages:
Fo= r information about GNU Emacs and the GNU system, type C-h C-a.

Conf= igured using:
=C2=A0'configure --disable-dependency-tracking --disab= le-silent-rules
=C2=A0--enable-locallisppath=3D/usr/local/share/emacs/si= te-lisp
=C2=A0--infodir=3D/usr/local/Cellar/emacs/26.2/share/info/emacs<= br>=C2=A0--prefix=3D/usr/local/Cellar/emacs/26.2 --with-gnutls --without-x<= br>=C2=A0--with-xml2 --without-dbus --with-modules --without-ns
=C2=A0--= without-imagemagick'

Configured features:
NOTIFY ACL GNUTLS L= IBXML2 ZLIB MODULES THREADS

Important= settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-sy= stem: utf-8-unix

Major mode: C++//l

Minor modes in effect:=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-i= ndent-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t=
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 a= uto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-co= mpression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mo= de: t
=C2=A0 abbrev-mode: t

Load-path shadows:
None found.
=
Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-= opt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc8= 22 mml
mml-sec password-cache epa derived epg epg-config gnus-util rmail=
tool-bar rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc223= 1
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drumsmm-util mail-prsvr mail-utils cc-mode cc-fonts easymenu cc-guess
cc-men= us cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt
cl-lo= addefs cl-lib term/xterm xterm time-date elec-pair mule-util
tooltip eld= oc electric uniquify ediff-hook vc-hooks lisp-float-type
tabulated-list = replace newcomment text-mode elisp-mode lisp-mode
prog-mode register pag= e menu-bar rfn-eshadow isearch timer select mouse
jit-lock font-lock syn= tax facemenu font-core term/tty-colors frame
cl-generic cham georgian ut= f-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese = eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic in= dian cyrillic chinese composite
charscript charprop case-table epa-hook = jka-cmpr-hook help simple abbrev
obarray minibuffer cl-preloaded nadvice= loaddefs button faces cus-face
macroexp files text-properties overlay s= ha1 md5 base64 format env
code-pages mule custom widget hashtable-print-= readable backquote threads
kqueue multi-tty make-network-process emacs)<= br>
Memory information:
((conses 16 114832 6835)
=C2=A0(symbols 48= 21718 1)
=C2=A0(miscs 40 36 157)
=C2=A0(strings 32 33556 1381)
= =C2=A0(string-bytes 1 1027563)
=C2=A0(vectors 16 14526)
=C2=A0(vector= -slots 8 479822 7914)
=C2=A0(floats 8 49 415)
=C2=A0(intervals 56 205= 0)
=C2=A0(buffers 992 12))

--000000000000f8ad77058bdd79d4--