delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/14/09:05:59

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=vqssKi7Gt0NEx9szCDQgpkm4cLmm0yOk9MJ8MH2M0cq/AHG9Tcnoa
9Xh/xB6QB/0njpOyB08/sLo+N68IyqCUmu1EGnBkobQdOBLUp0R10hi9Xmi5LOoK
qLhNpCTK6SipUj9ovMLYACRkbZmOTDvS69gVlR1PxV5grvGCzjety0=
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=BoQ4pgs8TpvJb/D+omScfpQBgJY=; b=Ty+duftYJ7hThXj/mzwmvAbofLXh
R3BWHQX9PWv3MSaCFw1pHmfvMEFjV3ygPeHamH0JBc17xEjUZgvlZPD/yZiozgdt
74RExwTxkWOUS1h9e7zh7GAYQfB6bKrG5VMSx78y/9SUJTNwMjrIka2E+nYOOeWF
uhssaEBcTrQAesY=
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: Yes, score=5.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 14 Dec 2015 15:05:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: SegFault running "ls -l" after Microsoft Patch Day
Message-ID: <20151214140532.GA29983@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <22126 DOT 48758 DOT 974000 DOT 213040 AT woitok DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <22126.48758.974000.213040@woitok.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Dec 14 14:04, Dr Rainer Woitok wrote:
> Greetings,
>=20
> last Wednesday was Windows Patch Day,  causing me to install the follow-
> ing eighteen patches  (the comments  ("# ...")  reflect what I think the
> corresponding knowledge base articles were about):
> [...]
> After that and after the necessary  reboot I observed problems regarding
> the treatment of  Windows Protected Sytem Files  on NTFS formatted disks
> and USB sticks.  These problems  were definitely not  present before the
> Windows update.  For example:
>=20
> $ find /C -maxdepth 2 -type d  >/dev/null
> find: './Config.Msi': Permission denied
> find: './MSOCache': Permission denied
> find: './PerfLogs': Permission denied
> find: './System Volume Information': Permission denied
> $

This is normal if you don't run your shell elevated.  Try again in an
elevated shell.

> In the  following example I'm not  quite sure about  "$Recycle.Bin/" and
> some of the other  Protected System Directories,  but "System Volume In-
> formation/" definitely never showed up before:

It did.  "$Recycle.Bin" is the name of the Recycler since Vista and
"System Volume Information" exists since Vista as well.

> $ ls -lF /C
> Segmentation fault (core dumped)
> $

I can't reproduce this one.  The strace indicates that this may or may
not occur while reading an ACL but again, it works fine for me.  On top
of that, the crash apparently occurs inside a Windows DLL.  It does not
occur in Cygwin itself.  Given ASLR, the addresses of Windows DLLs are
not the same on different computers so I can't even say in which DLL
the crash occurs.

> Having attached files "ls-l.trace", "ls.exe.stackdump",  and the mandat-
> ory "cygcheck.out" below, I now hope someone can provide a patch to work
> around these most recent Windows changes.

Thanks, you did you job thoroughly :)

I just don't see what to fix here.  You may want to remove Config.msi,
it's debris from an installation only anyway.  You can also try the
latest Cygwin test release to see if it gets over this without the crash
in that Windows DLL.


Corinna

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

--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature

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

iQIcBAEBCAAGBQJWbsysAAoJEPU2Bp2uRE+gcu4P/3jsHMZ+tHwdGqw8EGqsjRMk
lZUpeLflcLdi6+v7IWjCpnCh9nqLAajNIqiWP7R/C6IDECDaN2MaxTyJKxIn6Uw9
hbW9Glvw0l9BIp2z7eFrotpvzN/ZNBrDOclGjAcjl7hYUmf6h7+mXi9eEljS+iL3
t4EbiP12p1Gt1q45IOfhBaELJodrYRsQPgChK8q+SsHVileJjwzAG2c/T7s12Q7B
1IJKWJCK29PwTjes4iz/+DrlV7eDBLJ01Ha9+JV6itAPxUpRZQZNX25X+vm/inVs
h2XuxcgLNPTMhdF+2MGJUSeScBXyqdZ/eusFrYoiTWdnySwqxY/6Lg83U9wxQoFl
OA8XzcLQ5PAiOPOb5oNHRZzAMxGrSp+NhLSB0493mdlNoxrXtFPPpFSfTVkhOfDW
/3s1N6S32Kb57daTbDG1+DF7o6WtdxigSv5uAdAOQOjbeZzbsWjSnnrHa+2O94qP
yHkJbXG9GhM0mB7CUlDAkdw4b3xGnsj0QQfwt+A+48rGl/4YT9qMpEyteQzJ+ETZ
vFdLjSKLkgM0rPG9XojG9wrclwaxfFw0fNoWUdoPwY28pvfCjWr+ExlsEm9C2zdC
PFjERu1pJE4MiEhwWqrkbvEU6xDJgA/f5g4upZCsaaGXPHXfmx0dwuTjowNm2hWd
P1fu9OqfQ+lGZxKj0nK6
=A3t6
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--

- Raw text -


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