public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] Updated: Cygwin 2.8.1-1
@ 2017-07-03 15:58 Corinna Vinschen
  2017-07-07 15:07 ` Adam Dinwoodie
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2017-07-03 15:58 UTC (permalink / raw)
  To: cygwin

Hi folks,


I uploaded a new Cygwin release 2.8.1-1

This is mostely a bugfix release.

=======================================================================

What's new:
-----------

- Allow unprivileged symlink creation in Windows 10 1703 and later.

- New API: reallocarray

- New API: strverscmp, versionsort.


What changed:
-------------

- The XSI form of sigpause, which removes the given signal from the process's
  signal mask, is made available when compiling with _XOPEN_SOURCE or
  _GNU_SOURCE.


Bug Fixes
---------

- Fix build problem with GCC 6.
  Addresses: https://cygwin.com/ml/cygwin-patches/2017-q2/msg00014.html

- Fix stat.st_blocks for files compressed with CompactOS method.
  Addresses: https://cygwin.com/ml/cygwin-patches/2017-q2/msg00026.html

- Fix extreme lagging during strace in certain scenarios.
  Addresses: https://cygwin.com/ml/cygwin/2017-04/msg00240.html

- Fix unwanted decimal point localization in /proc/loadavg
  Addresses: Reported on IRC.

- Fix ldd potentially looping on non-continuable exception
  Addresses: https://cygwin.com/ml/cygwin-patches/2017-q2/msg00002.html

- Fix buffer overflow problem in wcsxfrm/wcsxfrm_l.
  Addresses: https://cygwin.com/ml/cygwin/2017-05/msg00149.html

- Fix crash if env var name starts with non-ASCII char
  Addresses: https://cygwin.com/ml/cygwin/2017-05/msg00330.html

- Fix return value of lrint{f,l} on x86_64 Cygwin.
  Addresses: https://cygwin.com/ml/cygwin/2017-05/msg00388.html

- Fix native language support in regtool(1).
  Addresses: https://cygwin.com/ml/cygwin/2017-05/msg00245.html

=======================================================================


Thanks,
Corinna

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCEMENT] Updated: Cygwin 2.8.1-1
  2017-07-03 15:58 [ANNOUNCEMENT] Updated: Cygwin 2.8.1-1 Corinna Vinschen
@ 2017-07-07 15:07 ` Adam Dinwoodie
  2017-07-10  8:28   ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Dinwoodie @ 2017-07-07 15:07 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]

On Mon, Jul 03, 2017 at 03:31:22PM +0200, Corinna Vinschen wrote:
> I uploaded a new Cygwin release 2.8.1-1

This has introduced a regression that I'm seeing when running `ls` on
some network shares.  I can reproduce the behaviour with an install of
only the base Cygwin packages, and the behaviour disappears if I
downgrade back to v2.8.0-1.

(Apologies for the obfuscation in the below report; I'm not clear on
what I'm authorised to disclose about my work network, and so erring
on the side of caution.)

Specifically, if I run `ls -l` or `ls --color=always` over certain
directories on one of my company's Windows network shares, I sometimes
see errors stating:

    ls: cannot access '//path/to/file/in/listed/share': Bad address

The file that is listed in the error message appears as below in the
`ls -l` output:

    -?????????? ? ?                  ?                    ?
?  <filename>

When this happens, the file is also coloured by `ls` as if it were not
executable; with v2.8.0-1 the file is correctly marked as executable.

Alternatively, in some circumstances when `ls`ing that directory, I
see no output whatsoever.  This seems to happen in particular when
accessing the directory via a two-hop symlink, i.e. something created
like this:

    $ ln -s //path/to/share symlink1

    $ ln -s symlink1 symlink2

    $ ls -l symlink1/
    <list of files>

    $ ls -l symlink2/

    $

The behaviour doesn't seem to be entirely consistent, and I haven't
been able to characterise when this behaviour occurs and when it
doesn't, even on the same directory.

Given the behaviour seems to reliably not occur when running a bare
`ls`, I'm guessing the problem is relating to how Cygwin is parsing
the file permissions.

I've attached redacted `cygcheck -srv` output.

Cheers,

Adam

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 14384 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Fri Jul 07 15:01:20 2017

Windows 10 Enterprise Ver 10.0 Build 14393 

Path:	C:\cygwin64-test\usr\local\bin
	C:\cygwin64-test\bin
	<cut>
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	<cut>
	C:\Users\WinBuild\AppData\Local\Microsoft\WindowsApps
	<cut>
	C:\Users\WinBuild\AppData\Local\Microsoft\WindowsApps
	<cut>

Output from C:\cygwin64-test\bin\id.exe
UID: <cut>(add)
GID: <cut>(Domain Users)
<cut>(Domain Users)
<cut>(Users)
<cut>

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'add'
PWD = '/home/add'
HOME = '/home/add'

USERDOMAIN = '<cut>'
OS = 'Windows_NT'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '6'
PSModulePath = 'C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
LANG = 'en_US.UTF-8'
TZ = 'Europe/London'
HOSTNAME = '<cut>'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/etc/skel'
UATDATA = 'C:\Windows\CCM\UATData\<cut>'
USERNAME = 'add'
LOGONSERVER = '\\<cut>'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\add\AppData\Local'
COMPUTERNAME = '<cut>'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\add'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
SYSTEMROOT = 'C:\Windows'
USERDOMAIN_ROAMINGPROFILE = '<cut>'
QT_DEVICE_PIXEL_RATIO = 'auto'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel'
TMP = '/tmp'
<cut>
PROCESSOR_REVISION = '3c03'
FPS_BROWSER_USER_PROFILE_STRING = 'Default'
PROFILEREAD = 'true'
USERDNSDOMAIN = '<cut>'
NUMBER_OF_PROCESSORS = '8'
ProgramW6432 = 'C:\Program Files'
COMSPEC = 'C:\Windows\system32\cmd.exe'
APPDATA = 'C:\Users\add\AppData\Roaming'
SHELL = '/bin/bash'
TERM = 'xterm'
WINDIR = 'C:\Windows'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
PRINTER = '\\<cut>\<cut>'
PROGRAMFILES = 'C:\Program Files'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/tmp'
SESSIONNAME = 'Console'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
HOMEDRIVE = 'C:'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
HOMEPATH = '\Users\add'
ORIGINAL_PATH = '<cut>:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Microsoft Online Services:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Microsoft Online Services:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:<cut>:/cygdrive/c/Users/WinBuild/AppData/Local/Microsoft/WindowsApps:<cut>:/cygdrive/c/Users/WinBuild/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/add/AppData/Local/Microsoft/WindowsApps'
EXECIGNORE = '*.dll'
<cut>
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\SOFTWARE\Cygwin
HKEY_CURRENT_USER\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
  c5e39b7a9d22bafb = '\??\C:\cygwin'
  780b3023dc4b483c = '\??\C:\cygwin64-test'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
  780b3023dc4b483c = '\??\C:\cygwin64-test'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin64-test'
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cygwin\setup
  (default) = 'C:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64
  System: Key: 780b3023dc4b483c Path: C:\cygwin64-test
  User:   Key: e022582115c10879 Path: C:\cygwin64
  User:   Key: c5e39b7a9d22bafb Path: C:\cygwin
  User:   Key: 780b3023dc4b483c Path: C:\cygwin64-test

c:  hd  NTFS    243456Mb  67% CP CS UN PA FC     EN
d:  cd             N/A    N/A                      

C:\cygwin64-test      /          system  binary,auto
C:\cygwin64-test\bin  /usr/bin   system  binary,auto
C:\cygwin64-test\lib  /usr/lib   system  binary,auto
cygdrive prefix       /cygdrive  user    binary,posix=0,auto

Found: C:\cygwin64-test\bin\awk
 -> C:\cygwin64-test\bin\gawk.exe
Found: C:\cygwin64-test\bin\bash.exe
Found: C:\cygwin64-test\bin\cat.exe
Found: C:\cygwin64-test\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin64-test\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: C:\cygwin64-test\bin\find.exe hides C:\Windows\system32\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin64-test\bin\grep.exe
Found: C:\cygwin64-test\bin\kill.exe
Not Found: ld
Found: C:\cygwin64-test\bin\ls.exe
Not Found: make
Found: C:\cygwin64-test\bin\mv.exe
Not Found: patch
Found: C:\Perl\bin\perl.exe
Found: C:\cygwin64-test\bin\rm.exe
Found: C:\cygwin64-test\bin\sed.exe
Not Found: ssh
Found: C:\cygwin64-test\bin\sh.exe
Found: C:\cygwin64-test\bin\tar.exe
Found: C:\cygwin64-test\bin\test.exe
Found: C:\cygwin64-test\bin\vi.exe
Not Found: vim

   39k 2016/09/19 C:\cygwin64-test\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygargp-0.dll" v0.0 ts=2016-09-19 02:13
   16k 2013/03/26 C:\cygwin64-test\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2013-03-26 18:26
  180k 2015/03/23 C:\cygwin64-test\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygblkid-1.dll" v0.0 ts=2015-03-23 09:46
   64k 2017/02/22 C:\cygwin64-test\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2017-02-22 07:22
 2235k 2017/01/26 C:\cygwin64-test\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.0.0.dll" v0.0 ts=2017-01-26 20:10
   27k 2015/11/17 C:\cygwin64-test\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2015-11-17 22:14
   55k 2017/06/18 C:\cygwin64-test\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2017-06-18 22:23
   70k 2016/06/13 C:\cygwin64-test\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2016-06-13 16:18
   39k 2016/10/10 C:\cygwin64-test\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-4.dll" v0.0 ts=2016-10-10 09:26
   13k 2016/10/10 C:\cygwin64-test\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm_compat-4.dll" v0.0 ts=2016-10-10 09:26
  527k 2017/01/21 C:\cygwin64-test\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2017-01-21 18:25
   33k 2017/02/13 C:\cygwin64-test\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2017-02-11 22:39
 1009k 2015/02/20 C:\cygwin64-test\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2015-02-20 17:07
   42k 2016/10/23 C:\cygwin64-test\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2016-10-23 07:17
    6k 2017/07/03 C:\cygwin64-test\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
                  "cyglsa64.dll" v0.0 ts=2017-07-03 13:11
  139k 2017/05/10 C:\cygwin64-test\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2017-05-10 01:17
  121k 2017/05/03 C:\cygwin64-test\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2017-05-03 18:25
  169k 2016/10/10 C:\cygwin64-test\bin\cygman-2-7-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygman-2-7-5.dll" v0.0 ts=2016-10-10 22:07
   22k 2016/10/10 C:\cygwin64-test\bin\cygmandb-2-7-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygmandb-2-7-5.dll" v0.0 ts=2016-10-10 22:07
   29k 2017/06/18 C:\cygwin64-test\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2017-06-18 22:22
  346k 2017/04/08 C:\cygwin64-test\bin\cygmpfr-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-4.dll" v0.0 ts=2017-04-08 12:19
   53k 2017/06/18 C:\cygwin64-test\bin\cygncurses++w-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncurses++w-10.dll" v0.0 ts=2017-06-18 22:34
  288k 2017/06/18 C:\cygwin64-test\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2017-06-18 22:19
 1003k 2017/04/28 C:\cygwin64-test\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygp11-kit-0.dll" v0.0 ts=2017-04-28 05:23
   14k 2017/06/18 C:\cygwin64-test\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2017-06-18 22:21
  475k 2017/04/23 C:\cygwin64-test\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre-1.dll" v0.0 ts=2017-04-24 00:50
   39k 2015/04/09 C:\cygwin64-test\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpipeline-1.dll" v0.0 ts=2015-04-09 21:04
   41k 2016/07/13 C:\cygwin64-test\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2016-07-13 06:16
  219k 2017/02/13 C:\cygwin64-test\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2017-02-11 22:39
   11k 2015/07/17 C:\cygwin64-test\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:35
   89k 2015/03/23 C:\cygwin64-test\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmartcols-1.dll" v0.0 ts=2015-03-23 09:46
  399k 2017/01/26 C:\cygwin64-test\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.0.0.dll" v0.0 ts=2017-01-26 20:10
   12k 2016/06/13 C:\cygwin64-test\bin\cygssp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssp-0.dll" v0.0 ts=2016-06-13 17:10
 1325k 2016/06/13 C:\cygwin64-test\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2016-06-13 16:38
   66k 2017/05/29 C:\cygwin64-test\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtasn1-6.dll" v0.0 ts=2017-05-29 23:32
   54k 2017/06/18 C:\cygwin64-test\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2017-06-18 22:19
   15k 2015/03/23 C:\cygwin64-test\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguuid-1.dll" v0.0 ts=2015-03-23 09:46
   83k 2017/03/03 C:\cygwin64-test\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2017-03-03 21:42
 3239k 2017/07/03 C:\cygwin64-test\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2017-07-03 13:11
    Cygwin DLL version info:
        DLL version: 2.8.1
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 312
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: C:\Users\add\Downloads
Last downloaded files from: http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/

Package              Version             Status
_autorebase          001005-1            OK
alternatives         1.3.30c-10          OK
base-cygwin          3.8-1               OK
base-files           4.2-4               OK
bash                 4.4.12-3            OK
bzip2                1.0.6-3             OK
ca-certificates      2.14-1              OK
coreutils            8.26-2              OK
cygutils             1.4.16-2            OK
cygwin               2.8.1-1             OK
dash                 0.5.9.1-1           OK
diffutils            3.5-2               OK
editrights           1.03-1              OK
file                 5.30-1              OK
findutils            4.6.0-1             OK
gawk                 4.1.4-3             OK
getent               2.18.90-4           OK
grep                 3.0-2               OK
groff                1.22.3-1            OK
gzip                 1.8-1               OK
hostname             3.13-1              OK
info                 6.4-1               OK
ipc-utils            1.0-2               OK
less                 487-1               OK
libargp              20110921-3          OK
libattr1             2.4.46-1            OK
libblkid1            2.25.2-2            OK
libbz2_1             1.0.6-3             OK
libffi6              3.2.1-2             OK
libgcc1              5.4.0-1             OK
libgdbm4             1.12-1              OK
libgmp10             6.1.2-1             OK
libiconv             1.14-3              OK
libiconv2            1.14-3              OK
libintl8             0.19.8.1-2          OK
liblzma5             5.2.3-1             OK
libmpfr4             3.1.5-1p2           OK
libncursesw10        6.0-11.20170617     OK
libopenssl100        1.0.2k-1            OK
libp11-kit0          0.23.5-1            OK
libpcre1             8.40-3              OK
libpipeline1         1.4.0-1             OK
libpopt-common       1.16-2              OK
libpopt0             1.16-2              OK
libreadline7         7.0.3-3             OK
libsigsegv2          2.10-2              OK
libsmartcols1        2.25.2-2            OK
libssp0              5.4.0-1             OK
libstdc++6           5.4.0-1             OK
libtasn1_6           4.12-1              OK
libuuid1             2.25.2-2            OK
login                1.11-1              OK
man-db               2.7.5-2             OK
mintty               2.7.8-0             OK
ncurses              6.0-11.20170617     OK
openssl              1.0.2k-1            OK
p11-kit              0.23.5-1            OK
p11-kit-trust        0.23.5-1            OK
rebase               4.4.2-1             OK
run                  1.3.4-2             OK
sed                  4.4-1               OK
tar                  1.29-1              OK
terminfo             6.0-11.20170617     OK
tzcode               2016j-1             OK
tzdata               2017b-1             OK
util-linux           2.25.2-2            OK
vim-minimal          8.0.0647-1          OK
which                2.20-2              OK
xz                   5.2.3-1             OK
zlib0                1.2.11-1            OK
Use -h to see help about each section

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCEMENT] Updated: Cygwin 2.8.1-1
  2017-07-07 15:07 ` Adam Dinwoodie
@ 2017-07-10  8:28   ` Corinna Vinschen
  2017-07-21 18:16     ` Adam Dinwoodie
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2017-07-10  8:28 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2651 bytes --]

On Jul  7 16:07, Adam Dinwoodie wrote:
> On Mon, Jul 03, 2017 at 03:31:22PM +0200, Corinna Vinschen wrote:
> > I uploaded a new Cygwin release 2.8.1-1
> 
> This has introduced a regression that I'm seeing when running `ls` on
> some network shares.  I can reproduce the behaviour with an install of
> only the base Cygwin packages, and the behaviour disappears if I
> downgrade back to v2.8.0-1.
> 
> (Apologies for the obfuscation in the below report; I'm not clear on
> what I'm authorised to disclose about my work network, and so erring
> on the side of caution.)
> 
> Specifically, if I run `ls -l` or `ls --color=always` over certain
> directories on one of my company's Windows network shares, I sometimes
> see errors stating:
> 
>     ls: cannot access '//path/to/file/in/listed/share': Bad address
> 
> The file that is listed in the error message appears as below in the
> `ls -l` output:
> 
>     -?????????? ? ?                  ?                    ?
> ?  <filename>
> 
> When this happens, the file is also coloured by `ls` as if it were not
> executable; with v2.8.0-1 the file is correctly marked as executable.
> 
> Alternatively, in some circumstances when `ls`ing that directory, I
> see no output whatsoever.  This seems to happen in particular when
> accessing the directory via a two-hop symlink, i.e. something created
> like this:
> 
>     $ ln -s //path/to/share symlink1
> 
>     $ ln -s symlink1 symlink2
> 
>     $ ls -l symlink1/
>     <list of files>
> 
>     $ ls -l symlink2/
> 
>     $
> 
> The behaviour doesn't seem to be entirely consistent, and I haven't
> been able to characterise when this behaviour occurs and when it
> doesn't, even on the same directory.
> 
> Given the behaviour seems to reliably not occur when running a bare
> `ls`, I'm guessing the problem is relating to how Cygwin is parsing
> the file permissions.

I have not been able to reproduce this.  The only relevant changes in
2.8.1 in terms of `ls' were related to reparse points (native symlinks,
directory junctions, etc) and a change of st_blocks computation related
to CompactOS compression.

For a start, can you please check if you can reproduce the problem
with the devolper snapshot from 20170606?

Also, can you reproduce this with 2.8.1 under strace perhaps? If so,
I'd be interested to see the strace output.  If you fear to compromise
company data, we can arrange to do this in private email.


Thanks,
Corinna

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCEMENT] Updated: Cygwin 2.8.1-1
  2017-07-10  8:28   ` Corinna Vinschen
@ 2017-07-21 18:16     ` Adam Dinwoodie
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Dinwoodie @ 2017-07-21 18:16 UTC (permalink / raw)
  To: cygwin

On Mon, Jul 10, 2017 at 10:27:56AM +0200, Corinna Vinschen wrote:
> On Jul  7 16:07, Adam Dinwoodie wrote:
> > On Mon, Jul 03, 2017 at 03:31:22PM +0200, Corinna Vinschen wrote:
> > > I uploaded a new Cygwin release 2.8.1-1
> > 
> > This has introduced a regression that I'm seeing when running `ls` on
> > some network shares.  I can reproduce the behaviour with an install of
> > only the base Cygwin packages, and the behaviour disappears if I
> > downgrade back to v2.8.0-1.
> > 
> > <snip>
> 
> I have not been able to reproduce this.  The only relevant changes in
> 2.8.1 in terms of `ls' were related to reparse points (native symlinks,
> directory junctions, etc) and a change of st_blocks computation related
> to CompactOS compression.
> 
> For a start, can you please check if you can reproduce the problem
> with the devolper snapshot from 20170606?

After several false starts (including Windows getting very upset about
*something* to do with moving DLLs around and blue screening on me), I'm
not seeing this behaviour with the 20170606 snapshot.

> Also, can you reproduce this with 2.8.1 under strace perhaps? If so,
> I'd be interested to see the strace output.  If you fear to compromise
> company data, we can arrange to do this in private email.

I have the strace output from both the successful and unsuccessful
cases; the failing case on v2.8.1 appears to be going wrong at the
following exception, which appears to be the first significant
difference between the two strace outputs:

       47  268130 [main] ls 16232 stat_worker: (\??\UNC\<path>, 0x84, 0x180318898), file_attributes 2592
    --- Process 16232, exception c0000005 at 000000018012f3cd

If you can give me your private email address, I'll send the full strace
output over.

Thank you!

Adam

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-21 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-03 15:58 [ANNOUNCEMENT] Updated: Cygwin 2.8.1-1 Corinna Vinschen
2017-07-07 15:07 ` Adam Dinwoodie
2017-07-10  8:28   ` Corinna Vinschen
2017-07-21 18:16     ` Adam Dinwoodie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).