From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: epa problem has returned Date: Sun, 25 May 2014 12:01:03 -0400 Message-ID: References: <83wqdbjttp.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1401033697 13917 80.91.229.3 (25 May 2014 16:01:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 May 2014 16:01:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 25 18:01:33 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Woara-00049C-3c for ged-emacs-devel@m.gmane.org; Sun, 25 May 2014 18:01:30 +0200 Original-Received: from localhost ([::1]:51958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoarY-00067Z-SW for ged-emacs-devel@m.gmane.org; Sun, 25 May 2014 12:01:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoarB-0005WW-91 for emacs-devel@gnu.org; Sun, 25 May 2014 12:01:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoarA-00052k-Ew for emacs-devel@gnu.org; Sun, 25 May 2014 12:01:05 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoarA-00052e-CD for emacs-devel@gnu.org; Sun, 25 May 2014 12:01:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Woar9-0008Ig-Iw; Sun, 25 May 2014 12:01:03 -0400 In-reply-to: <83wqdbjttp.fsf@gnu.org> (message from Eli Zaretskii on Sat, 24 May 2014 14:32:18 +0300) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172079 Archived-At: [[[ 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. ]]] When it hangs, can you attach GDB and show where is it looping? I don't understand how come accept-process-output could hang when it is called with a timeout of 1 sec. I am running all the time under GDB. I stopped it with a signal during that hang and it was hung in `read', called from `emacs_read', called from `read_process_output', called from `wait_running_process_output'. I put a breakpoint on the line in `emacs_read' that calls read, and it gets called over and over. `read' returns 0. Another time it was in pselect called from xg_select called from wait_running_process_output. I tried stepping and saw that it went around the big loop in wait_running_process_output (starting at line 4333) and did not exit it. I don't know where and how it is supposed to exit, so I could not tell why it was wrong. I can't recall, and can't find, the GDB command to direct GDB output to a file. Is the process object with which accept-process-output is called alive at the time of the hang? Yes. The process status is `run'. -- 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.