From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.bugs Subject: bug#17358: 24.4.50; emacs not recognizing process-exit correctly? Date: Sun, 27 Apr 2014 16:59:39 -0700 Message-ID: <87iopu1fys.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1398643296 26811 80.91.229.3 (28 Apr 2014 00:01:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 00:01:36 +0000 (UTC) To: 17358@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 28 02:01:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WeZ0f-0002Dj-Hw for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Apr 2014 02:01:25 +0200 Original-Received: from localhost ([::1]:40939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeZ0e-0002jP-IE for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Apr 2014 20:01:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeZ0S-0002jI-U7 for bug-gnu-emacs@gnu.org; Sun, 27 Apr 2014 20:01:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WeZ0J-0005vy-H1 for bug-gnu-emacs@gnu.org; Sun, 27 Apr 2014 20:01:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeZ0J-0005vH-CH for bug-gnu-emacs@gnu.org; Sun, 27 Apr 2014 20:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WeZ0I-0006ZL-N5 for bug-gnu-emacs@gnu.org; Sun, 27 Apr 2014 20:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "T. V. Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Apr 2014 00:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17358 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139864322525188 (code B ref -1); Mon, 28 Apr 2014 00:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Apr 2014 00:00:25 +0000 Original-Received: from localhost ([127.0.0.1]:43335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeYzg-0006YA-4D for submit@debbugs.gnu.org; Sun, 27 Apr 2014 20:00:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37741) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeYzd-0006Xw-5I for submit@debbugs.gnu.org; Sun, 27 Apr 2014 20:00:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WeYzO-0005hj-PQ for submit@debbugs.gnu.org; Sun, 27 Apr 2014 20:00:15 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeYzO-0005hb-ND for submit@debbugs.gnu.org; Sun, 27 Apr 2014 20:00:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeYzF-0000xm-IC for bug-gnu-emacs@gnu.org; Sun, 27 Apr 2014 20:00:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WeYz6-0005U4-D2 for bug-gnu-emacs@gnu.org; Sun, 27 Apr 2014 19:59:57 -0400 Original-Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:55451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeYz5-0005Ty-RO for bug-gnu-emacs@gnu.org; Sun, 27 Apr 2014 19:59:48 -0400 Original-Received: by mail-pa0-f46.google.com with SMTP id kp14so5122117pab.33 for ; Sun, 27 Apr 2014 16:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:cc:subject:from; bh=p7fKW/kmJglxuTMPs/ydqmHdj1AF8O6pJijvg1FOND8=; b=AmEa/vniswXcvL7cM6Wvs/D9pH+ViSfDsKoW0XANlJWyAOs5sjULwSKZcP/0fDymqX 5DGmS8a1AS39TPaVXRy7o0bxpyG0XLTFJ/jOo5uWxsdaMzf602HVjFVowWZS4q7OP59T SQpXi34T54+916o0EbuKOziC6Ypo1FwChzGfy6MAk8y8bTM7ZYARF0FBtT3P6TA5Vo22 HR7mB95h5naN3Umdr5OZWMPHC1Uaohy+jvprjWHD/m4MJaGToW8iHCVt1WfsyR1FMpg5 1IvhRU47dF1/QAozaACvbc652vnTidfcYXguPrHBKYScOmWJYI9W90YXshOuI6ijRvLT I7Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:message-id:from:to:cc:subject:from; bh=p7fKW/kmJglxuTMPs/ydqmHdj1AF8O6pJijvg1FOND8=; b=IByY99HB3N1vwIOh3DpTwI4o0fYJb+uVFRMWcs4VqXPOiuxEloCvZpSFcqmntGJGqj td+IWd3KGW+hr+UxgYdAtjyynRljSzD0/6zi6EGkY52PFi9exNPc4IGA0jvREMkea3E3 wuuM1Oe4H06C5NzeoUPMsV0Ux6zskqqoBKnmDQNkVnYP2ihfcN9nPoJj++aPbl0uBoCH ngC7aoVueKZbYMenGcXKSPE+Uq3qeXWXNkv8+ylpA4o2wQQkDksyJFb8MR1b0cKUIHGb Ifsznq74eeOhzkbizidkFNmb9SWmK2FJUpzglVTWxwc6cA1TNyyWHqOXC4Qa0+DjP0tR atjw== X-Gm-Message-State: ALoCoQmt7XBh+6fcaAtaD/nLW3Qe9ZImq15qc0qXhSw/aQd5admk/J8TxY4rrMFqdtJBCqAx2wZY/DA1E+ip8Wh9wBwMA/PboA3IJwB0CiJ3ZiE3dKIXRzizf64CQe5VVCThqHWJSuF02wNxN+1h1VGcm9I3RgVKkFA8S/VkXE/PgHUV/8R2GKnaIJ+/44v2aNajBh9OIZdrtNs0kX5xEb+1TJHU7L1vpQ== X-Received: by 10.68.131.202 with SMTP id oo10mr22052710pbb.35.1398643185958; Sun, 27 Apr 2014 16:59:45 -0700 (PDT) Original-Received: from labrador.google.com (c-71-202-188-217.hsd1.ca.comcast.net. [71.202.188.217]) by mx.google.com with ESMTPSA id qw8sm30772602pbb.27.2014.04.27.16.59.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Apr 2014 16:59:45 -0700 (PDT) X-Google-Original-From: "T. V. Raman" Original-From: "T. V. Raman" x-attribution: tvrReply-to: tv.raman.tv@gmail.com X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88341 Archived-At: This has now happened to me with both mplayer and gpg, so I am beginning to suspect a bug in the process status handling code ... Symptoms: Happens in long-running emacs sessions, and fails to repro if you kill and restart Emacs. When the bug bites,, emacs hangs waiting for the subprocess even though the subprocess has quit. Happens for example when you open a foo.gpg file. If this happens, the gpg process finishes decrypting the file, but Emacs fails to notice that it is done, and hangs. Hitting C-g produces the message "buffer *epg* has a running process ...". If you answer "no" to kill that process, emacs continues to hang. Checking status of the gpg process from a different terminal shows that process' status as "defunct". Similar behavior with mplayer as well. This is on an oldish Linux box that is still running Ubuntu Jaunty, but with updated libs for gnutls etc. In GNU Emacs 24.4.50.2 (i686-pc-linux-gnu, GTK+ Version 2.16.1) of 2014-04-26 on labrador Repository revision: %N System Description: Ubuntu 9.04 Configured using: `configure --prefix=/usr/local --without-compress-install' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: gpm-mouse-mode: t global-semantic-idle-summary-mode: t global-semanticdb-minor-mode: t semantic-mode: t savehist-mode: t ido-everywhere: t display-time-mode: t auto-insert-mode: t jabber-activity-mode: t jabber-mode-line-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t dynamic-completion-mode: t dired-omit-mode: t desktop-save-mode: t shell-dirtrack-mode: t global-voice-lock-mode: t voice-lock-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t transient-mark-mode: t Recent input: RET ESC < ESC [ [ D C-x @ h s c d RET p s _ s p o t SPC m p l a y e r RET c d RET ESC x r e p o r t SPC e m a c s - b TAB RET Recent messages: Successfully initialized Emacs ~ Opening TLS connection to `talk.google.com'... Opening TLS connection with `gnutls-cli -p 5223 talk.google.com'...done Opening TLS connection to `talk.google.com'...done Authentication succeeded for tv.raman.tv@gmail.com ~ Decrypting /home/raman/.authinfo.gpg...done ~ [2 times] End of buffer Load-path shadows: /home/raman/.emacs.d/elpa/google-this-20131031.1015/noflet hides /home/raman/.emacs.d/elpa/noflet-20140202.1451/noflet /home/raman/emacs/lisp/site-lisp/gm/g-utils hides /home/raman/emacs/lisp/emacspeak/lisp/g-client/g-utils /home/raman/emacs/lisp/site-lisp/vm/lisp/tapestry hides /home/raman/emacs/lisp/emacspeak/lisp/tapestry /home/raman/.emacs.d/elpa/apt-utils-20130824.1200/apt-utils hides /home/raman/emacs/lisp/site-lisp/apt-utils /home/raman/.emacs.d/elpa/fold-dwim-20140208.837/fold-dwim hides /home/raman/emacs/lisp/site-lisp/fold-dwim /home/raman/.emacs.d/elpa/xml-rpc-20130423.1656/xml-rpc hides /home/raman/emacs/lisp/site-lisp/xml-rpc /home/raman/emacs/lisp/emacspeak/lisp/tetris hides /usr/local/share/emacs/24.4.50/lisp/play/tetris /home/raman/.emacs.d/elpa/emms-20140222.2027/tq hides /usr/local/share/emacs/24.4.50/lisp/emacs-lisp/tq /home/raman/.emacs.d/elpa/tabulated-list-20120406.2251/tabulated-list hides /usr/local/share/emacs/24.4.50/lisp/emacs-lisp/tabulated-list Features: (shadow emacsbug epa-file ffap jabber-bookmarks emacspeak-wizards emacspeak-eterm term ehelp emacspeak-texinfo texinfo emacspeak-table-ui emacspeak-table emacspeak-find-dired find-dired eldoc lisp-mnt t-mouse cal-china lunar cal-bahai cal-islam cal-hebrew holidays hol-loaddefs gcal g-app g-auth mule-util cal-move server bbdb-vm vm-mime vm-folder vm-summary vm-motion vm-undo vm-misc bbdb-snarf mail-extr bbdb-com emms-info-libtag emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url emms-streams emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file emms-setup emacspeak-emms emms emms-compat emacspeak-reftex reftex reftex-vars Save-visited-files-autoloads emacspeak-auctex tex-site charmap cljdoc-autoloads clojure-project-mode-autoloads closure-lint-mode-autoloads closure-template-html-mode-autoloads color-theme-autoloads control-lock-autoloads cppcheck-autoloads crontab-mode-autoloads dired-isearch-autoloads dizzee-autoloads doc-mode-autoloads dotassoc-autoloads finder-inf echo-pick-autoloads eimp-autoloads elisp-cache-autoloads enwc-autoloads epoch-view-autoloads eshell-info-autoloads find-file-in-repository-autoloads gopher-autoloads heap-autoloads http-twiddle-autoloads iflipb-autoloads inflections-autoloads ioccur-autoloads js-comint-autoloads key-chord-autoloads kill-ring-search-autoloads letcheck-autoloads logito-autoloads macro-math-autoloads magnet-autoloads markchars-autoloads marmalade-autoloads furl-autoloads maxframe-autoloads memory-usage-autoloads my-packages-autoloads nav-autoloads oauth-autoloads otp-autoloads emacspeak-info info project-autoloads project-mode-autoloads levenshtein-autoloads protobuf-mode-autoloads pylint-autoloads pysmell-autoloads quarter-plane-autoloads queue-autoloads register-list-autoloads scratch-autoloads session-autoloads shadchen-autoloads shell-here-autoloads edmacro emacspeak-kmacro kmacro slime-repl-autoloads slime-autoloads ssh-config-mode-autoloads tabkey2-autoloads tabula-rasa-mode-autoloads texdrive-autoloads thumb-through-autoloads tidy-autoloads watch-buffer-autoloads wget-autoloads workspaces-autoloads wtf-autoloads xml-gen-autoloads package emacs-startup semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/db-mode semantic/db eieio-base saveplace midnight jka-compr emacspeak-cedet semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet savehist emacspeak-ido ido emacspeak-m-player time autoinsert emacspeak-gm gm tramp tramp-compat tramp-loaddefs trampver emacspeak-twittering twittering-mode epa epg ssl emacspeak-jabber jabber jabber-libnotify jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-tmux jabber-screen jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard jabber-avatar jabber-activity jabber-watch jabber-modeline jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse jabber-search jabber-register jabber-roster jabber-private jabber-presence jabber-muc jabber-muc-nick-coloring hexrgb jabber-widget jabber-disco jabber-chat jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-core jabber-console emacspeak-sgml-mode sgml-mode ewoc jabber-keymap jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon jabber-conn srv dns starttls gnutls jabber-xml jabber-menu jabber-util jabber-autoloads erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit emacspeak-erc erc-goodies erc erc-backend erc-compat pp emacspeak-org org org-macro org-footnote org-pcomplete org-list org-faces org-entities emacspeak-outline foldout noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs emacspeak-find-func find-func emacspeak-calendar appt diary-lib diary-loaddefs solar cal-dst cal-menu calendar cal-loaddefs emacspeak-tcl tcl emacspeak-folding folding w3-prepare w3 w3-menu w3-emulate w3-auto w3-parse w3-fast-parse emacspeak-w3 emacspeak-google html2text gmaps emacspeak-we emacspeak-xslt w3-display w3-mouse w3-imap url-handlers w3-widget w3-vars w3-keymap w3-cus css font disp-table devices ange-ftp w3-cfg w3-compat emacspeak-sigbegone sigbegone emacspeak-custom cus-edit cus-start smtpmail sendmail gnus-prepare gnus-demon nntp emacspeak-gnus gm-nnir nnir gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range emacspeak-message message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win emacspeak-hide gnus gnus-ems nnheader mail-utils emacspeak-mspools mspools emacspeak-bbdb bbdb timezone bbdb-autoloads vm-pine vm-macro vm-message vm-autoloads vm-vars vm-version my-functions completion dired-aux dired-x emacspeak-dired emacspeak-desktop desktop frameset dired emacspeak-aumix emacspeak-forms forms-mode forms emacspeak-setup emacspeak-dbus nm dbus xml emacspeak-webspace emacspeak-feeds emacspeak-webutils browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap gf gweb gfeeds g-utils json emacspeak-alsaplayer emacspeak-amark derived emacspeak-advice shell pcomplete comint ring emacspeak-ansi-color ansi-color emacspeak-replace emacspeak-redefine emacspeak-personality emacspeak emacspeak-widget warnings wid-edit emacspeak-facemenu emacspeak-fix-interactive emacspeak-buff-menu g-cus-load cus-load emacspeak-preamble emacspeak-keymap emacspeak-speak time-date emacspeak-pronounce thingatpt dtk-speak flite-voices dtk-interp voice-setup emacspeak-sounds dectalk-voices espeak-voices mac-voices multispeech-voices outloud-voices dtk-unicode byte-opt bytecomp byte-compile cconv descr-text help-mode easymenu dtk-css-speech acss-structure emacspeak-load-path advice help-fns vc-git vc-dispatcher vc-svn cl-macs cl gv cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 8 814730 84699) (symbols 24 61672 4) (miscs 20 183 1678) (strings 16 223418 41308) (string-bytes 1 7034104) (vectors 8 60126) (vector-slots 4 982352 18644) (floats 8 1108 488) (intervals 28 2846 836) (buffers 512 26) (heap 1024 42830 2039))