all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17337@debbugs.gnu.org
Subject: bug#17337: epg-wait-for-status hangs forever
Date: Thu, 15 May 2014 11:03:44 -0400	[thread overview]
Message-ID: <E1WkxCC-0000Gh-Ah@fencepost.gnu.org> (raw)
In-Reply-To: <83wqdonzld.fsf@gnu.org> (message from Eli Zaretskii on Wed, 14 May 2014 18:34:38 +0300)

[[[ 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.






  parent reply	other threads:[~2014-05-15 15:03 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
2014-05-15 15:03         ` Richard Stallman
2014-05-15 15:03       ` Richard Stallman
2014-05-15 15:03       ` Richard Stallman [this message]
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=E1WkxCC-0000Gh-Ah@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=17337@debbugs.gnu.org \
    --cc=eliz@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.