delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/16/15:50:08

X-Recipient: archive-cygwin AT delorie DOT 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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=P2T1fhpU4x3wUSxzYOYyDwf1sakG
/UbmJSP1vSJ/ezMP3AOOwUh4Dx9cIO61RSBLSt1ElvJ76Z3NeUmxVZ6I6amGbsjE
evD1w8S5TIBut9kDJFe5Djhm0tu1gU1XuaH3tgaoItXxFPw2OZn4QdqqJjnyt7Wu
FJm+Yit+Nm+pLq4=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=AhUcLTpQcPMs0ejMiG4anF+4rJY=; b=T3
/P5Ivqx+qQCOpnHJnOzZN5blimXGBmCDsvU75yDQJ2aa5eLVOaa21YJxgo42V6uU
godN5toui5McvgBXeut/XyRddaCR5xa3298vV8rHAj2QpxHbt73Qmv7TGo72ieOB
kYTecIsylV1Zc7mXqcQNmJjVgWPc68rRxNRXtsNqI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2
X-HELO: smtp5-g21.free.fr
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-5
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
In-Reply-To: <20150416164346.GG3657@calimero.vinschen.de>
Date: Thu, 16 Apr 2015 21:49:45 +0200
Message-Id: <CB09F6B5-23F4-4F58-A60C-0E155335E252@Denis-Excoffier.org>
References: <announce DOT 20150415160254 DOT GF7343 AT calimero DOT vinschen DOT de> <CAK-n8j6MpTscHoOCmzkrrTHAxtzL4XuV5TY-x5f-S6mJ8WQk5A AT mail DOT gmail DOT com> <20150416162146 DOT GD3657 AT calimero DOT vinschen DOT de> <20150416164346 DOT GG3657 AT calimero DOT vinschen DOT de>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t3GJo4RT023673

On 2015-04-16 à 18:43, Corinna Vinschen wrote:
> On Apr 16 18:21, Corinna Vinschen wrote:
>> On Apr 16 08:17, Jim Reisert AD1C wrote:
>>> I am unable to start Cywin/X X-server 1.17.1 with this version.
>>> Previous releases of 2.0.0.x were OK.  I had to revert to 1.7.35-1 for
>>> the time being.
>>> 
>>> Other than updating to 2.0.0.5, I also installed the April 2015 "Patch
>>> Tuesday" updates from Microsoft.  I don't know if the two are related.
>>>  Windows 7 Home Premium, 64-bit
>>> 
>>> Exception: STATUS_ACCESS_VIOLATION at eip=77C50F8A
>>> eax=00000000 ebx=612D67B0 ecx=00001000 edx=612D2648 esi=00000000 edi=0028C790
>>> ebp=0028C608 esp=0028C604 program=C:\Cygwin\bin\XWin.exe, pid 1660, thread main
>>> cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
>>> Stack trace:
>>> Frame     Function  Args
>>> 0028C608  77C50F8A (00000000, 612D2648, 00000000, 612D67B0)
>>> 0028C738  610CDA1F (000043FF, 00000000, 00000000, 80012428)
> 
> On second thought, if I can trust the args output, that would be an
> fchmod(0,0).  If there's no uid or gid 0, which there isn't unless you
> explicitely created them in the passwd/group files, the uid and gid have
> no SID connected to.  This may be the culprit here.
> 
>> I could add an extra check which refuses to change permissions if
>> the account's SID can't be found, but since this occurs very deep
>> in the call stack, the error message might be pretty vapid.
>> 
>> Alternatively I just let this slip through and you might wonder
>> why the group hasn't changed in this case.
> 
> I added a change to this effect, but it occuurs to me that this may
> be really just a missing test if the uid and gid values are backed by
> a real Windows account.  It seems better to return EPERM here.
> 
I applied the patch indicated (see in
https://cygwin.com/ml/cygwin-cvs/2015-q2/msg00033.html) and X11 now works
back again.

Thank you 1000 times.

Regards,

Denis Excoffier.
--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019