Need general snapshot testers/console buffer jumble

Marco Atzeri marco.atzeri@gmail.com
Tue Mar 11 21:25:00 GMT 2014



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



More information about the Cygwin mailing list