public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin.dll: bug with select on Windows console
@ 2015-12-28  1:50 john hood
  2016-01-02  2:06 ` John Hood
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: john hood @ 2015-12-28  1:50 UTC (permalink / raw)
  To: cygwin

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

Hi all,

I'm one of the Mosh maintainers.  Recently a user reported a problem
where Mosh exits suddenly soon after startup while he is typing at it,
see <https://github.com/mobile-shell/mosh/issues/705>.

The problem turns out to be that occasionally, select() times out,
returns 0 as it should, but does *not* clear the fd_sets() passed in--
they are left unaltered.  Mosh doesn't pay any attention to the count of
ready fds and relies on the returned fd_sets being accurate.  Mosh sets
the read fd_set and the error fd_set, and when it encounters this
situation, it exits quietly when an error is found on one of the files
involved (rather poor error handling on our part).

This only seems to happen on Windows Console.  select() seems to operate
reliably when used on a pty, whether from mintty, xterm, or sshd.

My read of the POSIX standard is that select() should always set the
fd_sets on a successful return (rv >= 0).  There is a bit of ambiguity
around this point, but given that Cygwin is inconsistent with itself (on
ptys) and with every other Unix platform, I think it's a bug.

I've attached a little demo program for the bug.  Compile, run as
"socket-t 1000" (the argument is the number of microseconds select()
should wait), and mash keys on the keyboard for a little while.  It
should report errors within 100 keystrokes.  I think there might be a
dependency on the length of the wait passed to select(), I don't see the
problem happening with the wait set to 100 seconds.

The workaround in Mosh is easy enough, just clear the fd_sets if
select() returns 0 (or run Mosh from mintty, which is much better for
Mosh anyway).

It seems to exist in all 3 versions of cygwin.dll available to me in
setup.exe, 2.2.1-1, 2.3.1-1 and 2.4.0-0.16, so not a recent regression.

regards,

  --jh

[-- Attachment #2: cygcheck.txt --]
[-- Type: text/plain, Size: 91389 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Mon Dec 28 06:34:29 2015

Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1

Running under WOW64 on AMD64

Running in Terminal Service session

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\ProgramData\Oracle\Java\javapath
	C:\Program Files\Common Files\Microsoft Shared\Windows Live
	C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Program Files\ThinkPad\Bluetooth Software
	C:\Program Files\ThinkPad\Bluetooth Software\syswow64
	C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
	C:\Program Files (x86)\Common Files\Lenovo
	C:\Program Files (x86)\Windows Live\Shared
	C:\SWTOOLS\ReadyApps
	C:\cygwin\etc
	C:\cygwin\sbin
	C:\cygwin\usr\sbin
	C:\cygwin\usr\local\etc
	C:\cygwin\home\cgull\bin
	.

Output from C:\cygwin\bin\id.exe
UID: 1000(cgull)               GID: 513(None)
513(None)                      1001(HomeUsers)
545(Users)                     4(INTERACTIVE)
66049(CONSOLE LOGON)           11(Authenticated Users)
15(This Organization)          113(Local account)
4095(CurrentSession)           66048(LOCAL)
262154(NTLM Authentication)    401408(Medium Mandatory Level)

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

USER = 'cgull'
PWD = '/home/cgull/src/mosh-keithw'
HOME = '/home/cgull'

HOMEPATH = '\Users\cgull'
READYAPPS = 'C:\SWTOOLS\ReadyApps'
APPDATA = 'C:\Users\cgull\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'minibit'
TVTCOMMON = 'C:\Program Files (x86)\Common Files\Lenovo'
SHELL = '/bin/bash'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'AMD64 Family 20 Model 1 Stepping 0, AuthenticAMD'
FXTTY = '1502:9:4bf:d1f:0:0:0:0:4:7f:3:15:16:1:1c:12:11:13:1a:1a:0:17'
PROFILEREAD = 'true'
WINDIR = 'C:\Windows'
TRNINIT = '-B -e -f -I -N -r -s -T -v'
TVT = 'C:\Program Files (x86)\Lenovo'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/home/cgull'
ORIGINAL_PATH = '/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/cygdrive/c/Program Files (x86)/Common Files/Lenovo:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/SWTOOLS/ReadyApps'
USERDOMAIN = 'minibit'
TSMPATH = 'C:\Program Files\ThinkPad\UltraNav Utility'
COMMPath = 'C:\Program Files\Lenovo\Communications Utility'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/tmp'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
ENV = '/home/cgull/.shrc'
configsetroot = 'C:\Windows\ConfigSetRoot'
USERNAME = 'cgull'
PAGER = 'less'
PROCESSOR_LEVEL = '20'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
BLOCKSIZE = '1024'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITEW6432 = 'AMD64'
BTDT = 'yes'
EDITOR = 'emacs'
TRPATH = 'C:\Program Files (x86)\Lenovo\Screen Reading Optimizer\'
LANG = 'en_US.UTF-8'
USERPROFILE = 'C:\Users\cgull'
CLIENTNAME = 'minipixel.local'
TZ = 'America/New_York'
PS1 = 'cgull@minibit:${PWD} $? \$ '
LOGONSERVER = '\\MINIBIT'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'x86'
LOCALAPPDATA = 'C:\Users\cgull\AppData\Local'
!C: = 'C:\cygwin\bin'
SWSHARE = 'C:\SWSHARE'
ProgramData = 'C:\ProgramData'
EXECIGNORE = '*.dll'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\Windows\system32\cmd.exe'
TMP = '/tmp'
SYSTEMROOT = 'C:\Windows'
MPAGE = '-Pps -bletter -2 -H'
PRINTER = '\\http://gw.glup.org:631\hl-2040'
PROCESSOR_REVISION = '0100'
CSCOPE_VIEWER = '/home/cgull/bin/cemacs'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
PROGRAMFILES = 'C:\Program Files (x86)'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'RDP-Tcp#0'
COMPUTERNAME = 'MINIBIT'
XAUTHORITY = '/home/cgull/.Xauthority'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
  (default) = '\??\C:\cygwin'
  6110ccb9d1ee5e16 = '\??\C:\cygwin\home\cgull\src'
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Classes\XLaunch.cygwin
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Classes\XLaunch.cygwin\DefaultIcon
  (default) = 'C:\cygwin\bin\xlaunch.exe,1'
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Edit
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Edit\command
  (default) = '"C:\cygwin\bin\run" --quote "C:\cygwin\bin\bash" -l -c "xlaunch -load \"$(cygpath '%1')\""'
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Open
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Open\command
  (default) = '"C:\cygwin\bin\run" --quote "C:\cygwin\bin\bash" -l -c "xlaunch -run \"$(cygpath '%1')\""'
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Cygwin
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XLaunch.cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XLaunch.cygwin\DefaultIcon
  (default) = 'C:\cygwin\bin\xlaunch.exe,1'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Edit
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Edit\command
  (default) = '"C:\cygwin\bin\run" --quote "C:\cygwin\bin\bash" -l -c "xlaunch -load \"$(cygpath '%1')\""'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Open
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XLaunch.cygwin\Shell\Open\command
  (default) = '"C:\cygwin\bin\run" --quote "C:\cygwin\bin\bash" -l -c "xlaunch -run \"$(cygpath '%1')\""'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: c5e39b7a9d22bafb Path: C:\cygwin
  User:   Key: c5e39b7a9d22bafb Path: C:\cygwin
  User:   Key: 6110ccb9d1ee5e16 Path: C:\cygwin\home\cgull\src (ORPHANED)

c:  hd  NTFS     86213Mb  98% CP CS UN PA FC     Windows7_OS
q:  hd  NTFS      9999Mb  74% CP CS UN PA FC     Lenovo_Recovery
r:  hd  NTFS      1199Mb  24% CP CS UN PA FC     SYSTEM_DRV

C:\cygwin        /          system  binary,auto
C:\cygwin\bin    /usr/bin   system  binary,auto
C:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,auto

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

 3435k 2015/12/21 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2015-12-21 17:18
    Cygwin DLL version info:
        DLL version: 2.4.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 292
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

 3435k 2015/12/21 C:\cygwin\home\cgull\src\mosh-keithw\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2015-12-21 17:18
    Cygwin DLL version info:
        DLL version: 2.4.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 292
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

   53k 2013/11/01 C:\cygwin\bin\cyganthy-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyganthy-0.dll" v0.0 ts=2013-11-01 08:04
  248k 2013/11/01 C:\cygwin\bin\cyganthydic-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyganthydic-0.dll" v0.0 ts=2013-11-01 08:04
   43k 2013/11/01 C:\cygwin\bin\cyganthyinput-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyganthyinput-0.dll" v0.0 ts=2013-11-01 08:04
  170k 2015/05/25 C:\cygwin\bin\cygapr-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygapr-1-0.dll" v0.0 ts=2015-05-25 03:12
  135k 2015/05/25 C:\cygwin\bin\cygaprutil-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygaprutil-1-0.dll" v0.0 ts=2015-05-25 03:35
  644k 2015/06/01 C:\cygwin\bin\cygarchive-13.dll - os=4.0 img=1.0 sys=4.0
                  "cygarchive-13.dll" v0.0 ts=2015-06-01 22:07
  221k 2010/04/13 C:\cygwin\bin\cygarchive-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygarchive-2.dll" v0.0 ts=2010-04-13 02:47
   38k 2013/07/23 C:\cygwin\bin\cygargp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygargp-0.dll" v0.0 ts=2013-07-23 15:35
  547k 2014/03/23 C:\cygwin\bin\cygasn1-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygasn1-8.dll" v0.0 ts=2014-03-23 23:03
  629k 2015/01/23 C:\cygwin\bin\cygaspell-15.dll - os=4.0 img=1.0 sys=4.0
                  "cygaspell-15.dll" v0.0 ts=2015-01-23 17:37
  125k 2015/11/06 C:\cygwin\bin\cygatk-1.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygatk-1.0-0.dll" v0.0 ts=2015-11-06 02:18
  169k 2015/11/06 C:\cygwin\bin\cygatk-bridge-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygatk-bridge-2.0-0.dll" v0.0 ts=2015-11-06 06:10
   87k 2015/07/02 C:\cygwin\bin\cygatomic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygatomic-1.dll" v0.0 ts=2015-07-02 21:51
  155k 2015/11/12 C:\cygwin\bin\cygatspi-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygatspi-0.dll" v0.0 ts=2015-11-12 23:39
   14k 2012/05/04 C:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2012-05-04 12:35
  188k 2015/02/11 C:\cygwin\bin\cygautotrace-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygautotrace-3.dll" v0.0 ts=2015-02-11 14:47
   56k 2013/01/23 C:\cygwin\bin\cygavahi-client-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygavahi-client-3.dll" v0.0 ts=2013-01-23 02:52
   38k 2013/01/23 C:\cygwin\bin\cygavahi-common-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygavahi-common-3.dll" v0.0 ts=2013-01-23 02:52
   11k 2013/01/23 C:\cygwin\bin\cygavahi-glib-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygavahi-glib-1.dll" v0.0 ts=2013-01-23 02:52
  203k 2015/03/23 C:\cygwin\bin\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygblkid-1.dll" v0.0 ts=2015-03-23 09:55
   62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2011-05-21 20:16
 1219k 2015/11/23 C:\cygwin\bin\cygcairo-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcairo-2.dll" v0.0 ts=2015-11-23 20:44
   25k 2015/11/23 C:\cygwin\bin\cygcairo-gobject-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcairo-gobject-2.dll" v0.0 ts=2015-11-23 20:45
  121k 2015/11/23 C:\cygwin\bin\cygcairo-script-interpreter-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcairo-script-interpreter-2.dll" v0.0 ts=2015-11-23 20:46
   10k 2015/02/20 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2015-02-20 16:52
  115k 2013/04/11 C:\cygwin\bin\cygcloog-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcloog-0.dll" v0.0 ts=2013-04-11 19:44
  125k 2013/05/09 C:\cygwin\bin\cygcloog-isl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygcloog-isl-4.dll" v0.0 ts=2013-05-09 08:37
   13k 2015/03/19 C:\cygwin\bin\cygcom_err-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcom_err-2.dll" v0.0 ts=2015-03-19 02:45
  223k 2015/11/06 C:\cygwin\bin\cygcroco-0.6-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygcroco-0.6-3.dll" v0.0 ts=2015-11-06 05:54
    7k 2012/05/07 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2012-05-07 12:18
 1518k 2015/03/19 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2015-03-19 17:54
 1981k 2015/12/03 C:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-1.0.0.dll" v0.0 ts=2015-12-03 20:47
  461k 2015/10/07 C:\cygwin\bin\cygcurl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-4.dll" v0.0 ts=2015-10-07 22:53
   27k 2014/11/12 C:\cygwin\bin\cygdatrie-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdatrie-1.dll" v0.0 ts=2014-11-12 05:14
  929k 2011/11/10 C:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2011-11-10 19:52
 1284k 2011/11/10 C:\cygwin\bin\cygdb-4.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.8.dll" v0.0 ts=2011-11-10 18:45
  273k 2015/02/17 C:\cygwin\bin\cygdbus-1-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygdbus-1-3.dll" v0.0 ts=2015-02-17 19:43
   93k 2011/11/10 C:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2011-11-10 19:53
  105k 2011/11/10 C:\cygwin\bin\cygdb_cxx-4.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.8.dll" v0.0 ts=2011-11-10 18:46
  159k 2013/10/20 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygedit-0.dll" v0.0 ts=2013-10-20 22:09
   99k 2015/11/26 C:\cygwin\bin\cygEGL-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygEGL-1.dll" v0.0 ts=2015-11-26 19:26
  201k 2013/09/03 C:\cygwin\bin\cygEMF-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygEMF-1.dll" v0.0 ts=2013-09-03 11:06
  718k 2015/05/17 C:\cygwin\bin\cygepoxy-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygepoxy-0.dll" v0.0 ts=2015-05-17 17:50
  210k 2012/11/27 C:\cygwin\bin\cygevent-2-0-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygevent-2-0-5.dll" v0.0 ts=2012-11-27 19:45
  124k 2012/11/27 C:\cygwin\bin\cygevent_core-2-0-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygevent_core-2-0-5.dll" v0.0 ts=2012-11-27 19:45
   97k 2012/11/27 C:\cygwin\bin\cygevent_extra-2-0-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygevent_extra-2-0-5.dll" v0.0 ts=2012-11-27 19:46
   18k 2012/11/27 C:\cygwin\bin\cygevent_openssl-2-0-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygevent_openssl-2-0-5.dll" v0.0 ts=2012-11-27 19:46
    8k 2012/11/27 C:\cygwin\bin\cygevent_pthreads-2-0-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygevent_pthreads-2-0-5.dll" v0.0 ts=2012-11-27 19:46
  153k 2013/07/31 C:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2013-07-31 22:33
   81k 2015/03/18 C:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexslt-0.dll" v0.0 ts=2015-03-19 00:47
   32k 2014/10/14 C:\cygwin\bin\cygfam-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygfam-0.dll" v0.0 ts=2014-10-14 21:21
   21k 2011/10/26 C:\cygwin\bin\cygffi-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygffi-4.dll" v0.0 ts=2011-10-23 14:33
   27k 2015/01/02 C:\cygwin\bin\cygffi-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygffi-6.dll" v0.0 ts=2015-01-02 01:11
  868k 2015/07/31 C:\cygwin\bin\cygfftw3-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygfftw3-3.dll" v0.0 ts=2015-07-31 23:09
  838k 2015/07/31 C:\cygwin\bin\cygfftw3f-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygfftw3f-3.dll" v0.0 ts=2015-07-31 22:52
   25k 2015/07/31 C:\cygwin\bin\cygfftw3f_threads-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygfftw3f_threads-3.dll" v0.0 ts=2015-07-31 22:52
   25k 2015/07/31 C:\cygwin\bin\cygfftw3_threads-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygfftw3_threads-3.dll" v0.0 ts=2015-07-31 23:09
  229k 2015/09/10 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2015-09-10 19:22
   23k 2013/06/06 C:\cygwin\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontenc-1.dll" v0.0 ts=2013-06-06 22:17
   53k 2015/06/09 C:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-10.dll" v0.0 ts=2015-06-10 00:21
   40k 2009/03/01 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2009-03-01 06:32
   43k 2009/11/20 C:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-9.dll" v0.0 ts=2009-11-20 19:14
   60k 2015/10/20 C:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2015-10-20 17:07
  593k 2015/01/15 C:\cygwin\bin\cygfpx-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfpx-1.dll" v0.0 ts=2015-01-15 12:10
  608k 2015/09/08 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2015-09-08 09:08
   86k 2009/04/05 C:\cygwin\bin\cygfribidi-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygfribidi-0.dll" v0.0 ts=2009-04-05 23:37
  108k 2015/07/02 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2015-07-02 18:59
  203k 2015/11/29 C:\cygwin\bin\cyggck-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggck-1-0.dll" v0.0 ts=2015-11-29 22:57
  524k 2015/11/29 C:\cygwin\bin\cyggcr-base-3-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcr-base-3-1.dll" v0.0 ts=2015-11-29 22:58
  400k 2015/11/29 C:\cygwin\bin\cyggcr-ui-3-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcr-ui-3-1.dll" v0.0 ts=2015-11-29 22:59
  513k 2015/03/18 C:\cygwin\bin\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcrypt-11.dll" v0.0 ts=2015-03-18 21:03
  633k 2015/11/30 C:\cygwin\bin\cyggcrypt-20.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcrypt-20.dll" v0.0 ts=2015-11-30 04:45
  227k 2012/09/05 C:\cygwin\bin\cyggd-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyggd-2.dll" v0.0 ts=2012-09-05 14:38
  370k 2015/02/09 C:\cygwin\bin\cyggd-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggd-3.dll" v0.0 ts=2015-02-09 09:51
   19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009-02-26 07:58
    8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009-02-26 07:58
  646k 2015/11/18 C:\cygwin\bin\cyggdk-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdk-3-0.dll" v0.0 ts=2015-11-18 03:55
  648k 2015/08/04 C:\cygwin\bin\cyggdk-x11-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdk-x11-2.0-0.dll" v0.0 ts=2015-08-04 15:07
  151k 2015/11/10 C:\cygwin\bin\cyggdk_pixbuf-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdk_pixbuf-2.0-0.dll" v0.0 ts=2015-11-10 07:47
   29k 2009/03/23 C:\cygwin\bin\cyggif-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggif-4.dll" v0.0 ts=2009-03-23 19:55
 1444k 2015/11/10 C:\cygwin\bin\cyggio-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggio-2.0-0.dll" v0.0 ts=2015-11-10 06:00
  650k 2015/11/26 C:\cygwin\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGL-1.dll" v0.0 ts=2015-11-26 19:26
  281k 2015/11/26 C:\cygwin\bin\cygglapi-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygglapi-0.dll" v0.0 ts=2015-11-26 19:05
 1036k 2015/11/10 C:\cygwin\bin\cygglib-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygglib-2.0-0.dll" v0.0 ts=2015-11-10 05:57
  141k 2009/03/30 C:\cygwin\bin\cygglitz-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygglitz-1.dll" v0.0 ts=2009-03-30 17:22
   21k 2009/03/30 C:\cygwin\bin\cygglitz-glx-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygglitz-glx-1.dll" v0.0 ts=2009-03-30 17:23
   15k 2015/11/10 C:\cygwin\bin\cyggmodule-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmodule-2.0-0.dll" v0.0 ts=2015-11-10 05:57
  507k 2015/11/28 C:\cygwin\bin\cyggmp-10.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-10.dll" v0.0 ts=2015-11-28 16:27
  317k 2011/07/31 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2011-07-31 06:14
   22k 2015/11/28 C:\cygwin\bin\cyggmpxx-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmpxx-4.dll" v0.0 ts=2015-11-28 16:27
  103k 2015/06/19 C:\cygwin\bin\cyggnome-menu-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggnome-menu-3-0.dll" v0.0 ts=2015-06-20 00:08
 1026k 2015/08/28 C:\cygwin\bin\cyggnutls-28.dll - os=4.0 img=1.0 sys=4.0
                  "cyggnutls-28.dll" v0.0 ts=2015-08-28 15:23
   26k 2015/08/28 C:\cygwin\bin\cyggnutls-openssl-27.dll - os=4.0 img=1.0 sys=4.0
                  "cyggnutls-openssl-27.dll" v0.0 ts=2015-08-28 15:23
   42k 2015/08/28 C:\cygwin\bin\cyggnutlsxx-28.dll - os=4.0 img=1.0 sys=4.0
                  "cyggnutlsxx-28.dll" v0.0 ts=2015-08-28 15:23
  318k 2015/11/10 C:\cygwin\bin\cyggobject-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggobject-2.0-0.dll" v0.0 ts=2015-11-10 05:58
   78k 2015/07/02 C:\cygwin\bin\cyggomp-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggomp-1.dll" v0.0 ts=2015-07-02 19:15
   68k 2015/11/30 C:\cygwin\bin\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggpg-error-0.dll" v0.0 ts=2015-11-30 04:21
  121k 2013/08/05 C:\cygwin\bin\cyggraphite2-3.dll - os=4.0 img=3.0 sys=4.0
                  "cyggraphite2-3.dll" v0.0 ts=2013-08-05 07:41
10735k 2015/02/11 C:\cygwin\bin\cyggs-9.dll - os=4.0 img=1.0 sys=4.0
                  "cyggs-9.dll" v0.0 ts=2015-02-11 14:56
  245k 2015/11/15 C:\cygwin\bin\cyggsf-1-114.dll - os=4.0 img=1.0 sys=4.0
                  "cyggsf-1-114.dll" v0.0 ts=2015-11-15 07:47
  212k 2014/03/23 C:\cygwin\bin\cyggssapi-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggssapi-3.dll" v0.0 ts=2014-03-23 23:18
  277k 2015/11/09 C:\cygwin\bin\cyggssapi_krb5-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyggssapi_krb5-2.dll" v0.0 ts=2015-11-09 16:31
    9k 2015/11/10 C:\cygwin\bin\cyggthread-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggthread-2.0-0.dll" v0.0 ts=2015-11-10 05:58
 7278k 2015/11/18 C:\cygwin\bin\cyggtk-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggtk-3-0.dll" v0.0 ts=2015-11-18 06:37
 4377k 2015/08/04 C:\cygwin\bin\cyggtk-x11-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggtk-x11-2.0-0.dll" v0.0 ts=2015-08-04 15:19
   18k 2015/11/18 C:\cygwin\bin\cyggtkreftestprivate-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggtkreftestprivate-0.dll" v0.0 ts=2015-11-18 06:49
  812k 2015/02/20 C:\cygwin\bin\cygguile-17.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-17.dll" v0.0 ts=2015-02-20 16:34
  188k 2015/11/13 C:\cygwin\bin\cyggvfscommon.dll - os=4.0 img=1.0 sys=4.0
                  "cyggvfscommon.dll" v0.0 ts=2015-11-13 00:52
  137k 2015/11/13 C:\cygwin\bin\cyggvfsdaemon.dll - os=4.0 img=1.0 sys=4.0
                  "cyggvfsdaemon.dll" v0.0 ts=2015-11-13 01:03
  396k 2015/11/23 C:\cygwin\bin\cygharfbuzz-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygharfbuzz-0.dll" v0.0 ts=2015-11-23 21:00
   14k 2014/03/23 C:\cygwin\bin\cygheimbase-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygheimbase-1.dll" v0.0 ts=2014-03-23 22:59
   24k 2014/03/23 C:\cygwin\bin\cygheimntlm-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygheimntlm-0.dll" v0.0 ts=2014-03-23 23:14
   31k 2015/01/27 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2015-01-27 23:43
  173k 2015/02/11 C:\cygwin\bin\cyghogweed-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyghogweed-2.dll" v0.0 ts=2015-02-11 17:01
  246k 2014/03/23 C:\cygwin\bin\cyghx509-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghx509-5.dll" v0.0 ts=2014-03-23 23:05
   80k 2014/08/10 C:\cygwin\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygICE-6.dll" v0.0 ts=1970-01-01 00:00
 1010k 2015/02/20 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2015-02-20 16:52
    0k 2013/08/19 C:\cygwin\bin\cygicudata.dll (symlink to cygicudata48.dll)
17852k 2011/07/26 C:\cygwin\bin\cygicudata48.dll - os=4.0 img=1.0 sys=4.0
                  "cygicudata48.dll" v0.0 ts=2011-07-26 12:36
    0k 2013/08/19 C:\cygwin\bin\cygicui18n.dll (symlink to cygicui18n48.dll)
 1809k 2011/07/26 C:\cygwin\bin\cygicui18n48.dll - os=4.0 img=1.0 sys=4.0
                  "cygicui18n48.dll" v0.0 ts=2011-07-26 11:53
    0k 2013/08/19 C:\cygwin\bin\cygicuio.dll (symlink to cygicuio48.dll)
   35k 2011/07/26 C:\cygwin\bin\cygicuio48.dll - os=4.0 img=1.0 sys=4.0
                  "cygicuio48.dll" v0.0 ts=2011-07-26 11:56
    0k 2013/08/19 C:\cygwin\bin\cygicule.dll (symlink to cygicule48.dll)
  233k 2011/07/26 C:\cygwin\bin\cygicule48.dll - os=4.0 img=1.0 sys=4.0
                  "cygicule48.dll" v0.0 ts=2011-07-26 11:53
    0k 2013/08/19 C:\cygwin\bin\cygiculx.dll (symlink to cygiculx48.dll)
   42k 2011/07/26 C:\cygwin\bin\cygiculx48.dll - os=4.0 img=1.0 sys=4.0
                  "cygiculx48.dll" v0.0 ts=2011-07-26 11:54
    0k 2013/08/19 C:\cygwin\bin\cygicutest.dll (symlink to cygicutest48.dll)
   51k 2011/07/26 C:\cygwin\bin\cygicutest48.dll - os=4.0 img=1.0 sys=4.0
                  "cygicutest48.dll" v0.0 ts=2011-07-26 11:54
    0k 2013/08/19 C:\cygwin\bin\cygicuuc.dll (symlink to cygicuuc48.dll)
 1238k 2011/07/26 C:\cygwin\bin\cygicuuc48.dll - os=4.0 img=1.0 sys=4.0
                  "cygicuuc48.dll" v0.0 ts=2011-07-26 11:50
  198k 2014/12/06 C:\cygwin\bin\cygidn-11.dll - os=4.0 img=1.0 sys=4.0
                  "cygidn-11.dll" v0.0 ts=2014-12-06 12:56
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005-11-20 02:04
   41k 2015/09/20 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2015-09-20 20:20
  310k 2013/09/09 C:\cygwin\bin\cygiodbc-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiodbc-2.dll" v0.0 ts=2013-09-09 15:53
   67k 2013/09/09 C:\cygwin\bin\cygiodbcinst-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiodbcinst-2.dll" v0.0 ts=2013-09-09 15:53
  989k 2013/05/09 C:\cygwin\bin\cygisl-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygisl-10.dll" v0.0 ts=2013-05-09 08:14
 1191k 2015/09/20 C:\cygwin\bin\cygisl-13.dll - os=4.0 img=1.0 sys=4.0
                  "cygisl-13.dll" v0.0 ts=2015-09-20 12:39
  277k 2015/01/23 C:\cygwin\bin\cygjasper-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjasper-1.dll" v0.0 ts=2015-01-23 12:03
   47k 2014/06/17 C:\cygwin\bin\cygjbig-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig-2.dll" v0.0 ts=1970-01-01 00:00
   20k 2014/06/17 C:\cygwin\bin\cygjbig85-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig85-2.dll" v0.0 ts=1970-01-01 00:00
  193k 2009/08/08 C:\cygwin\bin\cygjpeg-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-7.dll" v0.0 ts=2009-08-08 20:39
  200k 2010/08/09 C:\cygwin\bin\cygjpeg-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-8.dll" v0.0 ts=2010-08-09 08:02
  143k 2015/11/06 C:\cygwin\bin\cygjson-glib-1.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygjson-glib-1.0-0.dll" v0.0 ts=2015-11-06 03:23
  191k 2015/11/09 C:\cygwin\bin\cygk5crypto-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygk5crypto-3.dll" v0.0 ts=2015-11-09 16:30
   23k 2014/03/23 C:\cygwin\bin\cygkafs-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygkafs-0.dll" v0.0 ts=2014-03-23 23:14
  438k 2014/03/23 C:\cygwin\bin\cygkrb5-26.dll - os=4.0 img=1.0 sys=4.0
                  "cygkrb5-26.dll" v0.0 ts=2014-03-23 23:11
  743k 2015/11/09 C:\cygwin\bin\cygkrb5-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygkrb5-3.dll" v0.0 ts=2015-11-09 16:31
   39k 2015/11/09 C:\cygwin\bin\cygkrb5support-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygkrb5support-0.dll" v0.0 ts=2015-11-09 16:30
   42k 2012/03/26 C:\cygwin\bin\cyglber-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyglber-2-3-0.dll" v0.0 ts=2012-03-26 12:12
   49k 2015/11/19 C:\cygwin\bin\cyglber-2-4-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyglber-2-4-2.dll" v0.0 ts=2015-11-19 08:24
  307k 2014/11/11 C:\cygwin\bin\cyglcms2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyglcms2-2.dll" v0.0 ts=2014-11-11 15:45
  193k 2012/03/26 C:\cygwin\bin\cygldap-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap-2-3-0.dll" v0.0 ts=2012-03-26 13:47
  271k 2015/11/19 C:\cygwin\bin\cygldap-2-4-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap-2-4-2.dll" v0.0 ts=2015-11-19 08:25
  206k 2012/03/26 C:\cygwin\bin\cygldap_r-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap_r-2-3-0.dll" v0.0 ts=2012-03-26 13:48
  287k 2015/11/19 C:\cygwin\bin\cygldap_r-2-4-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap_r-2-4-2.dll" v0.0 ts=2015-11-19 08:26
18935k 2013/01/15 C:\cygwin\bin\cygLLVM-3.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygLLVM-3.1.dll" v0.0 ts=2013-01-15 06:27
18179k 2015/02/08 C:\cygwin\bin\cygLLVM-3.4.dll - os=4.0 img=1.0 sys=4.0
                  "cygLLVM-3.4.dll" v0.0 ts=2015-02-08 19:38
19312k 2015/05/27 C:\cygwin\bin\cygLLVM-3.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygLLVM-3.5.dll" v0.0 ts=2015-05-26 23:43
    5k 2015/12/21 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2015-12-21 17:18
    6k 2015/12/21 C:\cygwin\bin\cyglsa64.dll (not x86 dll)
   38k 2015/10/20 C:\cygwin\bin\cygltdl-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-7.dll" v0.0 ts=2015-10-20 02:27
  184k 2015/06/04 C:\cygwin\bin\cyglua-5.2.dll - os=4.0 img=1.0 sys=4.0
                  "cyglua-5.2.dll" v0.0 ts=2015-06-04 19:05
  125k 2010/04/09 C:\cygwin\bin\cyglzma-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-1.dll" v0.0 ts=2010-04-09 16:54
  159k 2015/11/09 C:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-5.dll" v0.0 ts=2015-11-09 06:13
  127k 2014/11/17 C:\cygwin\bin\cyglzo2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzo2-2.dll" v0.0 ts=2014-11-17 09:18
  164k 2015/02/13 C:\cygwin\bin\cygm17n-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygm17n-0.dll" v0.0 ts=2015-02-13 02:50
  116k 2015/02/13 C:\cygwin\bin\cygm17n-core-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygm17n-core-0.dll" v0.0 ts=2015-02-13 02:50
   42k 2015/02/13 C:\cygwin\bin\cygm17n-flt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygm17n-flt-0.dll" v0.0 ts=2015-02-13 02:50
  149k 2015/02/13 C:\cygwin\bin\cygm17n-gui-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygm17n-gui-0.dll" v0.0 ts=2015-02-13 02:50
  123k 2015/08/12 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2015-08-12 20:06
 2267k 2012/04/28 C:\cygwin\bin\cygMagick++-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagick++-5.dll" v0.0 ts=2012-04-28 21:38
  371k 2015/02/11 C:\cygwin\bin\cygMagick++-6.Q16-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagick++-6.Q16-5.dll" v0.0 ts=2015-02-11 11:34
11984k 2012/04/28 C:\cygwin\bin\cygMagickCore-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagickCore-5.dll" v0.0 ts=2012-04-28 21:35
 4641k 2015/07/01 C:\cygwin\bin\cygMagickCore-6.Q16-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagickCore-6.Q16-2.dll" v0.0 ts=2015-07-01 21:12
 2452k 2012/04/28 C:\cygwin\bin\cygMagickWand-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagickWand-5.dll" v0.0 ts=2012-04-28 21:36
 1170k 2015/07/01 C:\cygwin\bin\cygMagickWand-6.Q16-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagickWand-6.Q16-2.dll" v0.0 ts=2015-07-01 21:13
  173k 2015/10/09 C:\cygwin\bin\cygman-2-7-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygman-2-7-4.dll" v0.0 ts=2015-10-09 09:30
   22k 2015/10/09 C:\cygwin\bin\cygmandb-2-7-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmandb-2-7-4.dll" v0.0 ts=2015-10-09 09:30
  133k 2014/01/21 C:\cygwin\bin\cygmcpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygmcpp-0.dll" v0.0 ts=2014-01-21 19:06
   30k 2015/06/09 C:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-10.dll" v0.0 ts=2015-06-10 00:20
   21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2009-03-01 06:31
   25k 2009/11/20 C:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-9.dll" v0.0 ts=2009-11-20 19:13
   30k 2015/10/20 C:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2015-10-20 17:06
  351k 2015/08/11 C:\cygwin\bin\cygming-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygming-1.dll" v0.0 ts=2015-08-11 10:47
   24k 2008/10/30 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.2 sys=4.0
                  "cygminires.dll" v0.0 ts=2008-10-31 00:53
  213k 2011/07/31 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2011-07-31 06:12
   98k 2015/03/01 C:\cygwin\bin\cygmpc-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpc-3.dll" v0.0 ts=2015-03-01 20:24
  369k 2015/06/30 C:\cygwin\bin\cygmpfr-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-4.dll" v0.0 ts=2015-06-30 18:39
   78k 2015/03/15 C:\cygwin\bin\cygmspack-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygmspack-0.dll" v0.0 ts=2015-03-15 19:36
 2830k 2015/08/23 C:\cygwin\bin\cygmysqlclient-18.dll - os=4.0 img=18.0 sys=4.0
                  "cygmysqlclient-18.dll" v0.0 ts=2015-08-23 21:25
  506k 2015/10/29 C:\cygwin\bin\cygnativeGLthunk.dll - os=4.0 img=1.0 sys=4.0
                  "cygnativeGLthunk.dll" v0.0 ts=2015-10-29 15:24
   57k 2015/06/09 C:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-10.dll" v0.0 ts=2015-06-10 00:27
   66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2009-03-01 06:39
   63k 2009/11/20 C:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-9.dll" v0.0 ts=2009-11-20 19:25
   57k 2015/10/20 C:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2015-10-20 17:12
  253k 2015/06/09 C:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-10.dll" v0.0 ts=2015-06-10 00:19
  237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009-03-01 06:28
  198k 2009/11/20 C:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-9.dll" v0.0 ts=2009-11-20 19:10
  327k 2015/10/20 C:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2015-10-20 17:05
  141k 2014/11/11 C:\cygwin\bin\cygneon-27.dll - os=4.0 img=1.0 sys=4.0
                  "cygneon-27.dll" v0.0 ts=2014-11-11 16:42
  195k 2015/02/11 C:\cygwin\bin\cygnettle-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygnettle-4.dll" v0.0 ts=2015-02-11 17:01
   29k 2015/01/13 C:\cygwin\bin\cygOpenVG-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygOpenVG-1.dll" v0.0 ts=2015-01-13 15:58
   72k 2012/12/28 C:\cygwin\bin\cygotf-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygotf-0.dll" v0.0 ts=2012-12-28 00:51
  326k 2015/06/01 C:\cygwin\bin\cygp11-kit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygp11-kit-0.dll" v0.0 ts=2015-06-01 20:17
   15k 2015/06/09 C:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-10.dll" v0.0 ts=2015-06-10 00:20
   11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2009-03-01 06:30
   13k 2009/11/20 C:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-9.dll" v0.0 ts=2009-11-20 19:12
   15k 2015/10/20 C:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2015-10-20 17:06
  272k 2015/11/06 C:\cygwin\bin\cygpango-1.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpango-1.0-0.dll" v0.0 ts=2015-11-06 02:59
   44k 2015/11/06 C:\cygwin\bin\cygpangocairo-1.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpangocairo-1.0-0.dll" v0.0 ts=2015-11-06 02:59
   75k 2015/11/06 C:\cygwin\bin\cygpangoft2-1.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpangoft2-1.0-0.dll" v0.0 ts=2015-11-06 02:59
   29k 2015/11/06 C:\cygwin\bin\cygpangoxft-1.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpangoxft-1.0-0.dll" v0.0 ts=2015-11-06 02:59
   11k 2013/07/23 C:\cygwin\bin\cygpaper-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpaper-1.dll" v0.0 ts=2013-07-23 21:23
  255k 2012/02/10 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2012-02-10 10:24
  458k 2015/08/11 C:\cygwin\bin\cygpcre-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-1.dll" v0.0 ts=2015-08-11 18:40
 2189k 2015/12/17 C:\cygwin\bin\cygperl5_22.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_22.dll" v0.0 ts=2015-12-17 10:39
   41k 2015/04/09 C:\cygwin\bin\cygpipeline-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpipeline-1.dll" v0.0 ts=2015-04-09 20:58
  658k 2015/10/26 C:\cygwin\bin\cygpixman-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpixman-1-0.dll" v0.0 ts=2015-10-27 00:53
  984k 2015/02/11 C:\cygwin\bin\cygplotter-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygplotter-2.dll" v0.0 ts=2015-02-11 21:27
  147k 2015/12/04 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2015-12-04 06:38
  127k 2012/08/22 C:\cygwin\bin\cygpng14-14.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng14-14.dll" v0.0 ts=2012-08-22 05:29
  162k 2015/04/13 C:\cygwin\bin\cygpng15-15.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng15-15.dll" v0.0 ts=2015-04-13 19:37
  193k 2015/12/04 C:\cygwin\bin\cygpng16-16.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng16-16.dll" v0.0 ts=2015-12-04 00:59
   41k 2013/10/21 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2013-10-21 21:52
  897k 2013/04/11 C:\cygwin\bin\cygppl-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygppl-9.dll" v0.0 ts=2013-04-11 19:35
 3092k 2013/04/11 C:\cygwin\bin\cygppl_c-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygppl_c-4.dll" v0.0 ts=2013-04-11 19:36
  157k 2015/10/17 C:\cygwin\bin\cygpq-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpq-5.dll" v0.0 ts=2015-10-17 18:47
  926k 2013/11/18 C:\cygwin\bin\cygprotobuf-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygprotobuf-8.dll" v0.0 ts=2013-11-15 21:42
  160k 2013/11/18 C:\cygwin\bin\cygprotobuf-lite-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygprotobuf-lite-8.dll" v0.0 ts=2013-11-15 21:42
  776k 2013/11/18 C:\cygwin\bin\cygprotoc-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygprotoc-8.dll" v0.0 ts=2013-11-15 21:42
   27k 2009/09/07 C:\cygwin\bin\cygproxy-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygproxy-0.dll" v0.0 ts=2009-09-07 01:56
  122k 2015/06/29 C:\cygwin\bin\cygproxy-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygproxy-1.dll" v0.0 ts=2015-06-29 22:35
    8k 2015/01/23 C:\cygwin\bin\cygpspell-15.dll - os=4.0 img=1.0 sys=4.0
                  "cygpspell-15.dll" v0.0 ts=2015-01-23 17:37
  358k 2015/02/12 C:\cygwin\bin\cygpstoedit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpstoedit-0.dll" v0.0 ts=2015-02-12 16:44
   14k 2013/04/11 C:\cygwin\bin\cygpwl-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpwl-5.dll" v0.0 ts=2013-04-11 19:35
  487k 2015/07/02 C:\cygwin\bin\cygquadmath-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygquadmath-0.dll" v0.0 ts=2015-07-02 19:58
  208k 2015/01/27 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2015-01-27 23:43
   78k 2015/03/26 C:\cygwin\bin\cygrest-0.7-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygrest-0.7-0.dll" v0.0 ts=2015-03-26 20:35
   30k 2015/03/26 C:\cygwin\bin\cygrest-extras-0.7-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygrest-extras-0.7-0.dll" v0.0 ts=2015-03-26 20:35
   62k 2014/03/23 C:\cygwin\bin\cygroken-18.dll - os=4.0 img=1.0 sys=4.0
                  "cygroken-18.dll" v0.0 ts=2014-03-23 23:00
  217k 2015/11/06 C:\cygwin\bin\cygrsvg-2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygrsvg-2-2.dll" v0.0 ts=2015-11-06 06:00
 2335k 2015/10/02 C:\cygwin\bin\cygruby220.dll - os=4.0 img=1.0 sys=4.0
                  "cygruby220.dll" v2.2 ts=2015-10-02 04:01
   84k 2010/07/02 C:\cygwin\bin\cygsasl2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsasl2-2.dll" v0.0 ts=2010-07-02 04:19
  102k 2014/11/24 C:\cygwin\bin\cygsasl2-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygsasl2-3.dll" v0.0 ts=2014-11-24 18:35
  290k 2015/11/06 C:\cygwin\bin\cygsecret-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsecret-1-0.dll" v0.0 ts=2015-11-06 06:19
   54k 2011/03/04 C:\cygwin\bin\cygserf-0-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygserf-0-1.dll" v0.0 ts=2011-03-04 17:45
   92k 2014/12/20 C:\cygwin\bin\cygserf-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygserf-1-0.dll" v0.0 ts=2014-12-20 16:56
   11k 2015/07/17 C:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:33
   28k 2014/01/14 C:\cygwin\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygSM-6.dll" v0.0 ts=2014-01-14 23:54
   98k 2015/03/23 C:\cygwin\bin\cygsmartcols-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygsmartcols-1.dll" v0.0 ts=2015-03-23 09:55
  628k 2015/11/13 C:\cygwin\bin\cygsoup-2.4-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygsoup-2.4-1.dll" v0.0 ts=2015-11-13 05:23
   11k 2015/11/13 C:\cygwin\bin\cygsoup-gnome-2.4-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygsoup-gnome-2.4-1.dll" v0.0 ts=2015-11-13 05:23
  938k 2015/11/04 C:\cygwin\bin\cygsqlite3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsqlite3-0.dll" v0.0 ts=2015-11-04 10:39
  155k 2015/03/17 C:\cygwin\bin\cygssh2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygssh2-1.dll" v0.0 ts=2015-03-17 05:56
  327k 2015/03/19 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2015-03-19 17:54
  448k 2015/12/03 C:\cygwin\bin\cygssl-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-1.0.0.dll" v0.0 ts=2015-12-03 20:47
   13k 2015/07/02 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2015-07-02 19:53
  944k 2015/07/02 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2015-07-02 19:14
  406k 2015/12/15 C:\cygwin\bin\cygsvn_client-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_client-1-0.dll" v0.0 ts=2015-12-15 17:50
   67k 2015/12/15 C:\cygwin\bin\cygsvn_delta-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_delta-1-0.dll" v0.0 ts=2015-12-15 17:48
   85k 2015/12/15 C:\cygwin\bin\cygsvn_diff-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_diff-1-0.dll" v0.0 ts=2015-12-15 17:48
   39k 2015/12/15 C:\cygwin\bin\cygsvn_fs-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs-1-0.dll" v0.0 ts=2015-12-15 17:48
  174k 2015/12/15 C:\cygwin\bin\cygsvn_fs_base-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs_base-1-0.dll" v0.0 ts=2015-12-15 17:48
  297k 2015/12/15 C:\cygwin\bin\cygsvn_fs_fs-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs_fs-1-0.dll" v0.0 ts=2015-12-15 17:48
   11k 2015/12/15 C:\cygwin\bin\cygsvn_fs_util-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs_util-1-0.dll" v0.0 ts=2015-12-15 17:48
  309k 2015/12/15 C:\cygwin\bin\cygsvn_fs_x-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs_x-1-0.dll" v0.0 ts=2015-12-15 17:48
   47k 2015/12/15 C:\cygwin\bin\cygsvn_ra-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra-1-0.dll" v0.0 ts=2015-12-15 17:49
   32k 2015/12/15 C:\cygwin\bin\cygsvn_ra_local-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra_local-1-0.dll" v0.0 ts=2015-12-15 17:49
  171k 2015/12/15 C:\cygwin\bin\cygsvn_ra_serf-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra_serf-1-0.dll" v0.0 ts=2015-12-15 17:48
  109k 2015/12/15 C:\cygwin\bin\cygsvn_ra_svn-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra_svn-1-0.dll" v0.0 ts=2015-12-15 17:48
  201k 2015/12/15 C:\cygwin\bin\cygsvn_repos-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_repos-1-0.dll" v0.0 ts=2015-12-15 17:48
  921k 2015/12/15 C:\cygwin\bin\cygsvn_subr-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_subr-1-0.dll" v0.0 ts=2015-12-15 17:48
  691k 2015/12/15 C:\cygwin\bin\cygsvn_wc-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_wc-1-0.dll" v0.0 ts=2015-12-15 17:48
   69k 2015/08/28 C:\cygwin\bin\cygtasn1-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygtasn1-6.dll" v0.0 ts=2015-08-28 09:48
   34k 2014/11/12 C:\cygwin\bin\cygthai-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygthai-0.dll" v0.0 ts=2014-11-12 05:16
   54k 2015/06/09 C:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-10.dll" v0.0 ts=2015-06-10 00:19
   48k 2009/11/20 C:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-9.dll" v0.0 ts=2009-11-20 19:10
   55k 2015/10/20 C:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2015-10-20 17:05
  378k 2014/05/15 C:\cygwin\bin\cygtiff-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff-5.dll" v0.0 ts=1970-01-01 00:00
  444k 2015/10/28 C:\cygwin\bin\cygtiff-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff-6.dll" v0.0 ts=2015-10-28 21:30
   13k 2014/05/15 C:\cygwin\bin\cygtiffxx-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiffxx-5.dll" v0.0 ts=1970-01-01 00:00
   12k 2015/10/28 C:\cygwin\bin\cygtiffxx-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiffxx-6.dll" v0.0 ts=2015-10-28 21:30
   16k 2015/03/23 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyguuid-1.dll" v0.0 ts=2015-03-23 09:55
 1663k 2015/10/01 C:\cygwin\bin\cygvpx-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygvpx-1.dll" v0.0 ts=2015-10-01 21:40
  583k 2015/08/04 C:\cygwin\bin\cygvte-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygvte-9.dll" v0.0 ts=2015-08-04 04:27
    8k 2015/09/28 C:\cygwin\bin\cygvtv-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygvtv-0.dll" v0.0 ts=2015-09-27 23:13
    8k 2015/09/28 C:\cygwin\bin\cygvtv_stubs-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygvtv_stubs-0.dll" v0.0 ts=2015-09-27 23:13
  357k 2015/03/26 C:\cygwin\bin\cygwebp-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygwebp-5.dll" v0.0 ts=2015-03-26 16:05
  160k 2014/03/23 C:\cygwin\bin\cygwind-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygwind-0.dll" v0.0 ts=2014-03-23 23:01
   30k 2013/11/15 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygwrap-0.dll" v0.0 ts=2013-11-15 20:13
 1173k 2015/03/26 C:\cygwin\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-6.dll" v0.0 ts=2015-03-26 15:27
    8k 2015/03/26 C:\cygwin\bin\cygX11-xcb-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-xcb-1.dll" v0.0 ts=2015-03-26 15:27
   10k 2013/06/06 C:\cygwin\bin\cygXau-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXau-6.dll" v0.0 ts=2013-06-06 06:29
  378k 2014/01/15 C:\cygwin\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-7.dll" v0.0 ts=2014-01-15 03:07
  105k 2015/09/07 C:\cygwin\bin\cygxcb-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-1.dll" v0.0 ts=2015-09-07 07:07
   12k 2015/09/07 C:\cygwin\bin\cygxcb-composite-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-composite-0.dll" v0.0 ts=2015-09-07 07:07
   42k 2014/08/10 C:\cygwin\bin\cygxcb-ewmh-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-ewmh-2.dll" v0.0 ts=1970-01-01 00:00
   73k 2015/09/07 C:\cygwin\bin\cygxcb-glx-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-glx-0.dll" v0.0 ts=2015-09-07 07:07
   19k 2014/08/10 C:\cygwin\bin\cygxcb-icccm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-icccm-4.dll" v0.0 ts=1970-01-01 00:00
   14k 2012/09/28 C:\cygwin\bin\cygxcb-image-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-image-0.dll" v0.0 ts=2012-09-28 17:59
   32k 2015/09/07 C:\cygwin\bin\cygxcb-render-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-render-0.dll" v0.0 ts=2015-09-07 07:07
   14k 2014/08/10 C:\cygwin\bin\cygxcb-render-util-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-render-util-0.dll" v0.0 ts=1970-01-01 00:00
   12k 2015/09/07 C:\cygwin\bin\cygxcb-shm-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-shm-0.dll" v0.0 ts=2015-09-07 07:07
   14k 2012/09/28 C:\cygwin\bin\cygxcb-util-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-util-1.dll" v0.0 ts=2012-09-28 17:51
   10k 2010/11/01 C:\cygwin\bin\cygXcomposite-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXcomposite-1.dll" v0.0 ts=2010-11-01 01:59
   35k 2013/06/06 C:\cygwin\bin\cygXcursor-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXcursor-1.dll" v0.0 ts=2013-06-06 21:33
    9k 2013/04/08 C:\cygwin\bin\cygXdamage-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdamage-1.dll" v0.0 ts=2013-04-08 22:37
   22k 2015/03/26 C:\cygwin\bin\cygXdmcp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdmcp-6.dll" v0.0 ts=2015-03-26 15:38
   62k 2014/08/10 C:\cygwin\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXext-6.dll" v0.0 ts=1970-01-01 00:00
   19k 2013/06/06 C:\cygwin\bin\cygXfixes-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygXfixes-3.dll" v0.0 ts=2013-06-06 20:37
  216k 2015/03/17 C:\cygwin\bin\cygXfont-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXfont-1.dll" v0.0 ts=2015-03-17 16:50
   77k 2014/08/10 C:\cygwin\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-2.dll" v0.0 ts=1970-01-01 00:00
   58k 2014/08/10 C:\cygwin\bin\cygXi-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXi-6.dll" v0.0 ts=1970-01-01 00:00
    9k 2013/06/06 C:\cygwin\bin\cygXinerama-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXinerama-1.dll" v0.0 ts=2013-06-06 21:38
  119k 2012/05/23 C:\cygwin\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbfile-1.dll" v0.0 ts=2012-05-23 05:41
 1271k 2015/11/27 C:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml2-2.dll" v0.0 ts=2015-11-27 20:45
   88k 2014/01/15 C:\cygwin\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmu-6.dll" v0.0 ts=2014-01-15 02:52
   12k 2014/01/15 C:\cygwin\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmuu-1.dll" v0.0 ts=2014-01-15 02:52
   60k 2014/01/15 C:\cygwin\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-4.dll" v0.0 ts=2014-01-15 02:25
   35k 2014/01/15 C:\cygwin\bin\cygXrandr-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrandr-2.dll" v0.0 ts=2014-01-15 00:57
   35k 2013/06/14 C:\cygwin\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrender-1.dll" v0.0 ts=2013-06-14 10:01
  227k 2015/03/18 C:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxslt-1.dll" v0.0 ts=2015-03-19 00:47
    9k 2012/05/23 C:\cygwin\bin\cygXss-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXss-1.dll" v0.0 ts=2012-05-23 05:56
  320k 2014/08/10 C:\cygwin\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXt-6.dll" v0.0 ts=1970-01-01 00:00
   19k 2013/06/06 C:\cygwin\bin\cygXtst-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXtst-6.dll" v0.0 ts=2013-06-06 20:43
  114k 2014/12/08 C:\cygwin\bin\cygyaml-0-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygyaml-0-2.dll" v0.0 ts=2014-12-08 18:29
   83k 2014/11/19 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2014-11-19 22:57
   74k 2015/03/26 C:\cygwin\bin\cygzip-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygzip-2.dll" v0.0 ts=2015-03-26 20:05
 3435k 2015/12/21 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2015-12-21 17:18
    Cygwin DLL version info:
        DLL version: 2.4.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 292
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

 3435k 2015/12/21 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2015-12-21 17:18
    Cygwin DLL version info:
        DLL version: 2.4.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 292
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

Warning: There are multiple cygwin1.dlls on your path

Service             : sshd                
Display name        : CYGWIN sshd
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/sshd -D
stdin path          : /dev/null
stdout path         : /var/log/sshd.log
stderr path         : /var/log/sshd.log
Process Type        : Own Process
Startup             : Automatic
Dependencies        : tcpip
Account             : .\cyg_server


Cygwin Package Information
Last downloaded files to: C:\Program Files (x86)\Mozilla Firefox
Last downloaded files from: http://mirror.cs.vt.edu/pub/cygwin/cygwin/

Package                               Version             Status
_autorebase                           001002-1            OK
_update-info-dir                      01468-1             OK
adwaita-icon-theme                    3.18.0-1            OK
adwaita-themes                        3.18.0-1            OK
alternatives                          1.3.30c-10          OK
Empty package apache2
apache2                               2.4.16-1            OK
at-spi2-core                          2.18.3-1            OK
autoconf                              13-1                OK
autoconf2.1                           2.13-12             OK
autoconf2.5                           2.69-3              OK
automake                              9-1                 OK
automake1.10                          1.10.3-2            OK
automake1.11                          1.11.6-2            OK
automake1.12                          1.12.6-2            OK
automake1.13                          1.13.4-1            OK
automake1.14                          1.14.1-2            OK
automake1.15                          1.15-1              OK
automake1.4                           1.4p6-11            OK
automake1.5                           1.5-11              OK
automake1.6                           1.6.3-12            OK
automake1.7                           1.7.9-11            OK
automake1.8                           1.8.5-11            OK
automake1.9                           1.9.6-11            OK
base-cygwin                           3.8-1               OK
base-files                            4.2-4               OK
bash                                  4.3.42-4            OK
binutils                              2.25-4              OK
bzip2                                 1.0.6-2             OK
ca-certificates                       2.6-1               OK
cabextract                            1.6-1               OK
cmake                                 3.3.2-1             OK
coreutils                             8.24-3              OK
cpio                                  2.11-3              OK
crypt                                 1.2-1               OK
csih                                  0.9.9-1             OK
cvs                                   1.12.13-10          OK
cvsps                                 2.2b1-1             OK
cygrunsrv                             1.62-1              OK
cygutils                              1.4.15-2            OK
cygwin                                2.4.0-0.16          OK
cygwin-debuginfo                      2.3.1-1             OK
cygwin-devel                          2.3.1-1             OK
cygwin-doc                            2.3.0-1             OK
cygwin-x-doc                          1.1.20150922-1      OK
dash                                  0.5.8-3             OK
dbus                                  1.8.16-1            OK
dbus-x11                              1.8.16-1            OK
dconf-service                         0.24.0-1            OK
desktop-file-utils                    0.22-1              OK
diffutils                             3.3-3               OK
dos2unix                              7.3.2-1             OK
dri-drivers                           11.0.6-1            OK
editrights                            1.03-1              OK
emacs                                 24.5-2              OK
emacs-el                              24.5-2              OK
emacs-X11                             24.5-2              OK
fbpanel                               6.1-6               OK
file                                  5.24-1              OK
findutils                             4.5.12-1            OK
Empty package font-adobe-dpi75
font-adobe-dpi75                      7.5-2               OK
Empty package font-alias
font-alias                            7.5-2               OK
font-bitstream-vera-ttf               1.10-1              OK
Empty package font-encodings
font-encodings                        7.5-2               OK
Empty package font-misc-misc
font-misc-misc                        7.5-2               OK
fontconfig                            2.11.1-3            OK
gamin                                 0.1.10-15           OK
gawk                                  4.1.3-1             OK
Empty package gcc
gcc                                   4.7.3-1             OK
gcc-core                              4.9.3-1             OK
gcc-g++                               4.9.3-1             OK
gcc-mingw-core                        20050522-3          OK
Empty package gcc-mingw-g++
gcc-mingw-g++                         4.5.2-1             OK
gccmakedep                            1.0.3-1             OK
gcr                                   3.18.0-1            OK
gdb                                   7.8-2               OK
gdk-pixbuf2.0-svg                     2.40.11-1           OK
getent                                2.18.90-4           OK
gettext                               0.19.5.1-2          OK
git                                   2.6.2-1             OK
gitk                                  2.6.2-1             OK
glib2.0-networking                    2.46.1-1            OK
gnome-icon-theme                      3.10.0-1            OK
gnome-keyring                         3.18.3-1            OK
gnome-menus                           3.13.3-3            OK
grep                                  2.21-2              OK
groff                                 1.22.3-1            OK
gsettings-desktop-schemas             3.18.1-1            OK
gtk-update-icon-cache                 3.18.5-1            OK
gtk2.0-engines-pixmap                 2.24.28-2           OK
gvfs                                  1.26.2-1            OK
gzip                                  1.6-1               OK
hicolor-icon-theme                    0.12-1              OK
hostname                              3.13-1              OK
httpd                                 2.4.16-1            OK
inetutils                             1.9.1-2             OK
inetutils-server                      1.9.1-2             OK
info                                  6.0-1               OK
ipc-utils                             1.0-1               OK
iperf                                 2.0.5-1             OK
keychain                              2.7.1-1             OK
less                                  481-1               OK
libanthy-common                       9100h-2             OK
libanthy0                             9100h-2             OK
libapr1                               1.5.2-2             OK
libaprutil1                           1.5.4-2             OK
libarchive13                          3.1.2-3             OK
libarchive2                           2.8.3-1             OK
libargp                               20110921-2          OK
libasn1_8                             1.5.3-1             OK
libaspell15                           0.60.6.1-3          OK
libatk-bridge2.0_0                    2.18.1-1            OK
libatk1.0_0                           2.18.0-1            OK
libatomic1                            4.9.3-1             OK
libatspi0                             2.18.3-1            OK
libattr1                              2.4.46-1            OK
libautotrace3                         0.31.1-16           OK
libavahi-client3                      0.6.31-2            OK
libavahi-common3                      0.6.31-2            OK
libavahi-glib1                        0.6.31-2            OK
libblkid1                             2.25.2-2            OK
libbz2_1                              1.0.6-2             OK
libcairo2                             1.14.4-1            OK
libcharset1                           1.14-3              OK
libcloog-isl4                         0.18.0-2            OK
libcloog0                             0.15.11-1           OK
libcom_err2                           1.42.12-2           OK
libcroco0.6_3                         0.6.9-1             OK
libcurl4                              7.45.0-1            OK
libdatrie1                            0.2.8-1             OK
libdb4.5                              4.5.20.2-3          OK
libdb4.8                              4.8.30-1            OK
libdbus1_3                            1.8.16-1            OK
libedit0                              20130712-1          OK
libEGL1                               11.0.6-1            OK
libEMF1                               1.0.7-2             OK
libepoxy0                             1.2-1               OK
libevent2.0_5                         2.0.21-1            OK
libexpat1                             2.1.0-3             OK
libfam0                               0.1.10-15           OK
libffi4                               4.5.3-3             OK
libffi6                               3.2.1-1             OK
libfftw3_3                            3.3.4-2             OK
libfontconfig1                        2.11.1-3            OK
libfontenc1                           1.1.2-1             OK
libfpx1                               1.3.1.4-1           OK
libfreetype6                          2.5.5-2             OK
libfribidi0                           0.19.2-1            OK
libgcc1                               4.9.3-1             OK
libgck1_0                             3.18.0-1            OK
libgcr-base3_1                        3.18.0-1            OK
libgcr-ui3-common                     3.18.0-1            OK
libgcr-ui3_1                          3.18.0-1            OK
Empty package libgcr3-common
libgcr3-common                        3.18.0-1            OK
Empty package libgcr3_1
libgcr3_1                             3.18.0-1            OK
libgcrypt11                           1.5.3-2             OK
libgcrypt20                           1.6.4-1             OK
libgd2                                2.0.36RC1-13        OK
libgd3                                2.1.1-1             OK
libgdbm4                              1.8.3-20            OK
libgdk_pixbuf2.0_0                    2.32.2-1            OK
libgif4                               4.1.6-10            OK
libGL1                                11.0.6-1            OK
libglapi0                             11.0.6-1            OK
libglib2.0_0                          2.46.2-1            OK
libglitz1                             0.5.6-10            OK
libgmp10                              6.1.0-2p1           OK
libgmp3                               4.3.2-1             OK
libgmpxx4                             6.1.0-2p1           OK
libgnome-menu3_0                      3.13.3-3            OK
libgnutls28                           3.3.17-1            OK
libgomp1                              4.9.3-1             OK
libgpg-error0                         1.19-1              OK
libgraphite2_3                        1.2.3-1             OK
libgs9                                9.15-2              OK
libgsf1_114                           1.14.34-1           OK
libgssapi3                            1.5.3-1             OK
libgssapi_krb5_2                      1.13.2-3            OK
libgtk2.0_0                           2.24.28-2           OK
libgtk3_0                             3.18.5-1            OK
libguile17                            1.8.8-1             OK
libharfbuzz0                          1.0.6-1             OK
libheimbase1                          1.5.3-1             OK
libheimntlm0                          1.5.3-1             OK
libhogweed2                           2.7-2               OK
libhx509_5                            1.5.3-1             OK
libICE6                               1.0.9-1             OK
libiconv                              1.14-3              OK
libiconv-devel                        1.14-3              OK
libiconv2                             1.14-3              OK
libicu48                              4.8.1-1             OK
libidn11                              1.29-1              OK
libintl-devel                         0.19.5.1-2          OK
libintl3                              0.14.5-1            OK
libintl8                              0.19.5.1-2          OK
libiodbc2                             3.52.8-2            OK
libisl10                              0.11.1-2            OK
libisl13                              0.14.1-1            OK
libjasper1                            1.900.1-15          OK
libjbig2                              2.0-14              OK
libjpeg7                              7-10                OK
libjpeg8                              8b-1                OK
libjson-glib1.0_0                     1.0.4-1             OK
libk5crypto3                          1.13.2-3            OK
libkafs0                              1.5.3-1             OK
libkrb5_26                            1.5.3-1             OK
libkrb5_3                             1.13.2-3            OK
libkrb5support0                       1.13.2-3            OK
liblcms2_2                            2.6-1               OK
libllvm3.1                            3.1-3               OK
libllvm3.4                            3.4.2-5             OK
libllvm3.5                            3.5.2-1             OK
libltdl7                              2.4.6-2             OK
liblzma1                              4.999.9beta-11      OK
liblzma5                              5.2.2-1             OK
liblzo2_2                             2.08-1              OK
libm17n0                              1.7.0-1             OK
libMagickC++6_5                       6.9.0.0-4           OK
libMagickCore5                        6.7.6.3-3           OK
Empty package libMagickCore6
libMagickCore6                        6.9.1.3-3           OK
libMagickCore6_2                      6.9.1.3-3           OK
libMagickWand6_2                      6.9.1.3-3           OK
libmcpp0                              2.7.2-2             OK
libming1                              0.4.7-1             OK
libmpc3                               1.0.3-1             OK
libmpfr4                              3.1.3-1             OK
libmspack0                            0.5-0.1.alpha       OK
libmysqlclient18                      5.5.45-1            OK
libncurses-devel                      6.0-1.20151017      OK
libncurses10                          5.9-20150530-1      OK
libncurses8                           5.5-10              OK
libncurses9                           5.7-16              OK
Empty package libncursesw-devel
libncursesw-devel                     6.0-1.20151017      OK
libncursesw10                         6.0-1.20151017      OK
libneon27                             0.30.1-1            OK
libnettle4                            2.7-2               OK
libopenldap2_3_0                      2.3.43-3            OK
libopenldap2_4_2                      2.4.42-1            OK
libopenssl098                         0.9.8zf-1           OK
libopenssl100                         1.0.2e-1            OK
libOpenVG1                            10.3.7-1            OK
libotf0                               0.9.13-1            OK
libp11-kit0                           0.22.1-1            OK
libpango1.0_0                         1.38.1-1            OK
libpaper-common                       1.1.24-2            OK
libpaper1                             1.1.24-2            OK
libpcre0                              8.21-2              OK
libpcre1                              8.37-2              OK
libpipeline1                          1.4.0-1             OK
libpixman1_0                          0.32.8-1            OK
libplotter2                           2.6-4               OK
libpng12                              1.2.55-1            OK
libpng14                              1.4.12-3            OK
libpng15                              1.5.22-1            OK
libpng16                              1.6.20-1            OK
Empty package libpopt0
libpopt0                              1.16-1              OK
libppl9                               0.11.2-1            OK
libppl_c4                             0.11.2-1            OK
libpq5                                9.4.5-1             OK
libprotobuf-devel                     2.5.0-1             OK
libprotobuf8                          2.5.0-1             OK
libproxy0                             0.2.3-2             OK
libproxy1                             0.4.11-5            OK
libpstoedit0                          3.70-1              OK
libpwl5                               0.11.2-1            OK
libquadmath0                          4.9.3-1             OK
libreadline7                          6.3.8-1             OK
librest0.7_0                          0.7.93-1            OK
libroken18                            1.5.3-1             OK
librsvg2_2                            2.40.11-1           OK
Missing file: /etc/sasl2/.keep-cyrus-sasl from package libsasl2
libsasl2                              2.1.23-1            Incomplete
libsasl2_3                            2.1.26-9            OK
libsecret1_0                          0.18.3-1            OK
Missing file: /usr/share/doc/Cygwin/serf.README from package libserf0_1
libserf0_1                            0.7.1-1             Incomplete
libserf1_0                            1.3.8-1             OK
libsigsegv2                           2.10-2              OK
libSM6                                1.2.2-1             OK
libsmartcols1                         2.25.2-2            OK
libsoup-gnome2.4_1                    2.52.2-1            OK
libsoup2.4_1                          2.52.2-1            OK
libsqlite3_0                          3.9.2-1             OK
libssh2_1                             1.5.0-1             OK
libssp0                               4.9.3-1             OK
libstdc++6                            4.9.3-1             OK
libtasn1_6                            4.5-1               OK
libthai0                              0.1.21-1            OK
libtiff5                              3.9.7-4             OK
libtiff6                              4.0.6-1             OK
libuuid-devel                         2.25.2-2            OK
libuuid1                              2.25.2-2            OK
libvpx1                               1.3.0-2             OK
libvte9                               0.28.2-6            OK
libvtv0                               5.2.0-1             OK
libwebp5                              0.4.3-1             OK
libwind0                              1.5.3-1             OK
libwrap0                              7.6-22              OK
libX11-xcb1                           1.6.3-1             OK
libX11_6                              1.6.3-1             OK
libXau6                               1.0.8-1             OK
libXaw7                               1.0.12-1            OK
libxcb-composite0                     1.11.1-1            OK
libxcb-ewmh2                          0.4.1-1             OK
libxcb-glx0                           1.11.1-1            OK
libxcb-icccm4                         0.4.1-1             OK
libxcb-image0                         0.3.9-1             OK
libxcb-render-util0                   0.3.9-1             OK
libxcb-render0                        1.11.1-1            OK
libxcb-shm0                           1.11.1-1            OK
libxcb-util1                          0.3.9-1             OK
libxcb1                               1.11.1-1            OK
libXcomposite1                        0.4.3-1             OK
libXcursor1                           1.1.14-1            OK
libXdamage1                           1.1.4-1             OK
libXdmcp6                             1.1.2-1             OK
libXext6                              1.3.3-1             OK
libXfixes3                            5.0.1-1             OK
libXfont1                             1.5.1-1             OK
libXft2                               2.3.2-1             OK
libXi6                                1.7.4-1             OK
libXinerama1                          1.1.3-1             OK
libxkbfile1                           1.0.8-1             OK
libxml2                               2.9.3-1             OK
libXmu6                               1.1.2-1             OK
libXmuu1                              1.1.2-1             OK
libXpm4                               3.5.11-1            OK
libXrandr2                            1.4.2-1             OK
libXrender1                           0.9.8-1             OK
libxslt                               1.1.28-2            OK
libXss1                               1.2.2-1             OK
libXt6                                1.1.4-2             OK
libXtst6                              1.2.2-1             OK
libyaml0_2                            0.1.6-2             OK
libzip2                               0.11.2-2            OK
login                                 1.11-1              OK
lua                                   5.2.4-1             OK
luit                                  20130217-1          OK
lxterminal                            0.2.0-1             OK
lynx                                  2.8.7-1             OK
lzop                                  1.03-1              OK
m17n-db                               1.7.0-1             OK
m4                                    1.4.17-2            OK
make                                  4.1-1               OK
makedepend                            1.0.5-1             OK
Empty package man
man                                   2.7.4-1             OK
man-db                                2.7.4-1             OK
mcpp                                  2.7.2-2             OK
mingw-binutils                        2.23.1-1            OK
mingw-gcc-core                        4.7.3-1             OK
mingw-gcc-g++                         4.7.3-1             OK
mingw-pthreads                        20110507-2          OK
mingw-runtime                         4.0-1               OK
mingw-w32api                          4.0-1               OK
minires                               1.02-1              OK
mintty                                2.2.2-0             OK
mkfontdir                             1.0.7-1             OK
mkfontscale                           1.1.1-1             OK
mosh                                  1.2.5-1             OK
mosh-debuginfo                        1.2.5-1             OK
ncurses                               6.0-1.20151017      OK
ncurses-demo                          6.0-1.20151017      OK
Empty package ncursesw
ncursesw                              6.0-1.20151017      OK
Empty package ncursesw-demo
ncursesw-demo                         6.0-1.20151017      OK
openssh                               7.1p1-1             OK
openssl                               1.0.2e-1            OK
openssl-devel                         1.0.2e-1            OK
p11-kit                               0.22.1-1            OK
p11-kit-trust                         0.22.1-1            OK
p7zip                                 15.09-1             OK
perl                                  5.22.1-1            OK
perl-Archive-Zip                      1.55-1              OK
perl-B-Generate                       1.53-2              OK
perl-Capture-Tiny                     0.30-2              OK
perl-Carp                             1.3301-2            OK
perl-common-sense                     3.74-1              OK
perl-Compress-Bzip2                   2.24-1              OK
perl-Config-Perl-V                    0.25-1              OK
perl-Config-Tiny                      2.23-1              OK
perl-CPAN-DistnameInfo                0.12-5              OK
perl-CPAN-Reporter                    1.2015-1            OK
perl-CPAN-Testers-Report              1.999003-2          OK
perl-Data-Alias                       1.20-1              OK
perl-Data-GUID                        0.048-2             OK
perl-Data-OptList                     0.109-2             OK
perl-Data-UUID                        1.221-1             OK
perl-Devel-Autoflush                  0.06-2              OK
perl-Devel-Symdump                    2.15-1              OK
perl-Digest-HMAC                      1.03-5              OK
perl-Digest-SHA                       5.95-2              OK
perl-Encode-Locale                    1.05-1              OK
perl-Error                            0.17024-1           OK
perl-File-Copy-Recursive              0.38-5              OK
perl-File-HomeDir                     1.00-3              OK
perl-File-Listing                     6.04-5              OK
perl-File-pushd                       1.009-2             OK
perl-File-Which                       1.19-1              OK
perl-HTML-Parser                      3.71-3              OK
perl-HTML-Tagset                      3.20-5              OK
perl-HTTP-Cookies                     6.01-5              OK
perl-HTTP-Daemon                      6.01-5              OK
perl-HTTP-Date                        6.02-5              OK
perl-HTTP-Message                     6.11-1              OK
perl-HTTP-Negotiate                   6.01-5              OK
perl-IO-CaptureOutput                 1.1104-2            OK
perl-IO-HTML                          1.001-2             OK
perl-IO-Prompt-Tiny                   0.003-2             OK
perl-IO-Socket-INET6                  2.72-2              OK
perl-IO-String                        1.08-5              OK
perl-IO-Tty                           1.12-2              OK
perl-IPC-Cmd                          0.92-2              OK
perl-IPC-Run                          0.94-2              OK
perl-JSON                             2.90-3              OK
perl-JSON-XS                          3.01-3              OK
perl-libwww-perl                      6.15-1              OK
perl-LWP-MediaTypes                   6.02-5              OK
perl-Metabase-Client-Simple           0.010-2             OK
perl-Metabase-Fact                    0.024-2             OK
perl-MIME-Base32                      1.02-1              OK
perl-Module-ScanDeps                  1.20-1              OK
perl-Module-Signature                 0.79-1              OK
perl-Net-DNS                          1.04-1              OK
perl-Net-HTTP                         6.09-1              OK
perl-Net-IP                           1.26-3              OK
perl-PadWalker                        2.2-1               OK
perl-PAR-Dist                         0.49-3              OK
perl-Params-Util                      1.07-5              OK
perl-Pod-Coverage                     0.23-3              OK
perl-Pod-Escapes                      1.07-2              OK
perl-Pod-Simple                       3.32-1              OK
perl-Probe-Perl                       0.03-3              OK
perl-Proc-ProcessTable                0.53-1              OK
perl-Socket6                          0.25-2              OK
perl-Sub-Exporter                     0.987-3             OK
perl-Sub-Install                      0.928-2             OK
perl-Tee                              0.14-5              OK
perl-Term-ReadLine-Gnu                1.28-1              OK
perl-Term-ReadLine-Perl               1.0303-5            OK
perl-TermReadKey                      2.33-1              OK
perl-Test-NoWarnings                  1.04-4              OK
perl-Test-Pod                         1.51-1              OK
perl-Test-Pod-Coverage                1.10-2              OK
perl-Test-Reporter                    1.62-2              OK
perl-Test-Reporter-Transport-Metabase 1.999009-2          OK
perl-Test-Simple                      1.001014-2          OK
perl-Types-Serialiser                 1.0-3               OK
perl-URI                              1.69-1              OK
perl-WWW-RobotRules                   6.02-5              OK
perl-XML-LibXML                       2.0123-1            OK
perl-XML-NamespaceSupport             1.11-5              OK
perl-XML-Parser                       2.44-2              OK
perl-XML-SAX                          0.99-5              OK
perl-XML-SAX-Base                     1.08-5              OK
perl-YAML                             1.15-2              OK
perl_autorebase                       5.22.1-1            OK
perl_base                             5.22.1-1            OK
perl_vendor                           5.14.4-1            OK
ping                                  1.0.2-1             OK
pkg-config                            0.29-1              OK
popt                                  1.16-1              OK
procps                                3.2.8-4             OK
psmisc                                22.16-1             OK
putty                                 0.66-1              OK
python                                2.7.10-1            OK
python-doc                            2.7.9-1             OK
rcs                                   5.9.4-1             OK
rebase                                4.4.1-1             OK
rsync                                 3.1.1-1             OK
ruby                                  2.2.3-1             OK
ruby-actionpack                       4.2.4-1             OK
ruby-actionview                       4.2.4-1             OK
ruby-activemodel                      4.2.4-1             OK
ruby-activesupport                    4.2.4-1             OK
ruby-binding_of_caller                0.7.2-1             OK
ruby-builder                          3.2.2-1             OK
ruby-debug_inspector                  0.0.2-1             OK
ruby-erubis                           2.7.0-2             OK
ruby-i18n                             0.7.0-1             OK
ruby-io-console                       0.4.2-2             OK
ruby-io-console-doc                   0.4.2-2             OK
ruby-json                             1.8.2-1             OK
ruby-loofah                           2.0.2-1             OK
ruby-minitest4                        4.7.5-1             OK
ruby-minitest5                        5.6.1-1             OK
ruby-nokogiri                         1.6.6.2-1           OK
ruby-rack                             1.6.2-1             OK
ruby-rack-test                        0.6.3-1             OK
ruby-rails-deprecated_sanitizer       1.0.3-1             OK
ruby-rails-dom-testing                1.0.6-1             OK
ruby-rails-html-sanitizer             1.0.2-1             OK
ruby-railties                         4.2.4-1             OK
ruby-rake                             10.4.2-1            OK
ruby-rdoc                             4.2.0-1             OK
ruby-sprockets                        3.1.0-1             OK
ruby-sprockets-rails                  2.3.1-1             OK
ruby-thor                             0.19.1-1            OK
ruby-thread_safe                      0.3.5-1             OK
ruby-tzinfo                           1.2.2-1             OK
ruby-web-console                      2.1.3-1             OK
ruby-web-console-doc                  2.1.3-1             OK
rubygems                              2.4.8-1             OK
run                                   1.3.4-2             OK
sed                                   4.2.2-3             OK
setxkbmap                             1.3.0-1             OK
shared-mime-info                      1.5-1               OK
subversion                            1.9.3-1             OK
subversion-apache2                    1.8.13-1            OK
tar                                   1.28-1              OK
tcl                                   8.5.18-1            OK
tcl-tk                                8.5.18-1            OK
Empty package tcltk
tcltk                                 20120206-1          OK
terminfo                              6.0-1.20151017      OK
terminfo-extra                        6.0-1.20151017      OK
terminfo0                             5.5_20061104-12     OK
texinfo                               6.0-1               OK
tmux                                  2.1-1               OK
tzcode                                2015g-1             OK
util-linux                            2.25.2-2            OK
vim-minimal                           7.4.891-1           OK
Empty package w32api
w32api                                9999-1              OK
w32api-headers                        4.0.4-1             OK
w32api-runtime                        4.0.4-1             OK
weechat                               1.3-1               OK
weechat-doc                           1.3-1               OK
weechat-lua                           1.3-1               OK
weechat-perl                          1.3-1               OK
weechat-python                        1.3-1               OK
weechat-ruby                          1.3-1               OK
which                                 2.20-2              OK
windows-default-manifest              6.4-1               OK
xauth                                 1.0.9-1             OK
xcursor-themes                        1.0.4-1             OK
xdg-user-dirs                         0.15-1              OK
xemacs-emacs-common                   21.4.24-1           OK
xf86-video-dummy                      0.3.7-3             OK
xf86-video-nested                     0.1.0-6             OK
xinit                                 1.3.4-9             OK
xkbcomp                               1.2.4-1             OK
xkeyboard-config                      2.14-1              OK
xlaunch                               20150224-2          OK
xmodmap                               1.0.8-1             OK
xorg-server                           1.17.4-1            OK
xorg-server-common                    1.17.4-1            OK
Missing file: /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20 from package xorg-x11-fonts-dpi75
xorg-x11-fonts-dpi75                  7.5-2               Incomplete
Missing file: /etc/X11/fontpath.d/xorg-x11-fonts-misc:unscaled:pri=10 from package xorg-x11-fonts-misc
xorg-x11-fonts-misc                   7.5-2               Incomplete
xrdb                                  1.1.0-1             OK
xterm                                 320-1               OK
xwin-xdg-menu                         20150708-1          OK
xz                                    5.2.2-1             OK
zip                                   3.0-12              OK
zlib                                  1.2.8-3             OK
zlib-devel                            1.2.8-3             OK
zlib0                                 1.2.8-3             OK
Use -h to see help about each section

[-- Attachment #3: Type: text/plain, Size: 218 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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2015-12-28  1:50 cygwin.dll: bug with select on Windows console john hood
@ 2016-01-02  2:06 ` John Hood
  2016-01-03  0:45   ` Mark Geisert
  2016-01-07  0:48 ` Mark Geisert
  2016-01-07 17:30 ` Corinna Vinschen
  2 siblings, 1 reply; 18+ messages in thread
From: John Hood @ 2016-01-02  2:06 UTC (permalink / raw)
  To: cygwin

More observations:

* This also happens on a Windows 8.1 VDI install with a different 
AV/security solution-- different enough from my machine that I don't 
think the Windows/app environment is the cause of this, it looks more 
strongly like a Cygwin issue to me.

* 
<http://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html> 
clearly states that select() must zero out all FD_SET bits when it 
returns 0.

* Moving the mouse cursor around over the console window (at a bash 
prompt, without mouse modes enabled) makes this issue happen *much* more 
frequently.

I'd investigate further but on current Git sources, 'make' fails for me 
with this:

/home/cgull/src/newlib-cygwin/newlib/libc/configure: line 2164: syntax 
error near unexpected token `..'
/home/cgull/src/newlib-cygwin/newlib/libc/configure: line 2164: 
`NEWLIB_CONFIGURE(..)'

regards,

   --jh


--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-02  2:06 ` John Hood
@ 2016-01-03  0:45   ` Mark Geisert
  0 siblings, 0 replies; 18+ messages in thread
From: Mark Geisert @ 2016-01-03  0:45 UTC (permalink / raw)
  To: cygwin

John Hood wrote:
> More observations:
>
> * This also happens on a Windows 8.1 VDI install with a different AV/security
> solution-- different enough from my machine that I don't think the Windows/app
> environment is the cause of this, it looks more strongly like a Cygwin issue to me.
>
> * <http://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html>
> clearly states that select() must zero out all FD_SET bits when it returns 0.
>
> * Moving the mouse cursor around over the console window (at a bash prompt,
> without mouse modes enabled) makes this issue happen *much* more frequently.

I've looked at the Cygwin source for select(), and maybe other folks have, so 
the issue is not being ignored at least.  It seems to me this odd case (not 
clearing the fd sets on zero return) is being overlooked by Cygwin's rather 
hairy select() implementation.  But I'm just a guy on the mailing list and the 
definitive answer awaits the return of seasoned Cygwin developer(s).  :-)

> I'd investigate further but on current Git sources, 'make' fails for me with this:
>
> /home/cgull/src/newlib-cygwin/newlib/libc/configure: line 2164: syntax error
> near unexpected token `..'
> /home/cgull/src/newlib-cygwin/newlib/libc/configure: line 2164:
> `NEWLIB_CONFIGURE(..)'

Are you following the instructions in the FAQ, Section 6.21?  It's not difficult 
to build the Cygwin DLL but you do want to follow the FAQ because there are 
numerous cul-de-sac opportunities otherwise.

..mark

--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2015-12-28  1:50 cygwin.dll: bug with select on Windows console john hood
  2016-01-02  2:06 ` John Hood
@ 2016-01-07  0:48 ` Mark Geisert
  2016-01-07 17:30 ` Corinna Vinschen
  2 siblings, 0 replies; 18+ messages in thread
From: Mark Geisert @ 2016-01-07  0:48 UTC (permalink / raw)
  To: cygwin

john hood wrote:
> I've attached a little demo program for the bug.  Compile, run as
> "socket-t 1000" (the argument is the number of microseconds select()
> should wait), and mash keys on the keyboard for a little while.  It
> should report errors within 100 keystrokes.  I think there might be a
> dependency on the length of the wait passed to select(), I don't see the
> problem happening with the wait set to 100 seconds.

It appears your demo program didn't make it to the list.  Could you please 
re-post it?

..mark


--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2015-12-28  1:50 cygwin.dll: bug with select on Windows console john hood
  2016-01-02  2:06 ` John Hood
  2016-01-07  0:48 ` Mark Geisert
@ 2016-01-07 17:30 ` Corinna Vinschen
  2016-01-07 18:18   ` John Hood
  2 siblings, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2016-01-07 17:30 UTC (permalink / raw)
  To: cygwin; +Cc: john hood

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

Hi John,

On Dec 27 20:49, john hood wrote:
> Hi all,
> 
> I'm one of the Mosh maintainers.  Recently a user reported a problem
> where Mosh exits suddenly soon after startup while he is typing at it,
> see <https://github.com/mobile-shell/mosh/issues/705>.
> 
> The problem turns out to be that occasionally, select() times out,
> returns 0 as it should, but does *not* clear the fd_sets() passed in--
> they are left unaltered.  Mosh doesn't pay any attention to the count of
> ready fds and relies on the returned fd_sets being accurate.  Mosh sets
> the read fd_set and the error fd_set, and when it encounters this
> situation, it exits quietly when an error is found on one of the files
> involved (rather poor error handling on our part).
> 
> This only seems to happen on Windows Console.  select() seems to operate
> reliably when used on a pty, whether from mintty, xterm, or sshd.
> 
> My read of the POSIX standard is that select() should always set the
> fd_sets on a successful return (rv >= 0).  There is a bit of ambiguity
> around this point, but given that Cygwin is inconsistent with itself (on
> ptys) and with every other Unix platform, I think it's a bug.
> 
> I've attached a little demo program for the bug.  Compile, run as
> "socket-t 1000" (the argument is the number of microseconds select()
> should wait), and mash keys on the keyboard for a little while.  It
> should report errors within 100 keystrokes.  I think there might be a
> dependency on the length of the wait passed to select(), I don't see the
> problem happening with the wait set to 100 seconds.

Unfortunately you missed to attach the testcase.  I checked Cygwin's
select and I can see what might be the reason for what you're observing.
I might even have a fix.  But what bugs me is that I don't see how this
condition could be met at all, especially not in case of selecting on
the console.  Your testcase would be greatly appreciated.

For further discussion I attached the patch I'm proposing.  AFAICS,
copying the content of r,w,e over to readfds,writefds,exceptfds doesn't
really make sense, unless r,w,e are still unchanged (i.e. zeroed out).
However, *if* r,w,e have set bits, sel.wait should have returned
select_ok, not select_set_zero.  I don't see how this might occur.
That's what your testcase hopefully helps to uncover.

Another hiccup with copying r,w,e to readfds,writefds,exceptfds and then
calling sel.poll is this:  The number of set bits is *only* determined
by sel.poll.  If there are any other bits set in r,w,e, the result of
sel.poll might not reflect this and the return value is not equal to the
number of bits set in the records.  Obviously this is not a problem in
your case since you don't check the return value, but other applications
might.


Thanks,
Corinna


diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 524e578..647c758 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -77,8 +77,6 @@ details. */
   (fd_set *) __res; \
 })
 
-#define copyfd_set(to, from, n) memcpy (to, from, sizeof_fd_set (n));
-
 #define set_handle_or_return_if_not_open(h, s) \
   h = (s)->fh->get_io_handle_cyg (); \
   if (cygheap->fdtab.not_open ((s)->fd)) \
@@ -132,6 +130,7 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
 	DWORD ms)
 {
   int res = select_stuff::select_loop;
+  int ret = 0;
 
   /* Record the current time for later use. */
   LONGLONG start_time = gtod.msecs ();
@@ -187,14 +186,15 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
       select_printf ("res %d", res);
       if (res >= 0)
 	{
-	  copyfd_set (readfds, r, maxfds);
-	  copyfd_set (writefds, w, maxfds);
-	  copyfd_set (exceptfds, e, maxfds);
-	  if (res == select_stuff::select_set_zero)
-	    res = 0;
-	  else
-	    /* Set the bit mask from sel records */
-	    res = sel.poll (readfds, writefds, exceptfds) ?: select_stuff::select_loop;
+	  UNIX_FD_ZERO (readfds, maxfds);
+	  UNIX_FD_ZERO (writefds, maxfds);
+	  UNIX_FD_ZERO (writefds, maxfds);
+	  /* Set bit mask from sel records, even in case of a timeout.  This
+	     also sets ret to the right value >= 0, matching the number of
+	     bits set in the fds records. */
+	  ret = sel.poll (readfds, writefds, exceptfds);
+	  if (!ret && res != select_stuff::select_set_zero)
+	    res = select_stuff::select_loop;
 	}
       /* Always clean up everything here.  If we're looping then build it
 	 all up again.  */
@@ -219,9 +219,9 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
 	}
     }
 
-  if (res < -1)
-    res = -1;
-  return res;
+  if (res < 0)
+    ret = -1;
+  return ret;
 }
 
 extern "C" int

-- 
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-07 17:30 ` Corinna Vinschen
@ 2016-01-07 18:18   ` John Hood
  2016-01-07 18:55     ` John Hood
  2016-01-08 16:31     ` Corinna Vinschen
  0 siblings, 2 replies; 18+ messages in thread
From: John Hood @ 2016-01-07 18:18 UTC (permalink / raw)
  To: cygwin, corinna-cygwin

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

Sorry about forgetting the testcase (which was good, actually, that
version had a bug).  I've attached it here.  This takes a single
argument, the timeout value for select() in microseconds.  A value of
1000000 is fine for testing this issue.  Type at it, or just bang on the
keyboard with random keystrokes, and it will report the results from
select() and the characters read.  On a Windows console, it should
report an error within a few seconds.  Moving the mouse cursor over the
Windows console window while typing seems to provoke the error as well. 
On mintty or any other pty, the error never occurs.

I've been unable to build Cygwin from Git on my 32-bit install on Win7,
thanks to various header mismatches and missing packages-- I think the
latest was a mingw-gcc header, but I can't check that machine now.  The
FAQ entry on how to build Cygwin is quite incomplete.  Are there any
better directions for building Cygwin?

regards,

  --jh

On 01/07/2016 12:30, Corinna Vinschen wrote:
> Hi John,
>
> On Dec 27 20:49, john hood wrote:
>> Hi all,
>>
>> I'm one of the Mosh maintainers.  Recently a user reported a problem
>> where Mosh exits suddenly soon after startup while he is typing at it,
>> see <https://github.com/mobile-shell/mosh/issues/705>.
>>
>> The problem turns out to be that occasionally, select() times out,
>> returns 0 as it should, but does *not* clear the fd_sets() passed in--
>> they are left unaltered.  Mosh doesn't pay any attention to the count of
>> ready fds and relies on the returned fd_sets being accurate.  Mosh sets
>> the read fd_set and the error fd_set, and when it encounters this
>> situation, it exits quietly when an error is found on one of the files
>> involved (rather poor error handling on our part).
>>
>> This only seems to happen on Windows Console.  select() seems to operate
>> reliably when used on a pty, whether from mintty, xterm, or sshd.
>>
>> My read of the POSIX standard is that select() should always set the
>> fd_sets on a successful return (rv >= 0).  There is a bit of ambiguity
>> around this point, but given that Cygwin is inconsistent with itself (on
>> ptys) and with every other Unix platform, I think it's a bug.
>>
>> I've attached a little demo program for the bug.  Compile, run as
>> "socket-t 1000" (the argument is the number of microseconds select()
>> should wait), and mash keys on the keyboard for a little while.  It
>> should report errors within 100 keystrokes.  I think there might be a
>> dependency on the length of the wait passed to select(), I don't see the
>> problem happening with the wait set to 100 seconds.
> Unfortunately you missed to attach the testcase.  I checked Cygwin's
> select and I can see what might be the reason for what you're observing.
> I might even have a fix.  But what bugs me is that I don't see how this
> condition could be met at all, especially not in case of selecting on
> the console.  Your testcase would be greatly appreciated.
>
> For further discussion I attached the patch I'm proposing.  AFAICS,
> copying the content of r,w,e over to readfds,writefds,exceptfds doesn't
> really make sense, unless r,w,e are still unchanged (i.e. zeroed out).
> However, *if* r,w,e have set bits, sel.wait should have returned
> select_ok, not select_set_zero.  I don't see how this might occur.
> That's what your testcase hopefully helps to uncover.
>
> Another hiccup with copying r,w,e to readfds,writefds,exceptfds and then
> calling sel.poll is this:  The number of set bits is *only* determined
> by sel.poll.  If there are any other bits set in r,w,e, the result of
> sel.poll might not reflect this and the return value is not equal to the
> number of bits set in the records.  Obviously this is not a problem in
> your case since you don't check the return value, but other applications
> might.
>
>
> Thanks,
> Corinna
>
>
> diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
> index 524e578..647c758 100644
> --- a/winsup/cygwin/select.cc
> +++ b/winsup/cygwin/select.cc
> @@ -77,8 +77,6 @@ details. */
>    (fd_set *) __res; \
>  })
>  
> -#define copyfd_set(to, from, n) memcpy (to, from, sizeof_fd_set (n));
> -
>  #define set_handle_or_return_if_not_open(h, s) \
>    h = (s)->fh->get_io_handle_cyg (); \
>    if (cygheap->fdtab.not_open ((s)->fd)) \
> @@ -132,6 +130,7 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
>  	DWORD ms)
>  {
>    int res = select_stuff::select_loop;
> +  int ret = 0;
>  
>    /* Record the current time for later use. */
>    LONGLONG start_time = gtod.msecs ();
> @@ -187,14 +186,15 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
>        select_printf ("res %d", res);
>        if (res >= 0)
>  	{
> -	  copyfd_set (readfds, r, maxfds);
> -	  copyfd_set (writefds, w, maxfds);
> -	  copyfd_set (exceptfds, e, maxfds);
> -	  if (res == select_stuff::select_set_zero)
> -	    res = 0;
> -	  else
> -	    /* Set the bit mask from sel records */
> -	    res = sel.poll (readfds, writefds, exceptfds) ?: select_stuff::select_loop;
> +	  UNIX_FD_ZERO (readfds, maxfds);
> +	  UNIX_FD_ZERO (writefds, maxfds);
> +	  UNIX_FD_ZERO (writefds, maxfds);
> +	  /* Set bit mask from sel records, even in case of a timeout.  This
> +	     also sets ret to the right value >= 0, matching the number of
> +	     bits set in the fds records. */
> +	  ret = sel.poll (readfds, writefds, exceptfds);
> +	  if (!ret && res != select_stuff::select_set_zero)
> +	    res = select_stuff::select_loop;
>  	}
>        /* Always clean up everything here.  If we're looping then build it
>  	 all up again.  */
> @@ -219,9 +219,9 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
>  	}
>      }
>  
> -  if (res < -1)
> -    res = -1;
> -  return res;
> +  if (res < 0)
> +    ret = -1;
> +  return ret;
>  }
>  
>  extern "C" int
>


[-- Attachment #2: socket-t.c --]
[-- Type: text/x-csrc, Size: 1610 bytes --]

#include <err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <sys/select.h>

int
main(int ac, char **av)
{
  if (ac != 2) return 1;
  int time;
  time = atoi(av[1]);
  if (setvbuf(stdin, NULL, _IONBF, 0) != 0) {
    err(1, "setvbuf");
  }
  struct termios o, n;
  tcgetattr(0, &o);
  tcgetattr(0, &n);
  cfmakeraw(&n);
  tcsetattr(0, TCSADRAIN, &n);

  while (1) {
    while (1) {
      fd_set reads, errors;
      FD_ZERO(&reads);
      FD_ZERO(&errors);
      FD_SET(0, &reads);
      FD_SET(0, &errors);
      struct timeval tv;
      tv.tv_sec = time / 1000000;
      tv.tv_usec = time % 1000000;
      printf("select: ");
      int rv = select(1, &reads, NULL, &errors, &tv);
      printf("rv = %d, errno = %s\r\n", rv, strerror(errno));
      if (rv == 0) {
	if (FD_ISSET(0, &reads)) printf ("unexpected read\r\n");
	if (FD_ISSET(0, &errors)) printf ("unexpected error\r\n");
	if (FD_ISSET(0, &reads) || FD_ISSET(0, &errors)) break;
	// otherwise continue
      } else if (rv == 1) {
	if (FD_ISSET(0, &reads)) {
	// select found something normally, go read it
	  break;
	} else if (FD_ISSET(0, &errors)) {
	  printf("error on stdin\r\n");
	  break;
	} else {
	  printf("no ready fd found\r\n");
	  break;
	}
      } else if (rv > 1) {
	printf("unexpected count = %d\r\n", rv);
	break;
      } else {
	printf("rv %d, error %s\r\n", rv, strerror(errno));
	break;
      }
    }
    printf("reading char: ");
    char c = getc(stdin);
    if (c == 0x7f) break;
    printf("got 0x%02x\r\n", c);
  }
  tcsetattr(0, TCSADRAIN, &o);
  return 0;
}


[-- Attachment #3: Type: text/plain, Size: 218 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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-07 18:18   ` John Hood
@ 2016-01-07 18:55     ` John Hood
  2016-01-08 16:31     ` Corinna Vinschen
  1 sibling, 0 replies; 18+ messages in thread
From: John Hood @ 2016-01-07 18:55 UTC (permalink / raw)
  To: cygwin, corinna-cygwin

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

Sorry about forgetting the testcase (which was good, actually, that
version had a bug).  I've attached it here.  This takes a single
argument, the timeout value for select() in microseconds.  A value of
1000000 is fine for testing this issue.  Type at it, or just bang on the
keyboard with random keystrokes, and it will report the results from
select() and the characters read.  On a Windows console, it should
report an error within a few seconds.  Moving the mouse cursor over the
Windows console window while typing seems to provoke the error as well. 
On mintty or any other pty, the error never occurs.

I've been unable to build Cygwin from Git on my 32-bit install on Win7,
thanks to various header mismatches and missing packages-- I think the
latest was a mingw-gcc header, but I can't check that machine now.  The
FAQ entry on how to build Cygwin is quite incomplete.  Are there any
better directions for building Cygwin?

regards,

  --jh

On 01/07/2016 12:30, Corinna Vinschen wrote:
> Hi John,
>
> On Dec 27 20:49, john hood wrote:
>> Hi all,
>>
>> I'm one of the Mosh maintainers.  Recently a user reported a problem
>> where Mosh exits suddenly soon after startup while he is typing at it,
>> see <https://github.com/mobile-shell/mosh/issues/705>.
>>
>> The problem turns out to be that occasionally, select() times out,
>> returns 0 as it should, but does *not* clear the fd_sets() passed in--
>> they are left unaltered.  Mosh doesn't pay any attention to the count of
>> ready fds and relies on the returned fd_sets being accurate.  Mosh sets
>> the read fd_set and the error fd_set, and when it encounters this
>> situation, it exits quietly when an error is found on one of the files
>> involved (rather poor error handling on our part).
>>
>> This only seems to happen on Windows Console.  select() seems to operate
>> reliably when used on a pty, whether from mintty, xterm, or sshd.
>>
>> My read of the POSIX standard is that select() should always set the
>> fd_sets on a successful return (rv >= 0).  There is a bit of ambiguity
>> around this point, but given that Cygwin is inconsistent with itself (on
>> ptys) and with every other Unix platform, I think it's a bug.
>>
>> I've attached a little demo program for the bug.  Compile, run as
>> "socket-t 1000" (the argument is the number of microseconds select()
>> should wait), and mash keys on the keyboard for a little while.  It
>> should report errors within 100 keystrokes.  I think there might be a
>> dependency on the length of the wait passed to select(), I don't see the
>> problem happening with the wait set to 100 seconds.
> Unfortunately you missed to attach the testcase.  I checked Cygwin's
> select and I can see what might be the reason for what you're observing.
> I might even have a fix.  But what bugs me is that I don't see how this
> condition could be met at all, especially not in case of selecting on
> the console.  Your testcase would be greatly appreciated.
>
> For further discussion I attached the patch I'm proposing.  AFAICS,
> copying the content of r,w,e over to readfds,writefds,exceptfds doesn't
> really make sense, unless r,w,e are still unchanged (i.e. zeroed out).
> However, *if* r,w,e have set bits, sel.wait should have returned
> select_ok, not select_set_zero.  I don't see how this might occur.
> That's what your testcase hopefully helps to uncover.
>
> Another hiccup with copying r,w,e to readfds,writefds,exceptfds and then
> calling sel.poll is this:  The number of set bits is *only* determined
> by sel.poll.  If there are any other bits set in r,w,e, the result of
> sel.poll might not reflect this and the return value is not equal to the
> number of bits set in the records.  Obviously this is not a problem in
> your case since you don't check the return value, but other applications
> might.
>
>
> Thanks,
> Corinna
>
>
> diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
> index 524e578..647c758 100644
> --- a/winsup/cygwin/select.cc
> +++ b/winsup/cygwin/select.cc
> @@ -77,8 +77,6 @@ details. */
>    (fd_set *) __res; \
>  })
>  
> -#define copyfd_set(to, from, n) memcpy (to, from, sizeof_fd_set (n));
> -
>  #define set_handle_or_return_if_not_open(h, s) \
>    h = (s)->fh->get_io_handle_cyg (); \
>    if (cygheap->fdtab.not_open ((s)->fd)) \
> @@ -132,6 +130,7 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
>  	DWORD ms)
>  {
>    int res = select_stuff::select_loop;
> +  int ret = 0;
>  
>    /* Record the current time for later use. */
>    LONGLONG start_time = gtod.msecs ();
> @@ -187,14 +186,15 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
>        select_printf ("res %d", res);
>        if (res >= 0)
>  	{
> -	  copyfd_set (readfds, r, maxfds);
> -	  copyfd_set (writefds, w, maxfds);
> -	  copyfd_set (exceptfds, e, maxfds);
> -	  if (res == select_stuff::select_set_zero)
> -	    res = 0;
> -	  else
> -	    /* Set the bit mask from sel records */
> -	    res = sel.poll (readfds, writefds, exceptfds) ?: select_stuff::select_loop;
> +	  UNIX_FD_ZERO (readfds, maxfds);
> +	  UNIX_FD_ZERO (writefds, maxfds);
> +	  UNIX_FD_ZERO (writefds, maxfds);
> +	  /* Set bit mask from sel records, even in case of a timeout.  This
> +	     also sets ret to the right value >= 0, matching the number of
> +	     bits set in the fds records. */
> +	  ret = sel.poll (readfds, writefds, exceptfds);
> +	  if (!ret && res != select_stuff::select_set_zero)
> +	    res = select_stuff::select_loop;
>  	}
>        /* Always clean up everything here.  If we're looping then build it
>  	 all up again.  */
> @@ -219,9 +219,9 @@ select (int maxfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
>  	}
>      }
>  
> -  if (res < -1)
> -    res = -1;
> -  return res;
> +  if (res < 0)
> +    ret = -1;
> +  return ret;
>  }
>  
>  extern "C" int
>


[-- Attachment #2: socket-t.c --]
[-- Type: text/x-csrc, Size: 1610 bytes --]

#include <err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <sys/select.h>

int
main(int ac, char **av)
{
  if (ac != 2) return 1;
  int time;
  time = atoi(av[1]);
  if (setvbuf(stdin, NULL, _IONBF, 0) != 0) {
    err(1, "setvbuf");
  }
  struct termios o, n;
  tcgetattr(0, &o);
  tcgetattr(0, &n);
  cfmakeraw(&n);
  tcsetattr(0, TCSADRAIN, &n);

  while (1) {
    while (1) {
      fd_set reads, errors;
      FD_ZERO(&reads);
      FD_ZERO(&errors);
      FD_SET(0, &reads);
      FD_SET(0, &errors);
      struct timeval tv;
      tv.tv_sec = time / 1000000;
      tv.tv_usec = time % 1000000;
      printf("select: ");
      int rv = select(1, &reads, NULL, &errors, &tv);
      printf("rv = %d, errno = %s\r\n", rv, strerror(errno));
      if (rv == 0) {
	if (FD_ISSET(0, &reads)) printf ("unexpected read\r\n");
	if (FD_ISSET(0, &errors)) printf ("unexpected error\r\n");
	if (FD_ISSET(0, &reads) || FD_ISSET(0, &errors)) break;
	// otherwise continue
      } else if (rv == 1) {
	if (FD_ISSET(0, &reads)) {
	// select found something normally, go read it
	  break;
	} else if (FD_ISSET(0, &errors)) {
	  printf("error on stdin\r\n");
	  break;
	} else {
	  printf("no ready fd found\r\n");
	  break;
	}
      } else if (rv > 1) {
	printf("unexpected count = %d\r\n", rv);
	break;
      } else {
	printf("rv %d, error %s\r\n", rv, strerror(errno));
	break;
      }
    }
    printf("reading char: ");
    char c = getc(stdin);
    if (c == 0x7f) break;
    printf("got 0x%02x\r\n", c);
  }
  tcsetattr(0, TCSADRAIN, &o);
  return 0;
}


[-- Attachment #3: Type: text/plain, Size: 218 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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-07 18:18   ` John Hood
  2016-01-07 18:55     ` John Hood
@ 2016-01-08 16:31     ` Corinna Vinschen
  2016-01-08 21:30       ` john hood
  1 sibling, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2016-01-08 16:31 UTC (permalink / raw)
  To: cygwin; +Cc: John Hood

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

On Jan  7 13:18, John Hood wrote:
> Sorry about forgetting the testcase (which was good, actually, that
> version had a bug).  I've attached it here.  This takes a single
> argument, the timeout value for select() in microseconds.  A value of
> 1000000 is fine for testing this issue.  Type at it, or just bang on the
> keyboard with random keystrokes, and it will report the results from
> select() and the characters read.  On a Windows console, it should
> report an error within a few seconds.  Moving the mouse cursor over the
> Windows console window while typing seems to provoke the error as well. 

No chance.  I tried this for a good hour now with the unpatched Cygwin
DLL on 32 bit W7 and 64 bit W10 in 32 and 64 bit in a Windows console,
and I can't provoke this error.  It just works for me.

> On mintty or any other pty, the error never occurs.
> 
> I've been unable to build Cygwin from Git on my 32-bit install on Win7,
> thanks to various header mismatches and missing packages-- I think the
> latest was a mingw-gcc header, but I can't check that machine now.  The
> FAQ entry on how to build Cygwin is quite incomplete.  Are there any
> better directions for building Cygwin?

What exactly is failing?  If you installed all the packages mentioned in
the FAQ entry, plus building outside the source tree as outlined, you
should be fine.  Alternatively, install the cygport package and the
2.4.0-0.16 source package and build that via

  cygport cygwin.cygport prep compile

That should get you started.


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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-08 16:31     ` Corinna Vinschen
@ 2016-01-08 21:30       ` john hood
  2016-01-08 22:21         ` Achim Gratz
  2016-01-09 14:41         ` Corinna Vinschen
  0 siblings, 2 replies; 18+ messages in thread
From: john hood @ 2016-01-08 21:30 UTC (permalink / raw)
  To: cygwin

On 1/8/16 11:29 AM, Corinna Vinschen wrote:
> On Jan  7 13:18, John Hood wrote:
>> Sorry about forgetting the testcase (which was good, actually, that
>> version had a bug).  I've attached it here.  This takes a single
>> argument, the timeout value for select() in microseconds.  A value of
>> 1000000 is fine for testing this issue.  Type at it, or just bang on the
>> keyboard with random keystrokes, and it will report the results from
>> select() and the characters read.  On a Windows console, it should
>> report an error within a few seconds.  Moving the mouse cursor over the
>> Windows console window while typing seems to provoke the error as well. 
> 
> No chance.  I tried this for a good hour now with the unpatched Cygwin
> DLL on 32 bit W7 and 64 bit W10 in 32 and 64 bit in a Windows console,
> and I can't provoke this error.  It just works for me.

My apologies for sending you down a wrong path.  Try again with
"socket-t 1000", which only waits 1ms.  I don't know what I was thinking
when I said the 1s timeout works fine.  I have 3 machines available; on
two the problem occurs within 1-2s of typing or mousing, and the last
might take a couple of minutes.  Don't spend too long trying to
reproduce this-- let me know and I'll try and figure out what other
variables might be at play.  One possibility is that my main Windows
machine is relatively slow.  It has an AMD E-350 CPU, which is
netbook-grade.  At one point I noticed that select() takes over 1ms to
execute, which affects its check for a timeout in the loop over
the ready check.  But then I saw that longer timeout values suffered the
problem as well, and the other two machines are faster Intel Core/Xeon
CPUs, Sandy Bridge or better.

>> On mintty or any other pty, the error never occurs.
>>
>> I've been unable to build Cygwin from Git on my 32-bit install on Win7,
>> thanks to various header mismatches and missing packages-- I think the
>> latest was a mingw-gcc header, but I can't check that machine now.  The
>> FAQ entry on how to build Cygwin is quite incomplete.  Are there any
>> better directions for building Cygwin?
> 
> What exactly is failing?  If you installed all the packages mentioned in
> the FAQ entry, plus building outside the source tree as outlined, you
> should be fine.  Alternatively, install the cygport package and the
> 2.4.0-0.16 source package and build that via

It appears I had not installed all the packages because I didn't have
the setup command line syntax right, and didn't know it.  setup
apparently does not do any validation of its command line arguments:

  setup-x86.exe -M -P "docbook-xsl xmlto"

fails to install any packages, and

  setup-x86.exe -M -P docbook-xsl xmlto

only installs the first.  Neither give any indication that the command
line is incorrect.

regards,

  --jh

--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-08 21:30       ` john hood
@ 2016-01-08 22:21         ` Achim Gratz
  2016-01-09 14:41         ` Corinna Vinschen
  1 sibling, 0 replies; 18+ messages in thread
From: Achim Gratz @ 2016-01-08 22:21 UTC (permalink / raw)
  To: cygwin

john hood writes:
> It appears I had not installed all the packages because I didn't have
> the setup command line syntax right, and didn't know it.  setup
> apparently does not do any validation of its command line arguments:
>
>   setup-x86.exe -M -P "docbook-xsl xmlto"
>
> fails to install any packages, and

Because there is no package "docbook-xsl xmlto".

>   setup-x86.exe -M -P docbook-xsl xmlto
>
> only installs the first.

Because non-option arguments are ignored when the command line is
processed as the corresponding handler is set to NULL and setup doesn't
check if there are any remaining arguments after option processing.
That could be changed, I guess.

> Neither give any indication that the command
> line is incorrect.

As far as setup is concerned, the command lines are correct.  To do what
you want, you can either comma-separate the package names behind a
single package option

   setup-x86.exe -M -P docbook-xsl,xmlto

or give one package per package option

   setup-x86.exe -M -P docbook-xsl -P xmlto

or even mix the two styles

   setup-x86.exe -M -P docbook-xsl,xmlto -P docbook-utils

HTH.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:
http://Synth.Stromeko.net/DIY.html

--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-08 21:30       ` john hood
  2016-01-08 22:21         ` Achim Gratz
@ 2016-01-09 14:41         ` Corinna Vinschen
  2016-01-09 14:42           ` Corinna Vinschen
  2016-01-14 15:22           ` cygwin.dll: bug with select on Windows console / 2.4.0-0.19 Thomas Wolff
  1 sibling, 2 replies; 18+ messages in thread
From: Corinna Vinschen @ 2016-01-09 14:41 UTC (permalink / raw)
  To: cygwin

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

On Jan  8 15:58, john hood wrote:
> On 1/8/16 11:29 AM, Corinna Vinschen wrote:
> > On Jan  7 13:18, John Hood wrote:
> >> Sorry about forgetting the testcase (which was good, actually, that
> >> version had a bug).  I've attached it here.  This takes a single
> >> argument, the timeout value for select() in microseconds.  A value of
> >> 1000000 is fine for testing this issue.  Type at it, or just bang on the
> >> keyboard with random keystrokes, and it will report the results from
> >> select() and the characters read.  On a Windows console, it should
> >> report an error within a few seconds.  Moving the mouse cursor over the
> >> Windows console window while typing seems to provoke the error as well. 
> > 
> > No chance.  I tried this for a good hour now with the unpatched Cygwin
> > DLL on 32 bit W7 and 64 bit W10 in 32 and 64 bit in a Windows console,
> > and I can't provoke this error.  It just works for me.
> 
> My apologies for sending you down a wrong path.  Try again with
> "socket-t 1000", which only waits 1ms.  I don't know what I was thinking
> when I said the 1s timeout works fine.

This helped and I found the culprit.  There are, in fact, two ways to
leave select with a timeout.  One of them only occurs in the border
cases where a device behind a descriptor generates events which are
not supposed to generate a select event.  If that happens, the select
loop is supposed to loop again, but the code first checks if the timeout
has been hit in the meantime and, if so, it breaks from the loop with a
timeout, aka, a return value of 0.  However, in this single case, the
code neglected to zero out the descriptor arrays, which then leads to
the problem you encountered.

I fixed the code and took the opportunity to clean it up a little using
basically the (fixed) patch I proposed two days ago.

I've just uploaded new developer snapshots to https://cygwin.com/snapshots/
and a new test release 2.4.0-0.17 which contain this fix.  Please give any
of them a try.


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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-09 14:41         ` Corinna Vinschen
@ 2016-01-09 14:42           ` Corinna Vinschen
  2016-01-10  9:09             ` John Hood
  2016-01-14 15:22           ` cygwin.dll: bug with select on Windows console / 2.4.0-0.19 Thomas Wolff
  1 sibling, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2016-01-09 14:42 UTC (permalink / raw)
  To: cygwin; +Cc: John Hood

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

On Jan  9 15:36, Corinna Vinschen wrote:
> On Jan  8 15:58, john hood wrote:
> > On 1/8/16 11:29 AM, Corinna Vinschen wrote:
> > > On Jan  7 13:18, John Hood wrote:
> > >> Sorry about forgetting the testcase (which was good, actually, that
> > >> version had a bug).  I've attached it here.  This takes a single
> > >> argument, the timeout value for select() in microseconds.  A value of
> > >> 1000000 is fine for testing this issue.  Type at it, or just bang on the
> > >> keyboard with random keystrokes, and it will report the results from
> > >> select() and the characters read.  On a Windows console, it should
> > >> report an error within a few seconds.  Moving the mouse cursor over the
> > >> Windows console window while typing seems to provoke the error as well. 
> > > 
> > > No chance.  I tried this for a good hour now with the unpatched Cygwin
> > > DLL on 32 bit W7 and 64 bit W10 in 32 and 64 bit in a Windows console,
> > > and I can't provoke this error.  It just works for me.
> > 
> > My apologies for sending you down a wrong path.  Try again with
> > "socket-t 1000", which only waits 1ms.  I don't know what I was thinking
> > when I said the 1s timeout works fine.
> 
> This helped and I found the culprit.  There are, in fact, two ways to
> leave select with a timeout.  One of them only occurs in the border
> cases where a device behind a descriptor generates events which are
> not supposed to generate a select event.

I forgot to mention, this affects especially consoles (window events,
mouse events) and /dev/windows.

> If that happens, the select
> loop is supposed to loop again, but the code first checks if the timeout
> has been hit in the meantime and, if so, it breaks from the loop with a
> timeout, aka, a return value of 0.  However, in this single case, the
> code neglected to zero out the descriptor arrays, which then leads to
> the problem you encountered.
> 
> I fixed the code and took the opportunity to clean it up a little using
> basically the (fixed) patch I proposed two days ago.
> 
> I've just uploaded new developer snapshots to https://cygwin.com/snapshots/
> and a new test release 2.4.0-0.17 which contain this fix.  Please give any
> of them a try.
> 
> 
> Thanks,
> Corinna


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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-09 14:42           ` Corinna Vinschen
@ 2016-01-10  9:09             ` John Hood
  2016-01-11 11:52               ` Corinna Vinschen
  0 siblings, 1 reply; 18+ messages in thread
From: John Hood @ 2016-01-10  9:09 UTC (permalink / raw)
  To: cygwin

On 1/9/2016 9:41 AM, Corinna Vinschen wrote:
> I fixed the code and took the opportunity to clean it up a little using
> >basically the (fixed) patch I proposed two days ago.
> >
> >I've just uploaded new developer snapshots tohttps://cygwin.com/snapshots/
> >and a new test release 2.4.0-0.17 which contain this fix.  Please give any
> >of them a try.
I built from git master.  Both the test program and mosh appear to be 
seeing correct behavior from select() now.

Thanks,

   --jh

--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-10  9:09             ` John Hood
@ 2016-01-11 11:52               ` Corinna Vinschen
  2016-01-12 17:32                 ` john hood
  0 siblings, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2016-01-11 11:52 UTC (permalink / raw)
  To: cygwin; +Cc: John Hood

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

On Jan 10 05:04, John Hood wrote:
> On 1/9/2016 9:41 AM, Corinna Vinschen wrote:
> >I fixed the code and took the opportunity to clean it up a little using
> >>basically the (fixed) patch I proposed two days ago.
> >>
> >>I've just uploaded new developer snapshots tohttps://cygwin.com/snapshots/
> >>and a new test release 2.4.0-0.17 which contain this fix.  Please give any
> >>of them a try.
> I built from git master.  Both the test program and mosh appear to be seeing
> correct behavior from select() now.

Thanks for testing.  Can you re-test with current git master?  I reverted
one aspect of my change for performance.


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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-11 11:52               ` Corinna Vinschen
@ 2016-01-12 17:32                 ` john hood
  2016-01-12 22:09                   ` Corinna Vinschen
  0 siblings, 1 reply; 18+ messages in thread
From: john hood @ 2016-01-12 17:32 UTC (permalink / raw)
  To: cygwin

On 1/11/16 4:37 AM, Corinna Vinschen wrote:
> On Jan 10 05:04, John Hood wrote:
>> On 1/9/2016 9:41 AM, Corinna Vinschen wrote:
>>> I fixed the code and took the opportunity to clean it up a
>>> little using
>>>> basically the (fixed) patch I proposed two days ago.
>>>> 
>>>> I've just uploaded new developer snapshots
>>>> tohttps://cygwin.com/snapshots/ and a new test release
>>>> 2.4.0-0.17 which contain this fix.  Please give any of them a
>>>> try.
>> I built from git master.  Both the test program and mosh appear
>> to be seeing correct behavior from select() now.
> 
> Thanks for testing.  Can you re-test with current git master?  I
> reverted one aspect of my change for performance.

newlib-snapshot-20160104-14-g27086d6 tests OK, thanks!

regards,

  --jh


--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console
  2016-01-12 17:32                 ` john hood
@ 2016-01-12 22:09                   ` Corinna Vinschen
  0 siblings, 0 replies; 18+ messages in thread
From: Corinna Vinschen @ 2016-01-12 22:09 UTC (permalink / raw)
  To: cygwin; +Cc: john hood

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

On Jan 12 12:27, john hood wrote:
> On 1/11/16 4:37 AM, Corinna Vinschen wrote:
> > On Jan 10 05:04, John Hood wrote:
> >> On 1/9/2016 9:41 AM, Corinna Vinschen wrote:
> >>> I fixed the code and took the opportunity to clean it up a
> >>> little using
> >>>> basically the (fixed) patch I proposed two days ago.
> >>>> 
> >>>> I've just uploaded new developer snapshots
> >>>> tohttps://cygwin.com/snapshots/ and a new test release
> >>>> 2.4.0-0.17 which contain this fix.  Please give any of them a
> >>>> try.
> >> I built from git master.  Both the test program and mosh appear
> >> to be seeing correct behavior from select() now.
> > 
> > Thanks for testing.  Can you re-test with current git master?  I
> > reverted one aspect of my change for performance.
> 
> newlib-snapshot-20160104-14-g27086d6 tests OK, thanks!

Thank you!


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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console / 2.4.0-0.19
  2016-01-09 14:41         ` Corinna Vinschen
  2016-01-09 14:42           ` Corinna Vinschen
@ 2016-01-14 15:22           ` Thomas Wolff
  2016-01-14 20:24             ` Corinna Vinschen
  1 sibling, 1 reply; 18+ messages in thread
From: Thomas Wolff @ 2016-01-14 15:22 UTC (permalink / raw)
  To: cygwin

I have retested some past problems of select with -0.19 and found no 
regression issues.
Thomas

--
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] 18+ messages in thread

* Re: cygwin.dll: bug with select on Windows console / 2.4.0-0.19
  2016-01-14 15:22           ` cygwin.dll: bug with select on Windows console / 2.4.0-0.19 Thomas Wolff
@ 2016-01-14 20:24             ` Corinna Vinschen
  0 siblings, 0 replies; 18+ messages in thread
From: Corinna Vinschen @ 2016-01-14 20:24 UTC (permalink / raw)
  To: cygwin

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

On Jan 14 16:01, Thomas Wolff wrote:
> I have retested some past problems of select with -0.19 and found no
> regression issues.

Thank you, that's good to know!


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] 18+ messages in thread

end of thread, other threads:[~2016-01-14 19:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-28  1:50 cygwin.dll: bug with select on Windows console john hood
2016-01-02  2:06 ` John Hood
2016-01-03  0:45   ` Mark Geisert
2016-01-07  0:48 ` Mark Geisert
2016-01-07 17:30 ` Corinna Vinschen
2016-01-07 18:18   ` John Hood
2016-01-07 18:55     ` John Hood
2016-01-08 16:31     ` Corinna Vinschen
2016-01-08 21:30       ` john hood
2016-01-08 22:21         ` Achim Gratz
2016-01-09 14:41         ` Corinna Vinschen
2016-01-09 14:42           ` Corinna Vinschen
2016-01-10  9:09             ` John Hood
2016-01-11 11:52               ` Corinna Vinschen
2016-01-12 17:32                 ` john hood
2016-01-12 22:09                   ` Corinna Vinschen
2016-01-14 15:22           ` cygwin.dll: bug with select on Windows console / 2.4.0-0.19 Thomas Wolff
2016-01-14 20:24             ` Corinna Vinschen

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