GNU bug report logs - #70544
30.0.50; The primitive-function "call-process-region" returns "internal error" and causes high cpu usage on win10

Previous Next

Package: emacs;

Reported by: leuven65 <leuven65 <at> gmail.com>

Date: Wed, 24 Apr 2024 01:52:13 UTC

Severity: normal

Tags: moreinfo

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: leuven65 <leuven65 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; The primitive-function "call-process-region" returns
 "internal error" and causes high cpu usage on win10
Date: Tue, 23 Apr 2024 20:02:39 +0200
[Message part 1 (text/plain, inline)]
On windows10, I uses git for windows, but when I execute "gitk" by
"shell-command"
in emacs, it returns an error "internal error",
and emacs's cpu usage becomes full forever, except for restarting emacs,
It seems emacs might process something wrong in this case.

The issue can be easily reproduced by directly eval following sexp:

(call-process-region (point-min) (point-max)
                     "cmdproxy.exe"
                     t
                     t
                     nil
                     "-c"
                     "gitk")
[Message part 2 (text/html, inline)]

This bug report was last modified 362 days ago.

Previous Next


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