GNU bug report logs - #17337
epg-wait-for-status hangs forever

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Fri, 25 Apr 2014 01:37:02 UTC

Severity: normal

Tags: moreinfo

Merged with 17561, 17628

Found in version 24.4.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 17337 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 17337 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: Re: bug#17337: epg-wait-for-status hangs forever
Date: Wed, 14 May 2014 13:01:30 -0400
>     (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




This bug report was last modified 10 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.