From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51781 invoked by alias); 16 Apr 2015 19:49:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 51772 invoked by uid 89); 16 Apr 2015 19:49:51 -0000 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 Received: from smtp5-g21.free.fr (HELO smtp5-g21.free.fr) (212.27.42.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 16 Apr 2015 19:49:50 +0000 Received: from [192.168.0.10] (unknown [78.224.52.79]) by smtp5-g21.free.fr (Postfix) with ESMTPS id 93C9AD48096; Thu, 16 Apr 2015 21:47:13 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-5 From: Denis Excoffier In-Reply-To: <20150416164346.GG3657@calimero.vinschen.de> Date: Thu, 16 Apr 2015 19:49:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150416162146.GD3657@calimero.vinschen.de> <20150416164346.GG3657@calimero.vinschen.de> To: cygwin@cygwin.com X-SW-Source: 2015-04/txt/msg00375.txt.bz2 On 2015-04-16 =C3=A0 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. >>>=20 >>> 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 >>>=20 >>> Exception: STATUS_ACCESS_VIOLATION at eip=3D77C50F8A >>> eax=3D00000000 ebx=3D612D67B0 ecx=3D00001000 edx=3D612D2648 esi=3D00000= 000 edi=3D0028C790 >>> ebp=3D0028C608 esp=3D0028C604 program=3DC:\Cygwin\bin\XWin.exe, pid 166= 0, thread main >>> cs=3D0023 ds=3D002B es=3D002B fs=3D0053 gs=3D002B ss=3D002B >>> Stack trace: >>> Frame Function Args >>> 0028C608 77C50F8A (00000000, 612D2648, 00000000, 612D67B0) >>> 0028C738 610CDA1F (000043FF, 00000000, 00000000, 80012428) >=20 > 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. >=20 >> 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. >>=20 >> Alternatively I just let this slip through and you might wonder >> why the group hasn't changed in this case. >=20 > 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. >=20 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