From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tze Chian Kam Newsgroups: gmane.emacs.bugs Subject: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows Date: Sun, 30 Jun 2024 12:57:11 +1000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ea0ddc061c12a378" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20402"; mail-complaints-to="usenet@ciao.gmane.io" To: 71853@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 30 09:18:32 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sNopU-0005Ad-1S for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jun 2024 09:18:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNop2-0001qF-DU; Sun, 30 Jun 2024 03:18:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNop1-0001pr-CT for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 03:18:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNop1-0003Xa-4q for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 03:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNop0-0007G2-RQ for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 03:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tze Chian Kam Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2024 07:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71853 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171973183027819 (code B ref -1); Sun, 30 Jun 2024 07:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jun 2024 07:17:10 +0000 Original-Received: from localhost ([127.0.0.1]:54789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNoo9-0007EW-Uu for submit@debbugs.gnu.org; Sun, 30 Jun 2024 03:17:10 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNkku-00028i-7r for submit@debbugs.gnu.org; Sat, 29 Jun 2024 22:57:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNkks-0005Wg-EV for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 22:57:31 -0400 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNkkp-0008IE-Tq for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 22:57:29 -0400 Original-Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5858e973ef5so1043137a12.0 for ; Sat, 29 Jun 2024 19:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719716245; x=1720321045; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9xz1klE8dbfWWVmc1mo5iYah2Pt6JKIyj0oERa9MdIw=; b=iOKaVR8QvJWL1/6aZf+YshgLWJal8WknZVbrb7u3oalGSRzupgX2fuZymJ3mOQiyUS FmcX3VKtzK3AHwV1PRUVW3EkMcLHYwW+YReEV9kX/7lz3TRpCzjAI0piQv3H6cJ2vIFL 2UsrCiwEPQk88wSx88GQXaj7Nz4RPo0kY2v1SQOl8SeK9IQNTkOw++SJS3BW0JyaVPZQ yS5KTSFbdW5RsZyNLSAZzhco4JtQYMaOUs5SyagUgNttU7vwE7BeRDlQrhg1HwgqMFjw YY8feqL3FEjovc1miiLq6YeU199h8qI4D8PeMk/MWxb/gTxGA26Q4Y2Df/fJq0jCx84B SSWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719716245; x=1720321045; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9xz1klE8dbfWWVmc1mo5iYah2Pt6JKIyj0oERa9MdIw=; b=Bdzom1lDMo18FmDztQ1nR71cKtQKeYBzO58J4stUiteRivEwmTPLrPBDpVt5OfKXCy lbggb4NFdNMXzb3dK+QPGNcnGRnxLCYWD5dQpwFVpWfNixwepj9fPmwUUF4o7GuTSMF/ Nm6ThsL4rTC6NiC1ndQJuebQdv6eTZiEYkhwoVSlZoYPMxCi2hcM9WPB/jrHMx7jmIo5 PtOeBJk4UkTTbDQwG6HFGLvc5QMDMWI6hB6okTUfPdOIVp8oTKEwJZ2996fUJ8zg3ctD wCUbN2CFXpmJOJarn+hsAHdSO10BXMm0N1c19PJqAIqRo44LhaWKCjbV2LDYpNf/f7kS gQdA== X-Gm-Message-State: AOJu0YwTxZCAm7bFXuyLsy+zO1vog5tQGVuBOGF1SEpkw0lGCBV3NoLy VwjGfIBuYE58NFBkrPMjFZGas3w5rSoHbL5zx4KxGTuoSBmmQZ1LVRzVE0YNsCU9Bg4eX9Nfl1M 7ZmzA446qZCryKP2ofC+aC5zwq921fKhc X-Google-Smtp-Source: AGHT+IETy9v4yBtvugCqSV+D1TWNGZpwWAvVLVDsYcAfInpHJyu8qgxIeTdh/d2S+FORGQ0SNFB4DUN0qMjx/pPZcV4= X-Received: by 2002:a05:6402:d05:b0:57c:5874:4f5c with SMTP id 4fb4d7f45d1cf-587a0822c5bmr1854074a12.32.1719716245276; Sat, 29 Jun 2024 19:57:25 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=tze.chian.kam@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 30 Jun 2024 03:17:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288173 Archived-At: --000000000000ea0ddc061c12a378 Content-Type: text/plain; charset="UTF-8" Steps to reproduce: 1) Open Emacs with `-q`. 2) Run a trivial file with an infinite loop with `M-x compile` Expected outcome: Should be able to kill the process with `M-x kill-compilation` or `C-c C-k`. Actual outcome: `C-c C-k` is ignored and `M-x kill-compilation` is ran but does not stop the process. For now, I have a workaround to advice `compile` to interactive mode (comint) and killing the process with `C-c C-\`. Is this a Windows problem or my setup? In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-06-24 built on fv-az1388-367 Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.4529) Configured using: 'configure --prefix=/mingw64 --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-modules --without-dbus --without-compress-install --with-tree-sitter --with-native-compilation=aot 'CFLAGS=-march=nocona -msahf -mtune=generic -O2 -pipe -fstack-protector-strong -fno-optimize-sibling-calls -Wno-error=implicit-function-declaration' CPPFLAGS=-D__USE_MINGW_ANSI_STDIO=1 'LDFLAGS= -lpthread'' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: cp1252 Major mode: Python Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date files-x shell pcomplete compile text-property-search python project byte-opt pcase treesit comint ansi-osc ring cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib ansi-color rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads w32notify w32 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1087889 397416) (symbols 48 8942 4) (strings 32 27579 6087) (string-bytes 1 2338937) (vectors 16 20075) (vector-slots 8 394227 86836) (floats 8 42 93) (intervals 56 490863 319) (buffers 984 13)) --000000000000ea0ddc061c12a378 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Steps to reproduce:
1) Open Emacs with `-q`.
2) Run = a trivial file with an infinite loop with `M-x compile`

Expected out= come:
Should be able to kill the process with `M-x kill-compilation` or<= br>`C-c C-k`.

Actual outcome:
`C-c C-k` is ignored and `M-x kill-= compilation` is ran but does not
stop the process.

For now, I hav= e a workaround to advice `compile` to interactive mode
(comint) and kill= ing the process with `C-c C-\`. Is this a Windows
problem or my setup?

In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 20= 24-06-24 built on
=C2=A0fv-az1388-367
Windowing system distributor &#= 39;Microsoft Corp.', version 10.0.19045
System Description: Microsof= t Windows 10 Pro (v10.0.2009.19045.4529)

Configured using:
=C2=A0= 'configure --prefix=3D/mingw64 --host=3Dx86_64-w64-mingw32
=C2=A0--b= uild=3Dx86_64-w64-mingw32 --with-modules --without-dbus
=C2=A0--without-= compress-install --with-tree-sitter
=C2=A0--with-native-compilation=3Dao= t 'CFLAGS=3D-march=3Dnocona -msahf
=C2=A0-mtune=3Dgeneric -O2 -pipe = -fstack-protector-strong
=C2=A0-fno-optimize-sibling-calls -Wno-error=3D= implicit-function-declaration'
=C2=A0CPPFLAGS=3D-D__USE_MINGW_ANSI_S= TDIO=3D1 'LDFLAGS=3D -lpthread''

Configured features:ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFYW32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_B= ARS TREE_SITTER WEBP XPM ZLIB

Important settings:
=C2=A0 value of= $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: cp1252

Major mod= e: Python

Minor modes in effect:
=C2=A0 shell-dirtrack-mode: t=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode= : t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2= =A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode:= t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-num= ber-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mod= e: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
Load-path shadows:
None found.

Features:
(shadow sort ma= il-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rf= c822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-= util mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-uti= ls mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mai= l-utils time-date files-x shell pcomplete compile
text-property-search p= ython project byte-opt pcase treesit comint
ansi-osc ring cl-loaddefs co= mp comp-cstr warnings icons subr-x rx cl-seq
cl-macs gv cl-extra help-mo= de bytecomp byte-compile cl-lib ansi-color
rmc iso-transl tooltip cconv = eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-= mode mwheel dos-w32 ls-lisp disp-table
term/w32-win w32-win w32-vars ter= m/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list= replace newcomment text-mode lisp-mode
prog-mode register page tab-bar = menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-= lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice= seq simple cl-generic
indonesian philippine cham georgian utf-8-lang mi= sc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp= 51932 hebrew greek
romanian slovak czech european ethiopic indian cyrill= ic chinese
composite emoji-zwj charscript charprop case-table epa-hookjka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefstheme-loaddefs faces cus-face macroexp files window text-properties
ov= erlay sha1 md5 base64 format env code-pages mule custom widget keymap
ha= shtable-print-readable backquote threads w32notify w32 multi-tty
make-ne= twork-process native-compile emacs)

Memory information:
((conses = 16 1087889 397416)
=C2=A0(symbols 48 8942 4)
=C2=A0(strings 32 27579 = 6087)
=C2=A0(string-bytes 1 2338937)
=C2=A0(vectors 16 20075)
=C2= =A0(vector-slots 8 394227 86836)
=C2=A0(floats 8 42 93)
=C2=A0(interv= als 56 490863 319)
=C2=A0(buffers 984 13))
--000000000000ea0ddc061c12a378--