From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: FOR-RELEASE: Windows related bugs Date: Sun, 18 Jun 2006 00:42:12 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150584299 27791 80.91.229.2 (17 Jun 2006 22:44:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Jun 2006 22:44:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 18 00:44:55 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FrjX8-0002uJ-Kd for ged-emacs-devel@m.gmane.org; Sun, 18 Jun 2006 00:44:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FrjX8-0003dA-5O for ged-emacs-devel@m.gmane.org; Sat, 17 Jun 2006 18:44:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FrjWu-0003bS-NX for emacs-devel@gnu.org; Sat, 17 Jun 2006 18:44:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FrjWs-0003Xj-KT for emacs-devel@gnu.org; Sat, 17 Jun 2006 18:44:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FrjWs-0003XR-FB for emacs-devel@gnu.org; Sat, 17 Jun 2006 18:44:34 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Frjgo-0002sF-Oo for emacs-devel@gnu.org; Sat, 17 Jun 2006 18:54:50 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id BB082FAC017 for ; Sun, 18 Jun 2006 00:44:15 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55971 Archived-At: Would someone please look at the following Windows specific problems which preferably should be solved before the release. ** Markus Gritsch's report about Emacs looping on Windoze with the following emacs file, and then reduce Emacs frame width to "something quite narrow": (setq-default truncate-lines t) (custom-set-variables '(hscroll-margin 20) '(hscroll-step 1) ) ** TCP server processes do not work on Windows. TCP/IP server processes created with `make-network-process' consume excesive CPU on some Windows environments. Usages of 50% and 100% CPU time have been observed on different Window XP configurations. Seems to be a problem in sys_select in w32proc.c. In its current form, it sys_select says the socket is ready, so we call server_accept_connection which again calls accept() which returns -1 with errno == WSAEWOULDBLOCK (10035) indicating that there is no pending connection to accept. It seems that to fix this, w32 server sockets must use WSAAsyncSelect + FD_ACCEPT to request notifications of incoming connections... -- Kim F. Storm http://www.cua.dk