X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=nAxRAurk1W8CPH2yaPHH9LNv+rq8P
	Et5JeeFsLHFsM0ZODUKsQIz2moCgEv/QScPhP8x65A7kCS+BVwCRk1H1OnYYwA3L
	D22zOWcvXjOTjeOxFdy46HKeKXK2Kq97m6NsviTerPS4dsNn9xUQm9Tl3Z6WbgB9
	0+SrtACwF5Uxdc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=9ugOdX4oYDluxjzxQ9svJiNIoow=; b=kly
	xBMvemdFPL2TBH5DZlTt8kYHk1UyyYLBv0giUI2BUbTB1Lx6AeO8awE3aPoxfaxu
	BYJaKvH8CiIifizS7xVEmUGh3IcCaxexhPPIwHNXmYuZNwHkA6m30mz5lXvdX9+s
	FdxxMW3Oo6vLl30/IzVnrOAhMLHUg76DipGutjYA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: smtp02asnl.sandia.gov
X-IronPort-MID: 79000677
X-CrossPremisesHeadersFilteredBySendConnector: ES12AMSNLNT.srn.sandia.gov
From: "Kunz, Christopher L" <clkunz@sandia.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: [EXTERNAL] Re: startxwin - xinit unable to connect to X server
Date: Fri, 15 May 2015 17:36:50 +0000
Message-ID: <eebc5010a7b24659802d36fe4c00c574@ES12AMSNLNT.srn.sandia.gov>
References: <4a3f92951e894d9abcc0f184ad983ba1@ES12AMSNLNT.srn.sandia.gov> <55561D71.4020308@dronecode.org.uk>
In-Reply-To: <55561D71.4020308@dronecode.org.uk>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: ES12AMSNLNT.srn.sandia.gov
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-RSA-Action: allow
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t4FHbMBt019239

After installing the 64 bit version of Cygwin, I don't experience this problem.

Backtrace output:

$ gdb --args /usr/bin/Xwin -multiwindow
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/Xwin...(no debugging symbols found)...done.
(gdb) handle SIGSYS nostop
Signal        Stop      Print   Pass to program Description
SIGSYS        No        Yes     Yes             Bad system call
(gdb) r
Starting program: /usr/bin/Xwin -multiwindow
[New Thread 8216.0x1470]
[New Thread 8216.0x22f8]
[New Thread 8216.0x1f34]
[New Thread 8216.0x1f70]
[New Thread 8216.0x1e90]
[New Thread 8216.0x2374]
gdb: unknown target exception 0x80000001 at 0x5dd96d61

Program received signal ?, Unknown signal.
[Switching to Thread 8216.0x2374]
0x5dd96d61 in sysfer!FirstHookFunc ()
   from /cygdrive/c/Windows/SysWOW64/SYSFER.DLL
(gdb) bt full
#0  0x5dd96d61 in sysfer!FirstHookFunc ()
   from /cygdrive/c/Windows/SysWOW64/SYSFER.DLL
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
(gdb)

Thanks.

-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk] 
Sent: Friday, May 15, 2015 09:23
To: Kunz, Christopher L
Cc: cygwin@cygwin.com
Subject: [EXTERNAL] Re: startxwin - xinit unable to connect to X server

On 13/05/2015 19:40, Kunz, Christopher L wrote:
> After updating to the latest Cygwin distribution, I can no longer connect to X server. When I run startxwin (on a fresh Cygwin install), I get the following errors:
>
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
> xinit: server error
>
> The XWin.#.log looks okay, I think (see attached).  I've set DISPLAY to :0.0.

It seems that the X server is crashing while it's still starting up.

I'm afraid I can't reproduce this problem.

If possible, could you follow the "Generating a backtrace when the X server is crashing at startup" instructions at [1], which might shed some light on what is going wrong...

[1] http://x.cygwin.com/devel/backtrace.html

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

