From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13546: 24.2.92; Error(s) when sending emails Date: Fri, 15 Feb 2013 12:10:48 +0200 Message-ID: <83liapubtj.fsf@gnu.org> References: <86ehh9mx93.fsf@somewhere.org> <86libhfj7x.fsf@somewhere.org> <86ham5ffc5.fsf@somewhere.org> <861ud9gsh9.fsf@somewhere.org> <86ip5x3do6.fsf@somewhere.org> <867gmdl73l.fsf@somewhere.org> <83pq043zbn.fsf@gnu.org> <87r4kjkvkt.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1360923096 32398 80.91.229.3 (15 Feb 2013 10:11:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2013 10:11:36 +0000 (UTC) Cc: 13546@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 11:11:57 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1U6IGn-0006cT-H7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 11:11:53 +0100 Original-Received: from localhost ([::1]:52290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6IGT-0000TC-Md for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 05:11:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6IGL-0000T6-6y for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 05:11:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6IGG-0004mQ-He for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 05:11:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6IGG-0004mK-Dy for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 05:11:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U6IGv-0002YD-T8 for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 05:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Feb 2013 10:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13546 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13546-submit@debbugs.gnu.org id=B13546.13609230819727 (code B ref 13546); Fri, 15 Feb 2013 10:12:01 +0000 Original-Received: (at 13546) by debbugs.gnu.org; 15 Feb 2013 10:11:21 +0000 Original-Received: from localhost ([127.0.0.1]:57131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6IGH-0002Wq-0e for submit@debbugs.gnu.org; Fri, 15 Feb 2013 05:11:21 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:35903) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6IGE-0002Wd-4J for 13546@debbugs.gnu.org; Fri, 15 Feb 2013 05:11:20 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MI900F00ANUPF00@a-mtaout23.012.net.il> for 13546@debbugs.gnu.org; Fri, 15 Feb 2013 12:10:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MI900FKZAXLP810@a-mtaout23.012.net.il>; Fri, 15 Feb 2013 12:10:33 +0200 (IST) In-reply-to: <87r4kjkvkt.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71303 Archived-At: > From: Thierry Volpiatto > Date: Thu, 14 Feb 2013 12:01:54 +0100 > > Helm is starting updating (create the first process) after the > `requires-pattern' value of source, for locate it is 3, so when entering > the third char in pattern the process start, return the data through a > process-filter, then stop the process-filter (setq *filter t) and kill > the process. When you enter the 4th char, a new process is created, > killed and so on. The "kill process" part was an important clue, thanks. Using that, I was able to re-create a situation similar to what happens for Sebastien. I installed a few changes on the emacs-24 branch to prevent these problems, so I hope the next pretest will behave better. FWIW, the improved handling of subprocesses on the trunk avoids these problems altogether, at least in the scenario I used to re-create them. (There's still some strange issue with gnutls calls, as reported by Sebastien, which I'm still looking in. Not sure if this is an additional problem or just "how things should work".) > This was just for info in case that help for debugging. Thanks, it helped. Btw, I'm surprised that helm starts an async subprocess, just to kill it after its output was collected. Isn't this exactly what synchronous subprocesses are for? What is the purpose of such a strange design? (except if you wanted to help find bugs in Emacs when async subprocesses are launched and killed at high frequency ;-)