From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17337@debbugs.gnu.org, rms@gnu.org
Subject: bug#17337: epg-wait-for-status hangs forever
Date: Wed, 14 May 2014 13:01:30 -0400 [thread overview]
Message-ID: <jwvegzwuwkw.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <83wqdonzld.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 May 2014 18:34:38 +0300")
> (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
next prev parent reply other threads:[~2014-05-14 17:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 1:33 bug#17337: epg-wait-for-status hangs forever Richard Stallman
2014-05-13 17:23 ` Eli Zaretskii
2014-05-14 11:51 ` Richard Stallman
2014-05-14 15:34 ` Eli Zaretskii
2014-05-14 17:01 ` Stefan Monnier [this message]
2014-05-15 15:03 ` Richard Stallman
2014-05-15 15:03 ` Richard Stallman
2014-05-15 15:03 ` Richard Stallman
2014-05-19 9:37 ` Richard Stallman
2014-05-18 11:26 ` bug#17337: EPG bug seems to have gone away Richard Stallman
2014-05-19 9:35 ` bug#17337: epa problem has returned Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvegzwuwkw.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=17337@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.