From unknown Sun Jun 22 00:29:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57199: 29.0.50; Processes spawned by Emacs become zombie after restarting Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2022 07:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57199 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 57199@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16604622944268 (code B ref -1); Sun, 14 Aug 2022 07:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Aug 2022 07:31:34 +0000 Received: from localhost ([127.0.0.1]:35724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN85t-00016l-Bw for submit@debbugs.gnu.org; Sun, 14 Aug 2022 03:31:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:44350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN85o-00016b-V3 for submit@debbugs.gnu.org; Sun, 14 Aug 2022 03:31:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN85o-0007bn-PQ for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 03:31:28 -0400 Received: from knopi.disroot.org ([178.21.23.139]:54292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN85m-00021h-4I for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 03:31:28 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 08E5E4012E for ; Sun, 14 Aug 2022 09:31:24 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pO7w1VVfzttL for ; Sun, 14 Aug 2022 09:31:22 +0200 (CEST) From: Akib Azmain Turja DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660462281; bh=+Pqz/LdBkwtw2bN2p3ZBp49oMZlIWFpQ5K375Qu5yL8=; h=From:To:Subject:Date; b=IThXYkdyyi8t9bqT41cbvTCoPSIuT1BC80O/ssB8xquR9jG7F5HmJ/oRE9Y6gz2nk gxptPMJSyjvolVpOupYRKuhMzvs/fyGn60v4VXbgkTwkvVm3/rzv4xeXVRTV28a1K5 yqURDeUjk4zOXia0sawpzbebYlu1mhnqpYZhPl+LAGpX5SKepVFJHLyBaWP24xwk4L 3Q/Utvq4ab3+t5ag+9yVClRTxizvDCOdr0/eHkwwfeDn6VO4bns9PFxOLQRW5p7NiG u2kAk/TRlRSpbLPHW7ODgEcNFSa38jV+ci0PJlEwOo65uPXRt27WlOX3CfOHCjYUU/ G2WonKv/T7oFw== Date: Sun, 14 Aug 2022 13:30:26 +0600 Message-ID: <87fshz2sfh.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Some child processes don't terminate when Emacs kills them (e.g. Tor). So, trying to kill them after restarting Emacs with "restart-emacs" makes those processes zombie. So I have to kill Emacs to remove those zombies. =2D----------------------------------------------------------------------- In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, c= airo version 1.16.0) Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Guix System Configured using: 'configure CONFIG_SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.= 1.8/bin/bash SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin= /bash --prefix=3D/gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-= 1.686296b --enable-fast-install --with-native-compilation --with-sqlite3 --with-xinput2 --with-xwidgets --with-modules --with-cairo --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /home/akib/.guix-profile/share/emacs/site-lisp:/= gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sha= re/emacs/29.0.50/lisp value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=3Dexwm-xim locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t diff-hl-margin-mode: t diff-hl-flydiff-mode: t gcmh-mode: t server-mode: t gtags-mode: t corfu-doc-mode: t corfu-history-mode: t global-corfu-mode: t isearch-mb-mode: t global-auto-revert-mode: t save-place-mode: t electric-pair-mode: t gc-buffers-mode: t which-key-mode: t marginalia-mode: t vertico-mode: t minibar-mode: t workroom-mode: t savehist-mode: t recentf-mode: t shackle-mode: t blow-mode: t leaf-key-override-global-mode: t el-patch-use-package-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t buffer-read-only: t column-number-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: /home/akib/.config/emacs/elpa/transient-20220806.2224/transient hides /gnu/= store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/e= macs/29.0.50/lisp/transient /home/akib/.config/emacs/elpa/jsonrpc-1.0.15.0.20220714.101331/jsonrpc hide= s /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/= share/emacs/29.0.50/lisp/jsonrpc /home/akib/.config/emacs/elpa/xref-1.5.0.0.20220723.181339/xref hides /gnu/= store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/e= macs/29.0.50/lisp/progmodes/xref /home/akib/.config/emacs/elpa/project-0.8.1.0.20220617.122301/project hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/progmodes/project /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-desktop-notifi= cations hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.5= 0-1.686296b/share/emacs/29.0.50/lisp/erc/erc-desktop-notifications /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-speedbar hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-speedbar /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-imenu hides /g= nu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/shar= e/emacs/29.0.50/lisp/erc/erc-imenu /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-pcomplete hide= s /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/= share/emacs/29.0.50/lisp/erc/erc-pcomplete /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-compat hides /= gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sha= re/emacs/29.0.50/lisp/erc/erc-compat /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-replace hides = /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sh= are/emacs/29.0.50/lisp/erc/erc-replace /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-notify hides /= gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sha= re/emacs/29.0.50/lisp/erc/erc-notify /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-stamp hides /g= nu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/shar= e/emacs/29.0.50/lisp/erc/erc-stamp /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-capab hides /g= nu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/shar= e/emacs/29.0.50/lisp/erc/erc-capab /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-lang hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-lang /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc hides /gnu/sto= re/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emac= s/29.0.50/lisp/erc/erc /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-loaddefs hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-loaddefs /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-match hides /g= nu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/shar= e/emacs/29.0.50/lisp/erc/erc-match /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-list hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-list /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-truncate hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-truncate /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-services hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-services /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-sound hides /g= nu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/shar= e/emacs/29.0.50/lisp/erc/erc-sound /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-button hides /= gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sha= re/emacs/29.0.50/lisp/erc/erc-button /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-dcc hides /gnu= /store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/= emacs/29.0.50/lisp/erc/erc-dcc /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-page hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-page /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-log hides /gnu= /store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/= emacs/29.0.50/lisp/erc/erc-log /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-goodies hides = /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sh= are/emacs/29.0.50/lisp/erc/erc-goodies /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-ezbounce hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-ezbounce /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-menu hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-menu /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-join hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-join /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-xdcc hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-xdcc /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-ibuffer hides = /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sh= are/emacs/29.0.50/lisp/erc/erc-ibuffer /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-status-sidebar= hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686= 296b/share/emacs/29.0.50/lisp/erc/erc-status-sidebar /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-netsplit hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-netsplit /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-spelling hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-spelling /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-networks hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-networks /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-autoaway hides= /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/s= hare/emacs/29.0.50/lisp/erc/erc-autoaway /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-track hides /g= nu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/shar= e/emacs/29.0.50/lisp/erc/erc-track /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-backend hides = /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sh= are/emacs/29.0.50/lisp/erc/erc-backend /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-ring hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-ring /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-identd hides /= gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/sha= re/emacs/29.0.50/lisp/erc/erc-identd /home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-fill hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/erc/erc-fill /home/akib/.config/emacs/elpa/eldoc-1.13.0.0.20220802.95655/eldoc hides /gn= u/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share= /emacs/29.0.50/lisp/emacs-lisp/eldoc /home/akib/.config/emacs/elpa/seq-2.23.0.20210925.195432/seq hides /gnu/sto= re/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emac= s/29.0.50/lisp/emacs-lisp/seq Features: (shadow emacsbug find-dired ffap grep smerge-mode flow-fill gnus-fun dired-aux vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs diredfl cape hi-lock misearch multi-isearch checkdoc consult-vertico consult compat-28 kind-icon svg-lib gnus-bcklg shell epa-file gnus-async mailalias smtpmail qp highlight-defined package-lint-flymake package-lint let-alist finder lisp-mnt paredit highlight-quoted aggressive-indent highlight-numbers parent-mode highlight-indent-guides highlight-thing flymake-popon posframe popon flymake-proc flymake compile org-element avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus ol-docview doc-view image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat advice org-macs org-loaddefs cal-menu calendar cal-loaddefs ecomplete vc-git diff-hl-margin diff-hl-dired diff-hl-flydiff diff diff-hl log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode why-this bbdb bbdb-site timezone eudc-capf eudc cus-start eudc-vars gnus-cite mail-extr footnote flyspell ispell display-fill-column-indicator ws-butler hl-todo compat sort gnus-ml nndraft nnmh mm-archive gnus-search eieio-opt speedbar ezimage dframe nnrss nnselect nnmaildir nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win lin hl-line display-line-numbers sh-script smie executable rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc xmltok sql view shr-color color elisp-demos info-colors rainbow-delimiters helpful imenu edebug debug backtrace info-look find-func f f-shortdoc shortdoc elisp-refs s dash parse-time iso8601 cc-awk cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs shr-tag-pre-highlight language-detection jka-compr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnutls network-stream url-http mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw nsm url-cache url-auth format-spec face-remap iwindow eww xdg url-queue thingatpt shr pixel-fill kinsoku url-file svg dom puny mm-url gnus nnheader gnus-util mail-utils range mm-util mail-prsvr dmenu comint ansi-color mode-line-bell battery dbus xml mule-util orderless mb-depth pinentry time-date modus-vivendi-theme modus-themes gcmh init comp comp-cstr warnings exwm-xim xcb-xim xcb-xlib exwm-randr xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug server auth-source-pass gtags-mode files-x xref project corfu-doc corfu-history corfu isearch-mb autorevert filenotify saveplace elec-pair gc-buffers which-key marginalia vertico minibar workroom bookmark text-property-search disp-table savehist recentf tree-widget shackle trace blow edmacro kmacro pcase cl-extra cus-edit pp cus-load icons wid-edit leaf finder-inf vterm-autoloads guix-emacs cape-autoloads corfu-autoloads crux-autoloads easy-mmode el-patch el-patch-stub eldoc-autoloads async-autoloads consult-autoloads forge-autoloads geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base ring ghub-autoloads rx geiser-autoloads magit-autoloads git-commit-autoloads mastodon-autoloads modus-themes-autoloads notmuch-autoloads nov-autoloads org-roam-ui-autoloads org-roam-autoloads magit-section-autoloads sx-autoloads transient-autoloads vertico-autoloads which-key-autoloads with-editor-autoloads info compat-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd 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 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 xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1473349 1276686) (symbols 48 75485 264) (strings 32 385189 389346) (string-bytes 1 17340803) (vectors 16 349285) (vector-slots 8 4109558 1552979) (floats 8 91649 4465) (intervals 56 49274 17189) (buffers 992 55)) =2D-=20 Akib Azmain Turja Find me on Mastodon at @akib@hostux.social. This message is signed by me with my GnuPG key. Its fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmL4pJIACgkQVTX89U2I YWv7bQ/9GUxPvWMdg+mmp1mYv/gFeaVT7bZ6AsX4ykAte+rETX8WFG0PtwrXn6dm up/YCNtFyK1+ZI8hwfI3NTzMLN3mRX0JWJw07WhMM1F1SJwUzr/SNM8W2rBW4zKU HLpQ5cW7osdPTj2CIpu4GV45pA/9HODCKhYipp4+9hkz8lWYPWpwRVKmNP/iL1wz V/PHB/mun2G1JxDw1kZO4JKv1By5Wos+DZ27ruZi4/DQfvla1jNZjtHTFEM3Dktm 4qr6BWLd8opmfYxSv7wVe5OEjAukmYawy3guMRRzAuTckr8k61CUYuCNlsdePRjI waAbPB6H39QQ06nulkUPOpH4G849jyysiUxpO/iNBWrh7C0uBrRaZdBDc9zYiOF9 HB+dXoGjADamKLdrvwxvwHFb9ceDGHvhp38eq2LP+Kl1iEWuIzcGVFW7U6jU9/R+ mlTaTVqiKVydrk5br5LZ4EEskT5C+glD7pigmbtL+pD96EGcpwuQ1/h9KJLy82cc WNQyhl6q9iU4itjkQ0l7oD0qM4Y9xSsSXmnAGME8VUMv1jCTpeQ5iSIw0501PhxL 8ZND9s9cJpezAtCr8gu5n59/J6zD+53nj/i1/CXj1I/1zW5hYhbo+js9vWYFhAAS sFc5OybEzZbDzaGXFvz/OfUoG71WArRKwP0M9MkbGnySKodLop8= =RO5I -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 00:29:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57199: 29.0.50; Processes spawned by Emacs become zombie after restarting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2022 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57199 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Akib Azmain Turja Cc: 57199@debbugs.gnu.org Received: via spool by 57199-submit@debbugs.gnu.org id=B57199.16604636096389 (code B ref 57199); Sun, 14 Aug 2022 07:54:02 +0000 Received: (at 57199) by debbugs.gnu.org; 14 Aug 2022 07:53:29 +0000 Received: from localhost ([127.0.0.1]:35733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN8R5-0001ex-5g for submit@debbugs.gnu.org; Sun, 14 Aug 2022 03:53:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN8Qo-0001eU-U7 for 57199@debbugs.gnu.org; Sun, 14 Aug 2022 03:53:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN8Qj-0004pZ-H1; Sun, 14 Aug 2022 03:53:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nmAPFHEQfupxpV/lU+rKaJAyUUTAtbniizNSEnEzpHs=; b=dY6pibvW94Ec VaGNr2hr7TXxjW1Fb2MBRsaRqzSHSoGr6MkRwDhMLaoBq0eLvlP+7EOHN3A+oKU/uEvtLtgTvJsjj DFFszrs1o7ugEnEpDs4Qazy42O47x3Qgt0xPOTVs2quP9DsRgNVZqHiSa7gWcrGbvM9XnxNLazhbi 6o7P1pbICHGcmEctDAY0ssw5MVh1ATrqlRcMCk4ZujihSr6X7Q0hGGv20ad+rRMyoSt0iwKXW26x/ z1vH65iSlPuI/2ReZWCllzHlhksCJ8mua/ez29HjCnclI25G7kHFbCqUI9zLK8fAhuUeAxSXBXkH0 gQUdxAB2KLk+u9dMDiFuLA==; Received: from [87.69.77.57] (port=4705 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN8Qi-00054X-VH; Sun, 14 Aug 2022 03:53:05 -0400 Date: Sun, 14 Aug 2022 10:52:49 +0300 Message-Id: <834jyfl0ry.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87fshz2sfh.fsf@disroot.org> (bug-gnu-emacs@gnu.org) References: <87fshz2sfh.fsf@disroot.org> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 14 Aug 2022 13:30:26 +0600 > From: Akib Azmain Turja via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Some child processes don't terminate when Emacs kills them (e.g. Tor). What is special in those processes? How do they avoid being killed by Emacs? > So, trying to kill them after restarting Emacs with "restart-emacs" > makes those processes zombie. So I have to kill Emacs to remove those > zombies. If a process actively resists being killed, then what you see is the expected behavior, determined by the underlying OS. From unknown Sun Jun 22 00:29:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57199: 29.0.50; Processes spawned by Emacs become zombie after restarting Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2022 12:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57199 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 57199@debbugs.gnu.org Received: via spool by 57199-submit@debbugs.gnu.org id=B57199.16604787858383 (code B ref 57199); Sun, 14 Aug 2022 12:07:01 +0000 Received: (at 57199) by debbugs.gnu.org; 14 Aug 2022 12:06:25 +0000 Received: from localhost ([127.0.0.1]:36104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNCNs-0002B6-Uz for submit@debbugs.gnu.org; Sun, 14 Aug 2022 08:06:25 -0400 Received: from knopi.disroot.org ([178.21.23.139]:53368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNCNq-0002At-CL for 57199@debbugs.gnu.org; Sun, 14 Aug 2022 08:06:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1F9DC4010C; Sun, 14 Aug 2022 14:06:21 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYDSsVZ1s-Ri; Sun, 14 Aug 2022 14:06:20 +0200 (CEST) From: Akib Azmain Turja DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660478780; bh=wu52Mr9G5jYQZnNVW2a+UKJ7gCBveVmhOvuRMgGoiwQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=T454oDDisMYwi5KBbtgwYjsxSPnt+khTdBKIwz+IwQ4JOAbYUg6M1VUwYk+k8vey9 jrKb+kcxkYUFUlcgkKKbloUW7j2bRogJ36MGQROTn4UC7ZBB4Jca1rxeb/9I8eIr41 2KB6FOBgIC6H3pnNtXm73xehNu/NC0y5fuMEwJQ5qQUY4IiZK5ggzqEUKVyzyaDl0x e00gL34NMCJUZeR4QPXHj0lIZZk2RSZsg+Vo/2oNUro0pSIjATTig6W7it+fSWQvEF TTvlrD08MnHuY0LCmiuoDNrS7lpAcvQVpmJTB6bQxrt0bm2RNa7G+rA8Yonm7s7IQc jMGkWQNKqivTQ== In-Reply-To: <834jyfl0ry.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Aug 2022 10:52:49 +0300") References: <87fshz2sfh.fsf@disroot.org> <834jyfl0ry.fsf@gnu.org> Date: Sun, 14 Aug 2022 18:05:00 +0600 Message-ID: <871qtj2fpv.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> Date: Sun, 14 Aug 2022 13:30:26 +0600 >> From: Akib Azmain Turja via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> Some child processes don't terminate when Emacs kills them (e.g. Tor). > > What is special in those processes? How do they avoid being killed by > Emacs? IIUC, Emacs sends SIGHUP (from kill_buffer_processes in process.c) to all child processes to kill them just before exiting (or restarting), and Tor uses that signal as the reload signal. > >> So, trying to kill them after restarting Emacs with "restart-emacs" >> makes those processes zombie. So I have to kill Emacs to remove those >> zombies. > > If a process actively resists being killed, then what you see is the > expected behavior, determined by the underlying OS. How can a process resist being killed? SIGKILL is lethal, always. Why kill-emacs sends SIGHUP while kill-process and delete-process sends SIGKILL? =2D-=20 Akib Azmain Turja Find me on Mastodon at @akib@hostux.social. This message is signed by me with my GnuPG key. Its fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmL45O0ACgkQVTX89U2I YWsLFxAAziHfV4k0leuEftGdjxTdqBfpaGLRaUNlz1V32MCYtxZuId4PSd/MAJAV w+Y04YbNj2AXOKKzf1xFDPc15Vr97+QKNw1+GfLnJSF7cYclqjqeWNJClLl1vNRB jqyrTtPU1TIGV0iB/CsPkFTQxV11j1e8e1mSQPM6hdgb1xqR/baKXpwp8CMqC2nx KSwK6dSMqlznVZXq8u3a5ECSNCodYgtW7kOLYV4MldbrkSV2dpGkWKC3Rh7L8uNT FM17pRn3rgJDDmBymelm9YU8rVweaAp8r8wjJ8kzJgoft278/fMESUJEzktdhRTx GVc5Dx/79ybHD5RcZCj350BJdP80qrtZjv9ttf6YcM3ga3d12X5qm4APux5CyDVm bDfl+QZ5+FvxhYfmlJljHY8ZOKJpMYLoFz+dB5QxMQnxEmZG1Ehn6pY3wK2ItIRs euDOH5imVPBOiUpxiz4fK+LrpoTeOc6u0k9CMBDpPRCRsyx/mCG/FpK4B+F5XX7j vp/oKsvtarX1oNKmui/FWuJL/+lpjDBlZ+0jHhpCofnahWy/fvzPaxyC7lGtRIrf /X2tHKlvgNrMf9hhB8xeHIPxzwP5HUAam4DKZC0GePaKR440bqtMxx8FzU4QQEbr Aciv6GHPUvvXTh270cUHJ5U8dWtX3sVzqnHSCiPo3JQpePU65Jo= =PWyc -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 00:29:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57199: 29.0.50; Processes spawned by Emacs become zombie after restarting Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Aug 2022 07:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57199 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Akib Azmain Turja Cc: 57199@debbugs.gnu.org, Eli Zaretskii Received: via spool by 57199-submit@debbugs.gnu.org id=B57199.166054751621413 (code B ref 57199); Mon, 15 Aug 2022 07:12:02 +0000 Received: (at 57199) by debbugs.gnu.org; 15 Aug 2022 07:11:56 +0000 Received: from localhost ([127.0.0.1]:40528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUGR-0005ZJ-RL for submit@debbugs.gnu.org; Mon, 15 Aug 2022 03:11:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUGP-0005Z3-NB for 57199@debbugs.gnu.org; Mon, 15 Aug 2022 03:11:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qE3rRD2QQa3Gl7+0IQ5GvqTVOBonQGl/79imPS6+tAE=; b=pYbl+Uq9DaGaRRQu0FhtmnhDok RL8xda8WL95/kk9JBPqt/zL647gmZOz8mH5HFdiNBgzG92X5bm6v+kLvBfXNpMROxVSwC/uPfRf/K 0/ZAHq78m6SUbkstpth6q+X2js7AYAAj3KkDrcywEiC96LvT94KL26YA8PO3ymJXmAgw=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNUGH-0004pL-7H; Mon, 15 Aug 2022 09:11:47 +0200 From: Lars Ingebrigtsen In-Reply-To: <871qtj2fpv.fsf@disroot.org> (Akib Azmain Turja's message of "Sun, 14 Aug 2022 18:05:00 +0600") References: <87fshz2sfh.fsf@disroot.org> <834jyfl0ry.fsf@gnu.org> <871qtj2fpv.fsf@disroot.org> X-Now-Playing: Aksak Maboul's _Un Peu De L'Ame Des Bandits_: "I viaggi formano la gioventu" Date: Mon, 15 Aug 2022 09:11:44 +0200 Message-ID: <87lerqaslr.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Akib Azmain Turja writes: > IIUC, Emacs sends SIGHUP (from kill_buffer_processes in process.c) to > all child processes to kill them just before exiting (or restarting), > and Tor uses that signal as the reload signal. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Akib Azmain Turja writes: > IIUC, Emacs sends SIGHUP (from kill_buffer_processes in process.c) to > all child processes to kill them just before exiting (or restarting), > and Tor uses that signal as the reload signal. [...] > How can a process resist being killed? SIGKILL is lethal, always. Why > kill-emacs sends SIGHUP while kill-process and delete-process sends > SIGKILL? Because we want processes started by Emacs to be allowed to shut down gracefully upon Emacs exit, but with explicit `kill-process', we don't care about that as much. So the problem here is that you're starting a process that responds to SIGHUP by not shutting down, and I don't think there's anything we can do on the Emacs side to help with that. Perhaps you can write a wrapper script that does the right thing on HUP. But I don't think there's anything to be done on the Emacs side here, so I'm closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 03:12:10 2022 Received: (at control) by debbugs.gnu.org; 15 Aug 2022 07:12:10 +0000 Received: from localhost ([127.0.0.1]:40533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUGg-0005aC-4t for submit@debbugs.gnu.org; Mon, 15 Aug 2022 03:12:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUGe-0005Zu-Ln for control@debbugs.gnu.org; Mon, 15 Aug 2022 03:12:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PtEmT7NdJlsBno8KilghTVNarxX3QhpiLEp0ey9RJsI=; b=SyYixIt7zfAhsiCIJ9CqK47JvA SqM8z+2C7u8+N3LcVE7kDZuYq5SCvJGP1P4GDbU7zEp3EdcWPZjET6j5xUDjwNZQPA9CQKhMyl1jJ ieMIxpolmV3uIh1wTu89o8jSH/Jz6EIDkjw4s93LIGFjgaWn3+1qrhaPM4MO34aHppVs=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNUGX-0004pW-1j for control@debbugs.gnu.org; Mon, 15 Aug 2022 09:12:03 +0200 Date: Mon, 15 Aug 2022 09:12:00 +0200 Message-Id: <87k07aaslb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57199 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 57199 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 57199 quit From unknown Sun Jun 22 00:29:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57199: 29.0.50; Processes spawned by Emacs become zombie after restarting Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Aug 2022 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57199 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 57199@debbugs.gnu.org, Eli Zaretskii Received: via spool by 57199-submit@debbugs.gnu.org id=B57199.166055708730291 (code B ref 57199); Mon, 15 Aug 2022 09:52:02 +0000 Received: (at 57199) by debbugs.gnu.org; 15 Aug 2022 09:51:27 +0000 Received: from localhost ([127.0.0.1]:40897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNWko-0007sU-Ds for submit@debbugs.gnu.org; Mon, 15 Aug 2022 05:51:26 -0400 Received: from knopi.disroot.org ([178.21.23.139]:33584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNWkZ-0007s8-Ow for 57199@debbugs.gnu.org; Mon, 15 Aug 2022 05:51:24 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1DB454005B; Mon, 15 Aug 2022 11:51:11 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zVMy4293dtIa; Mon, 15 Aug 2022 11:51:10 +0200 (CEST) From: Akib Azmain Turja DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660557068; bh=BZ8wfjzGHiPoVz3oL2PK3OX7p0rAKW0HBoluS9cBaTY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=BdWiagckqJu1x2UK6Re8FXfQsheXCgIpouND2TL8cpb4i7zBixXz+s3ClpMauLiMo Ye0oJw/pOGvzXkSWQjljN2E6hIvhOvgtXlT7pL+CIqpHSjblmJSQW6jlBI+1oyeYM2 X7vCjq4YJW+EE3TdhEYVYQTNIBfJD1m/gl+M8ZRcluD1dPnnUEdEMPVMWXhL1ISUKk s+/MefS77JZ+OxJzd/bOcrOABqh27Ve9XcI+XKXmzCbVjcszWCH1UCXT59ki+zLXiR TU3o/RYJcFqYgV8Phx8PMyLVGCPupyF4FInGr9gFlGT2Te4QvZG0rWX+irv5yvqBi8 Aeg00zEnEr/0g== In-Reply-To: <87lerqaslr.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 15 Aug 2022 09:11:44 +0200") References: <87fshz2sfh.fsf@disroot.org> <834jyfl0ry.fsf@gnu.org> <871qtj2fpv.fsf@disroot.org> <87lerqaslr.fsf@gnus.org> Date: Mon, 15 Aug 2022 15:50:34 +0600 Message-ID: <87zgg5n8d1.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Akib Azmain Turja writes: > >> IIUC, Emacs sends SIGHUP (from kill_buffer_processes in process.c) to >> all child processes to kill them just before exiting (or restarting), >> and Tor uses that signal as the reload signal. > > [...] > >> How can a process resist being killed? SIGKILL is lethal, always. Why >> kill-emacs sends SIGHUP while kill-process and delete-process sends >> SIGKILL? > > Because we want processes started by Emacs to be allowed to shut down > gracefully upon Emacs exit, but with explicit `kill-process', we don't > care about that as much. > > So the problem here is that you're starting a process that responds to > SIGHUP by not shutting down, and I don't think there's anything we can > do on the Emacs side to help with that. Perhaps you can write a wrapper > script that does the right thing on HUP. > > But I don't think there's anything to be done on the Emacs side here, so > I'm closing this bug report. > > > Why there is nothing to do? Emacs can "wait" on the child when it exits, or it might disown it. =2D-=20 Akib Azmain Turja Find me on Mastodon at @akib@hostux.social. This message is signed by me with my GnuPG key. Its fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmL6FusACgkQVTX89U2I YWvPrxAAmfvRHJonK2uWzdaMV/TddQsup9Ivg7tPEhvnz8fkEG4nvxjvV7+lyAqX Qhk2DHGvatbJNb3jbSF0u266V4bF7g7kff0kMOEQ91tntCycRwl2HBMd1W14z7Si tQYi8iRTGBeddwKGCRUzRVogXswhYb6PmNGvOnY63p3mXAqTiqemMcABKpD53H9b 5TW3jeWzSnOscDkkuk8ksVl54Tp7hkny3S+rZYi6bxJhUa0mBfpr28mLm4ajB43s oqKkWO8VQo+n/3Quq2tiu3ynGUnY0m68k29rpCEkL7ZIn2jUTvIFf3YBUQHu8imk Q8vLNDLNLqTNMHyRl4sdpa1StYdg44iUueFIlw4J4gCUDK4lD2gKbvQ82+6KwN6N SXJcxSJCupI47u5Ljl5kIi+z/FbbnQLLGUPl6UXm585qfEAnP/LvceWdyA4Zrmyc Tw3UDg9BgPOe7nqzT5srK7TJYG69PGswa061zcUUv+9WkHre/U+ACzbEkW41MIgB NB/siwvmClZUP38dXt3wYRHSAh9hEunXENJ6kyrlFmz/NQYRtAQHC4TeIlOOu6fy YNBcjrXU3uPjVvbl982dfjM5jk6NGaNVETmT6jlRp8ztt4mX4bWrhqkEZ32JvbLp vTvPnn3eB2MgfarujBqaYESAn22b18EBEt7YtLncm7izwW+jf4o= =1LxU -----END PGP SIGNATURE----- --=-=-=--