From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22093 invoked by alias); 21 Jul 2014 16:00:28 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 22062 invoked by uid 89); 21 Jul 2014 16:00:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: p3plsmtpa08-08.prod.phx3.secureserver.net Received: from p3plsmtpa08-08.prod.phx3.secureserver.net (HELO p3plsmtpa08-08.prod.phx3.secureserver.net) (173.201.193.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 21 Jul 2014 16:00:24 +0000 Received: from [10.0.1.110] ([72.209.18.161]) by p3plsmtpa08-08.prod.phx3.secureserver.net with id V40N1o00D3UWwwg0140NwN; Mon, 21 Jul 2014 09:00:23 -0700 Message-ID: <53CD3917.4060305@codespunk.com> Date: Mon, 21 Jul 2014 16:00:00 -0000 From: "Matt D." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: xinit hangs on XWin infinite loop when using -displayfd References: <53CC6789.4000601@codespunk.com> <53CD368C.3060509@codespunk.com> In-Reply-To: <53CD368C.3060509@codespunk.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00015.txt.bz2 Ok.. so I let xinit do its thing to see if it got anywhere. Eventually it will pop and error box. Interestingly, I specified a displayfd value of "3" and yet both the popup and the log are reporting "5": http://oi58.tinypic.com/106fono.jpg My XWin.0.log is about 15MB of repeated attempts to open a socket. Here is a snippet. I hope this helps: InitConnectionLimits: MaxClients = 255 Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.15.1.0 OS: CYGWIN_NT-5.1 matthew-17ffb52 1.7.30(0.272/5/3) 2014-05-23 10:36 i686 OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32) Snapshot: 20140709-git-2e9c13ea41c51df7 XWin was started with the following command line: X -displayfd 5 ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1062 h 703 winInitializeScreenDefaults - native DPI x 96 y 96 ddxProcessArgument - arg: -displayfd Trying to create socket for display number 0 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/matthew-17ffb52:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 .. Trying to create socket for display number 59534 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/matthew-17ffb52:59534 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 (EE) Fatal server error: (EE) Failed to find a socket to listen on(EE) [ 58128.390] (EE) Server terminated with error (1). Closing log file. Matt D. On 7/21/2014 11:49 AM, Matt D. wrote: > Still hangs with the latest 1.15.1-4 release. > > On my main machine, I get the following output: > > $ xinit -- -displayfd 1 > > read display number ':0' from X server > 0 > > On the VM it just hangs. Taskmanager shows xinit.exe waiting or hung > with XWin.exe churning cycles and eating memory; about 4kB a tick. > > Also on the VM, if I run the following: > > $ xinit -- -displayfd > > Then the display will open. So it seems to be an issue with whatever > code is dealing with the file descriptors. > > > Matt D. > > On 7/20/2014 9:06 PM, Matt D. wrote: >> The operating system is Windows XP Professional. It is a CLEAN install >> on a VMware virtual machine and is 100% patched up. Cygwin also is a >> clean install. I did try a rebaseall with no effect. >> >> This is the first time I've encountered this. When I run "xinit -- >> -displayfd 3", xinit will hang and XWin takes up 100% of the cpu. >> >> I've confirmed that file descriptors are working: >> >> $ exec 3>a >> $ echo "test" >&3 >> $ cat a >> test >> $ exec 3>&- >> >> I can confirm that ports are available and that both xinit and XWin work >> without this argument by running: >> >> $ xinit -- >> >> Everything else works fine but without "-displayfd" I can't record where >> the display is for this session to disk. >> >> I've also tried copying known-working Cygwin installs into the VM and >> still have the same error. Copying the erroring install from the VM >> outside and running it on my development machine (Windows 7 x64) does >> not generate an error. >> >> Unless something stands out here, I can provide the VMware image for >> testing (how convenient). >> >> >> Matt D. >> >> -- >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> Problem reports: http://cygwin.com/problems.html >> Documentation: http://x.cygwin.com/docs/ >> FAQ: http://x.cygwin.com/docs/faq/ >> >> >> > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/