GNU bug report logs - #21402
race condition with compile mode line number parser

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 2 Sep 2015 18:07:02 UTC

Severity: minor

Tags: moreinfo, unreproducible

Done: 積丹尼 Dan Jacobson <jidanni <at> jidanni.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: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#21402: closed (race condition with compile mode line number
 parser)
Date: Fri, 18 Oct 2019 08:12:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 18 Oct 2019 16:11:27 +0800
with message-id <87imomlbgw.7.fsf <at> jidanni.org>
and subject line Re: bug#21402: race condition with compile mode line number parser
has caused the debbugs.gnu.org bug report #21402,
regarding race condition with compile mode line number parser
to be marked as done.

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


-- 
21402: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21402
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: race condition with compile mode line number parser
Date: Wed, 02 Sep 2015 08:54:18 +0800
There is a race condition, whereas for me of
(compile "seq 99|perl -nwle 'print \"XX:$.:$_\"'" nil)
(compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'" nil)
(compile "seq 9999|perl -nwle 'print \"XX:$.:$_\"'" nil)
the first and third ones complete with no problems,
whereas the middle one always stops at

XX:392:392
XX:393
Compilation finished at Wed Sep  2 08:46:23

(compile "perl -wle 'for(1..999){print \"XX:$_:$_\"}'" nil)
however finishes fine, as does plain
(compile "seq 999" nil) and
(compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'; sleep 1" nil)

When I try it as root all finish fine.

Further notes: I was able to reproduce this on another machine via
doing C-x ESC ESC and pasting
(compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'" nil)
at the Redo: prompt.

If one just puts the cursor at the end of that line in this message
and hits C-x C-e that will not reproduce the problem. Nor if one does
ESC : and pastes it in there either.

Note also there is two messages piling themselves on top of each
other, Compilation finished, and Find this error in (default XX): ...

My .emacs is in http://jidanni.org/comp/configuration/

emacs-version "24.5.1", Debian emacs24 24.5+1-1.


[Message part 3 (message/rfc822, inline)]
From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 21402-done <at> debbugs.gnu.org
Subject: Re: bug#21402: race condition with compile mode line number parser
Date: Fri, 18 Oct 2019 16:11:27 +0800
Seems OK now.


This bug report was last modified 5 years and 270 days ago.

Previous Next


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