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


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 17337 <at> debbugs.gnu.org
Subject: bug#17337: epg-wait-for-status hangs forever
Date: Thu, 15 May 2014 11:03:44 -0400
[[[ 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.





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.