* bug#21402: race condition with compile mode line number parser
@ 2015-09-02 0:54 積丹尼 Dan Jacobson
2019-10-14 19:32 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2015-09-02 0:54 UTC (permalink / raw)
To: 21402
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21402: race condition with compile mode line number parser
2015-09-02 0:54 bug#21402: race condition with compile mode line number parser 積丹尼 Dan Jacobson
@ 2019-10-14 19:32 ` Lars Ingebrigtsen
2019-10-18 8:11 ` 積丹尼 Dan Jacobson
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14 19:32 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 21402
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> 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
I'm unable to reproduce this bug in Emacs 27. Are you still seeing this?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21402: race condition with compile mode line number parser
2019-10-14 19:32 ` Lars Ingebrigtsen
@ 2019-10-18 8:11 ` 積丹尼 Dan Jacobson
0 siblings, 0 replies; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-10-18 8:11 UTC (permalink / raw)
To: 21402-done
Seems OK now.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-18 8:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-02 0:54 bug#21402: race condition with compile mode line number parser 積丹尼 Dan Jacobson
2019-10-14 19:32 ` Lars Ingebrigtsen
2019-10-18 8:11 ` 積丹尼 Dan Jacobson
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).