From unknown Tue Jun 24 22:34:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5723 <5723@debbugs.gnu.org> To: bug#5723 <5723@debbugs.gnu.org> Subject: Status: 23.1.94; make-network-process and emacs hangs Reply-To: bug#5723 <5723@debbugs.gnu.org> Date: Wed, 25 Jun 2025 05:34:15 +0000 retitle 5723 23.1.94; make-network-process and emacs hangs reassign 5723 emacs submitter 5723 Leo severity 5723 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 12:01:36 2010 Received: (at submit) by debbugs.gnu.org; 15 Mar 2010 16:01:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrCjY-0005m6-7w for submit@debbugs.gnu.org; Mon, 15 Mar 2010 12:01:36 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrCjU-0005m1-T8 for submit@debbugs.gnu.org; Mon, 15 Mar 2010 12:01:35 -0400 Received: from lists.gnu.org ([199.232.76.165]:41054) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NrCjP-0000CU-Vd for submit@debbugs.gnu.org; Mon, 15 Mar 2010 12:01:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrCjP-00029N-He for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:01:27 -0400 Received: from [140.186.70.92] (port=43363 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrCjN-000297-9z for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:01:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrCjL-0000C1-6h for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:01:24 -0400 Received: from ppsw-0.csi.cam.ac.uk ([131.111.8.130]:53322) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrCjL-0000BT-2P for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:01:23 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from wlan-gw.st-edmunds.cam.ac.uk ([131.111.223.101]:49247 helo=Victoria.local) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NrCjJ-0002Xs-1Q (Exim 4.70) for bug-gnu-emacs@gnu.org (return-path ); Mon, 15 Mar 2010 16:01:21 +0000 From: Leo To: bug-gnu-emacs@gnu.org Subject: 23.1.94; make-network-process and emacs hangs Date: Mon, 15 Mar 2010 16:01:20 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) The source code of make-network-process (around line 3648 in process.c) seems to suggest that this function is blocking and my experience can confirm the case. When there's no network connection, make-network-process returns in a short duration. Where it become nasty is in a network where certain ports are blocked, for example, in my uni's wireless network, the irc port is blocked and if I accidentally run M-x irc then emacs hangs for hours. Could this be improved i.e. by wrapping it in with-local-quit? Thanks. In GNU Emacs 23.1.94.1 (x86_64-apple-darwin10.2.0, Carbon Version 1.6.0 AppKit 1038.25) of 2010-03-14 on Victoria.local Windowing system distributor `Apple Inc.', version 10.6.2 configured using `configure '--prefix=/usr/local/unix/emacs' '--with-mac' 'CFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 14:24:59 2010 Received: (at 5723) by debbugs.gnu.org; 15 Mar 2010 18:24:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrEyJ-0006lK-JB for submit@debbugs.gnu.org; Mon, 15 Mar 2010 14:24:59 -0400 Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrEyH-0006lC-G0 for 5723@debbugs.gnu.org; Mon, 15 Mar 2010 14:24:58 -0400 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id o2FIOlCc022253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Mar 2010 11:24:48 -0700 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id o2FIOkjE003621; Mon, 15 Mar 2010 11:24:47 -0700 (PDT) Date: Mon, 15 Mar 2010 11:24:47 -0700 (PDT) Message-Id: <201003151824.o2FIOkjE003621@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs References: X-Debbugs-No-Ack: yes In-Reply-To: (Leo's message of "Mon, 15 Mar 2010 16:01:20 +0000") Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: o2FIOlCc022253 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_BZ 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-Spam-Status: No X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Leo writes: > In GNU Emacs 23.1.94.1 (x86_64-apple-darwin10.2.0, Carbon Version 1.6.0 AppKit 1038.25) ^^^^^^^^^^^^^^^^^^^^^^^^^^ > of 2010-03-14 on Victoria.local > Windowing system distributor `Apple Inc.', version 10.6.2 > configured using `configure '--prefix=/usr/local/unix/emacs' '--with-mac' 'CFLAGS='' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Why do you keep reporting bugs to this version here? This is not the proper place to report bugs/ or even discuss that version. Are using M-x report-emacs-bug to do that? If yes, you should request the people that support that version to send the bugs to the appropriate address. If what you report are generic bugs, then you should first reproduce them on either one of our releases / pretest versions or the bzr tree, and send a bug report for that version. Thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 15:22:53 2010 Received: (at 5723) by debbugs.gnu.org; 15 Mar 2010 19:22:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrFsL-00078J-DS for submit@debbugs.gnu.org; Mon, 15 Mar 2010 15:22:53 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrFsK-00078D-2L for 5723@debbugs.gnu.org; Mon, 15 Mar 2010 15:22:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAC4mnktFpZMX/2dsb2JhbACaa3S5Z4R7BIsP X-IronPort-AV: E=Sophos;i="4.49,645,1262581200"; d="scan'208";a="58290061" Received: from 69-165-147-23.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.23]) by ironport2-out.pppoe.ca with ESMTP; 15 Mar 2010 15:22:46 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1787C8828; Mon, 15 Mar 2010 15:22:46 -0400 (EDT) From: Stefan Monnier To: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs Message-ID: References: Date: Mon, 15 Mar 2010 15:22:46 -0400 In-Reply-To: (Leo's message of "Mon, 15 Mar 2010 16:01:20 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > Could this be improved i.e. by wrapping it in with-local-quit? If it's called somewhere where C-g doesn't work, yes it's a bug. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 18:53:08 2010 Received: (at submit) by debbugs.gnu.org; 15 Mar 2010 22:53:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrJ9o-0008TM-BV for submit@debbugs.gnu.org; Mon, 15 Mar 2010 18:53:08 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrJ7B-0008Rx-Gg for submit@debbugs.gnu.org; Mon, 15 Mar 2010 18:50:28 -0400 Received: from lists.gnu.org ([199.232.76.165]:59096) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NrJ77-00066s-O4 for submit@debbugs.gnu.org; Mon, 15 Mar 2010 18:50:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrJ77-0000Kt-6l for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 18:50:21 -0400 Received: from [140.186.70.92] (port=42123 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrJ74-0000Kc-Ha for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 18:50:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrJ70-0007cd-W6 for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 18:50:18 -0400 Received: from lo.gmane.org ([80.91.229.12]:57865) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrJ70-0007af-PV for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 18:50:14 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NrJ6i-0007Bz-5v for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 23:49:56 +0100 Received: from dial-183205.pool.broadband44.net ([212.46.183.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 23:49:56 +0100 Received: from eller.helmut by dial-183205.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 23:49:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Helmut Eller Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs Date: Mon, 15 Mar 2010 23:49:25 +0100 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dial-183205.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:anBezafYq/yPh4gqF1/80csEcKc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 15 Mar 2010 18:53:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) * Stefan Monnier [2010-03-15 20:22+0100] writes: >> Could this be improved i.e. by wrapping it in with-local-quit? > > If it's called somewhere where C-g doesn't work, yes it's a bug. make-network-process calls getaddrinfo and C-g doesn't work properly during that call. It's only observable if the name server is slow or misconfigured. glibc has a asynchronous variant getaddrinfo_a (in libanl.so) which uses threads internally and quickly passes control back to the caller. That could be used on GNU/Linux but the OP uses a Mac. Helmut From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 20:45:22 2010 Received: (at 5723) by debbugs.gnu.org; 16 Mar 2010 00:45:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrKuQ-0000hr-KT for submit@debbugs.gnu.org; Mon, 15 Mar 2010 20:45:22 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrKuO-0000hl-0L for 5723@debbugs.gnu.org; Mon, 15 Mar 2010 20:45:21 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 972ADC0557; Tue, 16 Mar 2010 09:45:12 +0900 (JST) Date: Tue, 16 Mar 2010 09:45:12 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Helmut Eller Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org, Leo , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >>>>> On Mon, 15 Mar 2010 23:49:25 +0100, Helmut Eller said: > * Stefan Monnier [2010-03-15 20:22+0100] writes: >>> Could this be improved i.e. by wrapping it in with-local-quit? >> >> If it's called somewhere where C-g doesn't work, yes it's a bug. > make-network-process calls getaddrinfo and C-g doesn't work properly > during that call. It's only observable if the name server is slow > or misconfigured. > glibc has a asynchronous variant getaddrinfo_a (in libanl.so) which > uses threads internally and quickly passes control back to the > caller. That could be used on GNU/Linux but the OP uses a Mac. I guess OP's case is about `connect' rather than `getaddrinfo'. http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00148.html Leo, can you check where it blocks (using GDB), and whether giving --without-sync-input as a configure option changes the situation (using the X11 build, preferably)? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 17 07:53:18 2010 Received: (at 5723) by debbugs.gnu.org; 17 Mar 2010 11:53:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrroL-00076k-T0 for submit@debbugs.gnu.org; Wed, 17 Mar 2010 07:53:18 -0400 Received: from ppsw-5.csi.cam.ac.uk ([131.111.8.135]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrroK-00076f-A1 for 5723@debbugs.gnu.org; Wed, 17 Mar 2010 07:53:16 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:49590) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NrroE-0006Ef-Hk (Exim 4.70) (return-path ); Wed, 17 Mar 2010 11:53:10 +0000 From: Leo To: Stefan Monnier Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs References: Date: Wed, 17 Mar 2010 11:53:09 +0000 In-Reply-To: (Stefan Monnier's message of "Mon, 15 Mar 2010 15:22:46 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On 2010-03-15 19:22 +0000, Stefan Monnier wrote: >> Could this be improved i.e. by wrapping it in with-local-quit? > > If it's called somewhere where C-g doesn't work, yes it's a bug. > > > Stefan Sorry for the delay. C-g does not work neither does with-local-quit. I think the problem needs to be addressed somewhere else. Leo From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 17 08:01:26 2010 Received: (at 5723) by debbugs.gnu.org; 17 Mar 2010 12:01:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrrwE-0007An-8N for submit@debbugs.gnu.org; Wed, 17 Mar 2010 08:01:26 -0400 Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrrwA-0007Ah-K3 for 5723@debbugs.gnu.org; Wed, 17 Mar 2010 08:01:24 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:36023) by ppsw-7.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1Nrrw4-0001gm-Nn (Exim 4.70) (return-path ); Wed, 17 Mar 2010 12:01:16 +0000 From: Leo To: YAMAMOTO Mitsuharu Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs References: Date: Wed, 17 Mar 2010 12:01:16 +0000 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Tue, 16 Mar 2010 09:45:12 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org, Helmut Eller X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On 2010-03-16 00:45 +0000, YAMAMOTO Mitsuharu wrote: >> make-network-process calls getaddrinfo and C-g doesn't work properly >> during that call. It's only observable if the name server is slow >> or misconfigured. > >> glibc has a asynchronous variant getaddrinfo_a (in libanl.so) which >> uses threads internally and quickly passes control back to the >> caller. That could be used on GNU/Linux but the OP uses a Mac. > > I guess OP's case is about `connect' rather than `getaddrinfo'. > > http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00148.html > > Leo, can you check where it blocks (using GDB), and whether giving > --without-sync-input as a configure option changes the situation > (using the X11 build, preferably)? With this option and build emacs with X11, I can't start the gui version, getting this error: Xlib: unexpected async reply (sequence 0x5c)! Starting emacs with emacs -nw I can quit with C-g nicely. I have no luck with --with-mac, C-g still can not stop the process. Leo From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 17 21:57:27 2010 Received: (at 5723) by debbugs.gnu.org; 18 Mar 2010 01:57:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns4zH-00042f-7i for submit@debbugs.gnu.org; Wed, 17 Mar 2010 21:57:27 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns4zD-00042a-Hg for 5723@debbugs.gnu.org; Wed, 17 Mar 2010 21:57:25 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 28FE4C0557; Thu, 18 Mar 2010 10:57:17 +0900 (JST) Date: Thu, 18 Mar 2010 10:57:17 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org, Helmut Eller , YAMAMOTO Mitsuharu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >>>>> On Wed, 17 Mar 2010 12:01:16 +0000, Leo said: >> I guess OP's case is about `connect' rather than `getaddrinfo'. >> >> http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00148.html >> >> Leo, can you check where it blocks (using GDB), and whether giving >> --without-sync-input as a configure option changes the situation >> (using the X11 build, preferably)? > With this option and build emacs with X11, I can't start the gui > version, getting this error: > Xlib: unexpected async reply (sequence 0x5c)! > Starting emacs with emacs -nw I can quit with C-g nicely. > I have no luck with --with-mac, C-g still can not stop the process. The Carbon port and its descendants use polling with SIGALRM to check whether C-g is pressed. The systems without SIGIO (such as Solaris 8) work similarly even with X11. If your case blocks at `connect', then it can't be quit with C-g regardless of SYNC_INPUT on those ports/systems, because atimer is turned off during the `connect' call. immediate_quit = 1; QUIT; /* This turns off all alarm-based interrupts; the bind_polling_period call above doesn't always turn all the short-interval ones off, especially if interrupt_input is set. It'd be nice to be able to control the connect timeout though. Would non-blocking connect calls be portable? This used to be conditioned by HAVE_GETADDRINFO. Why? */ turn_on_atimers (0); ret = connect (s, lres->ai_addr, lres->ai_addrlen); xerrno = errno; turn_on_atimers (1); Again, could you check if it actually blocks at `connect', using GDB? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 17 22:20:36 2010 Received: (at 5723) by debbugs.gnu.org; 18 Mar 2010 02:20:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns5Lf-0004Af-S0 for submit@debbugs.gnu.org; Wed, 17 Mar 2010 22:20:36 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns5LR-0004AW-6v for 5723@debbugs.gnu.org; Wed, 17 Mar 2010 22:20:34 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 7199BC0557; Thu, 18 Mar 2010 11:20:14 +0900 (JST) Date: Thu, 18 Mar 2010 11:20:14 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >>>>> On Wed, 17 Mar 2010 12:01:16 +0000, Leo said: >> I guess OP's case is about `connect' rather than `getaddrinfo'. >> >> http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00148.html >> >> Leo, can you check where it blocks (using GDB), and whether giving >> --without-sync-input as a configure option changes the situation >> (using the X11 build, preferably)? > With this option and build emacs with X11, I can't start the gui > version, getting this error: > Xlib: unexpected async reply (sequence 0x5c)! I found a missing BLOCK_INPUT that may or may not be related to this: === modified file 'src/xfns.c' *** src/xfns.c 2010-03-15 17:16:46 +0000 --- src/xfns.c 2010-03-18 02:14:30 +0000 *************** *** 3347,3353 **** --- 3347,3355 ---- #ifdef USE_LUCID /* Prevent lwlib/xlwmenu.c from crashing because of a bug whereby it fails to get any font. */ + BLOCK_INPUT; xlwmenu_default_font = XLoadQueryFont (FRAME_X_DISPLAY (f), "fixed"); + UNBLOCK_INPUT; #endif /* Frame contents get displaced if an embedded X window has a border. */ Could you try if C-g works for you case on X11 builds, both --with-sync-input and --without-sync-input? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 03:44:23 2010 Received: (at submit) by debbugs.gnu.org; 18 Mar 2010 07:44:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAP0-0005zh-NP for submit@debbugs.gnu.org; Thu, 18 Mar 2010 03:44:22 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAOv-0005zb-VM for submit@debbugs.gnu.org; Thu, 18 Mar 2010 03:44:20 -0400 Received: from lists.gnu.org ([199.232.76.165]:42236) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NsAOr-0005Nn-Te for submit@debbugs.gnu.org; Thu, 18 Mar 2010 03:44:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsAOo-0007Cy-E7 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:10 -0400 Received: from [140.186.70.92] (port=56035 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsAOi-0007CS-UA for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsAOf-0007tr-Vv for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:04 -0400 Received: from lo.gmane.org ([80.91.229.12]:59519) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAOf-0007tW-OB for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:01 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NsAOa-0007Pt-C6 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 08:43:56 +0100 Received: from dial-181203.pool.broadband44.net ([212.46.181.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 08:43:56 +0100 Received: from eller.helmut by dial-181203.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 08:43:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Helmut Eller Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs Date: Thu, 18 Mar 2010 08:43:45 +0100 Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dial-181203.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:jq55lEhK5iXpLZuZVBM0g/ZdAj4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) * YAMAMOTO Mitsuharu [2010-03-18 02:57+0100] writes: > If your case blocks at `connect', then > it can't be quit with C-g regardless of SYNC_INPUT on those > ports/systems, because atimer is turned off during the `connect' call. Why is the timer turned off around connect? Handling SIGALARM during connect doesn't seem much different from handling SIGIO. Helmut From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 05:06:30 2010 Received: (at 5723) by debbugs.gnu.org; 18 Mar 2010 09:06:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsBgT-0006Ux-UK for submit@debbugs.gnu.org; Thu, 18 Mar 2010 05:06:30 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsBgQ-0006Ur-Si for 5723@debbugs.gnu.org; Thu, 18 Mar 2010 05:06:28 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 9129CC0557; Thu, 18 Mar 2010 18:06:20 +0900 (JST) Date: Thu, 18 Mar 2010 18:06:20 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Helmut Eller Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >>>>> On Thu, 18 Mar 2010 08:43:45 +0100, Helmut Eller said: > * YAMAMOTO Mitsuharu [2010-03-18 02:57+0100] writes: >> If your case blocks at `connect', then it can't be quit with C-g >> regardless of SYNC_INPUT on those ports/systems, because atimer is >> turned off during the `connect' call. > Why is the timer turned off around connect? Handling SIGALARM > during connect doesn't seem much different from handling SIGIO. I think your argument makes sense. I don't know the reason why the timer is turned off around connect. The related code was added by the following change: committer: Ken Raeburn timestamp: Sat 2000-06-24 06:06:53 +0000 message: * process.c (Fopen_network_stream): Turn off atimers for duration of call to connect. (Patch from Gerd.) http://cvs.savannah.gnu.org/viewvc/emacs/src/process.c?root=emacs&r1=1.314&r2=1.315 And as of this change, SIGIO was also disabled. 25249 kwzh@gn | /* Kernel bugs (on Ultrix at least) cause lossage (not just EINTR) 25249 kwzh@gn | when connect is interrupted. So let's not let it get interrupted. 25249 kwzh@gn | Note we do not turn off polling, because polling is only used 25249 kwzh@gn | when not interrupt_input, and thus not normally used on the systems 25249 kwzh@gn | which have this bug. On systems which use polling, there's no way 25249 kwzh@gn | to quit if polling is turned off. */ 25249 kwzh@gn | if (interrupt_input) 25249 kwzh@gn | unrequest_sigio (); 25249 kwzh@gn | 25249 kwzh@gn | immediate_quit = 1; 25249 kwzh@gn | QUIT; 25249 kwzh@gn | 29922 raeburn | /* This turns off all alarm-based interrupts; the 29922 raeburn | bind_polling_period call above doesn't always turn all the 29922 raeburn | short-interval ones off, especially if interrupt_input is 29922 raeburn | set. 29922 raeburn | 29922 raeburn | It'd be nice to be able to control the connect timeout 29922 raeburn | though. Would non-blocking connect calls be portable? */ 29922 raeburn | turn_on_atimers (0); 25249 kwzh@gn | ret = connect (s, lres->ai_addr, lres->ai_addrlen); 29922 raeburn | turn_on_atimers (1); Does anyone have the mailing list archive around 2000-06? It's not found at list.gnu.org. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 05:59:08 2010 Received: (at submit) by debbugs.gnu.org; 18 Mar 2010 09:59:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsCVD-0006nw-MP for submit@debbugs.gnu.org; Thu, 18 Mar 2010 05:59:07 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsCVB-0006nq-EY for submit@debbugs.gnu.org; Thu, 18 Mar 2010 05:58:54 -0400 Received: from lists.gnu.org ([199.232.76.165]:60916) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NsCV8-0003Yl-Qo for submit@debbugs.gnu.org; Thu, 18 Mar 2010 05:58:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsCV8-0005rK-8V for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 05:58:50 -0400 Received: from [140.186.70.92] (port=39914 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsCV6-0005r4-JT for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 05:58:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsCV3-0004wB-Sv for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 05:58:48 -0400 Received: from lo.gmane.org ([80.91.229.12]:57604) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsCV3-0004w1-D0 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 05:58:45 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NsCV2-0004gb-Gv for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 10:58:44 +0100 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 10:58:44 +0100 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 10:58:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs Date: Thu, 18 Mar 2010 09:58:29 +0000 Organization: University of Cambridge Lines: 59 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:6JDV3jRgDml0pEBOHT/kJ4bPBVs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) On 2010-03-18 01:57 +0000, YAMAMOTO Mitsuharu wrote: > The Carbon port and its descendants use polling with SIGALRM to check > whether C-g is pressed. The systems without SIGIO (such as Solaris 8) > work similarly even with X11. If your case blocks at `connect', then > it can't be quit with C-g regardless of SYNC_INPUT on those > ports/systems, because atimer is turned off during the `connect' call. > > immediate_quit = 1; > QUIT; > > /* This turns off all alarm-based interrupts; the > bind_polling_period call above doesn't always turn all the > short-interval ones off, especially if interrupt_input is > set. > > It'd be nice to be able to control the connect timeout > though. Would non-blocking connect calls be portable? > > This used to be conditioned by HAVE_GETADDRINFO. Why? */ > > turn_on_atimers (0); > > ret = connect (s, lres->ai_addr, lres->ai_addrlen); > xerrno = errno; > > turn_on_atimers (1); > > Again, could you check if it actually blocks at `connect', using GDB? It looks like it. See: #0 0x00007fff828c3f66 in connect () #1 0x000000010014d715 in Fmake_network_process () #2 0x0000000100106a17 in Ffuncall () #3 0x0000000100142407 in Fbyte_code () #4 0x00000001001062fc in funcall_lambda () #5 0x000000010010670f in Ffuncall () #6 0x0000000100142407 in Fbyte_code () #7 0x0000000100105d60 in Feval () #8 0x0000000100108841 in internal_lisp_condition_case () #9 0x0000000100141471 in Fbyte_code () #10 0x00000001001062fc in funcall_lambda () #11 0x000000010010670f in Ffuncall () #12 0x000000010010337f in Fcall_interactively () #13 0x0000000100106958 in Ffuncall () #14 0x0000000100106af6 in call3 () #15 0x00000001000935c0 in Fexecute_extended_command () #16 0x000000010010697e in Ffuncall () #17 0x000000010010337f in Fcall_interactively () #18 0x0000000100106958 in Ffuncall () #19 0x0000000100106af6 in call3 () #20 0x00000001000a125d in command_loop_1 () #21 0x0000000100104e27 in internal_condition_case () #22 0x00000001000985ee in command_loop_2 () #23 0x0000000100104f30 in internal_catch () #24 0x0000000100099018 in command_loop () #25 0x000000010009948f in recursive_edit_1 () #26 0x000000010009962b in Frecursive_edit () #27 0x000000010008eea7 in main () From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 06:05:16 2010 Received: (at submit) by debbugs.gnu.org; 18 Mar 2010 10:05:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsCbM-0006qi-36 for submit@debbugs.gnu.org; Thu, 18 Mar 2010 06:05:16 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsCbK-0006qc-1K for submit@debbugs.gnu.org; Thu, 18 Mar 2010 06:05:14 -0400 Received: from lists.gnu.org ([199.232.76.165]:56233) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NsCbH-0003lz-36 for submit@debbugs.gnu.org; Thu, 18 Mar 2010 06:05:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsCbG-0001jd-KK for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 06:05:10 -0400 Received: from [140.186.70.92] (port=38216 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsCbE-0001h8-O0 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 06:05:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsCbC-0005hY-Uj for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 06:05:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:57731) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsCbC-0005hN-No for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 06:05:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NsCb9-0007Dk-Uq for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 11:05:03 +0100 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 11:05:03 +0100 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 11:05:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs Date: Thu, 18 Mar 2010 10:00:41 +0000 Organization: University of Cambridge Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:tuAm+1MA/HxVAd/0Gb2Zt1cfaTI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) On 2010-03-18 02:20 +0000, YAMAMOTO Mitsuharu wrote: >> With this option and build emacs with X11, I can't start the gui >> version, getting this error: > >> Xlib: unexpected async reply (sequence 0x5c)! > > I found a missing BLOCK_INPUT that may or may not be related to this: > > === modified file 'src/xfns.c' > *** src/xfns.c 2010-03-15 17:16:46 +0000 > --- src/xfns.c 2010-03-18 02:14:30 +0000 > *************** > *** 3347,3353 **** > --- 3347,3355 ---- > #ifdef USE_LUCID > /* Prevent lwlib/xlwmenu.c from crashing because of a bug > whereby it fails to get any font. */ > + BLOCK_INPUT; > xlwmenu_default_font = XLoadQueryFont (FRAME_X_DISPLAY (f), "fixed"); > + UNBLOCK_INPUT; > #endif > > /* Frame contents get displaced if an embedded X window has a border. */ > > Could you try if C-g works for you case on X11 builds, both > --with-sync-input and --without-sync-input? Yes, I can now start emacs X11 and C-g can stop the hang for both --with-sync-input and --without-sync-input. It would great if something like this is available to mac-port ;) Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 06:37:18 2010 Received: (at 5723) by debbugs.gnu.org; 18 Mar 2010 10:37:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsD6L-00075P-Rl for submit@debbugs.gnu.org; Thu, 18 Mar 2010 06:37:18 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsD6I-00075I-Ko for 5723@debbugs.gnu.org; Thu, 18 Mar 2010 06:37:15 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 775D5C0557; Thu, 18 Mar 2010 19:37:06 +0900 (JST) Date: Thu, 18 Mar 2010 19:37:06 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >>>>> On Thu, 18 Mar 2010 10:00:41 +0000, Leo said: >> Could you try if C-g works for you case on X11 builds, both >> --with-sync-input and --without-sync-input? > Yes, I can now start emacs X11 and C-g can stop the hang for both > --with-sync-input and --without-sync-input. > It would great if something like this is available to mac-port ;) Perhaps we can try to see if removal of the `turn_on_atimers' calls around `connect' can solve the problem without introducing any bad effect. If it works, then it will contribute not only to the Mac port but also the NS port and non-SIGIO systems such as Solaris 8. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 06:47:30 2010 Received: (at 5723) by debbugs.gnu.org; 18 Mar 2010 10:47:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsDGE-00079i-8a for submit@debbugs.gnu.org; Thu, 18 Mar 2010 06:47:30 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsDGC-00079d-Hp for 5723@debbugs.gnu.org; Thu, 18 Mar 2010 06:47:29 -0400 Received: by wwb13 with SMTP id 13so242758wwb.3 for <5723@debbugs.gnu.org>; Thu, 18 Mar 2010 03:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FwFyEZ4NcDJLj7iwpyRG4buZQ2S1MJaZqiutoo9/KcE=; b=wzPzcAUL57D5NYNO207L6u2+bwYCG9JvMtEUVo/Sy2Q4dj9cT8W4qw7ufeIC8wg+uh lxyT++Q9lbG3pzjMHhM4Rw9ObpH6OmYiJeadfVkP8TfNqA2FWwbrFaQXcnxtKqOOUgmR 3sHzbOeote+Bl1r1QA246ZkjSMFAUN2Pdgato= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HH/MXsEZnc3W+srOIvIVc9yBBFyq+jS+ma48GjYIsvMpmSc+fms8lsMBSfW9Ug9Zd/ fvSqOKjbCVmGk3jWcGm2vcATCPT4/RLlehJy7enu0jBHWv1qTlZUc6lisICK+JLvie// NtAAs595JscPmOscnXNOcaey9jNmcpZqr6KVc= MIME-Version: 1.0 Received: by 10.216.88.79 with SMTP id z57mr602681wee.22.1268909242814; Thu, 18 Mar 2010 03:47:22 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Mar 2010 10:47:22 +0000 Message-ID: <20a0c1021003180347g705a70c9oc995bd8c916c3442@mail.gmail.com> Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs From: Leo To: YAMAMOTO Mitsuharu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On 18 March 2010 10:37, YAMAMOTO Mitsuharu wrote: >>>>>> On Thu, 18 Mar 2010 10:00:41 +0000, Leo said: > >>> Could you try if C-g works for you case on X11 builds, both >>> --with-sync-input and --without-sync-input? > >> Yes, I can now start emacs X11 and C-g can stop the hang for both >> --with-sync-input and --without-sync-input. > >> It would great if something like this is available to mac-port ;) > > Perhaps we can try to see if removal of the `turn_on_atimers' calls > around `connect' can solve the problem without introducing any bad > effect. =A0If it works, then it will contribute not only to the Mac port > but also the NS port and non-SIGIO systems such as Solaris 8. > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Y= AMAMOTO Mitsuharu > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0mituharu@m= ath.s.chiba-u.ac.jp > I tried that and I can now quit with C-g although not as immediate as in the X11 build. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 07:01:33 2010 Received: (at 5723) by debbugs.gnu.org; 18 Mar 2010 11:01:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsDTp-0007F9-LG for submit@debbugs.gnu.org; Thu, 18 Mar 2010 07:01:33 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsDTa-0007F4-Ry for 5723@debbugs.gnu.org; Thu, 18 Mar 2010 07:01:31 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 18012C0557; Thu, 18 Mar 2010 20:01:11 +0900 (JST) Date: Thu, 18 Mar 2010 20:01:11 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Leo Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: <20a0c1021003180347g705a70c9oc995bd8c916c3442@mail.gmail.com> References: <20a0c1021003180347g705a70c9oc995bd8c916c3442@mail.gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >>>>> On Thu, 18 Mar 2010 10:47:22 +0000, Leo said: >> Perhaps we can try to see if removal of the `turn_on_atimers' calls >> around `connect' can solve the problem without introducing any bad >> effect. =A0If it works, then it will contribute not only to the Mac >> port but also the NS port and non-SIGIO systems such as Solaris 8. > I tried that and I can now quit with C-g although not as immediate as > in the X11 build. Thanks for testing. The delay was expected because the use of atimer means periodic polling. Unlike X11, window events for Carbon or Cocoa don't come from socket, so we can't use SIGIO. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 21:47:29 2010 Received: (at 5723) by debbugs.gnu.org; 19 Mar 2010 01:47:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsRIz-0006tI-5j for submit@debbugs.gnu.org; Thu, 18 Mar 2010 21:47:29 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsRIu-0006tC-88 for 5723@debbugs.gnu.org; Thu, 18 Mar 2010 21:47:15 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 2A8A9C0557; Fri, 19 Mar 2010 10:47:05 +0900 (JST) Date: Fri, 19 Mar 2010 10:47:05 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Helmut Eller Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) >>>>> On Thu, 18 Mar 2010 18:06:20 +0900, YAMAMOTO Mitsuharu said: >>> If your case blocks at `connect', then it can't be quit with C-g >>> regardless of SYNC_INPUT on those ports/systems, because atimer is >>> turned off during the `connect' call. >> Why is the timer turned off around connect? Handling SIGALARM >> during connect doesn't seem much different from handling SIGIO. > I think your argument makes sense. The current code closes the socket and call `connect' again if (blocking) `connect' is interrupted by a signal. 2004-11-09 Kim F. Storm * process.c (Fmake_network_process): Remove kludge for interrupted connects on BSD. If connect is interrupted, just close socket and start over rather than sleeping and retry with same socket. (http://cvs.savannah.gnu.org/viewvc/emacs/src/process.c?root=emacs&r1=1.443&r2=1.444) UNIX Network Programming (Richard Stevens et al.) says "What we must do in this scenario is call /select/" (Section 16,5, Volume 1 third edition). Also, POSIX says: If connect() is interrupted by a signal that is caught while blocked waiting to establish a connection, connect() shall fail and set errno to [EINTR], but the connection request shall not be aborted, and the connection shall be established asynchronously. ... When the connection has been established asynchronously, select() and poll() shall indicate that the file descriptor for the socket is ready for writing. (http://www.opengroup.org/onlinepubs/000095399/functions/connect.html) Perhaps we should try this, not just removing `turn_on_atimers' calls. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 19 02:42:31 2010 Received: (at submit) by debbugs.gnu.org; 19 Mar 2010 06:42:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsVug-0000fp-PR for submit@debbugs.gnu.org; Fri, 19 Mar 2010 02:42:31 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsVuZ-0000fk-At for submit@debbugs.gnu.org; Fri, 19 Mar 2010 02:42:28 -0400 Received: from lists.gnu.org ([199.232.76.165]:36063) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NsVuW-0007jF-0A for submit@debbugs.gnu.org; Fri, 19 Mar 2010 02:42:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsVuV-0006re-Es for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 02:42:19 -0400 Received: from [140.186.70.92] (port=42539 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsVuT-0006rW-0G for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 02:42:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsVuQ-0001T4-0N for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 02:42:16 -0400 Received: from lo.gmane.org ([80.91.229.12]:59619) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsVuP-0001Sn-Mk for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 02:42:13 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NsVuO-0000YT-QJ for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 07:42:12 +0100 Received: from dial-181203.pool.broadband44.net ([212.46.181.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Mar 2010 07:42:12 +0100 Received: from eller.helmut by dial-181203.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Mar 2010 07:42:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Helmut Eller Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs Date: Fri, 19 Mar 2010 07:41:54 +0100 Lines: 50 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dial-181203.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:CRn4QLRrpkqGr4RT5qzY7Nj4lo4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.7 (-----) * YAMAMOTO Mitsuharu [2010-03-19 02:47+0100] writes: >>>>>> On Thu, 18 Mar 2010 18:06:20 +0900, YAMAMOTO Mitsuharu said: > >>>> If your case blocks at `connect', then it can't be quit with C-g >>>> regardless of SYNC_INPUT on those ports/systems, because atimer is >>>> turned off during the `connect' call. > >>> Why is the timer turned off around connect? Handling SIGALARM >>> during connect doesn't seem much different from handling SIGIO. > >> I think your argument makes sense. > > The current code closes the socket and call `connect' again if > (blocking) `connect' is interrupted by a signal. > > 2004-11-09 Kim F. Storm > > * process.c (Fmake_network_process): Remove kludge for interrupted > connects on BSD. If connect is interrupted, just close socket and > start over rather than sleeping and retry with same socket. > > (http://cvs.savannah.gnu.org/viewvc/emacs/src/process.c?root=emacs&r1=1.443&r2=1.444) > > UNIX Network Programming (Richard Stevens et al.) says "What we must > do in this scenario is call /select/" (Section 16,5, Volume 1 third > edition). > > Also, POSIX says: > > If connect() is interrupted by a signal that is caught while blocked > waiting to establish a connection, connect() shall fail and set > errno to [EINTR], but the connection request shall not be aborted, > and the connection shall be established asynchronously. > > ... > > When the connection has been established asynchronously, select() > and poll() shall indicate that the file descriptor for the socket is > ready for writing. > > (http://www.opengroup.org/onlinepubs/000095399/functions/connect.html) > > Perhaps we should try this, not just removing `turn_on_atimers' calls. I had reported that already in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5173 but was silently ignored. Helmut From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 19 06:21:53 2010 Received: (at 5723) by debbugs.gnu.org; 19 Mar 2010 10:21:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsZKz-00022B-EW for submit@debbugs.gnu.org; Fri, 19 Mar 2010 06:21:53 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsZKv-000226-TS for 5723@debbugs.gnu.org; Fri, 19 Mar 2010 06:21:52 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id C4BEDC0557; Fri, 19 Mar 2010 19:21:43 +0900 (JST) Date: Fri, 19 Mar 2010 19:21:43 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Helmut Eller , Chong Yidong , Stefan Monnier Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) >>>>> On Fri, 19 Mar 2010 07:41:54 +0100, Helmut Eller said: >> The current code closes the socket and call `connect' again if >> (blocking) `connect' is interrupted by a signal. >> >> 2004-11-09 Kim F. Storm >> >> * process.c (Fmake_network_process): Remove kludge for interrupted >> connects on BSD. If connect is interrupted, just close socket and >> start over rather than sleeping and retry with same socket. >> >> (http://cvs.savannah.gnu.org/viewvc/emacs/src/process.c?root=emacs&r1=1.443&r2=1.444) >> >> UNIX Network Programming (Richard Stevens et al.) says "What we must >> do in this scenario is call /select/" (Section 16,5, Volume 1 third >> edition). (snip) >> Perhaps we should try this, not just removing `turn_on_atimers' calls. > I had reported that already in > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5173 > but was silently ignored. Oh, I didn't notice that. I think the essential part of the suggested code, as well as the removal of turn_on_atimers calls, should go to the trunk for further testing on various platforms. Maintainers, what do you think? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 19 09:30:04 2010 Received: (at 5723) by debbugs.gnu.org; 19 Mar 2010 13:30:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NscH6-0003uD-FH for submit@debbugs.gnu.org; Fri, 19 Mar 2010 09:30:04 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NscH2-0003tc-UE for 5723@debbugs.gnu.org; Fri, 19 Mar 2010 09:30:02 -0400 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o2JDTrqQ020110; Fri, 19 Mar 2010 09:29:53 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id F195A40473; Fri, 19 Mar 2010 09:29:52 -0400 (EDT) From: Stefan Monnier To: YAMAMOTO Mitsuharu Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs Message-ID: References: Date: Fri, 19 Mar 2010 09:29:52 -0400 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 19 Mar 2010 19:21:43 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3494=0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 5723 Cc: Chong Yidong , 5723@debbugs.gnu.org, Helmut Eller X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > I think the essential part of the suggested code, as well as the > removal of turn_on_atimers calls, should go to the trunk for further > testing on various platforms. Maintainers, what do you think? I'm not very knowledgeable when it comes to network coding, but it sounds right. It's at least worth a try. Could I first see the corresponding patch, tho? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 19 20:30:44 2010 Received: (at 5723) by debbugs.gnu.org; 20 Mar 2010 00:30:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsmaR-0000k1-Un for submit@debbugs.gnu.org; Fri, 19 Mar 2010 20:30:44 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsmaB-0000ju-93 for 5723@debbugs.gnu.org; Fri, 19 Mar 2010 20:30:41 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 406C2C0557; Sat, 20 Mar 2010 09:30:20 +0900 (JST) Date: Sat, 20 Mar 2010 09:30:20 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Stefan Monnier Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 5723 Cc: Chong Yidong , 5723@debbugs.gnu.org, Helmut Eller , YAMAMOTO Mitsuharu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) >>>>> On Fri, 19 Mar 2010 09:29:52 -0400, Stefan Monnier said: >> I think the essential part of the suggested code, as well as the >> removal of turn_on_atimers calls, should go to the trunk for >> further testing on various platforms. Maintainers, what do you >> think? > I'm not very knowledgeable when it comes to network coding, but it > sounds right. It's at least worth a try. Could I first see the > corresponding patch, tho? Helmut's patch is available from http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5173 . YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 20 08:34:16 2010 Received: (at 5723) by debbugs.gnu.org; 20 Mar 2010 12:34:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nsxse-0005gv-8f for submit@debbugs.gnu.org; Sat, 20 Mar 2010 08:34:16 -0400 Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nsxsa-0005gq-HA for 5723@debbugs.gnu.org; Sat, 20 Mar 2010 08:34:15 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:44859) by ppsw-7.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NsxsT-0002XC-PU (Exim 4.70) (return-path ); Sat, 20 Mar 2010 12:34:05 +0000 From: Leo To: YAMAMOTO Mitsuharu Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs References: Date: Sat, 20 Mar 2010 12:34:05 +0000 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 19 Mar 2010 19:21:43 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5723 Cc: Chong Yidong , 5723@debbugs.gnu.org, Helmut Eller , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On 2010-03-19 10:21 +0000, YAMAMOTO Mitsuharu wrote: > Oh, I didn't notice that. > > I think the essential part of the suggested code, as well as the > removal of turn_on_atimers calls, should go to the trunk for further > testing on various platforms. Maintainers, what do you think? > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp I have applied the patch and removed turn_on_atimers calls. Everything seems to work perfectly. Leo From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 18:00:14 2010 Received: (at 5723) by debbugs.gnu.org; 24 Mar 2010 22:00:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuYcY-0004df-H4 for submit@debbugs.gnu.org; Wed, 24 Mar 2010 18:00:14 -0400 Received: from pantheon-po25.its.yale.edu ([130.132.50.119]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuYcW-0004R9-RY for 5723@debbugs.gnu.org; Wed, 24 Mar 2010 18:00:13 -0400 Received: from furry (dhcp128036014175.central.yale.edu [128.36.14.175]) (authenticated bits=0) by pantheon-po25.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o2OM08GH022320 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Mar 2010 18:00:08 -0400 Received: by furry (Postfix, from userid 1000) id C83BFC011; Wed, 24 Mar 2010 18:00:08 -0400 (EDT) From: Chong Yidong To: YAMAMOTO Mitsuharu Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs References: Date: Wed, 24 Mar 2010 18:00:08 -0400 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 19 Mar 2010 19:21:43 +0900") Message-ID: <87k4t1pehj.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org, Helmut Eller , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) YAMAMOTO Mitsuharu writes: > I think the essential part of the suggested code, as well as the > removal of turn_on_atimers calls, should go to the trunk for further > testing on various platforms. Maintainers, what do you think? I have looked through the patch, and it looks plausible to me. But I am not an expert on networking. I think you should go ahead and check it into the trunk for testing. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 19:31:09 2010 Received: (at 5723) by debbugs.gnu.org; 24 Mar 2010 23:31:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nua2X-0005O1-5n for submit@debbugs.gnu.org; Wed, 24 Mar 2010 19:31:09 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nua2U-0005Ng-Tg for 5723@debbugs.gnu.org; Wed, 24 Mar 2010 19:31:08 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 5CE82C0557; Thu, 25 Mar 2010 08:31:00 +0900 (JST) Date: Thu, 25 Mar 2010 08:31:00 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Chong Yidong Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs In-Reply-To: <87k4t1pehj.fsf@stupidchicken.com> References: <87k4t1pehj.fsf@stupidchicken.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org, Helmut Eller , Stefan Monnier , YAMAMOTO Mitsuharu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) >>>>> On Wed, 24 Mar 2010 18:00:08 -0400, Chong Yidong said: >> I think the essential part of the suggested code, as well as the >> removal of turn_on_atimers calls, should go to the trunk for >> further testing on various platforms. Maintainers, what do you >> think? > I have looked through the patch, and it looks plausible to me. But > I am not an expert on networking. I think you should go ahead and > check it into the trunk for testing. Could you take care of the copyright assignment process if necessary? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 21:25:13 2010 Received: (at 5723) by debbugs.gnu.org; 25 Mar 2010 01:25:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nubov-00063Z-9Q for submit@debbugs.gnu.org; Wed, 24 Mar 2010 21:25:13 -0400 Received: from pantheon-po25.its.yale.edu ([130.132.50.119]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nubos-00063U-JE for 5723@debbugs.gnu.org; Wed, 24 Mar 2010 21:25:10 -0400 Received: from furry (dhcp128036014175.central.yale.edu [128.36.14.175]) (authenticated bits=0) by pantheon-po25.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o2P1P6KX000670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Mar 2010 21:25:06 -0400 Received: by furry (Postfix, from userid 1000) id 17C25C011; Wed, 24 Mar 2010 21:25:07 -0400 (EDT) From: Chong Yidong To: YAMAMOTO Mitsuharu Subject: Re: bug#5723: 23.1.94; make-network-process and emacs hangs References: <87k4t1pehj.fsf@stupidchicken.com> Date: Wed, 24 Mar 2010 21:25:07 -0400 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Thu, 25 Mar 2010 08:31:00 +0900") Message-ID: <87ocidjiq4.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 5723 Cc: 5723@debbugs.gnu.org, Helmut Eller , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) YAMAMOTO Mitsuharu writes: >> I have looked through the patch, and it looks plausible to me. But >> I am not an expert on networking. I think you should go ahead and >> check it into the trunk for testing. > > Could you take care of the copyright assignment process if necessary? Helmut Eller already has an assignment on file. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 05:00:34 2010 Received: (at 5723-done) by debbugs.gnu.org; 25 Mar 2010 09:00:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nuiva-0000ij-Cp for submit@debbugs.gnu.org; Thu, 25 Mar 2010 05:00:34 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuivY-0000ie-Oj for 5723-done@debbugs.gnu.org; Thu, 25 Mar 2010 05:00:33 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 3EC45C0557 for <5723-done@debbugs.gnu.org>; Thu, 25 Mar 2010 18:00:29 +0900 (JST) Date: Thu, 25 Mar 2010 18:00:29 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: 5723-done@debbugs.gnu.org User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 5723-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) Closed with this change: revno: 99751 committer: YAMAMOTO Mitsuharu branch nick: trunk timestamp: Thu 2010-03-25 17:56:15 +0900 message: Don't call turn_on_atimers around `connect' (Bug#5723). From unknown Tue Jun 24 22:34:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Apr 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator