From: David Bremner <david@tethera.net>
To: 35557@debbugs.gnu.org
Subject: bug#35557: 26.1; false positive: Match data clobbered by buffer modification hooks
Date: Sat, 04 May 2019 08:35:57 -0300 [thread overview]
Message-ID: <87o94ih2oy.fsf@tethera.net> (raw)
1. Save the following as test.el
(let ((inhibit-modification-hooks t))
(with-temp-buffer
(insert "P'")
(goto-char (point-min))
(while (re-search-forward "\\([^\\]\\)'" nil t)
(replace-match "\\1`"))
(buffer-substring (point-min) (point-max))))
2. run "emacs --batch --quick --load ./test.el"
3. Under docker, with Debian's emacs-nox (but not emacs-lucid or
emacs-gtk, I get an error "Match data clobbered by buffer modification
hooks".
I don't think this is Debian specific, as someone was also able to
duplicate it with "nixpkgs.emacs26-nox" (also in Docker).
I agree the setup sounds pretty specific, but it is used by a Debian CI
setup, which is why I care.
Here's the build info, copied out of docker:
In GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu)
of 2019-02-03, modified by Debian built on zam904
Recent messages:
Loading /etc/emacs/site-start.d/00debian.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --build x86_64-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --enable-libsystemd --with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/sh\
are/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils --build
x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
--libexecdir=/usr/lib --localstatedir=/var/lib
--infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
--with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/sh\
are/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils --with-x=no
--without-gsettings 'CFLAGS=-g -O2
-fdebug-prefix-map=/build/emacs-26.1+1=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
-D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'
next reply other threads:[~2019-05-04 11:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-04 11:35 David Bremner [this message]
2019-05-06 5:03 ` bug#35557: 26.1; false positive: Match data clobbered by buffer modification hooks Paul Eggert
2019-11-02 1:00 ` Stefan Kangas
2019-12-03 2:48 ` David Bremner
2020-01-16 14:23 ` Stefan Kangas
2020-01-16 15:03 ` David Bremner
2022-01-29 14:54 ` Lars Ingebrigtsen
2022-01-30 19:15 ` David Bremner
2022-01-30 19:28 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o94ih2oy.fsf@tethera.net \
--to=david@tethera.net \
--cc=35557@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.