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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=R/tWvBTNqYzbC0Rvoa+pThgHbxxw9TnDbovTbgsYfNdjf3j6X48ZS zoyKkRJtuhUiY+CZJfSWD3cZiaoD6Nt9rbER6OGP3D/GLLsXYxhZXVXdsLnDcCkf 74XWcDcf9RtHFJFp/M4wyluoSHoE///3lubmeiW7Id1tafJBuMels4= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=2SaST/NMUjUy5liMMt+ztejxX6k=; b=x1YRBvhoxz+Sa1Zgh2xQiOhyZZcZ FZwPBKxQVmWh/5bFqAsz1oDwOJyR3fd6u6OV/TyGhJKI9Vrmnv8jsFdc+uiLpPaD v6dDUl1NcmLMB2iAaxHKSt338+mtyHvGzqYZ5btf2cyOkgnqOEUwvHQfhOYE4kfg +3jVSiNwGsnOtT8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Fri, 17 Apr 2015 09:40:45 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-5 Message-ID: <20150417074045.GN3657@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20150416162146 DOT GD3657 AT calimero DOT vinschen DOT de> <20150416164346 DOT GG3657 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VLAOICcq5m4DWEYr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) --VLAOICcq5m4DWEYr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 16 21:49, Denis Excoffier wrote: > 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=3D000= 00000 edi=3D0028C790 > >>> ebp=3D0028C608 esp=3D0028C604 program=3DC:\Cygwin\bin\XWin.exe, pid 1= 660, 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. >=20 > Thank you 1000 times. Thanks for the early feedback. Still, I changed it for -0.6 again, because that's what had happened in the old code, too: If the uid or gid can't be resolved to a Windows SID, the function fails now with ENOENT. That's a non-POSIX extension because the problem just doesn't exist on real POSIX systems. Please give it a try. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --VLAOICcq5m4DWEYr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVMLj9AAoJEPU2Bp2uRE+glSoP/Rmil0MRqTRk8iYoUpCmb1Aa RmlxrKPaJhYU70l4mT/kvGo9XCeiC+ix+rrQng3RG1ji12rCAos3nYLGRlQjfMSY MMGaDgifbFRjJioGNElHE/keECO1pIsRd+S/fJSI5M/nf02MzAX6guLt0XHwPEWx x889J0gBH2Czy08cj8Rnp1uS3PfbzPe6a44MJIwfPv3Fb3v9fWu4mbDtrvkLH+Uv wUHYZ9MRE4cZpyV+/XOMa2Pkv2S8lmJ8f8ueyoNoqJ7WSK3LdSbjkVPVAeRLN1N1 DPoT+tsoeVB+32fERNOQwX4OcEgI6fNk2qKx8FLf88Q+Jmu2Zxe8eI/rnq9d1p4f 9MAygUTtHfD0sFEC/loG3L/vUU0fmQWsqJagWJxKRoPOkMT8aJEKsaLJIKYAwgX2 K6nJiJQeawgECIdA/cfJBphJQmgTeP95BWlhQSq+/V39Iz5SEO1Va8Kl8Au3euuR 6U3g8FGTevGGP5gJsUPkgQo57u2z7mAlg/fKHdUbmoqwG6v3ddKDciuGLhILlkGI zTZt0fIoiL2YRPNv8pgEOLPJh8lO/XubWFWTD+WxFLXrGHQ5/8LUU2Nv13nY4MIa i8akGUqrj2hehEHJe/UcJm19vK1YXKJIZ9uaZlgsrXiYZI33tNdXe2yCSadLh4LQ RXQA6+6I0K5rapzqoac4 =MJ9K -----END PGP SIGNATURE----- --VLAOICcq5m4DWEYr--