delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/11/16:56: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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=jnn3n2y1rAt4Ovu1XPuw0wSMiM4UZZGho/YUBGv+3o6
gR7Jbw8o1XFqc3Iqyq2eb9gORPcjjAg7Kkj6TK1Hb2Udr7jnS8sP6f3Ms6ivw2bE
y9GP/PtsyFTNZbwNAV80m3FnxGKVc1WlsRPd+Snu6BfdmkDqURUHj71TF6yobIj4
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=LCuSXzifV4zedfLsBJHjmF9Ist8=; b=HYTIj2GV1URqRYiAc
xSSSIGLBn9GYHweu8GiACap8CLXSlVuEIwf19y0v8077pQFdxcF4Nz08iqPB0Ert
HmeaMDbafIcT7HmWTSPzbHdgvAZuQBJPXIEC5gAWLY/td0zHiY6Zgr8UTIk31O5b
xZVCURpV317PyvaAfm283mvBDY=
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=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-bk0-f41.google.com
X-Received: by 10.204.169.2 with SMTP id w2mr801141bky.50.1394571344701; Tue, 11 Mar 2014 13:55:44 -0700 (PDT)
Message-ID: <531F7849.3060700@gmail.com>
Date: Tue, 11 Mar 2014 21:55:37 +0100
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Need general snapshot testers/console buffer jumble
References: <20140227202633 DOT GA3337 AT ednor DOT casa DOT cgf DOT cx> <CAAXzdLUt3rcqhRaREAfETU51=NLZ-qd=10_nNVXmUmxyK9qxGA AT mail DOT gmail DOT com> <20140309191432 DOT GA7884 AT ednor DOT casa DOT cgf DOT cx> <CAAXzdLUQxdMARhtx6PnufkfvQr_LWokT-=4uhgDTsYYcKa+PUA AT mail DOT gmail DOT com> <20140310032155 DOT GA922 AT ednor DOT casa DOT cgf DOT cx> <531D5FC8 DOT 1070908 AT gmail DOT com> <20140310101138 DOT GA2828 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140310101138.GA2828@calimero.vinschen.de>
X-IsSubscribed: yes


On 10/03/2014 11:11, Corinna Vinschen wrote:
> On Mar 10 07:46, Marco Atzeri wrote:
>> On 10/03/2014 04:21, Christopher Faylor wrote:
>>> On Sun, Mar 09, 2014 at 09:25:02PM -0500, Steven Penny wrote:
>>>> On Sun, Mar 9, 2014 at 2:14 PM, Christopher Faylor wrote:
>>
>>>
>>> Interesting problem.  Windows always surprises.
>>>
>>> This should be fixed in the upcoming snapshot.
>>>
>>> cgf
>>>
>>
>> $ uname -svr
>> CYGWIN_NT-6.1-WOW64 1.7.29s(0.272/5/3) 20140310 03:20:19
>>
>> xwin still segfaults as for
>> http://cygwin.com/ml/cygwin/2014-03/msg00107.html
>
> I just tried the latest 32 bit snapshot:
>
>    CYGWIN_NT-6.3-WOW64 1.7.29s(0.272/5/3) 20140310 03:20:19
>
> and I can't reproduce this crash running startxwin.  I removed my
> /etc/nsswitch.conf file to use the default settings throughout for the
> passwd/group stuff for testing, but it also works fine with
>
>    passwd: db
>    group: db
>    db_enum: all
>
> What are you settings?  I also ran the same under a 64 bit Cygwin
> built from CVS.  No crash either.
>
>
> Corinna

Hi Corinna,

I think it is due to the unusual history of my cygwin installation, that 
is triggering a corner case.

The system is installed on a USB disk and it migrated from
one computer to another, so some of old ACLs are not recognized from
one new system.

On AD aware snapshots:
$ uname -svr
CYGWIN_NT-6.1-WOW64 1.7.29s(0.272/5/3) 20140310 03:20:19


$ ls -l nco-4.*.gz
ls: cannot access nco-4.3.9.tar.gz: Bad address
-rw-r--r-- 1 marco          root 5846624 Jan 29  2013 nco-4.2.5.tar.gz
-rw-r--r-- 1 Administrators None 4479960 Jan 30 00:07 nco-4.4.1.tar.gz

while on 1.7.29 branch snapshot
  $ uname -svr
CYGWIN_NT-6.1-WOW64 1.7.29s(0.272/5/3) 20140309 23:12:54

$ ls -l nco-4.*.gz
-rw-r--r-- 1 marco          Administrators 5846624 Jan 29  2013 
nco-4.2.5.tar.gz
-rw-r--r-- 1 marco          ????????       4418931 Dec  6 22:14 
nco-4.3.9.tar.gz
-rw-r--r-- 1 Administrators None           4479960 Jan 30 00:07 
nco-4.4.1.tar.gz

I am using the same /etc/passwd and /etc/group
and there is no /etc/nsswitch.conf file.


Using a old version of
SetACL by Helge Klein
Homepage:        http://setacl.sourceforge.net
Version:         2.0.3.0

I catched the ACL for two of the files:

"\\?\E:\cygwin\pub\devel\nco\nco-4.3.9.tar.gz",1,"O:S-1-5-21-531030479-1339336681-3415091201-1009G:S-1-5-21-1870173206-1308263284-2375963468-513D:P(A;;0x1f019f;;;S-1-5-21-531030479-1339336681-3415091201-1009)(A;;FR;;;S-1-5-21-1870173206-1308263284-2375963468-513)(A;;FR;;;WD)"

SetACL finished successfully.
"\\?\E:\cygwin\pub\devel\nco\nco-4.2.5.tar.gz",1,"O:S-1-5-21-531030479-1339336681-3415091201-1009G:BAD:P(A;;0x1f019f;;;S-1-5-21-531030479-1339336681-3415091201-1009)(A;;FR;;;BA)(A;;FR;;;WD)"

and looking on

new system /etc/group:
None:S-1-5-21-531030479-1339336681-3415091201-513:513:

old system /etc/group:
None:S-1-5-21-1870173206-1308263284-2375963468-513:513:

the "bad address" error is coming from the the file with the
old ACL for "None" group.

I suspect the Xwin crash was due to some files under /tmp or /var that
had similar files, as making extensive use of
    chgrp.exe -R Administrators *

I have not anymore the segfault.



Regards
Marco







--
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