GNU bug report logs - #26961
26.0.50; Possible timming issue in regex-tests.el

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Wed, 17 May 2017 10:21:02 UTC

Severity: normal

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#26961: closed (26.0.50; Possible timming issue in regex-tests.el)
Date: Sat, 20 May 2017 11:56:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 20 May 2017 14:54:32 +0300
with message-id <83a867pwuf.fsf <at> gnu.org>
and subject line Re: bug#26961: 26.0.50; Possible timming issue in regex-tests.el
has caused the debbugs.gnu.org bug report #26961,
regarding 26.0.50; Possible timming issue in regex-tests.el
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
26961: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26961
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tino Calancha <tino.calancha <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Possible timming issue in regex-tests.el
Date: Wed, 17 May 2017 19:19:51 +0900
;; All tests performed from (expand-file-name "test" source-directory)

;;; I) Following fails:
emacs --batch -L ":." -l ert -l src/regex-tests.el \
--eval '(ert-run-tests-batch-and-exit nil)'

;;; II) This one fails in Debian-9, but it works in Fedora-25:
emacs --batch -L ":." -l ert -l src/regex-tests.el \
--eval '(let (arg) (ert-run-tests-batch-and-exit arg))'

;;; III) Following two commands works in both, Debian and Fedora:

emacs --batch -L ":." -l ert -l src/regex-tests.el \
-f ert-run-tests-batch-and-exit

emacs --batch -L ":." -l ert -l src/regex-tests.el \
--eval '(let (arg) (sleep-for 1) (ert-run-tests-batch-and-exit arg))'


In GNU Emacs 26.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-05-17 built on calancha-pc
Repository revision: f7c07930b581b1bcfdfb1874b6883233516bdf11
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description:	Debian GNU/Linux 9.0 (stretch)


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: schwab <at> suse.de, 26961-done <at> debbugs.gnu.org
Subject: Re: bug#26961: 26.0.50; Possible timming issue in regex-tests.el
Date: Sat, 20 May 2017 14:54:32 +0300
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Sat, 20 May 2017 20:20:39 +0900 (JST)
> cc: Tino Calancha <tino.calancha <at> gmail.com>, 26961 <at> debbugs.gnu.org, 
>     schwab <at> suse.de
> 
> On Sat, 20 May 2017, Eli Zaretskii wrote:
> 
> > Does the problem go away if you replace each AUTO_STRING in
> > load_warn_unescaped_character_literals with build_string?  IOW,
> > instead of this:
> >
> >  AUTO_STRING (separator, ", ");
> >
> > use this:
> >
> >  Lisp_Object separator = build_string (", ");
> >
> > and similarly for all the other strings used in the CALLN call in
> > load_warn_unescaped_character_literals.
> Yes, that change fixes the problem.  No crashes anymore.

Thanks, I installed such a change.


This bug report was last modified 8 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.