Subject: bug#26961: closed (Re: bug#26961: 26.0.50; Possible timming issue in regex-tests.el)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 20 May 2017 11:56:02 +0000

Your bug report

#26961: 26.0.50; Possible timming issue in regex-tests.el

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26961: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26961
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#26961: 26.0.50; Possible timming issue in regex-tests.el
From: Eli Zaretskii <[email-masked]>
To: Tino Calancha <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Sat, 20 May 2017 14:54:32 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Tino Calancha <[email-masked]>
> Date: Sat, 20 May 2017 20:20:39 +0900 (JST)
> cc: Tino Calancha <[email-masked]>, [email-masked], 
>     [email-masked]
> 
> 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.

Subject: 26.0.50; Possible timming issue in regex-tests.el
From: Tino Calancha <[email-masked]>
To: [email-masked]
Date: Wed, 17 May 2017 19:19:51 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

;; 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)