From unknown Thu Jun 19 14:03:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17337 <17337@debbugs.gnu.org> To: bug#17337 <17337@debbugs.gnu.org> Subject: Status: epg-wait-for-status hangs forever Reply-To: bug#17337 <17337@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:03:08 +0000 retitle 17337 epg-wait-for-status hangs forever reassign 17337 emacs submitter 17337 rms@gnu.org severity 17337 normal tag 17337 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 24 21:36:17 2014 Received: (at submit) by debbugs.gnu.org; 25 Apr 2014 01:36:17 +0000 Received: from localhost ([127.0.0.1]:57636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WdV3n-0004AK-WE for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:36:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51867) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WdV3l-0004AC-HV for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:36:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdV2y-0006qq-2J for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:36:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdV2x-0006qi-Ue for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:35:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdV2A-0007nP-Ar for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 21:35:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdV14-0005f2-FA for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 21:34:34 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdV14-0005et-Bi for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 21:33:26 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WdV13-0008Pg-UB; Thu, 24 Apr 2014 21:33:25 -0400 Date: Thu, 24 Apr 2014 21:33:25 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: bug-gnu-emacs@gnu.org Subject: epg-wait-for-status hangs forever 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Yesterday I updated from the trunk and rebuilt. epa-mail-encrypt and rmail-epa-decrypt now do not terminate. I got the backtrace below from typing C-g at the latter. I verified that the call to epg-wait-for-status never returns. It displays `Decrypting...done', but seems to keep waiting. I went back to the old Emacs executable from March 19, made from the trunk fetched on March 18, and aliased function-put to put. It worked ok: with the same compiled Lisp files, the hang does not happen. ====================================================================== accept-process-output(#> 1) epg-wait-for-status((epg-context . [OpenPGP "/usr/bin/X11/gpg" nil nil nil nil nil nil nil (epa-passphrase-callback-function) (epa-progress-callback-function . "Decrypting...") nil nil #> "/tmp/epg-output127242zO" ((decryption-okay . t) (encrypted-to ("879A7C37B1B10ED6" 16 0))) decrypt nil]) ("BEGIN_DECRYPTION")) (if (eq (epg-context-protocol context) (quote CMS)) nil (epg-wait-for-status context (quote ("BEGIN_DECRYPTION")))) epg-start-decrypt((epg-context . [OpenPGP "/usr/bin/X11/gpg" nil nil nil nil nil nil nil (epa-passphrase-callback-function) (epa-progress-callback-function . "Decrypting...") nil nil #> "/tmp/epg-output127242zO" ((decryption-okay . t) (encrypted-to ("879A7C37B1B10ED6" 16 0))) decrypt nil]) (epg-data . ["/tmp/epg-input12724ppI" nil])) (progn (write-region cipher nil input-file nil (quote quiet)) (epg-context-set-output-file context (epg--make-temp-file "epg-output")) (epg-start-decrypt context (epg-make-data-from-file input-file)) (epg-wait-for-completion context) (epg--check-error-for-decrypt context) (epg-read-output context)) (unwind-protect (progn (write-region cipher nil input-file nil (quote quiet)) (epg-context-set-output-file context (epg--make-temp-file "epg-output")) (epg-start-decrypt context (epg-make-data-from-file input-file)) (epg-wait-for-completion context) (epg--check-error-for-decrypt context) (epg-read-output context)) (epg-delete-output-file context) (if (file-exists-p input-file) (delete-file input-file)) (epg-reset context)) (let ((input-file (epg--make-temp-file "epg-input")) (coding-system-for-write (quote binary))) (unwind-protect (progn (write-region cipher nil input-file nil (quote quiet)) (epg-context-set-output-file context (epg--make-temp-file "epg-output")) (epg-start-decrypt context (epg-make-data-from-file input-file)) (epg-wait-for-completion context) (epg--check-error-for-decrypt context) (epg-read-output context)) (epg-delete-output-file context) (if (file-exists-p input-file) (delete-file input-file)) (epg-reset context))) epg-decrypt-string((epg-context . [OpenPGP "/usr/bin/X11/gpg" nil nil nil nil nil nil nil (epa-passphrase-callback-function) (epa-progress-callback-function . "Decrypting...") nil nil #> "/tmp/epg-output127242zO" ((decryption-okay . t) (encrypted-to ("879A7C37B1B10ED6" 16 0))) decrypt nil]) "-----BEGIN PGP MESSAGE-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\n\nhQEOA4eafDexsQ7WEAQAj/IzHzG41Xl04P9d3aykxHKE4S4AUmCyybhymnVmWdKf\n/22JX7iVIShGB5eyPpiHMkR+l0F6NqclnlDsFyJDfNW++NbL0LY3/Ot86o6KF5Gq\nUP4h1yi6f5VwQI84eMBCM9sst5ZQtyXJXo4+CwovysJEhVz4NbfL+FK3VAlGkzYD\n/37qCj1Ms0M2n8ogCnH4JejW5Qg39dRfWpNd9Noq5JxyH1rKboaTJF+P2GpA60xx\noQJgq1itOoLfgOf8AQhd5JEj4KmwliWbjmZxlN0GMh8xo8+fTIxeOOj0cVLrycW0\nt4Q1fyLG5iThcmWMaGv7wr+chhJCAn3I0quyQ4W5EC2X0ukBUgXKWJzKaRHxU5qG\nMw25QyAbgcYGqrmgKJy2IFkrKAzDZ4qc9OtQB1xJt/0x/LdlrvfNsDvjHaQPNl2u\nkmVE2tzKZVwlkogjlsuFZnn30WSBvlMNRxFSgHJiOHE7Bq98d7VAk111Vw/7LZn6\nPvNZVu61rUSw9KE79nt19lwv4nxFNLr4RDd69jxCaJANvONzFcSxzGcJ1sqjSL4J\nsTNMflaCT/f8QfNzO4PRvV6svPDm2aJOELoY9qQ7sRdGGcSngLTEbjVyLMCTtVgI\nAxtOKqfs4KNIKbBmfkEfxR3ePp5RWDQjKN0dn7JdCKIplMuca1vQurtOo/me9+Xg\nXnHW3lWfneuye03gK907I9G5mTqyf2qWSsQ6yBCEYNoFOLLtr/kOX9x2UB7hNpxs\n9tyEbngYavyQNIQZ7pucTAYwa/eUEzbfONyxPr7PM8fJkI4oY5hK20qJ5zqW8zH6\nhlMhFgO6FSrqViO/YjObD7pTQkj1iKesZB3tlaLx/AqbkKuU7dS0NpcAsj14jwxi\nkLnuv098ZYBZ6YCykz01rk7yCx2qYoV6azcO/Y8Qe2xpk3l+CLVyaiViTQc3JryE\nXtaTUldkJZHvMAQ0RuJa6C4Xk26EFxNPC0esGt6yCJqErkuhY/Gjo3yc+MfOKbB7\n6V/ZBQecgOYBAevzX07fkcfqCnUuUZnapGLSAdm6HQWXhiqVDuhBF6ssyrDv0j5J\nCk3lpoE5kZfHRjAAeIbBEzNH3rn6uCwREVc5ZGe3gcMEEsq94/RGm/EziDSgSdOR\nVhPGEmeRUVfic5pf+Z5NzoJe4aeAVpTl3zPjHUNFjFVu2Hr+ev7lFps=\n=ORAS\n-----END PGP MESSAGE-----") (setq plain (epg-decrypt-string context (buffer-substring start end))) (let ((context (epg-make-context epa-protocol)) plain) (epg-context-set-passphrase-callback context (function epa-passphrase-callback-function)) (epg-context-set-progress-callback context (cons (function epa-progress-callback-function) "Decrypting...")) (message "Step 2") (sit-for 1) (message "Decrypting...") (setq plain (epg-decrypt-string context (buffer-substring start end))) (message "Step 3") (sit-for 1) (message "Decrypting...done") (debug t) (setq plain (epa--decode-coding-string plain (or coding-system-for-read (get-text-property start (quote epa-coding-system-used)) (quote undecided)))) (message "Decoding done") (if make-buffer-function (save-current-buffer (set-buffer (funcall make-buffer-function)) (let ((inhibit-read-only t)) (insert plain))) (if (y-or-n-p "Replace the original text? ") (let ((inhibit-read-only t)) (delete-region start end) (goto-char start) (insert plain)) (let* ((old-dir default-directory) (buf (save-current-buffer (set-buffer ...) (prog1 ... ... ... ... ... ... ...))) (standard-output buf)) (prog1 (progn (set-buffer standard-output) (insert plain) (epa-info-mode)) (internal-temp-output-buffer-show buf))))) (if (epg-context-result-for context (quote verify)) (epa-display-info (epg-verify-result-to-string (epg-context-result-for context (quote verify)))))) (save-excursion (let ((context (epg-make-context epa-protocol)) plain) (epg-context-set-passphrase-callback context (function epa-passphrase-callback-function)) (epg-context-set-progress-callback context (cons (function epa-progress-callback-function) "Decrypting...")) (message "Step 2") (sit-for 1) (message "Decrypting...") (setq plain (epg-decrypt-string context (buffer-substring start end))) (message "Step 3") (sit-for 1) (message "Decrypting...done") (debug t) (setq plain (epa--decode-coding-string plain (or coding-system-for-read (get-text-property start (quote epa-coding-system-used)) (quote undecided)))) (message "Decoding done") (if make-buffer-function (save-current-buffer (set-buffer (funcall make-buffer-function)) (let ((inhibit-read-only t)) (insert plain))) (if (y-or-n-p "Replace the original text? ") (let ((inhibit-read-only t)) (delete-region start end) (goto-char start) (insert plain)) (let* ((old-dir default-directory) (buf (save-current-buffer ... ...)) (standard-output buf)) (prog1 (progn (set-buffer standard-output) (insert plain) (epa-info-mode)) (internal-temp-output-buffer-show buf))))) (if (epg-context-result-for context (quote verify)) (epa-display-info (epg-verify-result-to-string (epg-context-result-for context (quote verify))))))) epa-decrypt-region(1 1323 (lambda nil (let ((inhibit-read-only t)) (delete-region armor-start armor-end) (goto-char armor-start) (current-buffer)))) (let ((coding-system-for-read coding-system-for-read) armor-start armor-end after-end) (setq armor-start (match-beginning 0) armor-end (re-search-forward "^-----END PGP MESSAGE-----$" nil t)) (if armor-end nil (error "Encryption armor beginning has no matching end")) (goto-char armor-start) (require (quote epa)) (if coding-system-for-read nil (if (re-search-forward "^Charset: \\(.*\\)" armor-end t) (setq coding-system-for-read (epa--find-coding-system-for-mime-charset (intern (downcase (match-string 1))))))) (goto-char armor-end) (setq after-end (- (point-max) armor-end)) (epa-decrypt-region armor-start armor-end (function (lambda nil (let ((inhibit-read-only t)) (delete-region armor-start armor-end) (goto-char armor-start) (current-buffer))))) (setq decrypts (cons (list armor-start (- (point-max) after-end)) decrypts))) (while (re-search-forward "-----BEGIN PGP MESSAGE-----$" nil t) (let ((coding-system-for-read coding-system-for-read) armor-start armor-end after-end) (setq armor-start (match-beginning 0) armor-end (re-search-forward "^-----END PGP MESSAGE-----$" nil t)) (if armor-end nil (error "Encryption armor beginning has no matching end")) (goto-char armor-start) (require (quote epa)) (if coding-system-for-read nil (if (re-search-forward "^Charset: \\(.*\\)" armor-end t) (setq coding-system-for-read (epa--find-coding-system-for-mime-charset (intern (downcase ...)))))) (goto-char armor-end) (setq after-end (- (point-max) armor-end)) (epa-decrypt-region armor-start armor-end (function (lambda nil (let ((inhibit-read-only t)) (delete-region armor-start armor-end) (goto-char armor-start) (current-buffer))))) (setq decrypts (cons (list armor-start (- (point-max) after-end)) decrypts)))) (let (decrypts) (goto-char (point-min)) (if (and (rmail-mime-message-p) (not (get-text-property (point-min) (quote rmail-mime-hidden)))) (progn (rmail-mime))) (goto-char (point-min)) (while (re-search-forward "-----BEGIN PGP MESSAGE-----$" nil t) (let ((coding-system-for-read coding-system-for-read) armor-start armor-end after-end) (setq armor-start (match-beginning 0) armor-end (re-search-forward "^-----END PGP MESSAGE-----$" nil t)) (if armor-end nil (error "Encryption armor beginning has no matching end")) (goto-char armor-start) (require (quote epa)) (if coding-system-for-read nil (if (re-search-forward "^Charset: \\(.*\\)" armor-end t) (setq coding-system-for-read (epa--find-coding-system-for-mime-charset (intern ...))))) (goto-char armor-end) (setq after-end (- (point-max) armor-end)) (epa-decrypt-region armor-start armor-end (function (lambda nil (let (...) (delete-region armor-start armor-end) (goto-char armor-start) (current-buffer))))) (setq decrypts (cons (list armor-start (- (point-max) after-end)) decrypts)))) (if (and decrypts (rmail-buffers-swapped-p)) (progn (if (y-or-n-p "Replace the original message? ") (progn (setq decrypts (nreverse decrypts)) (let ((beg ...) (end ...) (from-buffer ...)) (save-current-buffer (set-buffer rmail-view-buffer) (narrow-to-region beg end) (goto-char ...) (let ... ...)))))))) (save-excursion (let (decrypts) (goto-char (point-min)) (if (and (rmail-mime-message-p) (not (get-text-property (point-min) (quote rmail-mime-hidden)))) (progn (rmail-mime))) (goto-char (point-min)) (while (re-search-forward "-----BEGIN PGP MESSAGE-----$" nil t) (let ((coding-system-for-read coding-system-for-read) armor-start armor-end after-end) (setq armor-start (match-beginning 0) armor-end (re-search-forward "^-----END PGP MESSAGE-----$" nil t)) (if armor-end nil (error "Encryption armor beginning has no matching end")) (goto-char armor-start) (require (quote epa)) (if coding-system-for-read nil (if (re-search-forward "^Charset: \\(.*\\)" armor-end t) (setq coding-system-for-read (epa--find-coding-system-for-mime-charset ...)))) (goto-char armor-end) (setq after-end (- (point-max) armor-end)) (epa-decrypt-region armor-start armor-end (function (lambda nil (let ... ... ... ...)))) (setq decrypts (cons (list armor-start (- ... after-end)) decrypts)))) (if (and decrypts (rmail-buffers-swapped-p)) (progn (if (y-or-n-p "Replace the original message? ") (progn (setq decrypts (nreverse decrypts)) (let (... ... ...) (save-current-buffer ... ... ... ...)))))))) rmail-epa-decrypt() -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Tue May 13 13:24:19 2014 Received: (at submit) by debbugs.gnu.org; 13 May 2014 17:24:19 +0000 Received: from localhost ([127.0.0.1]:34231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkGR9-0002ra-7d for submit@debbugs.gnu.org; Tue, 13 May 2014 13:24:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42005) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkGR7-0002rL-Mq for submit@debbugs.gnu.org; Tue, 13 May 2014 13:24:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkGQt-0002PQ-Ll for submit@debbugs.gnu.org; Tue, 13 May 2014 13:24:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkGQt-0002PM-JW for submit@debbugs.gnu.org; Tue, 13 May 2014 13:24:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkGQn-0003rN-Kt for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 13:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkGQh-0002OX-ND for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 13:23:57 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:59944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkGQh-0002OF-F2; Tue, 13 May 2014 13:23:51 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N5I00C00W03KX00@mtaout28.012.net.il>; Tue, 13 May 2014 20:22:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5I006KQW8T4370@mtaout28.012.net.il>; Tue, 13 May 2014 20:22:06 +0300 (IDT) Date: Tue, 13 May 2014 20:23:44 +0300 From: Eli Zaretskii Subject: Re: epg-wait-for-status hangs forever In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Message-id: <83mwelpp7j.fsf@gnu.org> References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: -5.7 (-----) > Date: Thu, 24 Apr 2014 21:33:25 -0400 > From: Richard Stallman > > Yesterday I updated from the trunk and rebuilt. > epa-mail-encrypt and rmail-epa-decrypt now do not terminate. > I got the backtrace below from typing C-g at the latter. > > I verified that the call to epg-wait-for-status never returns. > It displays `Decrypting...done', but seems to keep waiting. > > I went back to the old Emacs executable from March 19, made from the > trunk fetched on March 18, and aliased function-put to put. It worked > ok: with the same compiled Lisp files, the hang does not happen. AFAIU, you are saying that Lisp files from Apr 23 trunk work fine with the Emacs binary built from C sources fetched on Mar 18, is that right? If so, I don't think I see changes to C sources during that period which could explain such a bug. May I suggest to take a look at the changes done during this period, and perhaps experiment with reverting changes that look suspicious? Below are some bzr commands which will allow you to review the changes at several levels of granularity: This command will show a list of all the files that were changed between these two dates: bzr st -r date:2014-03-18..date:2014-04-24 This command will show the changes made in a single file between these 2 dates (src/process.c as an example): bzr diff -r date:2014-03-18..date:2014-04-24 src/process.c This command will show all the changes made in the C sources between these 2 dates: bzr diff -r date:2014-03-18..date:2014-04-24 src If you try changing some file, and later want to undo those changes, you can do that by saying "bzr revert FILE". Just "bzr revert" will undo changes in all the files. Or maybe the problem is triggered by one of the pre-loaded Lisp files? In that case, another thing to try is use C sources from Mar 18, but pre-loaded Lisp files from Apr 24. From debbugs-submit-bounces@debbugs.gnu.org Wed May 14 07:51:40 2014 Received: (at submit) by debbugs.gnu.org; 14 May 2014 11:51:40 +0000 Received: from localhost ([127.0.0.1]:34797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkXil-0006FI-39 for submit@debbugs.gnu.org; Wed, 14 May 2014 07:51:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57812) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkXii-0006F1-BU for submit@debbugs.gnu.org; Wed, 14 May 2014 07:51:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkXic-0000Lk-5H for submit@debbugs.gnu.org; Wed, 14 May 2014 07:51:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkXic-0000Lf-2i for submit@debbugs.gnu.org; Wed, 14 May 2014 07:51:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkXib-0004iT-5B for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 07:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkXia-0000Iu-D6 for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 07:51:29 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkXia-0000Iq-9Y for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 07:51:28 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WkXiZ-00069V-PU; Wed, 14 May 2014 07:51:27 -0400 Date: Wed, 14 May 2014 07:51:27 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: <83mwelpp7j.fsf@gnu.org> (message from Eli Zaretskii on Tue, 13 May 2014 20:23:44 +0300) Subject: Re: epg-wait-for-status hangs forever References: <83mwelpp7j.fsf@gnu.org> 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] AFAIU, you are saying that Lisp files from Apr 23 trunk work fine with the Emacs binary built from C sources fetched on Mar 18, is that right? Yes. Or maybe the problem is triggered by one of the pre-loaded Lisp files? In that case, another thing to try is use C sources from Mar 18, but pre-loaded Lisp files from Apr 24. It is not feasible for me to do things like that. It takes hours to recompile on this machine. Below are some bzr commands which will allow you to review the changes at several levels of granularity: This is probably a lot of work. I can't spend hours on this. I have work leading the free software movement, speaking, etc. The Emacs developers are the ones who need to fix this. Have you been able to reproduce the bug? Does anyone else here M-x rmail-epa-decrypt? Or epa at all? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Wed May 14 11:35:10 2014 Received: (at submit) by debbugs.gnu.org; 14 May 2014 15:35:10 +0000 Received: from localhost ([127.0.0.1]:35329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkbD2-0003zv-VR for submit@debbugs.gnu.org; Wed, 14 May 2014 11:35:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54135) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkbD1-0003zR-5Z for submit@debbugs.gnu.org; Wed, 14 May 2014 11:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkbCp-0003xV-By for submit@debbugs.gnu.org; Wed, 14 May 2014 11:35:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkbCp-0003xN-9e for submit@debbugs.gnu.org; Wed, 14 May 2014 11:34:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkbCj-00035S-Bk for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 11:34:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkbCd-0003w3-BX for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 11:34:49 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:58919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkbCd-0003vO-4L; Wed, 14 May 2014 11:34:43 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N5K00B00LUYBQ00@a-mtaout23.012.net.il>; Wed, 14 May 2014 18:34:41 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5K00BZHLXT8A50@a-mtaout23.012.net.il>; Wed, 14 May 2014 18:34:41 +0300 (IDT) Date: Wed, 14 May 2014 18:34:38 +0300 From: Eli Zaretskii Subject: Re: epg-wait-for-status hangs forever In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Message-id: <83wqdonzld.fsf@gnu.org> References: <83mwelpp7j.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: -5.7 (-----) > Date: Wed, 14 May 2014 07:51:27 -0400 > From: Richard Stallman > CC: bug-gnu-emacs@gnu.org > > Or maybe the problem is triggered by one of the pre-loaded Lisp files? > In that case, another thing to try is use C sources from Mar 18, but > pre-loaded Lisp files from Apr 24. > > It is not feasible for me to do things like that. > It takes hours to recompile on this machine. I didn't mean to recompile. I meant to copy temacs from the Mar 18 build (which I believe you have built already, since you say you tried it) into the Apr 24 tree, and then do "temacs -l loadup dump" there to dump Emacs. This should be easy and fast enough (assuming you do have the temacs binary from Mar 18). You could then use the resulting dumped Emacs with Lisp files from Apr 24, and see if the problem persists. This will allow us to conclude whether changes done in the pre-loaded Lisp files between Mar 18 and Apr 24 could have any relevance to the issue at hand. > Have you been able to reproduce the bug? I can't: I don't have EasyPG installed and set up. > Does anyone else here M-x rmail-epa-decrypt? > Or epa at all? If no one responds or reports they reproduced the problem, perhaps you could find a few moments to shed more light on how it hangs. AFAIU, you saw it stuck in this loop (in epg-wait-for-status): (while (and (eq (process-status (epg-context-process context)) 'run) epg-pending-status-list) (accept-process-output (epg-context-process context) 1)) This means that either (1) epg does not exit when it should, or (2) epg-pending-status-list doesn't become nil, which AFAIU means that no output is ever received from epg, or (3) accept-process-output gets stuck, even though it is called with a 1-sec time-out. Can you tell what is the correct behavior (the one you see in the older binary) that causes this loop to terminate, and which one of the above 3 alternatives causes epg-wait-for-status to never return? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed May 14 13:01:39 2014 Received: (at 17337) by debbugs.gnu.org; 14 May 2014 17:01:39 +0000 Received: from localhost ([127.0.0.1]:35411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkcYk-0007bM-5V for submit@debbugs.gnu.org; Wed, 14 May 2014 13:01:38 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:49762) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkcYh-0007bA-7N for 17337@debbugs.gnu.org; Wed, 14 May 2014 13:01:35 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s4EH1V76009831; Wed, 14 May 2014 13:01:33 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0EFCF601E4; Wed, 14 May 2014 13:01:31 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#17337: epg-wait-for-status hangs forever Message-ID: References: <83mwelpp7j.fsf@gnu.org> <83wqdonzld.fsf@gnu.org> Date: Wed, 14 May 2014 13:01:30 -0400 In-Reply-To: <83wqdonzld.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 May 2014 18:34:38 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4942=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4942> : inlines <867> : streams <1182719> : uri <1756687> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 17337 Cc: 17337@debbugs.gnu.org, rms@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (--) > (while (and (eq (process-status (epg-context-process context)) 'run) > epg-pending-status-list) > (accept-process-output (epg-context-process context) 1)) > This means that either (1) epg does not exit when it should, or > (2) epg-pending-status-list doesn't become nil, which AFAIU means > that no output is ever received from epg, or (3) accept-process-output > gets stuck, even though it is called with a 1-sec time-out. FWIW, I recently saw a hang when opening a foo.gpg file (it hung before asking me for the passphrase). I was in a hurry and had no time to dig much further into the Elisp code to track down the problem, so I swiftly switched to an xterm and did "gpg --use-agent foo.gpg" to decrypt the file, and that hung as well. Apparently it was some kind of communication with the agent. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu May 15 11:03:58 2014 Received: (at submit) by debbugs.gnu.org; 15 May 2014 15:03:58 +0000 Received: from localhost ([127.0.0.1]:36230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkxCP-0005Vc-NF for submit@debbugs.gnu.org; Thu, 15 May 2014 11:03:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40233) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkxCM-0005VL-2w for submit@debbugs.gnu.org; Thu, 15 May 2014 11:03:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkxCF-0004Vg-NL for submit@debbugs.gnu.org; Thu, 15 May 2014 11:03:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkxCF-0004VW-LN for submit@debbugs.gnu.org; Thu, 15 May 2014 11:03:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkxCE-0000pH-MW for bug-gnu-emacs@gnu.org; Thu, 15 May 2014 11:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkxCD-0004Ul-6b for bug-gnu-emacs@gnu.org; Thu, 15 May 2014 11:03:46 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkxCD-0004Ud-3o for bug-gnu-emacs@gnu.org; Thu, 15 May 2014 11:03:45 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WkxCB-0000GP-1B; Thu, 15 May 2014 11:03:43 -0400 Date: Thu, 15 May 2014 11:03:43 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: <83wqdonzld.fsf@gnu.org> (message from Eli Zaretskii on Wed, 14 May 2014 18:34:38 +0300) Subject: Re: epg-wait-for-status hangs forever References: <83mwelpp7j.fsf@gnu.org> <83wqdonzld.fsf@gnu.org> 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I didn't mean to recompile. I meant to copy temacs from the Mar 18 build (which I believe you have built already, since you say you tried it) into the Apr 24 tree, and then do "temacs -l loadup dump" there to dump Emacs. I don't have the old temacs any more. All I have from the March sources is the dumped emacs. It has the preloaded files from March but loads compiled Lisp files that exist now, and those are from the later sources. I could try loading some current versions of the preloaded Lisp files into it. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Thu May 15 11:04:01 2014 Received: (at 17337) by debbugs.gnu.org; 15 May 2014 15:04:01 +0000 Received: from localhost ([127.0.0.1]:36233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkxCT-0005Vw-3t for submit@debbugs.gnu.org; Thu, 15 May 2014 11:04:01 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37648 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkxCP-0005Vd-QH for 17337@debbugs.gnu.org; Thu, 15 May 2014 11:03:58 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WkxCO-0000XU-6o; Thu, 15 May 2014 11:03:56 -0400 Date: Thu, 15 May 2014 11:03:56 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Wed, 14 May 2014 13:01:30 -0400) Subject: Re: bug#17337: epg-wait-for-status hangs forever References: <83mwelpp7j.fsf@gnu.org> <83wqdonzld.fsf@gnu.org> X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17337 Cc: eliz@gnu.org, 17337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I am using gpg-agent, but the communication between gpg and gpg-agent does not hang. I have not changed either of them, and they both still work with the older Emacs version. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Thu May 15 11:04:05 2014 Received: (at submit) by debbugs.gnu.org; 15 May 2014 15:04:05 +0000 Received: from localhost ([127.0.0.1]:36238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkxCW-0005We-RM for submit@debbugs.gnu.org; Thu, 15 May 2014 11:04:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40280) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkxCV-0005Ve-1M for submit@debbugs.gnu.org; Thu, 15 May 2014 11:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkxCL-0004XK-Vi for submit@debbugs.gnu.org; Thu, 15 May 2014 11:03:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkxCL-0004XA-SD for submit@debbugs.gnu.org; Thu, 15 May 2014 11:03:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkxCH-0000tF-Ry for bug-gnu-emacs@gnu.org; Thu, 15 May 2014 11:03:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkxCD-0004Ux-Qz for bug-gnu-emacs@gnu.org; Thu, 15 May 2014 11:03:49 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkxCD-0004Us-O1 for bug-gnu-emacs@gnu.org; Thu, 15 May 2014 11:03:45 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WkxCC-0000Gh-Ah; Thu, 15 May 2014 11:03:44 -0400 Date: Thu, 15 May 2014 11:03:44 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: <83wqdonzld.fsf@gnu.org> (message from Eli Zaretskii on Wed, 14 May 2014 18:34:38 +0300) Subject: Re: epg-wait-for-status hangs forever References: <83mwelpp7j.fsf@gnu.org> <83wqdonzld.fsf@gnu.org> 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] If no one responds or reports they reproduced the problem, perhaps you could find a few moments to shed more light on how it hangs. AFAIU, you saw it stuck in this loop (in epg-wait-for-status): (while (and (eq (process-status (epg-context-process context)) 'run) epg-pending-status-list) (accept-process-output (epg-context-process context) 1)) This means that either (1) epg does not exit when it should, or (2) epg-pending-status-list doesn't become nil, which AFAIU means that no output is ever received from epg, or (3) accept-process-output gets stuck, even though it is called with a 1-sec time-out. I don't know a way to get it into the debugger at that time. Now that you have shown me where it is looping, I can try editing that code. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Sun May 18 12:50:14 2014 Received: (at 17337) by debbugs.gnu.org; 18 May 2014 16:50:14 +0000 Received: from localhost ([127.0.0.1]:52312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wm4Ht-00054S-L8 for submit@debbugs.gnu.org; Sun, 18 May 2014 12:50:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:33341 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wm4Hr-00054J-AT for 17337@debbugs.gnu.org; Sun, 18 May 2014 12:50:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wm4Hq-0004CO-U6 for 17337@debbugs.gnu.org; Sun, 18 May 2014 12:50:10 -0400 From: Richard Stallman To: 17337@debbugs.gnu.org Subject: EPG bug seems to have gone away Date: Sun, 18 May 2014 07:26:01 -0400 Lines: 26 X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Sun May 18 07:26:34 2014 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42753) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1WlzEf-0001XW-TH for rgm@gnu.org; Sun, 18 May 2014 07:26:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlzEe-00018T-NN for rgm@gnu.org; Sun, 18 May 2014 07:26:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlzEe-00018P-LN for rgm@gnu.org; Sun, 18 May 2014 07:26:32 -0400 Received: from localhost ([::1]:43131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlzEe-00030F-Ji for rgm@gnu.org; Sun, 18 May 2014 07:26:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlzEC-0002gq-OD for emacs-devel@gnu.org; Sun, 18 May 2014 07:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlzEB-0000ZV-Ny for emacs-devel@gnu.org; Sun, 18 May 2014 07:26:04 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlzEB-0000ZL-HC for emacs-devel@gnu.org; Sun, 18 May 2014 07:26:03 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WlzE9-0001Cw-Vm; Sun, 18 May 2014 07:26:02 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17337 X-BeenThere: debbugs-submit@debbugs.gnu.org Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I tried to load newer Lisp files into the older Emacs to see if that would make the epa bug happen. It did not happen. So I tried in the newer Emacs, and it did not happen. So I updated the sources and rebuilt, and it did not happen. I guess that's good. Maybe the problem won't come back. Anyway, now I can use the latest version so I will see if the GC bug is gone. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Sun May 18 12:51:19 2014 Received: (at control) by debbugs.gnu.org; 18 May 2014 16:51:19 +0000 Received: from localhost ([127.0.0.1]:52316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wm4Iw-00056I-4v for submit@debbugs.gnu.org; Sun, 18 May 2014 12:51:18 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:33365 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wm4It-00056A-PI for control@debbugs.gnu.org; Sun, 18 May 2014 12:51:16 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wm4It-0004Jp-6D for control@debbugs.gnu.org; Sun, 18 May 2014 12:51:15 -0400 Date: Sun, 18 May 2014 12:51:15 -0400 Message-Id: Subject: control message for bug 17337 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) tag 17337 moreinfo close 17337 From debbugs-submit-bounces@debbugs.gnu.org Mon May 19 05:37:36 2014 Received: (at submit) by debbugs.gnu.org; 19 May 2014 09:37:36 +0000 Received: from localhost ([127.0.0.1]:52881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmK0m-0003JJ-5t for submit@debbugs.gnu.org; Mon, 19 May 2014 05:37:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40340) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmK0j-0003J5-Cq for submit@debbugs.gnu.org; Mon, 19 May 2014 05:37:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmK0a-0001XD-Cu for submit@debbugs.gnu.org; Mon, 19 May 2014 05:37:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmK0a-0001X9-Az for submit@debbugs.gnu.org; Mon, 19 May 2014 05:37:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmK0Z-0007IH-I2 for bug-gnu-emacs@gnu.org; Mon, 19 May 2014 05:37:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmK0Y-0001Wo-NJ for bug-gnu-emacs@gnu.org; Mon, 19 May 2014 05:37:23 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmK0Y-0001Wh-LJ for bug-gnu-emacs@gnu.org; Mon, 19 May 2014 05:37:22 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WmK0Y-0003Hm-0y; Mon, 19 May 2014 05:37:22 -0400 Date: Mon, 19 May 2014 05:37:22 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: <83wqdonzld.fsf@gnu.org> (message from Eli Zaretskii on Wed, 14 May 2014 18:34:38 +0300) Subject: Re: epg-wait-for-status hangs forever References: <83mwelpp7j.fsf@gnu.org> <83wqdonzld.fsf@gnu.org> 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] (while (and (eq (process-status (epg-context-process context)) 'run) epg-pending-status-list) (accept-process-output (epg-context-process context) 1)) This means that either (1) epg does not exit when it should, or (2) epg-pending-status-list doesn't become nil, which AFAIU means that no output is ever received from epg, or (3) accept-process-output gets stuck, even though it is called with a 1-sec time-out. I think accept-process-output fails to return. I put a call to `message' in that loop, and it did output just 3 times, for previous operations I think. The call did not run during the time it was hanging. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Mon May 19 11:42:49 2014 Received: (at 17337) by debbugs.gnu.org; 19 May 2014 15:42:49 +0000 Received: from localhost ([127.0.0.1]:53234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmPi9-0005Vf-4x for submit@debbugs.gnu.org; Mon, 19 May 2014 11:42:49 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53034 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmPi3-0005VS-P3 for 17337@debbugs.gnu.org; Mon, 19 May 2014 11:42:43 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WmPi3-0001kE-8R for 17337@debbugs.gnu.org; Mon, 19 May 2014 11:42:39 -0400 From: Richard Stallman To: 17337@debbugs.gnu.org Subject: epa problem has returned Date: Mon, 19 May 2014 05:35:12 -0400 Lines: 31 X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Mon May 19 05:35:29 2014 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37580) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1WmJyj-0002f4-5h for rgm@gnu.org; Mon, 19 May 2014 05:35:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmJye-0000q3-Rl for rgm@gnu.org; Mon, 19 May 2014 05:35:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJye-0000px-Pw for rgm@gnu.org; Mon, 19 May 2014 05:35:24 -0400 Received: from localhost ([::1]:46903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJye-00043s-Mt for rgm@gnu.org; Mon, 19 May 2014 05:35:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJyV-0003zy-NG for emacs-devel@gnu.org; Mon, 19 May 2014 05:35:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmJyT-0000mO-3s for emacs-devel@gnu.org; Mon, 19 May 2014 05:35:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJyS-0000mK-W8 for emacs-devel@gnu.org; Mon, 19 May 2014 05:35:13 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WmJyS-0002Wh-IG; Mon, 19 May 2014 05:35:12 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17337 X-BeenThere: debbugs-submit@debbugs.gnu.org Reply-To: rms@gnu.org 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: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] The epa problem is not gone. It was never gone. I tested for it with a few messages, and they worked -- but they were all short. Now it appears that sufficiently short messages work but longer ones cause the problem. I tried the idea of loading the latest versions of the preloaded Lisp files into the old dumped Emacs. I loaded all except loaddefs.el, macroexp.el, leim-list.el and the language/* files. The problem does NOT occur when I do that. So it appears the problem is in the C code. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From unknown Thu Jun 19 14:03:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Mon, 19 May 2014 15:43:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Thu May 29 12:23:22 2014 Received: (at control) by debbugs.gnu.org; 29 May 2014 16:23:22 +0000 Received: from localhost ([127.0.0.1]:36299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wq36q-0007G4-RY for submit@debbugs.gnu.org; Thu, 29 May 2014 12:23:21 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36489 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wq36k-0007Fo-2v for control@debbugs.gnu.org; Thu, 29 May 2014 12:23:15 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wq36j-0006Av-Kq for control@debbugs.gnu.org; Thu, 29 May 2014 12:23:09 -0400 Date: Thu, 29 May 2014 12:23:09 -0400 Message-Id: Subject: control message for bug 17628 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) merge 17337 17628 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 03 11:40:28 2014 Received: (at control) by debbugs.gnu.org; 3 Jun 2014 15:40:29 +0000 Received: from localhost ([127.0.0.1]:42421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrqpA-0007u0-FP for submit@debbugs.gnu.org; Tue, 03 Jun 2014 11:40:28 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50489 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wrqp8-0007tr-Mw for control@debbugs.gnu.org; Tue, 03 Jun 2014 11:40:27 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wrqp8-0005Jg-90 for control@debbugs.gnu.org; Tue, 03 Jun 2014 11:40:26 -0400 Date: Tue, 03 Jun 2014 11:40:26 -0400 Message-Id: Subject: control message for bug 17337 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) forcemerge 17561 17337 From unknown Thu Jun 19 14:03:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 02 Jul 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator