delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/16/12:22:07

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=Z+6uC2YX2R2zX7ko4Ls8tQcm7FBCyNxSn+sObLPdVXqMPcTLeoZiD
UHYcIA3D9lDj6ORi53/n+KdKuxSop3rKS9WALGm4zDpga454DeZanfGeXCqGuh44
zP82nSPsns8tNdMqq+rSQizo6w7HXu/eJh25tO5Hvyvpc9S7cmR5Uw=
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=YfOSxPLJOSjw3ougZGWMR5lSJXQ=; b=FPX2vGnBxJT3O/7CsKMOQPAJFGtM
C9E/afuYTKBSuy2jr0fgR+80EjL2WeclLwTdn9g34xk9hZb07wyStIii1SV3QYSu
LeF4cly8eDosjBCRIXVq4E7OduiFMClko7Xt93ZEXvTuoZDF1pZMHVYvRaHhHJ5b
Uu7+TaU4kT218i4=
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=-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: Thu, 16 Apr 2015 18:21:46 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-5
Message-ID: <20150416162146.GD3657@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20150415160254 DOT GF7343 AT calimero DOT vinschen DOT de> <CAK-n8j6MpTscHoOCmzkrrTHAxtzL4XuV5TY-x5f-S6mJ8WQk5A AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAK-n8j6MpTscHoOCmzkrrTHAxtzL4XuV5TY-x5f-S6mJ8WQk5A@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--xo44VMWPx7vlQ2+2
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D0000000=
0 edi=3D0028C790
> ebp=3D0028C608 esp=3D0028C604 program=3DC:\Cygwin\bin\XWin.exe, pid 1660,=
 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)
> 0028C7B8  61047198 (00000000, 72483F24, 75604227, 00000254)
> 0028C7F8  610F629D (00000001, 00000000, 00000000, 75623912)

Ohhh...kay.  This looks like a check for equality of two SIDs, the owner
SID and the group SID of a file, crashing while being called from fchown.
This test didn't exist up to 2.0.0-0.4 because it was addded to handle
the owner =3D=3D group case.  But then again, this would mean that with
older versions the group SID of a file is not set.  Or changed, fwiw.

This might happen if either one of these SIDs is invalid or NULL, which
in turn may occur if the owner or group SID can't be found in the
account DB.

The question is then, is your /etc/passwd or /etc/group file broken,
and/or are you using the "files" only method in /etc/nsswitch.conf?

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.

Btw., it would be nice to know why XWin tries to chown a file.
Jon?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--xo44VMWPx7vlQ2+2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVL+GaAAoJEPU2Bp2uRE+g3/sQAKJAruNr5KZFl6c+XnG6cd12
o6Fgi/Oy7+FBrBoMdAs/OX3WF18RhGgc/NepyU7mwT/6osMkWg2HLqd0WzNVN87Z
ywpCB++8IU37CcjJuMPFDVJEyru4IW35WSl3NXgBAHsqFYqa9ZOwdUDjj5S3NOqt
Emx9CCVSDZ/1kwGtAwXQ1PC7z0lKfj+fihNPynPFUos+jFb3WeH3njDHSnkTlsBB
f8aw0MhsClAdmSiytSvQw0ATkCHVUsRLwy08wHsglrMD6zbu6h+MEtKcWlMpAhVL
o60c3vCx+zkKhmPkov4+w2pYgknCf4G705fZ8Lo9Wik+RPCqazFZH6Y+zw1sJXtO
idtFi9l/PVnWOdTl7SA5cWb7nwUeYfEFTqSt+otwB06ehdLXiqjAcYCekmH9qUXD
A0v3fPtG0ACYgHs7eockwCMdTZVQENGwVTnk5Ruvk6wZlqF2PsxGgpS72s8vWgQC
7tJQYJ9F6J0VuP8gMZnDswgdSrxWmg/bGyJWKTe0ng8s9Am/i23Tm8TO7wXisNo7
j5rNj8wMx1Ncjuau09LPJcHHOoUiNxzNzczCpRSi/RdxMyrpmxTwgtV6C/jFuqpg
wWXtqmHOe+WCCLKtdYfSu8K5rH6I3wpL8yW0dEr5C/UL6St4HR9ac/tF2lrcwu5Y
ww9pMV2SmZs9LbkEArvG
=Rbf9
-----END PGP SIGNATURE-----

--xo44VMWPx7vlQ2+2--

- Raw text -


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