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:subject:to:references:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=TQu8ZOXvrKjxS14L
	yVzwrVu7RaWP200XNrJlrYhVTnugUZ+87kDZmzu7fhIWnXysftCekeDcXXf+5bvo
	stqMxv/8+FUZXlxXkqZ0YNEkTvhz0U3ORX+oQlgWhkdEUxqpBFFhinSL7mdLCfo2
	NStyECiHlJUuoovnoLCt7FWWZOo=
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:subject:to:references:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=BrGwa/rwMGQwumbSQaShOn
	3CtCw=; b=IrMpEWkSD6NS6hMeDzrtskwocJWLrwtCJXKqy0GhAER7ngEJ/E9Tv+
	jihCf4aAIBIgvko6DNSCRgj23DhhaVdcK9grvFOdKIdbCYloYOxXkHyBr3Jse+9c
	zg1NHMTyh3SYp0heryVwU73ONMdoeUvrvBh1G+Ccb4fa73ipmZ/kQ=
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=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: out4-smtp.messagingengine.com
Subject: Re: Aw: Re: Xwin 1.17.2.1 exits early
To: Rainer Blome <rainer.blome@gmx.de>
References: <trinity-3a684fad-a4e7-4ba8-a66e-3a21100ba2c1-1438098203037@3capp-gmx-bs28> <55B8FBFB.3090706@dronecode.org.uk> <trinity-5b9a37ac-8abe-413e-a938-216f53ee29d9-1438192190656@3capp-gmx-bs62>
Cc: cygwin@cygwin.com
From: Jon TURNEY <jon.turney@dronecode.org.uk>
Message-ID: <55B94B0E.2070009@dronecode.org.uk>
Date: Wed, 29 Jul 2015 22:52:14 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <trinity-5b9a37ac-8abe-413e-a938-216f53ee29d9-1438192190656@3capp-gmx-bs62>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 29/07/2015 18:49, Rainer Blome wrote:
> Gesendet: Mittwoch, 29. Juli 2015 um 18:14 Uhr Von: "Jon TURNEY"
>> >I think this is saying that using the start menu shortcuts doesn't work,
>> >but I'm not sure.
> Yes, a few months ago, they stopped working for me.
> For my report this is "merely" context, although I would appreciate it if they worked.
>
> On 28/07/2015 16:43, Rainer Blome wrote:
>>> >>* I tried leaving out all command-line args but "-multiwindow". Still no success.
>> >How about leaving out all command-line args completely?
> Same symptoms, exits after less than a second with same output (didn't diff, though).
>
>>> >>* I used the Cygwin installer to roll back to 1.17.1.5. Still no success.
>> >This tends to argue against that you were using 1.17.1-5 previously, or
>> >that other things e.g. the cygwin DLL were upgraded at the same time.
> Yes, I may have come to 1.17.2 from a release earlier than 1.17.1-5
>
> To be able to work, I installed VcXsrv which has "1.17.0.0" in its version string.
> That mostly works fine, except that it refuses connections from remote SSH-X-forwarding clients
> (did not try to troubleshoot that yet, it's just been a few hours).
>
>>> >>How can I troubleshoot this further?
>> >Can you provide the logfile written by 'strace -o logfile XWin -multiwindow' which might shed some light.
> Yes, attached.

Thanks for this.

> strace-XWin-multiwindow-RB.log
>
> --- Process 7432 created
> --- Process 7432 loaded C:\Windows\SysWOW64\ntdll.dll at 77D80000
> --- Process 7432 unloaded DLL at 77A80000
> --- Process 7432 unloaded DLL at 76920000
> --- Process 7432 unloaded DLL at 77A80000
> --- Process 7432 unloaded DLL at 77980000
> --- Process 7432 loaded C:\Windows\SysWOW64\kernel32.dll at 76920000
> --- Process 7432 loaded C:\Windows\SysWOW64\KernelBase.dll at 76AD0000
> --- Process 7432 loaded C:\Windows\SysWOW64\sysfer.dll at 756C0000
> --- Process 7432 loaded C:\ProgramData\Symantec\Symantec Endpoint Protection\12.1.4013.4013.105\Data\Definitions\BASHDefs\20150625.011\UMEngx86.dll at 6E5D0000
[...]
> --- Process 7432 thread 8132 created
> --- Process 7432, exception 80000001 at 756F69C1
> --- Process 7432 thread 8132 exited with status 0x80000001
> --- Process 7432 thread 8184 exited with status 0x80000001
> --- Process 7432 thread 7692 exited with status 0x80000001
> --- Process 7432 thread 7256 exited with status 0x80000001
> --- Process 7432 exited with status 0x80000001

This looks very much like an exception is occurring in sysfer.dll (which 
is part of 'Symantec Endpoint Protection'

This has been reported as causing problems a few times recently (See 
[1],[2]).  If possible, you should try to update it or create an 
exception for XWin.exe

I think exception 0x80000001 is STATUS_GUARD_PAGE_VIOLATION.  I'm not 
sure why this doesn't get translated into a non-zero exit code by Cygwin.

[1] https://cygwin.com/ml/cygwin/2015-03/msg00080.html
[2] https://cygwin.com/ml/cygwin/2015-05/msg00146.html

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

