public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ftell() fails on files in shared folders
@ 2012-03-18 14:55 Yuri Gribov
  2012-03-18 15:59 ` Corinna Vinschen
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-18 14:55 UTC (permalink / raw)
  To: cygwin

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

Hi all,

I have recently ran into a problem with Cygwin accessing files located
in shared folders. The attached program does fwrite() and then checks
file size with ftell(). Ftell() returns correct results in any of
following situations:
1) I access local file: c:/test.bin
2) I access file via UNC-address from the same computer:
//server-name/dir/test.out
  gribov.y@s-cw-head ~/build/upc/opt
  $ ./a.exe
  success

But when I try to access file via UNC-address from a different machine
ftell() starts returning 0 instead of expected 8:
  gribov.y@s-cw-head ~/build/upc/opt
  $ gcc io.c && run_ms_job -n 1 -network smp a.exe
  ftell(p) == sizeof(data) failed at io.c:26

Note that the file is created and data is written correctly:
  gribov.y@s-cw-head ~/build/upc/opt
  $ xxd ~/pgas/test.bin
  0000000: ffff ffff ffff ffff                      ........
so there seem to be a problem with ftell() itself.

Any help/ideas will be much appreciated. I have tried searching the
MLs but have not found anything similiar to my problem.

-Yuri

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


Cygwin Configuration Diagnostics
Current System Time: Sun Mar 18 18:15:47 2012

Windows 2008 Server Enterprise Ver 6.0 Build 6001 Service Pack 1

Running under WOW64 on AMD64

Running in Terminal Service session

Path:	D:\cygwin\home\gribov.y\bin
	D:\cygwin\home\gribov.y\src\charm-6.2-win32\src\arch\win32
	D:\cygwin\usr\local\bin
	D:\cygwin\bin
	C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
	C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN
	C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools
	C:\Windows\Microsoft.NET\Framework\v3.5
	C:\Windows\Microsoft.NET\Framework\v2.0.50727
	C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages
	C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
	C:\Program Files\Microsoft HPC Pack\Bin
	C:\Perl\site\bin
	C:\Perl\bin
	C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Program Files\Windows Imaging
	C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn
	C:\Program Files (x86)\MPICH2\bin
	C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn
	C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn
	C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE
	C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies
	C:\Nano\ORCA_DevCenter\orca\x86_exe\release
	C:\Program Files (x86)\TortoiseSVN\bin
	C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32
	C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin
	C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin

Output from D:\cygwin\bin\id.exe
UID: 1269(gribov.y)
GID: 513(Domain Users)
513(Domain Users)
0(root)
544(Administrators)
545(Users)
554(Pre-Windows 2000 Compatible Access)
572(Denied RODC Password Replication Group)
512(Domain Admins)

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

USER = 'gribov.y'
PWD = '/home/gribov.y/build/upc/opt'
HOME = '/home/gribov.y'

HOMEPATH = '\Users\gribov.y'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Users\gribov.y\AppData\Roaming'
NETWORK = 'udp'
ProgramW6432 = 'C:\Program Files'
RUN_MS_JOB_PRIO = 'Highest'
HOSTNAME = 's-cw-head'
VSINSTALLDIR = 'C:\Program Files (x86)\Microsoft Visual Studio 9.0'
REMINST = '\\s-cw-head\RemInst'
CCP_LIB64 = 'C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\amd64\'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 15 Stepping 6, GenuineIntel'
WINDIR = 'C:\Windows'
TMPDIR = '/cygdrive/c/temp'
CCP_JOBTEMPLATE = 'Default'
PUBLIC = 'C:\Users\Public'
DevEnvDir = 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE'
CCP_SDK = 'C:\Program Files\Microsoft HPC Pack 2008 SDK\'
OLDPWD = '/home/gribov.y/tests/tc'
USERDOMAIN = 'CLUSTER'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
Framework35Version = 'v3.5'
RUN_MS_JOB_GROUP = 'ComputeNodesNoHead'
TEMP = '/tmp'
VS90COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
VCINSTALLDIR = 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC'
RUN_MS_JOB_TIMEOUT = '30'
USERNAME = 'gribov.y'
LIBPATH = 'C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;'
MPI_LIBS = '/home/gribov.y/hpc2008sdk/Lib/i386/msmpi.lib'
MPI_CFLAGS = '-include /usr/include/stdint.h -D__int64=int64_t -I/home/gribov.y/hpc2008sdk/Include'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
CCP_HOME = 'C:\Program Files\Microsoft HPC Pack\'
CCP_DATA = 'C:\Program Files\Microsoft HPC Pack\Data\'
AWP_LOCALE130 = 'en-us'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITEW6432 = 'AMD64'
LANG = 'C.UTF-8'
USERPROFILE = 'C:\Users\gribov.y'
CLIENTNAME = 'ALEX-DELL'
MPI_CC = 'gcc-4'
FrameworkDir = 'C:\Windows\Microsoft.NET\Framework'
WindowsSdkDir = 'C:\Program Files\\Microsoft SDKs\Windows\v6.0A\'
GASNET_VERBOSE = '1'
CCP_INC = 'C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\S-CW-HEAD'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'x86'
LOCALAPPDATA = 'C:\Users\gribov.y\AppData\Local'
ProgramData = 'C:\ProgramData'
CCP_SCHEDULER = 's-cw-head'
SHLVL = '1'
USERDNSDOMAIN = 'CLUSTER.CMC.UNN.NET'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
!D: = 'D:\cygwin\bin'
PROMPT = '$P$G'
COMSPEC = 'C:\Windows\system32\cmd.exe'
TMP = '/tmp'
SYSTEMROOT = 'C:\Windows'
PRINTER = 'Microsoft XPS Document Writer'
PROCESSOR_REVISION = '0f06'
lib = 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;C:\Program Files\SQLXML 4.0\bin\'
PRIVATEIP = '10.2.0.1'
ND_INC = 'C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files (x86)'
NUMBER_OF_PROCESSORS = '4'
GASNET_SPAWNFN = 'C'
INCLUDE = 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;'
FrameworkVersion = 'v2.0.50727'
SESSIONNAME = 'RDP-Tcp#0'
CCP_LIB32 = 'C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\i386\'
COMPUTERNAME = 'S-CW-HEAD'
I_MPI_ROOT = 'C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.com%2fcygwin%2f
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.com%2fcygwin%2f\OpenWithList
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\D:\cygwin'
  8eadb5dfe3709f58 = '\??\D:\cygwin\home\gribov.y\build\upc\dbg\gasnet'
  e62958623656d308 = '\??\D:\cygwin\home\gribov.y\build\upc\dbg\gasnet'
  0c5e040bbdcac346 = '\??\D:\cygwin\home\gribov.y\src'
  00d8d7d6be562edd = '\??\D:\cygwin\home\gribov.y'
  3f7b3c13b5ee29f8 = '\??\UNC\s-cw-head'
  3ff61d39798050a5 = '\??\D:\cygwin_upc'
  3655c43ac2f230e1 = '\??\D:\cygwin\home\gribov.y\build\gasnet-debug'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'D:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin\Installations
  (default) = '\??\D:\cygwin'
  8eadb5dfe3709f58 = '\??\D:\cygwin\home\gribov.y\build\upc\dbg\gasnet'
  e62958623656d308 = '\??\D:\cygwin\home\gribov.y\build\upc\dbg\gasnet'
  0c5e040bbdcac346 = '\??\D:\cygwin\home\gribov.y\src'
  00d8d7d6be562edd = '\??\D:\cygwin\home\gribov.y'
  3f7b3c13b5ee29f8 = '\??\UNC\s-cw-head'
  3ff61d39798050a5 = '\??\D:\cygwin_upc'
  3655c43ac2f230e1 = '\??\D:\cygwin\home\gribov.y\build\gasnet-debug'
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin\setup
  (default) = 'D:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: 1720b01b097bf4fc Path: D:\cygwin
  System: Key: 8eadb5dfe3709f58 Path: D:\cygwin\home\gribov.y\build\upc\dbg\gasnet (ORPHANED)
  System: Key: e62958623656d308 Path: D:\cygwin\home\gribov.y\build\upc\dbg\gasnet (ORPHANED)
  System: Key: 0c5e040bbdcac346 Path: D:\cygwin\home\gribov.y\src (ORPHANED)
  System: Key: 00d8d7d6be562edd Path: D:\cygwin\home\gribov.y (ORPHANED)
  System: Key: 3f7b3c13b5ee29f8 Path: \\s-cw-head (ORPHANED)
  System: Key: 3ff61d39798050a5 Path: D:\cygwin_upc
  System: Key: 3655c43ac2f230e1 Path: D:\cygwin\home\gribov.y\build\gasnet-debug (ORPHANED)

a:  fd             N/A    N/A                    
c:  hd  NTFS     76936Mb  89% CP CS UN PA FC     
d:  hd  NTFS    399996Mb  99% CP CS UN PA FC     
e:  cd             N/A    N/A                    
f:  cd             N/A    N/A                    
g:  cd             N/A    N/A                    

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

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

   15k 2009/12/27 D:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2009/11/18 15:52
   62k 2011/05/21 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2011/5/21 23:16
  108k 2010/01/05 D:\cygwin\bin\cygcloog-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcloog-0.dll" v0.0 ts=2010/1/5 3:45
    7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 11:57
 1244k 2012/01/18 D:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2012/1/18 18:40
  943k 2007/12/17 D:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2007/12/17 16:12
 1296k 2007/12/17 D:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 16:12
  511k 2010/06/17 D:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygedit-0.dll" v0.0 ts=2010/6/17 15:42
   21k 2011/10/26 D:\cygwin\bin\cygffi-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygffi-4.dll" v0.0 ts=2011/10/23 17:33
   43k 2010/01/02 D:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-10.dll" v0.0 ts=2010/1/2 17:49
   47k 2010/01/02 D:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2010/1/2 20:31
   79k 2011/10/26 D:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2011/10/23 17:15
   19k 2009/02/26 D:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009/2/26 10:58
    8k 2009/02/26 D:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 10:58
  713k 2011/10/26 D:\cygwin\bin\cyggfortran-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggfortran-3.dll" v0.0 ts=2011/10/23 18:15
  317k 2011/07/31 D:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2011/7/31 9:14
   14k 2011/07/31 D:\cygwin\bin\cyggmpxx-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmpxx-4.dll" v0.0 ts=2011/7/31 14:31
   42k 2011/10/26 D:\cygwin\bin\cyggomp-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggomp-1.dll" v0.0 ts=2011/10/23 17:21
   25k 2011/01/26 D:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2011/1/26 6:25
  358k 2011/04/29 D:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.4 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2011/4/29 8:37
  985k 2011/10/16 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2011/10/16 21:01
   31k 2005/11/20 D:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/20 5:04
   35k 2011/10/16 D:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2011/10/16 9:38
    5k 2011/03/29 D:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2011/3/29 1:14
    9k 2011/03/29 D:\cygwin\bin\cyglsa64.dll - os=5.2 img=0.0 sys=5.2
  123k 2011/05/19 D:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-5.dll" v0.0 ts=2011/5/19 6:41
   99k 2011/11/02 D:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2011/11/3 1:05
   25k 2010/01/02 D:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-10.dll" v0.0 ts=2010/1/2 17:48
   25k 2010/01/02 D:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2010/1/2 20:30
  213k 2011/07/31 D:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2011/7/31 9:12
   64k 2009/11/09 D:\cygwin\bin\cygmpc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpc-1.dll" v0.0 ts=2009/11/9 4:21
  269k 2009/06/07 D:\cygwin\bin\cygmpfr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-1.dll" v0.0 ts=2009/6/8 1:10
 1102k 2011/08/07 D:\cygwin\bin\cygmpfr-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-4.dll" v0.0 ts=2011/8/7 5:47
   63k 2010/01/02 D:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-10.dll" v0.0 ts=2010/1/2 18:00
   63k 2010/01/02 D:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2010/1/2 20:41
  195k 2010/01/02 D:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-10.dll" v0.0 ts=2010/1/2 17:45
  244k 2010/01/02 D:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2010/1/2 20:28
   13k 2010/01/02 D:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-10.dll" v0.0 ts=2010/1/2 17:47
   13k 2010/01/02 D:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2010/1/2 19:30
  255k 2011/12/14 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2011/12/14 23:28
    8k 2011/12/14 D:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2011/12/14 23:28
 1627k 2010/08/29 D:\cygwin\bin\cygperl5_10.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_10.dll" v0.0 ts=2010/8/28 22:17
   22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 9:45
  695k 2009/04/18 D:\cygwin\bin\cygppl-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygppl-7.dll" v0.0 ts=2009/4/18 16:44
 2481k 2009/04/18 D:\cygwin\bin\cygppl_c-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygppl_c-2.dll" v0.0 ts=2009/4/18 16:47
   18k 2009/04/18 D:\cygwin\bin\cygpwl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygpwl-4.dll" v0.0 ts=2009/4/18 16:44
  164k 2011/01/26 D:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2011/1/26 6:25
    8k 2011/05/05 D:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2011/5/5 11:33
  281k 2012/01/18 D:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2012/1/18 18:40
    8k 2011/10/26 D:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2011/10/23 17:33
  780k 2011/10/26 D:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2011/10/23 17:58
   48k 2010/01/02 D:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-10.dll" v0.0 ts=2010/1/2 17:45
   48k 2010/01/02 D:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2010/1/2 20:28
   28k 2010/03/28 D:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygwrap-0.dll" v0.0 ts=2010/3/28 13:02
   76k 2010/08/01 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2010/8/2 1:04
 2604k 2011/03/29 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2011/3/29 12:10
    Cygwin DLL version info:
        DLL version: 1.7.9
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 237
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


No Cygwin services found.


Cygwin Package Information
Last downloaded files to: D:\cygwin\home\gribov.y\distrib\cygwin.files2
Last downloaded files from: http://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/

Package              Version              Status
_update-info-dir     01010-1              OK
alternatives         1.3.30c-10           OK
base-cygwin          3.0-1                OK
base-files           4.0-6                OK
bash                 4.1.10-4             OK
binutils             2.22.51-1            OK
bzip2                1.0.6-2              OK
coreutils            8.14-1               OK
crypt                1.1-1                OK
csih                 0.9.4-1              OK
cygrunsrv            1.34-1               OK
cygutils             1.4.6-1              OK
cygwin               1.7.9-1              OK
cygwin-doc           1.7-1                OK
dash                 0.5.7-1              OK
diffutils            2.9-1                OK
dos2unix             5.3.1-1              OK
editrights           1.01-2               OK
file                 5.09-1               OK
findutils            4.5.9-2              OK
gawk                 4.0.0-1              OK
gcc-core             3.4.4-999            OK
gcc-g77              3.4.4-999            OK
gcc-mingw-core       20050522-3           OK
gcc-mingw-g77        20050522-3           OK
Empty package gcc4
gcc4                 4.5.3-3              OK
gcc4-core            4.5.3-3              OK
gcc4-fortran         4.5.3-3              OK
gcc4-g++             4.5.3-3              OK
gettext              0.18.1.1-2           OK
grep                 2.6.3-1              OK
groff                1.20.1-2             OK
gzip                 1.4-1                OK
ipc-utils            1.0-1                OK
less                 444-1                OK
libattr1             2.4.43-1             OK
libbz2_1             1.0.6-2              OK
libcloog0            0.15.7-1             OK
libdb4.5             4.5.20.2-2           OK
libedit0             20090923-1           OK
libffi4              4.5.3-3              OK
libgcc1              4.5.3-3              OK
libgdbm4             1.8.3-20             OK
libgfortran3         4.5.3-3              OK
libgmp3              4.3.2-1              OK
libgmpxx4            4.3.2-1              OK
libgomp1             4.5.3-3              OK
libiconv2            1.14-2               OK
libintl3             0.14.5-1             OK
libintl8             0.18.1.1-2           OK
liblzma5             5.0.2_20110517-1     OK
libmpc1              0.8-1                OK
libmpfr1             2.4.1-4              OK
libmpfr4             3.0.1-1              OK
libncurses10         5.7-18               OK
libncursesw10        5.7-18               OK
libopenssl098        0.9.8t-1             OK
libpcre0             8.21-1               OK
libpopt0             1.6.4-4              OK
libppl               0.10.2-1             OK
libreadline7         6.1.2-2              OK
libsigsegv2          2.10-1               OK
libssp0              4.5.3-3              OK
libstdc++6           4.5.3-3              OK
libstdc++6-devel     4.5.3-3              OK
libwrap0             7.6-21               OK
login                1.10-10              OK
make                 3.82.90-1            OK
man                  1.6g-1               OK
mingw-runtime        3.20-1               OK
mingw-w32api         3.17-2               OK
mintty               1.0.2-1              OK
openssh              5.9p1-1              OK
perl                 5.10.1-5             OK
rebase               4.0.1-1              OK
rsync                3.0.9-1              OK
run                  1.1.13-1             OK
sed                  4.2.1-1              OK
tar                  1.25-1               OK
terminfo             5.7_20091114-14      OK
texinfo              4.13-4               OK
tzcode               2010j-1              OK
vim                  7.3.353-1            OK
vim-common           7.3.353-1            OK
w32api               3.17-2               OK
which                2.20-2               OK
xxd                  7.3.353-1            OK
xz                   5.0.2_20110517-1     OK
zlib                 1.2.5-1              OK
zlib-devel           1.2.5-1              OK
zlib0                1.2.5-1              OK
Use -h to see help about each section

[-- Attachment #3: io.c --]
[-- Type: text/x-csrc, Size: 787 bytes --]

#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

#define CHECK(cond) if( !(cond) ) { printf("%s failed at %s:%d\n", #cond, __FILE__, __LINE__); exit(1); }

const char *fname = "//s-cw-head/pgas/test.bin"; // Works with simple "c:/test.bin"

int main() {
  // Without this snippet everything works
  int perm = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
  int mode = O_WRONLY | O_CREAT | O_TRUNC;
  int fd = open(fname, mode, perm);
  CHECK( -1 != fd );
  close(fd);

  // Main part

  FILE *p = fopen(fname, "rb+");
  CHECK(p);

  long long data = -1;
  CHECK( sizeof(data) == fwrite(&data, 1, sizeof(data), p) );

  CHECK( 0 == fseek(p, 0, SEEK_END) );
  CHECK( ftell(p) == sizeof(data) );

  printf("success\n");

  return 0;
}

[-- Attachment #4: 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] 16+ messages in thread

* Re: ftell() fails on files in shared folders
  2012-03-18 14:55 ftell() fails on files in shared folders Yuri Gribov
@ 2012-03-18 15:59 ` Corinna Vinschen
  2012-03-18 16:41   ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Corinna Vinschen @ 2012-03-18 15:59 UTC (permalink / raw)
  To: cygwin

On Mar 18 18:55, Yuri Gribov wrote:
> Hi all,
> 
> I have recently ran into a problem with Cygwin accessing files located
> in shared folders. The attached program does fwrite() and then checks
> file size with ftell(). Ftell() returns correct results in any of
> following situations:
> 1) I access local file: c:/test.bin

Wrong style.  Don't use DOS paths.  Use POSIX paths instead, like,
in that case, /cygdrive/c/test.bin.

> 2) I access file via UNC-address from the same computer:
> //server-name/dir/test.out
>   gribov.y@s-cw-head ~/build/upc/opt
>   $ ./a.exe
>   success
> 
> But when I try to access file via UNC-address from a different machine
> ftell() starts returning 0 instead of expected 8:
>   gribov.y@s-cw-head ~/build/upc/opt
>   $ gcc io.c && run_ms_job -n 1 -network smp a.exe
>   ftell(p) == sizeof(data) failed at io.c:26
> 
> Note that the file is created and data is written correctly:
>   gribov.y@s-cw-head ~/build/upc/opt
>   $ xxd ~/pgas/test.bin
>   0000000: ffff ffff ffff ffff                      ........
> so there seem to be a problem with ftell() itself.
> 
> Any help/ideas will be much appreciated. I have tried searching the
> MLs but have not found anything similiar to my problem.

Works for me.  I changed your testcase to allow entering the pathname on
the command line:

  $ ./a ./test.bin
  success
  $ ./a //this-machine/c\$/cygwin/home/corinna/test/bin
  success
  $ ./a //other-machine/c\$/cygwin/home/corinna/test/bin
  success

Either I don't understand your problem description, or you're suffering
from some BLODA problem, maybe.


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: ftell() fails on files in shared folders
  2012-03-18 15:59 ` Corinna Vinschen
@ 2012-03-18 16:41   ` Yuri Gribov
  2012-03-18 16:54     ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-18 16:41 UTC (permalink / raw)
  To: cygwin

Corinna,

Thanks for your answer!

> Wrong style.

Yeah, I know but it worked this time and it's so handy to just use
good ol' DOS paths...

>  $ ./a ./test.bin
>  success
>  $ ./a //this-machine/c\$/cygwin/home/corinna/test/bin
>  success
>  $ ./a //other-machine/c\$/cygwin/home/corinna/test/bin
>  success

Note that you used "test/bin" instead of test.bin in last two examples
but this shouldn't make any difference provided that you have test
folder and no test/bin folder in your $HOME.

Interesing, I just did exactly same and it failed:
  gribov.y@s-cw-head ~/build/upc/opt
  $ ./a.exe //s-cw-head/c\$/test.bin   # <- same node
  success

  gribov.y@s-cw-head ~/build/upc/opt
  $ ./a.exe //s-cw-node01/c\$/test.bin   # <- different node
  ftell(p) == sizeof(data) failed at io.c:29

Let me see if I find something in Cygwin's BLODA list installed on
these machines.

-- 
Best regards,
Yuri

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

* Re: ftell() fails on files in shared folders
  2012-03-18 16:41   ` Yuri Gribov
@ 2012-03-18 16:54     ` Yuri Gribov
  2012-03-18 19:11       ` Corinna Vinschen
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-18 16:54 UTC (permalink / raw)
  To: cygwin

Corinna,

Is your $HOME shared across all your nodes? Can you try running on c$/test.bin?

On Sun, Mar 18, 2012 at 8:41 PM, Yuri Gribov <tetra2005@googlemail.com> wrote:
> Corinna,
>
> Thanks for your answer!
>
>> Wrong style.
>
> Yeah, I know but it worked this time and it's so handy to just use
> good ol' DOS paths...
>
>>  $ ./a ./test.bin
>>  success
>>  $ ./a //this-machine/c\$/cygwin/home/corinna/test/bin
>>  success
>>  $ ./a //other-machine/c\$/cygwin/home/corinna/test/bin
>>  success
>
> Note that you used "test/bin" instead of test.bin in last two examples
> but this shouldn't make any difference provided that you have test
> folder and no test/bin folder in your $HOME.
>
> Interesing, I just did exactly same and it failed:
>  gribov.y@s-cw-head ~/build/upc/opt
>  $ ./a.exe //s-cw-head/c\$/test.bin   # <- same node
>  success
>
>  gribov.y@s-cw-head ~/build/upc/opt
>  $ ./a.exe //s-cw-node01/c\$/test.bin   # <- different node
>  ftell(p) == sizeof(data) failed at io.c:29
>
> Let me see if I find something in Cygwin's BLODA list installed on
> these machines.
>
> --
> Best regards,
> Yuri

-- 
Best regards,
Yuri

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

* Re: ftell() fails on files in shared folders
  2012-03-18 16:54     ` Yuri Gribov
@ 2012-03-18 19:11       ` Corinna Vinschen
  2012-03-18 19:42         ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Corinna Vinschen @ 2012-03-18 19:11 UTC (permalink / raw)
  To: cygwin

On Mar 18 20:54, Yuri Gribov wrote:
> Corinna,

Please, don't http://cygwin.com/acronyms/#TOFU
Thanks.

> > Corinna,
> >
> > Thanks for your answer!
> >
> >> Wrong style.
> >
> > Yeah, I know but it worked this time and it's so handy to just use
> > good ol' DOS paths...
> >
> >>  $ ./a ./test.bin
> >>  success
> >>  $ ./a //this-machine/c\$/cygwin/home/corinna/test/bin
> >>  success
> >>  $ ./a //other-machine/c\$/cygwin/home/corinna/test/bin
> >>  success
> >
> > Note that you used "test/bin" instead of test.bin in last two examples

No, that was a typo.  I used test.bin.

> > but this shouldn't make any difference provided that you have test
> > folder and no test/bin folder in your $HOME.
> >
> > Interesing, I just did exactly same and it failed:
> >  gribov.y@s-cw-head ~/build/upc/opt
> >  $ ./a.exe //s-cw-head/c\$/test.bin   # <- same node
> >  success
> >
> >  gribov.y@s-cw-head ~/build/upc/opt
> >  $ ./a.exe //s-cw-node01/c\$/test.bin   # <- different node
> >  ftell(p) == sizeof(data) failed at io.c:29
>
> Is your $HOME shared across all your nodes? Can you try running on c$/test.bin?

No.  In my examples ./test.bin and
//this-machine/c\$/cygwin/home/corinna/test.bin refer to the same file,
//other-machine/c\$/cygwin/home/corinna/test.bin is a file on another
machine.


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: ftell() fails on files in shared folders
  2012-03-18 19:11       ` Corinna Vinschen
@ 2012-03-18 19:42         ` Yuri Gribov
  2012-03-19  9:15           ` Corinna Vinschen
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-18 19:42 UTC (permalink / raw)
  To: cygwin

> No.  In my examples ./test.bin and
> //this-machine/c\$/cygwin/home/corinna/test.bin refer to the same file,
> //other-machine/c\$/cygwin/home/corinna/test.bin is a file on another
> machine.

Hm, I'm out of clues then. These machines have very simple setups and
I did not find any app from Cygwin BLODA list.

Do you think it makes sense to try the latest Cygwin? Mine is 2 months
old but I don't expect basic IO to change that often...

-- 
Best regards,
Yuri

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

* Re: ftell() fails on files in shared folders
  2012-03-18 19:42         ` Yuri Gribov
@ 2012-03-19  9:15           ` Corinna Vinschen
  2012-03-20  9:48             ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Corinna Vinschen @ 2012-03-19  9:15 UTC (permalink / raw)
  To: cygwin

On Mar 18 23:41, Yuri Gribov wrote:
> > No.  In my examples ./test.bin and
> > //this-machine/c\$/cygwin/home/corinna/test.bin refer to the same file,
> > //other-machine/c\$/cygwin/home/corinna/test.bin is a file on another
> > machine.
> 
> Hm, I'm out of clues then. These machines have very simple setups and
> I did not find any app from Cygwin BLODA list.
> 
> Do you think it makes sense to try the latest Cygwin? Mine is 2 months
> old but I don't expect basic IO to change that often...

No, it doesn't change that often.  1.7.9 is actually a year old,
though.  Updating *might* help.

Btw., assuming you call lseek(fileno(p), SEEK_CUR, 0) rather than
ftell(p), what position does it return?


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: ftell() fails on files in shared folders
  2012-03-19  9:15           ` Corinna Vinschen
@ 2012-03-20  9:48             ` Yuri Gribov
  2012-03-20 12:10               ` Corinna Vinschen
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-20  9:48 UTC (permalink / raw)
  To: cygwin

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

Corinna,

> No, it doesn't change that often.  1.7.9 is actually a year old,
> though.  Updating *might* help.
>
> Btw., assuming you call lseek(fileno(p), SEEK_CUR, 0) rather than
> ftell(p), what position does it return?

I have rewritten my program to use only low-level API (open, write,
lseek) and installed latest Cygwin. It seems that the error is caused
by O_RDWR - as soon as I change it to O_WRONLY everything starts to
work:

Local, O_WRONLY:
  C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-head/c$/test.bin
  success

Local, O_RDWR:
  C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-head/c$/test.bin rw
  success

Remote, O_WRONLY:
  C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-node01/c$/test.bin
  success

Remote, O_RDWR:
  C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-node01/c$/test.bin rw
  sizeof(data) == lseek(fd, 0, SEEK_END) failed at io.c:36

-- 
Best regards,
Yuri

[-- Attachment #2: io.c --]
[-- Type: text/x-csrc, Size: 934 bytes --]

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <fcntl.h>

#define CHECK(cond) do { \
	if( !(cond) ) { \
		printf("%s failed at %s:%d\n", #cond, __FILE__, __LINE__); \
		exit(1); \
	} } while(0)

int main(int argc, char *argv[]) {
  if( argc < 2 ) {
    fprintf(stderr, "Syntax: a.exe fname [mode]\n");
    exit(1);
  }

  const char *fname = argv[1];

  int mode = O_CREAT | O_TRUNC;
  if( argc > 2 && 0 == strcmp("rw", argv[2]) )
    mode |= O_RDWR;
  else
    mode |= O_WRONLY;

  const int perm = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
  const unsigned data = -1;

  int fd = open(fname, mode, perm);
  CHECK( -1 != fd );
  close(fd);

  fd = open(fname, mode, perm);
  CHECK( -1 != fd );
  CHECK( sizeof(data) == write(fd, &data, sizeof(data)) );
  CHECK( sizeof(data) == lseek(fd, 0, SEEK_END) );
  CHECK( sizeof(data) == lseek(fd, 0, SEEK_CUR) );

  printf("success\n");

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

* Re: ftell() fails on files in shared folders
  2012-03-20  9:48             ` Yuri Gribov
@ 2012-03-20 12:10               ` Corinna Vinschen
  2012-03-20 20:12                 ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Corinna Vinschen @ 2012-03-20 12:10 UTC (permalink / raw)
  To: cygwin

On Mar 20 13:48, Yuri Gribov wrote:
> Corinna,
> 
> > No, it doesn't change that often.  1.7.9 is actually a year old,
> > though.  Updating *might* help.
> >
> > Btw., assuming you call lseek(fileno(p), SEEK_CUR, 0) rather than
> > ftell(p), what position does it return?
> 
> I have rewritten my program to use only low-level API (open, write,
> lseek) and installed latest Cygwin. It seems that the error is caused
> by O_RDWR - as soon as I change it to O_WRONLY everything starts to
> work:
> 
> Local, O_WRONLY:
>   C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-head/c$/test.bin
>   success
> 
> Local, O_RDWR:
>   C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-head/c$/test.bin rw
>   success
> 
> Remote, O_WRONLY:
>   C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-node01/c$/test.bin
>   success
> 
> Remote, O_RDWR:
>   C:\Users\gribov.y>\\s-cw-head\pgas\a.exe //s-cw-node01/c$/test.bin rw
>   sizeof(data) == lseek(fd, 0, SEEK_END) failed at io.c:36

First of all, there's a bug in your testcase.  lseek takesn off_t as
second parameter, off_t on Cygwin is 64 bit.  But your testcase doesn't
#include <unistd.h>, so the prototype for lseek is missing and lseek
gets wrong data because the second parameter is put on the stack as type
int (32 bit).

Second, I still can't reproduce your issue.  I added #include <unistd.h>
and then everything worked fine, regardless of using a local or remote
file, and independent of adding "rw" or not.  I tried with a Windows-based
NTFS share and a Samba-based share.

What filesystem is your remote FS?  Please run

  bash$ /usr/lib/csih/getVolInfo //s-cw-node01/c\$

and paste the output here.  You could also run the testcase under
strace, like this:

  bash$ strace -o io.trace ./io //s-cw-node01/c\$/test.bin

and send the strace here.  Maybe we can figure out what's going on.


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: ftell() fails on files in shared folders
  2012-03-20 12:10               ` Corinna Vinschen
@ 2012-03-20 20:12                 ` Yuri Gribov
  2012-03-20 20:50                   ` Corinna Vinschen
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-20 20:12 UTC (permalink / raw)
  To: cygwin

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

> First of all, there's a bug in your testcase.

Nice catch. With fixed code O_RDWR and O_WRONLY no longer influence
the result but the bug still remains.

> What filesystem is your remote FS?  Please run

Done. All nodes seem to have same volume attributes.

> You could also run the testcase under strace, like this:

Done, here's the relevant part: for local (successful) run:
  write: write(3, 0x402080, 8)
  write: 8 = write(3, 0x402080, 8)
  fhandler_base::lseek: setting file pointer to 8
  lseek64: 8 = lseek(0, 3, 0)
  fhandler_base::lseek: setting file pointer to 8
  lseek64: 8 = lseek(0, 3, 0)
and for remote:
  write: write(3, 0x402080, 8)
  write: 8 = write(3, 0x402080, 8)
  fhandler_base::lseek: setting file pointer to 0
  lseek64: 0 = lseek(0, 3, 0)

-- 
Best regards,
Yuri

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

Device Type        : 7
Characteristics    : 10
Volume Name        : <Node>
Serial Number      : 3366888764
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 2700ff
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : TRUE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : TRUE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: TRUE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : TRUE
  FILE_SUPPORTS_ENCRYPTION    : TRUE
  FILE_NAMED_STREAMS          : TRUE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : TRUE

[-- Attachment #3: io.c --]
[-- Type: text/x-csrc, Size: 1119 bytes --]

#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>

#define CHECK(cond) if( !(cond) ) { printf("%s failed at %s:%d\n", #cond, __FILE__, __LINE__); return; }
#define CMP(a, b) { int _a = (a), _b = (b); if( (_a) != (_b) ) { printf("%s != %s (%d != %d) at %s:%d\n", #a, #b, _a, _b, __FILE__, __LINE__); return; } }

const char *fname;

const long long data = -1;
const int perm = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;

int main(int argc, char *argv[]) {
  if( argc < 2 ) {
    fprintf(stderr, "Syntax: a.exe fname\n");
    exit(1);
  }

  fname = argv[1];

  int mode = O_WRONLY | O_CREAT | O_TRUNC;

  int fd = open(fname, mode, perm);
  CHECK( -1 != fd );
  close(fd);

#if 0
  FILE *p = fopen(fname, "rb+");
  CMP( sizeof(data), fwrite(&data, 1, sizeof(data), p) );
  CMP( 0, fseek(p, 0, SEEK_END) );
  CMP( sizeof(data), ftell(p) );
#elif 1
  fd = open(fname, perm, mode);
  CMP( sizeof(data), write(fd, &data, sizeof(data)) );
  CMP( sizeof(data), lseek(fd, 0, SEEK_END) );
  CMP( sizeof(data), lseek(fd, 0, SEEK_CUR) );
#endif

  printf("success\n");

  return 0;
}
 

[-- Attachment #4: strace_local.log --]
[-- Type: application/octet-stream, Size: 51553 bytes --]

    3       3 [main] a (6816) **********************************************
  119     122 [main] a (6816) Program name: D:\cygwin\home\gribov.y\test\a.exe (windows pid 6816)
   47     169 [main] a (6816) OS version:   Windows NT-6.0
   34     203 [main] a (6816) Heap size:    387323156
   32     235 [main] a (6816) **********************************************
  315     550 [main] a (6816) sigprocmask: 0 = sigprocmask (0, 0x6123E288, 0x610F7C90)
  277     827 [main] a 6816 open_shared: name shared.5, n 5, shared 0x60FF0000 (wanted 0x60FF0000), h 0x7C, *m 6
   58     885 [main] a 6816 heap_init: heap base 0x80000000, heap top 0x80000000
   67     952 [main] a 6816 open_shared: name S-1-5-21-507260907-3612331834-2573260056-1269.1, n 1, shared 0x60FE0000 (wanted 0x60FE0000), h 0x74, *m 6
   38     990 [main] a 6816 user_info::create: opening user shared for 'S-1-5-21-507260907-3612331834-2573260056-1269' at 0x60FE0000
   37    1027 [main] a 6816 user_info::create: user shared version 6467403B
   73    1100 [main] a 6816 fhandler_pipe::create: CreateNamedPipe: name \\.\pipe\cygwin-1720b01b097bf4fc-pipe-0x1AA0-0x1, size 164
   87    1187 [main] a 6816 fhandler_pipe::create: pipe read handle 0x98
   48    1235 [main] a 6816 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-1720b01b097bf4fc-pipe-0x1AA0-0x1
   78    1313 [main] a 6816 fhandler_pipe::create: pipe write handle 0x9C
   54    1367 [main] a 6816 dll_crt0_0: finished dll_crt0_0 initialization
  639    2006 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test, no-keep-rel, no-add-slash)
  -38    1968 [sig] a 6816 wait_sig: entering ReadFile loop, my_readsig 0x98, my_sendsig 0x9C
  143    2111 [main] a 6816 normalize_win32_path: D:\cygwin\home\gribov.y\test = normalize_win32_path (D:\cygwin\home\gribov.y\test)
   43    2154 [main] a 6816 mount_info::conv_to_posix_path: /home/gribov.y/test = conv_to_posix_path (D:\cygwin\home\gribov.y\test)
   85    2239 [main] a 6816 sigprocmask: 0 = sigprocmask (0, 0x800180A8, 0x610F7C90)
  200    2439 [main] a 6816 _cygwin_istext_for_stdio: fd 0: not open
   45    2484 [main] a 6816 _cygwin_istext_for_stdio: fd 1: not open
   36    2520 [main] a 6816 _cygwin_istext_for_stdio: fd 2: not open
  146    2666 [main] a (6816) open_shared: name cygpid.6816, n 6816, shared 0x60FD0000 (wanted 0x60FD0000), h 0xC4, *m 2
   48    2714 [main] a 6816 pinfo::thisproc: myself dwProcessId 6816
   37    2751 [main] a 6816 time: 1332277309 = time(0)
  497    3248 [main] a 6816 environ_init: GetEnvironmentStrings returned 0x4A71E8
   79    3327 [main] a 6816 environ_init: 0x80028290: !C:=C:\Program Files (x86)\Far2
   69    3396 [main] a 6816 environ_init: 0x800282B8: !D:=D:\cygwin\bin
   68    3464 [main] a 6816 environ_init: 0x800282D0: ALLUSERSPROFILE=C:\ProgramData
   69    3533 [main] a 6816 environ_init: 0x800282F8: APPDATA=C:\Users\gribov.y\AppData\Roaming
   68    3601 [main] a 6816 environ_init: 0x80028328: AWP_LOCALE130=en-us
   96    3697 [main] a 6816 environ_init: 0x80028348: CCP_DATA=C:\Program Files\Microsoft HPC Pack\Data\
   78    3775 [main] a 6816 environ_init: 0x80028380: CCP_HOME=C:\Program Files\Microsoft HPC Pack\
   71    3846 [main] a 6816 environ_init: 0x800283B8: CCP_INC=C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\
   69    3915 [main] a 6816 environ_init: 0x80028400: CCP_JOBTEMPLATE=Default
   70    3985 [main] a 6816 environ_init: 0x80028420: CCP_LIB32=C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\i386\
   71    4056 [main] a 6816 environ_init: 0x80028468: CCP_LIB64=C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\amd64\
   69    4125 [main] a 6816 environ_init: 0x800284B0: CCP_SCHEDULER=s-cw-head
   96    4221 [main] a 6816 environ_init: 0x800284D0: CCP_SDK=C:\Program Files\Microsoft HPC Pack 2008 SDK\
   86    4307 [main] a 6816 environ_init: 0x80028510: CLIENTNAME=YURAPC
   68    4375 [main] a 6816 environ_init: 0x80028528: COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
   70    4445 [main] a 6816 environ_init: 0x80028568: COMPUTERNAME=S-CW-HEAD
   76    4521 [main] a 6816 environ_init: 0x80028588: COMSPEC=C:\Windows\system32\cmd.exe
   71    4592 [main] a 6816 environ_init: 0x800285B8: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
   70    4662 [main] a 6816 environ_init: 0x80028600: CommonProgramW6432=C:\Program Files\Common Files
   74    4736 [main] a 6816 parse_options: glob (called func)
  104    4840 [main] a 6816 parse_options: returning
   34    4874 [main] a 6816 environ_init: 0x80028638: CYGWIN=noglob
   68    4942 [main] a 6816 environ_init: 0x80028660: DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
   68    5010 [main] a 6816 environ_init: 0x800286B0: FARADMINMODE=1
   67    5077 [main] a 6816 environ_init: 0x800286C8: FARHOME=C:\Program Files (x86)\Far2
   94    5171 [main] a 6816 environ_init: 0x800286F8: FARLANG=English
  138    5309 [main] a 6816 environ_init: 0x80028710: FP_NO_HOST_CHECK=NO
   88    5397 [main] a 6816 environ_init: 0x80028730: Framework35Version=v3.5
   52    5449 [main] a 6816 environ_init: 0x80028750: FrameworkDir=C:\Windows\Microsoft.NET\Framework
   49    5498 [main] a 6816 environ_init: 0x80028788: FrameworkVersion=v2.0.50727
   74    5572 [main] a 6816 getwinenv: can't set native for HOME= since no environ yet
   47    5619 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y, no-keep-rel, no-add-slash)
   34    5653 [main] a 6816 normalize_win32_path: D:\cygwin\home\gribov.y = normalize_win32_path (D:\cygwin\home\gribov.y)
   29    5682 [main] a 6816 mount_info::conv_to_posix_path: /home/gribov.y = conv_to_posix_path (D:\cygwin\home\gribov.y)
  115    5797 [main] a 6816 win_env::add_cache: posix /home/gribov.y
   36    5833 [main] a 6816 win_env::add_cache: native HOME=D:\cygwin\home\gribov.y
   37    5870 [main] a 6816 posify_maybe: env var converted to HOME=/home/gribov.y
  102    5972 [main] a 6816 environ_init: 0x80028818: HOME=/home/gribov.y
   99    6071 [main] a 6816 environ_init: 0x800287B0: HOMEDRIVE=C:
  185    6256 [main] a 6816 environ_init: 0x80028830: HOMEPATH=\Users\gribov.y
   67    6323 [main] a 6816 environ_init: 0x80028850: HOSTNAME=s-cw-head
   69    6392 [main] a 6816 environ_init: 0x80028868: INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;
   68    6460 [main] a 6816 environ_init: 0x80028930: INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
   65    6525 [main] a 6816 environ_init: 0x80028970: I_MPI_ROOT=C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\
  124    6649 [main] a 6816 environ_init: 0x800289B0: LANG=en_US.UTF-8
   76    6725 [main] a 6816 environ_init: 0x800289C8: LIBPATH=C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;
   69    6794 [main] a 6816 environ_init: 0x80028AA8: LOCALAPPDATA=C:\Users\gribov.y\AppData\Local
   71    6865 [main] a 6816 environ_init: 0x80028AE0: LOGONSERVER=\\S-CW-HEAD
   66    6931 [main] a 6816 environ_init: 0x80028B00: MANPATH=/usr/local/man:/usr/share/man:/usr/man:
   66    6997 [main] a 6816 environ_init: 0x80028B38: ND_INC=C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\
   67    7064 [main] a 6816 environ_init: 0x80028B80: NUMBER_OF_PROCESSORS=4
  143    7207 [main] a 6816 environ_init: 0x80028BA0: OLDPWD=/home/gribov.y
   84    7291 [main] a 6816 environ_init: 0x80028BC0: OS=Windows_NT
  111    7402 [main] a 6816 getwinenv: can't set native for PATH= since no environ yet
   79    7481 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\usr\local\bin, keep-rel, no-add-slash)
   37    7518 [main] a 6816 normalize_win32_path: D:\cygwin\usr\local\bin = normalize_win32_path (D:\cygwin\usr\local\bin)
   35    7553 [main] a 6816 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (D:\cygwin\usr\local\bin)
   41    7594 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\bin, keep-rel, no-add-slash)
   36    7630 [main] a 6816 normalize_win32_path: D:\cygwin\bin = normalize_win32_path (D:\cygwin\bin)
   34    7664 [main] a 6816 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (D:\cygwin\bin)
   76    7740 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE, keep-rel, no-add-slash)
   36    7776 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE)
   38    7814 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE)
   36    7850 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN, keep-rel, no-add-slash)
   37    7887 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN)
   36    7923 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN)
   37    7960 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools, keep-rel, no-add-slash)
   36    7996 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools)
   37    8033 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools)
   44    8077 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v3.5, keep-rel, no-add-slash)
   36    8113 [main] a 6816 normalize_win32_path: C:\Windows\Microsoft.NET\Framework\v3.5 = normalize_win32_path (C:\Windows\Microsoft.NET\Framework\v3.5)
   36    8149 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 = conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v3.5)
   36    8185 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v2.0.50727, keep-rel, no-add-slash)
   72    8257 [main] a 6816 normalize_win32_path: C:\Windows\Microsoft.NET\Framework\v2.0.50727 = normalize_win32_path (C:\Windows\Microsoft.NET\Framework\v2.0.50727)
   36    8293 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727 = conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v2.0.50727)
   35    8328 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages, keep-rel, no-add-slash)
   37    8365 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages)
   36    8401 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages)
   37    8438 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin, keep-rel, no-add-slash)
   35    8473 [main] a 6816 normalize_win32_path: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin = normalize_win32_path (C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin)
   36    8509 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin = conv_to_posix_path (C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin)
   39    8548 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft HPC Pack\Bin, keep-rel, no-add-slash)
   36    8584 [main] a 6816 normalize_win32_path: C:\Program Files\Microsoft HPC Pack\Bin = normalize_win32_path (C:\Program Files\Microsoft HPC Pack\Bin)
   36    8620 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft HPC Pack/Bin = conv_to_posix_path (C:\Program Files\Microsoft HPC Pack\Bin)
   36    8656 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Perl\site\bin, keep-rel, no-add-slash)
   35    8691 [main] a 6816 normalize_win32_path: C:\Perl\site\bin = normalize_win32_path (C:\Perl\site\bin)
   36    8727 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Perl/site/bin = conv_to_posix_path (C:\Perl\site\bin)
   64    8791 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Perl\bin, keep-rel, no-add-slash)
   43    8834 [main] a 6816 normalize_win32_path: C:\Perl\bin = normalize_win32_path (C:\Perl\bin)
   35    8869 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Perl/bin = conv_to_posix_path (C:\Perl\bin)
   35    8904 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin, keep-rel, no-add-slash)
   36    8940 [main] a 6816 normalize_win32_path: C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin = normalize_win32_path (C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin)
   36    8976 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin = conv_to_posix_path (C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin)
   36    9012 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, keep-rel, no-add-slash)
   40    9052 [main] a 6816 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
   39    9091 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
   47    9138 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, keep-rel, no-add-slash)
   47    9185 [main] a 6816 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
   37    9222 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Windows = conv_to_posix_path (C:\Windows)
   46    9268 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, keep-rel, no-add-slash)
   43    9311 [main] a 6816 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
   54    9365 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
   36    9401 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, keep-rel, no-add-slash)
   36    9437 [main] a 6816 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   36    9473 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   36    9509 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Windows Imaging, keep-rel, no-add-slash)
   36    9545 [main] a 6816 normalize_win32_path: C:\Program Files\Windows Imaging = normalize_win32_path (C:\Program Files\Windows Imaging)
   36    9581 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Windows Imaging = conv_to_posix_path (C:\Program Files\Windows Imaging)
   36    9617 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn, keep-rel, no-add-slash)
   36    9653 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn)
   39    9692 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn)
   37    9729 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\MPICH2\bin, keep-rel, no-add-slash)
   36    9765 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\MPICH2\bin = normalize_win32_path (C:\Program Files (x86)\MPICH2\bin)
   44    9809 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/MPICH2/bin = conv_to_posix_path (C:\Program Files (x86)\MPICH2\bin)
   44    9853 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn, keep-rel, no-add-slash)
   46    9899 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn)
   46    9945 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn)
   37    9982 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn, keep-rel, no-add-slash)
   44   10026 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn)
   36   10062 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn)
   36   10098 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE, keep-rel, no-add-slash)
   37   10135 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE)
   36   10171 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE)
   37   10208 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies, keep-rel, no-add-slash)
   37   10245 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies)
   37   10282 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies)
   38   10320 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Nano\ORCA_DevCenter\orca\x86_exe\release, keep-rel, no-add-slash)
   55   10375 [main] a 6816 normalize_win32_path: C:\Nano\ORCA_DevCenter\orca\x86_exe\release = normalize_win32_path (C:\Nano\ORCA_DevCenter\orca\x86_exe\release)
   35   10410 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release = conv_to_posix_path (C:\Nano\ORCA_DevCenter\orca\x86_exe\release)
   46   10456 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\TortoiseSVN\bin, keep-rel, no-add-slash)
   44   10500 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\TortoiseSVN\bin = normalize_win32_path (C:\Program Files (x86)\TortoiseSVN\bin)
   36   10536 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/TortoiseSVN/bin = conv_to_posix_path (C:\Program Files (x86)\TortoiseSVN\bin)
   39   10575 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32, keep-rel, no-add-slash)
   36   10611 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32 = normalize_win32_path (C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32)
   38   10649 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32 = conv_to_posix_path (C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32)
   37   10686 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin, keep-rel, no-add-slash)
   36   10722 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin = normalize_win32_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin)
   37   10759 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin = conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin)
   36   10795 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin, keep-rel, no-add-slash)
   36   10831 [main] a 6816 normalize_win32_path: C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin = normalize_win32_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin)
   56   10887 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin = conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin)
  124   11011 [main] a 6816 win_env::add_cache: posix /usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin:/cygdrive/c/Program Files/Microsoft HPC Pack/Bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/cygdrive/c/Program Files (x86)/MPICH2/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies:/cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release:/cygdrive/c/Program Files (x86)/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin
   70   11081 [main] a 6816 win_env::add_cache: native PATH=D:\cygwin\usr\local\bin;D:\cygwin\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;C:\Program Files\Microsoft HPC Pack\Bin;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Windows Imaging;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn;C:\Program Files (x86)\MPICH2\bin;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies;C:\Nano\ORCA_DevCenter\orca\x86_exe\release;C:\Program Files (x86)\TortoiseSVN\bin;C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32;C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin;C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin
   80   11161 [main] a 6816 posify_maybe: env var converted to PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin:/cygdrive/c/Program Files/Microsoft HPC Pack/Bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/cygdrive/c/Program Files (x86)/MPICH2/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies:/cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release:/cygdrive/c/Program Files (x86)/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin
  137   11298 [main] a 6816 environ_init: 0x80039C38: PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin:/cygdrive/c/Program Files/Microsoft HPC Pack/Bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/cygdrive/c/Program Files (x86)/MPICH2/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies:/cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release:/cygdrive/c/Program Files (x86)/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin
  106   11404 [main] a 6816 environ_init: 0x80028BD8: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
   70   11474 [main] a 6816 environ_init: 0x80028C20: PRINTER=Microsoft XPS Document Writer
   83   11557 [main] a 6816 environ_init: 0x80028C50: PRIVATEIP=10.2.0.1
   75   11632 [main] a 6816 environ_init: 0x80028C68: PROCESSOR_ARCHITECTURE=x86
   69   11701 [main] a 6816 environ_init: 0x80028C88: PROCESSOR_ARCHITEW6432=AMD64
   68   11769 [main] a 6816 environ_init: 0x80028CB0: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 6, GenuineIntel
   68   11837 [main] a 6816 environ_init: 0x80028D00: PROCESSOR_LEVEL=6
   82   11919 [main] a 6816 environ_init: 0x80028D18: PROCESSOR_REVISION=0f06
   77   11996 [main] a 6816 environ_init: 0x80028D38: PROGRAMFILES=C:\Program Files (x86)
   68   12064 [main] a 6816 environ_init: 0x80028D68: PROMPT=$P$G
   89   12153 [main] a 6816 environ_init: 0x80028D80: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ 
   69   12222 [main] a 6816 environ_init: 0x80028DC8: PUBLIC=C:\Users\Public
   68   12290 [main] a 6816 environ_init: 0x80028DE8: PWD=/home/gribov.y/test
   69   12359 [main] a 6816 environ_init: 0x80028E08: ProgramData=C:\ProgramData
   88   12447 [main] a 6816 environ_init: 0x80028E28: ProgramFiles(x86)=C:\Program Files (x86)
   68   12515 [main] a 6816 environ_init: 0x80028E58: ProgramW6432=C:\Program Files
   64   12579 [main] a 6816 environ_init: 0x80028E80: REMINST=\\s-cw-head\RemInst
   65   12644 [main] a 6816 environ_init: 0x80028EA8: SESSIONNAME=RDP-Tcp#0
   86   12730 [main] a 6816 environ_init: 0x80028EC8: SHELL=/bin/bash
   64   12794 [main] a 6816 environ_init: 0x800287C8: SHLVL=1
   65   12859 [main] a 6816 environ_init: 0x80028EE0: SYSTEMDRIVE=C:
   65   12924 [main] a 6816 environ_init: 0x80028EF8: SYSTEMROOT=C:\Windows
  101   13025 [main] a 6816 getwinenv: can't set native for TEMP= since no environ yet
   52   13077 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\tmp, no-keep-rel, no-add-slash)
   45   13122 [main] a 6816 normalize_win32_path: D:\cygwin\tmp = normalize_win32_path (D:\cygwin\tmp)
   36   13158 [main] a 6816 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (D:\cygwin\tmp)
  119   13277 [main] a 6816 win_env::add_cache: posix /tmp
   34   13311 [main] a 6816 win_env::add_cache: native TEMP=D:\cygwin\tmp
   37   13348 [main] a 6816 posify_maybe: env var converted to TEMP=/tmp
   99   13447 [main] a 6816 environ_init: 0x80028F58: TEMP=/tmp
   79   13526 [main] a 6816 environ_init: 0x80028F18: TERM=cygwin
   76   13602 [main] a 6816 getwinenv: can't set native for TMP= since no environ yet
   34   13636 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\tmp, no-keep-rel, no-add-slash)
   35   13671 [main] a 6816 normalize_win32_path: D:\cygwin\tmp = normalize_win32_path (D:\cygwin\tmp)
   36   13707 [main] a 6816 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (D:\cygwin\tmp)
  117   13824 [main] a 6816 win_env::add_cache: posix /tmp
   34   13858 [main] a 6816 win_env::add_cache: native TMP=D:\cygwin\tmp
   34   13892 [main] a 6816 posify_maybe: env var converted to TMP=/tmp
  108   14000 [main] a 6816 environ_init: 0x80028FA8: TMP=/tmp
   89   14089 [main] a 6816 getwinenv: can't set native for TMPDIR= since no environ yet
   34   14123 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\temp, no-keep-rel, no-add-slash)
   35   14158 [main] a 6816 normalize_win32_path: C:\temp = normalize_win32_path (C:\temp)
   36   14194 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/temp = conv_to_posix_path (C:\temp)
   98   14292 [main] a 6816 win_env::add_cache: posix /cygdrive/c/temp
   53   14345 [main] a 6816 win_env::add_cache: native TMPDIR=C:\temp
   33   14378 [main] a 6816 posify_maybe: env var converted to TMPDIR=/cygdrive/c/temp
   97   14475 [main] a 6816 environ_init: 0x80028FE8: TMPDIR=/cygdrive/c/temp
   69   14544 [main] a 6816 environ_init: 0x80028F68: TZ=Europe/Moscow
   84   14628 [main] a 6816 environ_init: 0x80029008: USER=gribov.y
   67   14695 [main] a 6816 environ_init: 0x80029020: USERDNSDOMAIN=CLUSTER.CMC.UNN.NET
   66   14761 [main] a 6816 environ_init: 0x80029048: USERDOMAIN=CLUSTER
   74   14835 [main] a 6816 environ_init: 0x80029060: USERNAME=gribov.y
   97   14932 [main] a 6816 environ_init: 0x80029078: USERPROFILE=C:\Users\gribov.y
  108   15040 [main] a 6816 environ_init: 0x800290A0: VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
   94   15134 [main] a 6816 environ_init: 0x8003A240: VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
   77   15211 [main] a 6816 environ_init: 0x8003A298: VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0
   68   15279 [main] a 6816 environ_init: 0x800290E8: WINDIR=C:\Windows
   69   15348 [main] a 6816 environ_init: 0x8003A2E0: WindowsSdkDir=C:\Program Files\\Microsoft SDKs\Windows\v6.0A\
   77   15425 [main] a 6816 environ_init: 0x8003A328: _=/usr/bin/strace
   80   15505 [main] a 6816 environ_init: 0x8003A340: lib=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;C:\Program Files\SQLXML 4.0\bin\
   73   15578 [main] a 6816 getwinenv: can't set native for TEMP= since no environ yet
   34   15612 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3, no-keep-rel, no-add-slash)
   36   15648 [main] a 6816 normalize_win32_path: C:\Users\gribov.y\AppData\Local\Temp\3 = normalize_win32_path (C:\Users\gribov.y\AppData\Local\Temp\3)
   55   15703 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3 = conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3)
  101   15804 [main] a 6816 win_env::add_cache: posix /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   34   15838 [main] a 6816 win_env::add_cache: native TEMP=C:\Users\gribov.y\AppData\Local\Temp\3
   60   15898 [main] a 6816 posify_maybe: env var converted to TEMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
  125   16023 [main] a 6816 environ_init: 0x8003A4B8: TEMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   69   16092 [main] a 6816 getwinenv: can't set native for TMP= since no environ yet
   35   16127 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3, no-keep-rel, no-add-slash)
   35   16162 [main] a 6816 normalize_win32_path: C:\Users\gribov.y\AppData\Local\Temp\3 = normalize_win32_path (C:\Users\gribov.y\AppData\Local\Temp\3)
   57   16219 [main] a 6816 mount_info::conv_to_posix_path: /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3 = conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3)
   98   16317 [main] a 6816 win_env::add_cache: posix /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   35   16352 [main] a 6816 win_env::add_cache: native TMP=C:\Users\gribov.y\AppData\Local\Temp\3
   34   16386 [main] a 6816 posify_maybe: env var converted to TMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   97   16483 [main] a 6816 environ_init: 0x8003A560: TMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   66   16549 [main] a 6816 pinfo_init: Set nice to 0
   43   16592 [main] a 6816 pinfo_init: pid 6816, pgid 6816
   34   16626 [main] a 6816 App version:  1007.11, api: 0.260
   34   16660 [main] a 6816 DLL version:  1007.11, api: 0.260
   34   16694 [main] a 6816 DLL build:    2012-02-24 14:05
   60   16754 [main] a 6816 dtable::extend: size 32, fds 0x612735AC
  477   17231 [main] a 6816 pwdgrp::load: \etc\passwd curr_lines 27
   58   17289 [main] a 6816 pwdgrp::load: \etc\passwd load succeeded
  493   17782 [main] a 6816 pwdgrp::load: \etc\group curr_lines 51
   49   17831 [main] a 6816 pwdgrp::load: \etc\group load succeeded
   44   17875 [main] a 6816 cygheap_user::ontherange: what 2, pw 0x8003B5F0
   36   17911 [main] a 6816 cygheap_user::ontherange: HOME is already in the environment /home/gribov.y
  193   18104 [main] a 6816 __get_lcid_from_locale: LCID=0x0409
  355   18459 [main] a 6816 build_argv: argv[0] = 'D:\cygwin\home\gribov.y\test\a.exe'
   34   18493 [main] a 6816 build_argv: argv[1] = '//s-cw-head/c$/test.bin'
   40   18533 [main] a 6816 build_argv: argc 2
   77   18610 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test\a.exe, keep-rel, no-add-slash)
   35   18645 [main] a 6816 normalize_win32_path: D:\cygwin\home\gribov.y\test\a.exe = normalize_win32_path (D:\cygwin\home\gribov.y\test\a.exe)
   36   18681 [main] a 6816 mount_info::conv_to_posix_path: /home/gribov.y/test/a.exe = conv_to_posix_path (D:\cygwin\home\gribov.y\test\a.exe)
  298   18979 [main] a 6816 open_shared: name 1720b01b097bf4fc-cons0xD0218.0, n 0, shared 0x60FC0000 (wanted 0x60FC0000), h 0xC8, *m 6
   80   19059 [main] a 6816 build_fh_pc: created an archetype (0x6127395C) for /dev/cons0(3/0)
   39   19098 [main] a 6816 build_fh_pc: fh 0x61273704, dev 0x30000
  157   19255 [main] a 6816 fhandler_console::open: opened conin$ 0x3, conout$ 0x13
   47   19302 [main] a 6816 fhandler_base::open_with_arch: line 472:  /dev/cons0<0x6127395C> usecount + 1 = 1
   39   19341 [main] a 6816 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   35   19376 [main] a 6816 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   47   19423 [main] a 6816 fhandler_base::set_flags: filemode set to binary
   60   19483 [main] a 6816 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   36   19519 [main] a 6816 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x6127395C
   35   19554 [main] a 6816 _pinfo::set_ctty: ctty was NULL
   34   19588 [main] a 6816 _pinfo::set_ctty: line 455:  /dev/cons0<0x6127395C> usecount + 1 = 2
   36   19624 [main] a 6816 _pinfo::set_ctty: /dev/cons0 ctty, usecount 2
   36   19660 [main] a 6816 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 6816, pid 6816, pgid 6816, tty->pgid 7548, tty->sid 6328
   37   19697 [main] a 6816 _pinfo::set_ctty: cygheap->ctty now 0x6127395C, archetype 0x6127395C
   55   19752 [main] a 6816 fhandler_console::output_tcsetattr: 0 = tcsetattr(,60FC001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
   58   19810 [main] a 6816 fhandler_console::input_tcsetattr: this 0x61273704, get_ttyp () 0x60FC0000, t 0x60FC001C
   37   19847 [main] a 6816 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   34   19881 [main] a 6816 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   34   19915 [main] a 6816 fhandler_base::set_flags: filemode set to binary
   35   19950 [main] a 6816 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   74   20024 [main] a 6816 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 6328, pid 6816, pgid 7548, tty->pgid 7548, tty->sid 6328
   36   20060 [main] a 6816 _pinfo::set_ctty: cygheap->ctty now 0x6127395C, archetype 0x6127395C
 1444   21504 [main] a 6816 handle_to_fn: current match 'D:' = '\Device\HarddiskVolume2'
 1346   22850 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_local.log, no-keep-rel, no-add-slash)
   83   22933 [main] a 6816 normalize_win32_path: D:\cygwin\home\gribov.y\test\strace_local.log = normalize_win32_path (D:\cygwin\home\gribov.y\test\strace_local.log)
   37   22970 [main] a 6816 mount_info::conv_to_posix_path: /home/gribov.y/test/strace_local.log = conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_local.log)
   37   23007 [main] a 6816 handle_to_fn: derived path 'D:\cygwin\home\gribov.y\test\strace_local.log', posix '/home/gribov.y/test/strace_local.log'
   62   23069 [main] a 6816 normalize_posix_path: src /home/gribov.y/test/strace_local.log
   36   23105 [main] a 6816 normalize_posix_path: /home/gribov.y/test/strace_local.log = normalize_posix_path (/home/gribov.y/test/strace_local.log)
   36   23141 [main] a 6816 mount_info::conv_to_win32_path: conv_to_win32_path (/home/gribov.y/test/strace_local.log)
   42   23183 [main] a 6816 set_flags: flags: binary (0x2)
   36   23219 [main] a 6816 mount_info::conv_to_win32_path: src_path /home/gribov.y/test/strace_local.log, dst D:\cygwin\home\gribov.y\test\strace_local.log, flags 0x3000A, rc 0
   87   23306 [main] a 6816 symlink_info::check: 0x0 = NtCreateFile (\??\D:\cygwin\home\gribov.y\test\strace_local.log)
   71   23377 [main] a 6816 symlink_info::check: not a symlink
   85   23462 [main] a 6816 symlink_info::check: 0 = symlink.check(D:\cygwin\home\gribov.y\test\strace_local.log, 0x27B820) (0x3000A)
   40   23502 [main] a 6816 path_conv::check: this->path(D:\cygwin\home\gribov.y\test\strace_local.log), has_acls(1)
   46   23548 [main] a 6816 build_fh_pc: fh 0x61273C8C, dev 0xC3
   52   23600 [main] a 6816 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   45   23645 [main] a 6816 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   35   23680 [main] a 6816 fhandler_base::set_flags: filemode set to binary
   42   23722 [main] a 6816 fhandler_base::init: created new fhandler_base for handle 0x1E0, bin 1
 1151   24873 [main] a 6816 handle_to_fn: current match 'D:' = '\Device\HarddiskVolume2'
 1205   26078 [main] a 6816 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_local.log, no-keep-rel, no-add-slash)
   61   26139 [main] a 6816 normalize_win32_path: D:\cygwin\home\gribov.y\test\strace_local.log = normalize_win32_path (D:\cygwin\home\gribov.y\test\strace_local.log)
   47   26186 [main] a 6816 mount_info::conv_to_posix_path: /home/gribov.y/test/strace_local.log = conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_local.log)
   45   26231 [main] a 6816 handle_to_fn: derived path 'D:\cygwin\home\gribov.y\test\strace_local.log', posix '/home/gribov.y/test/strace_local.log'
   32   26263 [main] a 6816 normalize_posix_path: src /home/gribov.y/test/strace_local.log
   26   26289 [main] a 6816 normalize_posix_path: /home/gribov.y/test/strace_local.log = normalize_posix_path (/home/gribov.y/test/strace_local.log)
   24   26313 [main] a 6816 mount_info::conv_to_win32_path: conv_to_win32_path (/home/gribov.y/test/strace_local.log)
   33   26346 [main] a 6816 set_flags: flags: binary (0x2)
   40   26386 [main] a 6816 mount_info::conv_to_win32_path: src_path /home/gribov.y/test/strace_local.log, dst D:\cygwin\home\gribov.y\test\strace_local.log, flags 0x3000A, rc 0
  110   26496 [main] a 6816 symlink_info::check: 0x0 = NtCreateFile (\??\D:\cygwin\home\gribov.y\test\strace_local.log)
   56   26552 [main] a 6816 symlink_info::check: not a symlink
   97   26649 [main] a 6816 symlink_info::check: 0 = symlink.check(D:\cygwin\home\gribov.y\test\strace_local.log, 0x27B820) (0x3000A)
   61   26710 [main] a 6816 path_conv::check: this->path(D:\cygwin\home\gribov.y\test\strace_local.log), has_acls(1)
   53   26763 [main] a 6816 build_fh_pc: fh 0x61273F24, dev 0xC3
   52   26815 [main] a 6816 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   45   26860 [main] a 6816 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   30   26890 [main] a 6816 fhandler_base::set_flags: filemode set to binary
   36   26926 [main] a 6816 fhandler_base::init: created new fhandler_base for handle 0x240, bin 1
   54   26980 [main] a 6816 __set_errno: void dll_crt0_1(void*):917 setting errno 0
  876   27856 [main] a 6816 open: open(//s-cw-head/c$/test.bin, 0x601)
   28   27884 [main] a 6816 normalize_posix_path: src //s-cw-head/c$/test.bin
   27   27911 [main] a 6816 normalize_posix_path: //s-cw-head/c$/test.bin = normalize_posix_path (//s-cw-head/c$/test.bin)
   24   27935 [main] a 6816 mount_info::conv_to_win32_path: conv_to_win32_path (//s-cw-head/c$/test.bin)
   24   27959 [main] a 6816 set_flags: flags: binary (0x2)
   24   27983 [main] a 6816 mount_info::conv_to_win32_path: src_path //s-cw-head/c$/test.bin, dst \\s-cw-head\c$\test.bin, flags 0x4022, rc 0
52516   80499 [main] a 6816 symlink_info::check: 0x0 = NtCreateFile (\??\UNC\s-cw-head\c$\test.bin)
  799   81298 [main] a 6816 symlink_info::check: not a symlink
  340   81638 [main] a 6816 symlink_info::check: 0 = symlink.check(\\s-cw-head\c$\test.bin, 0x27B780) (0x4022)
   47   81685 [main] a 6816 path_conv::check: this->path(\\s-cw-head\c$\test.bin), has_acls(1)
   60   81745 [main] a 6816 build_fh_pc: fh 0x612741BC, dev 0xC3
   42   81787 [main] a 6816 fhandler_base::open: (\??\UNC\s-cw-head\c$\test.bin, 0x108601)
  875   82662 [main] a 6816 fhandler_base::set_flags: flags 0x108601, supplied_bin 0x10000
   49   82711 [main] a 6816 fhandler_base::set_flags: filemode set to binary
   72   82783 [main] a 6816 fhandler_base::open: 0 = NtCreateFile (0xD0, 40120080, \??\UNC\s-cw-head\c$\test.bin, io, NULL, 80, 7, 3, 4020, NULL, 0)
   39   82822 [main] a 6816 fhandler_base::open: 1 = fhandler_base::open(\??\UNC\s-cw-head\c$\test.bin, 0x108601)
   54   82876 [main] a 6816 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\UNC\s-cw-head\c$\test.bin, 0x8601)
   40   82916 [main] a 6816 open: 3 = open(//s-cw-head/c$/test.bin, 0x8601)
   38   82954 [main] a 6816 close: close(3)
   54   83008 [main] a 6816 fhandler_base::close: closing '//s-cw-head/c$/test.bin' handle 0xD0
  355   83363 [main] a 6816 close: 0 = close(3)
   60   83423 [main] a 6816 open: open(//s-cw-head/c$/test.bin, 0x1B6)
   50   83473 [main] a 6816 normalize_posix_path: src //s-cw-head/c$/test.bin
   32   83505 [main] a 6816 normalize_posix_path: //s-cw-head/c$/test.bin = normalize_posix_path (//s-cw-head/c$/test.bin)
   57   83562 [main] a 6816 mount_info::conv_to_win32_path: conv_to_win32_path (//s-cw-head/c$/test.bin)
   62   83624 [main] a 6816 set_flags: flags: binary (0x2)
   35   83659 [main] a 6816 mount_info::conv_to_win32_path: src_path //s-cw-head/c$/test.bin, dst \\s-cw-head\c$\test.bin, flags 0x4022, rc 0
  372   84031 [main] a 6816 symlink_info::check: 0x0 = NtCreateFile (\??\UNC\s-cw-head\c$\test.bin)
  213   84244 [main] a 6816 symlink_info::check: not a symlink
  214   84458 [main] a 6816 symlink_info::check: 0 = symlink.check(\\s-cw-head\c$\test.bin, 0x27B780) (0x4022)
   63   84521 [main] a 6816 path_conv::check: this->path(\\s-cw-head\c$\test.bin), has_acls(1)
   44   84565 [main] a 6816 build_fh_pc: fh 0x612741BC, dev 0xC3
   39   84604 [main] a 6816 fhandler_base::open: (\??\UNC\s-cw-head\c$\test.bin, 0x1081B6)
  492   85096 [main] a 6816 fhandler_base::set_flags: flags 0x1081B6, supplied_bin 0x10000
   43   85139 [main] a 6816 fhandler_base::set_flags: filemode set to binary
   36   85175 [main] a 6816 fhandler_base::open: 0 = NtCreateFile (0xD0, C0100000, \??\UNC\s-cw-head\c$\test.bin, io, NULL, 0, 7, 1, 4020, NULL, 0)
   51   85226 [main] a 6816 fhandler_base::open: 1 = fhandler_base::open(\??\UNC\s-cw-head\c$\test.bin, 0x1081B6)
   91   85317 [main] a 6816 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\UNC\s-cw-head\c$\test.bin, 0x81B6)
   69   85386 [main] a 6816 open: 3 = open(//s-cw-head/c$/test.bin, 0x81B6)
   57   85443 [main] a 6816 write: write(3, 0x402080, 8)
  157   85600 [main] a 6816 write: 8 = write(3, 0x402080, 8)
  206   85806 [main] a 6816 fhandler_base::lseek: setting file pointer to 8
   59   85865 [main] a 6816 lseek64: 8 = lseek(0, 3, 0)
   73   85938 [main] a 6816 fhandler_base::lseek: setting file pointer to 8
   37   85975 [main] a 6816 lseek64: 8 = lseek(0, 3, 0)
  108   86083 [main] a 6816 _cygwin_istext_for_stdio: fd 0: opened as binary
   45   86128 [main] a 6816 _cygwin_istext_for_stdio: fd 1: opened as binary
   44   86172 [main] a 6816 _cygwin_istext_for_stdio: fd 2: opened as binary
  215   86387 [main] a 6816 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-507260907-3612331834-2573260056-1269
   40   86427 [main] a 6816 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-507260907-3612331834-2573260056-513
   58   86485 [main] a 6816 get_info_from_sd: ACL 1A4, uid 1269, gid 513
   74   86559 [main] a 6816 fhandler_base::fstat_helper: 0 = fstat (\??\D:\cygwin\home\gribov.y\test\strace_local.log, 0x27CAA0) st_size=48492, st_mode=0x81A4, st_ino=562949954981348st_atim=4F68EE5D.33BA5CEC st_ctim=4F68F03D.2BE6E440 st_mtim=4F68F03D.2BE6E440 st_birthtim=4F68EE5D.33BA5CEC
   45   86604 [main] a 6816 fstat64: 0 = fstat(1, 0x27CAA0)
 1230   87834 [main] a 6816 close: close(0)
   36   87870 [main] a 6816 fhandler_base::close_with_arch: line 1118:  /dev/cons0<0x6127395C> usecount + -1 = 1
   37   87907 [main] a 6816 fhandler_base::close_with_arch: not closing archetype
   35   87942 [main] a 6816 close: 0 = close(0)
success
  664   88606 [main] a 6816 write: 8 = write(1, 0x80044758, 8)
  103   88709 [main] a 6816 close: close(1)
   35   88744 [main] a 6816 fhandler_base::close: closing '/home/gribov.y/test/strace_local.log' handle 0x1E0
   42   88786 [main] a 6816 close: 0 = close(1)
  623   89409 [main] a 6816 close: close(2)
   45   89454 [main] a 6816 fhandler_base::close: closing '/home/gribov.y/test/strace_local.log' handle 0x240
   38   89492 [main] a 6816 close: 0 = close(2)
  276   89768 [main] a 6816 do_exit: do_exit (0), exit_state 1
   35   89803 [main] a 6816 void: 0x0 = signal (20, 0x1)
   36   89839 [main] a 6816 void: 0x0 = signal (1, 0x1)
   34   89873 [main] a 6816 void: 0x0 = signal (2, 0x1)
   34   89907 [main] a 6816 void: 0x0 = signal (3, 0x1)
   39   89946 [main] a 6816 fhandler_base::close: closing '//s-cw-head/c$/test.bin' handle 0xD0
  489   90435 [main] a 6816 init_cygheap::close_ctty: closing cygheap->ctty 0x6127395C
   44   90479 [main] a 6816 fhandler_base::close_with_arch: closing passed in archetype, usecount 0
  135   90614 [main] a 6816 fhandler_console::free_console: freed console, res 1
   53   90667 [main] a 6816 getpid: 6816 = getpid()
   68   90735 [main] a 6816 sigproc_terminate: entering
   36   90771 [main] a 6816 sig_send: sendsig 0x9C, pid 6816, signal -42, its_me 1
   46   90817 [main] a 6816 sig_send: Not waiting for sigcomplete.  its_me 1 signal -42
   36   90853 [main] a 6816 sig_send: returning 0x0 from sending signal -42
   35   90888 [main] a 6816 proc_terminate: nprocs 0
  -32   90856 [sig] a 6816 wait_sig: saw __SIGEXIT
   68   90924 [main] a 6816 proc_terminate: leaving
   67   90991 [main] a 6816 __to_clock_t: dwHighDateTime 0, dwLowDateTime 312500
   37   91028 [main] a 6816 __to_clock_t: total 00000000 0000001F
  -30   90998 [sig] a 6816 wait_sig: signal thread exiting
  165   91163 [main] a 6816 __to_clock_t: dwHighDateTime 0, dwLowDateTime 0
   74   91237 [main] a 6816 __to_clock_t: total 00000000 00000000
   88   91325 [main] a 6816 pinfo::exit: Calling ExitProcess n 0x0, exitcode 0x0

[-- Attachment #5: strace_remote.log --]
[-- Type: application/octet-stream, Size: 51582 bytes --]

    3       3 [main] a (5924) **********************************************
  117     120 [main] a (5924) Program name: D:\cygwin\home\gribov.y\test\a.exe (windows pid 5924)
   51     171 [main] a (5924) OS version:   Windows NT-6.0
   30     201 [main] a (5924) Heap size:    387323156
   21     222 [main] a (5924) **********************************************
  413     635 [main] a (5924) sigprocmask: 0 = sigprocmask (0, 0x6123E288, 0x610F7C90)
  273     908 [main] a 5924 open_shared: name shared.5, n 5, shared 0x60FF0000 (wanted 0x60FF0000), h 0x7C, *m 6
   91     999 [main] a 5924 heap_init: heap base 0x80000000, heap top 0x80000000
   93    1092 [main] a 5924 open_shared: name S-1-5-21-507260907-3612331834-2573260056-1269.1, n 1, shared 0x60FE0000 (wanted 0x60FE0000), h 0x74, *m 6
   35    1127 [main] a 5924 user_info::create: opening user shared for 'S-1-5-21-507260907-3612331834-2573260056-1269' at 0x60FE0000
   33    1160 [main] a 5924 user_info::create: user shared version 6467403B
  128    1288 [main] a 5924 fhandler_pipe::create: CreateNamedPipe: name \\.\pipe\cygwin-1720b01b097bf4fc-pipe-0x1724-0x1, size 164
  117    1405 [main] a 5924 fhandler_pipe::create: pipe read handle 0x98
   55    1460 [main] a 5924 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-1720b01b097bf4fc-pipe-0x1724-0x1
   93    1553 [main] a 5924 fhandler_pipe::create: pipe write handle 0x9C
   44    1597 [main] a 5924 dll_crt0_0: finished dll_crt0_0 initialization
  546    2143 [sig] a 5924 wait_sig: entering ReadFile loop, my_readsig 0x98, my_sendsig 0x9C
   78    2221 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test, no-keep-rel, no-add-slash)
   88    2309 [main] a 5924 normalize_win32_path: D:\cygwin\home\gribov.y\test = normalize_win32_path (D:\cygwin\home\gribov.y\test)
   84    2393 [main] a 5924 mount_info::conv_to_posix_path: /home/gribov.y/test = conv_to_posix_path (D:\cygwin\home\gribov.y\test)
  134    2527 [main] a 5924 sigprocmask: 0 = sigprocmask (0, 0x800180A8, 0x610F7C90)
  215    2742 [main] a 5924 _cygwin_istext_for_stdio: fd 0: not open
   38    2780 [main] a 5924 _cygwin_istext_for_stdio: fd 1: not open
   43    2823 [main] a 5924 _cygwin_istext_for_stdio: fd 2: not open
  161    2984 [main] a (5924) open_shared: name cygpid.5924, n 5924, shared 0x60FD0000 (wanted 0x60FD0000), h 0xC4, *m 2
   52    3036 [main] a 5924 pinfo::thisproc: myself dwProcessId 5924
   40    3076 [main] a 5924 time: 1332277316 = time(0)
  579    3655 [main] a 5924 environ_init: GetEnvironmentStrings returned 0x7D71E8
   66    3721 [main] a 5924 environ_init: 0x80028290: !C:=C:\Program Files (x86)\Far2
   63    3784 [main] a 5924 environ_init: 0x800282B8: !D:=D:\cygwin\bin
   65    3849 [main] a 5924 environ_init: 0x800282D0: ALLUSERSPROFILE=C:\ProgramData
  115    3964 [main] a 5924 environ_init: 0x800282F8: APPDATA=C:\Users\gribov.y\AppData\Roaming
   62    4026 [main] a 5924 environ_init: 0x80028328: AWP_LOCALE130=en-us
   69    4095 [main] a 5924 environ_init: 0x80028348: CCP_DATA=C:\Program Files\Microsoft HPC Pack\Data\
   63    4158 [main] a 5924 environ_init: 0x80028380: CCP_HOME=C:\Program Files\Microsoft HPC Pack\
   60    4218 [main] a 5924 environ_init: 0x800283B8: CCP_INC=C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\
   93    4311 [main] a 5924 environ_init: 0x80028400: CCP_JOBTEMPLATE=Default
  106    4417 [main] a 5924 environ_init: 0x80028420: CCP_LIB32=C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\i386\
   87    4504 [main] a 5924 environ_init: 0x80028468: CCP_LIB64=C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\amd64\
   74    4578 [main] a 5924 environ_init: 0x800284B0: CCP_SCHEDULER=s-cw-head
   71    4649 [main] a 5924 environ_init: 0x800284D0: CCP_SDK=C:\Program Files\Microsoft HPC Pack 2008 SDK\
   97    4746 [main] a 5924 environ_init: 0x80028510: CLIENTNAME=YURAPC
   67    4813 [main] a 5924 environ_init: 0x80028528: COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
   70    4883 [main] a 5924 environ_init: 0x80028568: COMPUTERNAME=S-CW-HEAD
   75    4958 [main] a 5924 environ_init: 0x80028588: COMSPEC=C:\Windows\system32\cmd.exe
   77    5035 [main] a 5924 environ_init: 0x800285B8: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
  106    5141 [main] a 5924 environ_init: 0x80028600: CommonProgramW6432=C:\Program Files\Common Files
  102    5243 [main] a 5924 parse_options: glob (called func)
   70    5313 [main] a 5924 parse_options: returning
   34    5347 [main] a 5924 environ_init: 0x80028638: CYGWIN=noglob
   76    5423 [main] a 5924 environ_init: 0x80028660: DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
   68    5491 [main] a 5924 environ_init: 0x800286B0: FARADMINMODE=1
   67    5558 [main] a 5924 environ_init: 0x800286C8: FARHOME=C:\Program Files (x86)\Far2
  103    5661 [main] a 5924 environ_init: 0x800286F8: FARLANG=English
   93    5754 [main] a 5924 environ_init: 0x80028710: FP_NO_HOST_CHECK=NO
   67    5821 [main] a 5924 environ_init: 0x80028730: Framework35Version=v3.5
   67    5888 [main] a 5924 environ_init: 0x80028750: FrameworkDir=C:\Windows\Microsoft.NET\Framework
  111    5999 [main] a 5924 environ_init: 0x80028788: FrameworkVersion=v2.0.50727
  104    6103 [main] a 5924 getwinenv: can't set native for HOME= since no environ yet
   74    6177 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y, no-keep-rel, no-add-slash)
   51    6228 [main] a 5924 normalize_win32_path: D:\cygwin\home\gribov.y = normalize_win32_path (D:\cygwin\home\gribov.y)
   52    6280 [main] a 5924 mount_info::conv_to_posix_path: /home/gribov.y = conv_to_posix_path (D:\cygwin\home\gribov.y)
  120    6400 [main] a 5924 win_env::add_cache: posix /home/gribov.y
   41    6441 [main] a 5924 win_env::add_cache: native HOME=D:\cygwin\home\gribov.y
   43    6484 [main] a 5924 posify_maybe: env var converted to HOME=/home/gribov.y
   98    6582 [main] a 5924 environ_init: 0x80028818: HOME=/home/gribov.y
   67    6649 [main] a 5924 environ_init: 0x800287B0: HOMEDRIVE=C:
   89    6738 [main] a 5924 environ_init: 0x80028830: HOMEPATH=\Users\gribov.y
   77    6815 [main] a 5924 environ_init: 0x80028850: HOSTNAME=s-cw-head
   92    6907 [main] a 5924 environ_init: 0x80028868: INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;
   77    6984 [main] a 5924 environ_init: 0x80028930: INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
   87    7071 [main] a 5924 environ_init: 0x80028970: I_MPI_ROOT=C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\
   70    7141 [main] a 5924 environ_init: 0x800289B0: LANG=en_US.UTF-8
  119    7260 [main] a 5924 environ_init: 0x800289C8: LIBPATH=C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;
  115    7375 [main] a 5924 environ_init: 0x80028AA8: LOCALAPPDATA=C:\Users\gribov.y\AppData\Local
   77    7452 [main] a 5924 environ_init: 0x80028AE0: LOGONSERVER=\\S-CW-HEAD
   76    7528 [main] a 5924 environ_init: 0x80028B00: MANPATH=/usr/local/man:/usr/share/man:/usr/man:
   68    7596 [main] a 5924 environ_init: 0x80028B38: ND_INC=C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\
   65    7661 [main] a 5924 environ_init: 0x80028B80: NUMBER_OF_PROCESSORS=4
   60    7721 [main] a 5924 environ_init: 0x80028BA0: OLDPWD=/home/gribov.y
   74    7795 [main] a 5924 environ_init: 0x80028BC0: OS=Windows_NT
  110    7905 [main] a 5924 getwinenv: can't set native for PATH= since no environ yet
  104    8009 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\usr\local\bin, keep-rel, no-add-slash)
   50    8059 [main] a 5924 normalize_win32_path: D:\cygwin\usr\local\bin = normalize_win32_path (D:\cygwin\usr\local\bin)
   46    8105 [main] a 5924 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (D:\cygwin\usr\local\bin)
   41    8146 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\bin, keep-rel, no-add-slash)
   36    8182 [main] a 5924 normalize_win32_path: D:\cygwin\bin = normalize_win32_path (D:\cygwin\bin)
   55    8237 [main] a 5924 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (D:\cygwin\bin)
   73    8310 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE, keep-rel, no-add-slash)
   48    8358 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE)
   40    8398 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE)
   40    8438 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN, keep-rel, no-add-slash)
   47    8485 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN)
   47    8532 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN)
   39    8571 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools, keep-rel, no-add-slash)
   41    8612 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools)
   40    8652 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools)
   38    8690 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v3.5, keep-rel, no-add-slash)
   36    8726 [main] a 5924 normalize_win32_path: C:\Windows\Microsoft.NET\Framework\v3.5 = normalize_win32_path (C:\Windows\Microsoft.NET\Framework\v3.5)
   37    8763 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 = conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v3.5)
   44    8807 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v2.0.50727, keep-rel, no-add-slash)
   48    8855 [main] a 5924 normalize_win32_path: C:\Windows\Microsoft.NET\Framework\v2.0.50727 = normalize_win32_path (C:\Windows\Microsoft.NET\Framework\v2.0.50727)
   45    8900 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727 = conv_to_posix_path (C:\Windows\Microsoft.NET\Framework\v2.0.50727)
   53    8953 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages, keep-rel, no-add-slash)
   38    8991 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages)
   44    9035 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages)
   46    9081 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin, keep-rel, no-add-slash)
   33    9114 [main] a 5924 normalize_win32_path: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin = normalize_win32_path (C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin)
   38    9152 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin = conv_to_posix_path (C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin)
   41    9193 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft HPC Pack\Bin, keep-rel, no-add-slash)
   34    9227 [main] a 5924 normalize_win32_path: C:\Program Files\Microsoft HPC Pack\Bin = normalize_win32_path (C:\Program Files\Microsoft HPC Pack\Bin)
   48    9275 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft HPC Pack/Bin = conv_to_posix_path (C:\Program Files\Microsoft HPC Pack\Bin)
   59    9334 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Perl\site\bin, keep-rel, no-add-slash)
   42    9376 [main] a 5924 normalize_win32_path: C:\Perl\site\bin = normalize_win32_path (C:\Perl\site\bin)
   34    9410 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Perl/site/bin = conv_to_posix_path (C:\Perl\site\bin)
   45    9455 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Perl\bin, keep-rel, no-add-slash)
   37    9492 [main] a 5924 normalize_win32_path: C:\Perl\bin = normalize_win32_path (C:\Perl\bin)
   36    9528 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Perl/bin = conv_to_posix_path (C:\Perl\bin)
   36    9564 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin, keep-rel, no-add-slash)
   36    9600 [main] a 5924 normalize_win32_path: C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin = normalize_win32_path (C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin)
   54    9654 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin = conv_to_posix_path (C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin)
   37    9691 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, keep-rel, no-add-slash)
   37    9728 [main] a 5924 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
   35    9763 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
   37    9800 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, keep-rel, no-add-slash)
   36    9836 [main] a 5924 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
   36    9872 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Windows = conv_to_posix_path (C:\Windows)
   36    9908 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, keep-rel, no-add-slash)
   44    9952 [main] a 5924 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
   47    9999 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
   36   10035 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, keep-rel, no-add-slash)
   36   10071 [main] a 5924 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   36   10107 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   60   10167 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Windows Imaging, keep-rel, no-add-slash)
   60   10227 [main] a 5924 normalize_win32_path: C:\Program Files\Windows Imaging = normalize_win32_path (C:\Program Files\Windows Imaging)
   59   10286 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Windows Imaging = conv_to_posix_path (C:\Program Files\Windows Imaging)
   38   10324 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn, keep-rel, no-add-slash)
   38   10362 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn)
   43   10405 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn)
   38   10443 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\MPICH2\bin, keep-rel, no-add-slash)
   65   10508 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\MPICH2\bin = normalize_win32_path (C:\Program Files (x86)\MPICH2\bin)
   61   10569 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/MPICH2/bin = conv_to_posix_path (C:\Program Files (x86)\MPICH2\bin)
   45   10614 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn, keep-rel, no-add-slash)
   40   10654 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn)
   35   10689 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn)
   35   10724 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn, keep-rel, no-add-slash)
   34   10758 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn)
   63   10821 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn)
   37   10858 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE, keep-rel, no-add-slash)
   39   10897 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE)
   38   10935 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE)
   39   10974 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies, keep-rel, no-add-slash)
   37   11011 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies = normalize_win32_path (C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies)
   37   11048 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies = conv_to_posix_path (C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies)
   58   11106 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Nano\ORCA_DevCenter\orca\x86_exe\release, keep-rel, no-add-slash)
   50   11156 [main] a 5924 normalize_win32_path: C:\Nano\ORCA_DevCenter\orca\x86_exe\release = normalize_win32_path (C:\Nano\ORCA_DevCenter\orca\x86_exe\release)
   42   11198 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release = conv_to_posix_path (C:\Nano\ORCA_DevCenter\orca\x86_exe\release)
   32   11230 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\TortoiseSVN\bin, keep-rel, no-add-slash)
   30   11260 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\TortoiseSVN\bin = normalize_win32_path (C:\Program Files (x86)\TortoiseSVN\bin)
   40   11300 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/TortoiseSVN/bin = conv_to_posix_path (C:\Program Files (x86)\TortoiseSVN\bin)
   31   11331 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32, keep-rel, no-add-slash)
  115   11446 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32 = normalize_win32_path (C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32)
   49   11495 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32 = conv_to_posix_path (C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32)
   76   11571 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin, keep-rel, no-add-slash)
   52   11623 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin = normalize_win32_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin)
   32   11655 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin = conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin)
   32   11687 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin, keep-rel, no-add-slash)
   56   11743 [main] a 5924 normalize_win32_path: C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin = normalize_win32_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin)
   38   11781 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin = conv_to_posix_path (C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin)
  113   11894 [main] a 5924 win_env::add_cache: posix /usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin:/cygdrive/c/Program Files/Microsoft HPC Pack/Bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/cygdrive/c/Program Files (x86)/MPICH2/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies:/cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release:/cygdrive/c/Program Files (x86)/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin
   57   11951 [main] a 5924 win_env::add_cache: native PATH=D:\cygwin\usr\local\bin;D:\cygwin\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;C:\Program Files\Microsoft HPC Pack\Bin;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Windows Imaging;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn;C:\Program Files (x86)\MPICH2\bin;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies;C:\Nano\ORCA_DevCenter\orca\x86_exe\release;C:\Program Files (x86)\TortoiseSVN\bin;C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32;C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\em64t\bin;C:\Program Files (x86)\Intel\MPI-RT\4.0.3.009\ia32\bin
   60   12011 [main] a 5924 posify_maybe: env var converted to PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin:/cygdrive/c/Program Files/Microsoft HPC Pack/Bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/cygdrive/c/Program Files (x86)/MPICH2/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies:/cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release:/cygdrive/c/Program Files (x86)/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin
  158   12169 [main] a 5924 environ_init: 0x80039C38: PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Windows/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/VCPackages:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin:/cygdrive/c/Program Files/Microsoft HPC Pack/Bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/Program Files/Microsoft HPC Pack 2008 SDK/Bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/cygdrive/c/Program Files (x86)/MPICH2/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies:/cygdrive/c/Nano/ORCA_DevCenter/orca/x86_exe/release:/cygdrive/c/Program Files (x86)/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/MATLAB/MATLAB Compiler Runtime/v714/runtime/win32:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/em64t/bin:/cygdrive/c/Program Files (x86)/Intel/MPI-RT/4.0.3.009/ia32/bin
  102   12271 [main] a 5924 environ_init: 0x80028BD8: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
   85   12356 [main] a 5924 environ_init: 0x80028C20: PRINTER=Microsoft XPS Document Writer
   72   12428 [main] a 5924 environ_init: 0x80028C50: PRIVATEIP=10.2.0.1
   85   12513 [main] a 5924 environ_init: 0x80028C68: PROCESSOR_ARCHITECTURE=x86
   87   12600 [main] a 5924 environ_init: 0x80028C88: PROCESSOR_ARCHITEW6432=AMD64
   81   12681 [main] a 5924 environ_init: 0x80028CB0: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 6, GenuineIntel
   51   12732 [main] a 5924 environ_init: 0x80028D00: PROCESSOR_LEVEL=6
   50   12782 [main] a 5924 environ_init: 0x80028D18: PROCESSOR_REVISION=0f06
   79   12861 [main] a 5924 environ_init: 0x80028D38: PROGRAMFILES=C:\Program Files (x86)
   69   12930 [main] a 5924 environ_init: 0x80028D68: PROMPT=$P$G
   65   12995 [main] a 5924 environ_init: 0x80028D80: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ 
   80   13075 [main] a 5924 environ_init: 0x80028DC8: PUBLIC=C:\Users\Public
   73   13148 [main] a 5924 environ_init: 0x80028DE8: PWD=/home/gribov.y/test
  102   13250 [main] a 5924 environ_init: 0x80028E08: ProgramData=C:\ProgramData
   72   13322 [main] a 5924 environ_init: 0x80028E28: ProgramFiles(x86)=C:\Program Files (x86)
   94   13416 [main] a 5924 environ_init: 0x80028E58: ProgramW6432=C:\Program Files
   80   13496 [main] a 5924 environ_init: 0x80028E80: REMINST=\\s-cw-head\RemInst
   65   13561 [main] a 5924 environ_init: 0x80028EA8: SESSIONNAME=RDP-Tcp#0
  105   13666 [main] a 5924 environ_init: 0x80028EC8: SHELL=/bin/bash
   78   13744 [main] a 5924 environ_init: 0x800287C8: SHLVL=1
   65   13809 [main] a 5924 environ_init: 0x80028EE0: SYSTEMDRIVE=C:
   81   13890 [main] a 5924 environ_init: 0x80028EF8: SYSTEMROOT=C:\Windows
   91   13981 [main] a 5924 getwinenv: can't set native for TEMP= since no environ yet
   39   14020 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\tmp, no-keep-rel, no-add-slash)
   76   14096 [main] a 5924 normalize_win32_path: D:\cygwin\tmp = normalize_win32_path (D:\cygwin\tmp)
   55   14151 [main] a 5924 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (D:\cygwin\tmp)
  143   14294 [main] a 5924 win_env::add_cache: posix /tmp
   36   14330 [main] a 5924 win_env::add_cache: native TEMP=D:\cygwin\tmp
   44   14374 [main] a 5924 posify_maybe: env var converted to TEMP=/tmp
  100   14474 [main] a 5924 environ_init: 0x80028F58: TEMP=/tmp
   67   14541 [main] a 5924 environ_init: 0x80028F18: TERM=cygwin
   65   14606 [main] a 5924 getwinenv: can't set native for TMP= since no environ yet
   49   14655 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\tmp, no-keep-rel, no-add-slash)
   51   14706 [main] a 5924 normalize_win32_path: D:\cygwin\tmp = normalize_win32_path (D:\cygwin\tmp)
   78   14784 [main] a 5924 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (D:\cygwin\tmp)
  126   14910 [main] a 5924 win_env::add_cache: posix /tmp
   37   14947 [main] a 5924 win_env::add_cache: native TMP=D:\cygwin\tmp
   38   14985 [main] a 5924 posify_maybe: env var converted to TMP=/tmp
  103   15088 [main] a 5924 environ_init: 0x80028FA8: TMP=/tmp
   74   15162 [main] a 5924 getwinenv: can't set native for TMPDIR= since no environ yet
   36   15198 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\temp, no-keep-rel, no-add-slash)
   38   15236 [main] a 5924 normalize_win32_path: C:\temp = normalize_win32_path (C:\temp)
   37   15273 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/temp = conv_to_posix_path (C:\temp)
  130   15403 [main] a 5924 win_env::add_cache: posix /cygdrive/c/temp
   40   15443 [main] a 5924 win_env::add_cache: native TMPDIR=C:\temp
   37   15480 [main] a 5924 posify_maybe: env var converted to TMPDIR=/cygdrive/c/temp
   98   15578 [main] a 5924 environ_init: 0x80028FE8: TMPDIR=/cygdrive/c/temp
   70   15648 [main] a 5924 environ_init: 0x80028F68: TZ=Europe/Moscow
   68   15716 [main] a 5924 environ_init: 0x80029008: USER=gribov.y
   69   15785 [main] a 5924 environ_init: 0x80029020: USERDNSDOMAIN=CLUSTER.CMC.UNN.NET
   77   15862 [main] a 5924 environ_init: 0x80029048: USERDOMAIN=CLUSTER
   94   15956 [main] a 5924 environ_init: 0x80029060: USERNAME=gribov.y
  118   16074 [main] a 5924 environ_init: 0x80029078: USERPROFILE=C:\Users\gribov.y
   85   16159 [main] a 5924 environ_init: 0x800290A0: VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
   60   16219 [main] a 5924 environ_init: 0x8003A240: VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
   71   16290 [main] a 5924 environ_init: 0x8003A298: VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0
   77   16367 [main] a 5924 environ_init: 0x800290E8: WINDIR=C:\Windows
  115   16482 [main] a 5924 environ_init: 0x8003A2E0: WindowsSdkDir=C:\Program Files\\Microsoft SDKs\Windows\v6.0A\
   74   16556 [main] a 5924 environ_init: 0x8003A328: _=/usr/bin/strace
   69   16625 [main] a 5924 environ_init: 0x8003A340: lib=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;C:\Program Files\SQLXML 4.0\bin\
   66   16691 [main] a 5924 getwinenv: can't set native for TEMP= since no environ yet
   34   16725 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3, no-keep-rel, no-add-slash)
   34   16759 [main] a 5924 normalize_win32_path: C:\Users\gribov.y\AppData\Local\Temp\3 = normalize_win32_path (C:\Users\gribov.y\AppData\Local\Temp\3)
   33   16792 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3 = conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3)
   94   16886 [main] a 5924 win_env::add_cache: posix /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   30   16916 [main] a 5924 win_env::add_cache: native TEMP=C:\Users\gribov.y\AppData\Local\Temp\3
   33   16949 [main] a 5924 posify_maybe: env var converted to TEMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
  171   17120 [main] a 5924 environ_init: 0x8003A4B8: TEMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   76   17196 [main] a 5924 getwinenv: can't set native for TMP= since no environ yet
   39   17235 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3, no-keep-rel, no-add-slash)
   42   17277 [main] a 5924 normalize_win32_path: C:\Users\gribov.y\AppData\Local\Temp\3 = normalize_win32_path (C:\Users\gribov.y\AppData\Local\Temp\3)
   37   17314 [main] a 5924 mount_info::conv_to_posix_path: /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3 = conv_to_posix_path (C:\Users\gribov.y\AppData\Local\Temp\3)
  106   17420 [main] a 5924 win_env::add_cache: posix /cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   36   17456 [main] a 5924 win_env::add_cache: native TMP=C:\Users\gribov.y\AppData\Local\Temp\3
   37   17493 [main] a 5924 posify_maybe: env var converted to TMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
  124   17617 [main] a 5924 environ_init: 0x8003A560: TMP=/cygdrive/c/Users/gribov.y/AppData/Local/Temp/3
   57   17674 [main] a 5924 pinfo_init: Set nice to 0
   33   17707 [main] a 5924 pinfo_init: pid 5924, pgid 5924
   34   17741 [main] a 5924 App version:  1007.11, api: 0.260
   35   17776 [main] a 5924 DLL version:  1007.11, api: 0.260
   34   17810 [main] a 5924 DLL build:    2012-02-24 14:05
   46   17856 [main] a 5924 dtable::extend: size 32, fds 0x612735AC
  467   18323 [main] a 5924 pwdgrp::load: \etc\passwd curr_lines 27
   45   18368 [main] a 5924 pwdgrp::load: \etc\passwd load succeeded
  532   18900 [main] a 5924 pwdgrp::load: \etc\group curr_lines 51
   57   18957 [main] a 5924 pwdgrp::load: \etc\group load succeeded
   54   19011 [main] a 5924 cygheap_user::ontherange: what 2, pw 0x8003B5F0
   42   19053 [main] a 5924 cygheap_user::ontherange: HOME is already in the environment /home/gribov.y
  200   19253 [main] a 5924 __get_lcid_from_locale: LCID=0x0409
  337   19590 [main] a 5924 build_argv: argv[0] = 'D:\cygwin\home\gribov.y\test\a.exe'
   42   19632 [main] a 5924 build_argv: argv[1] = '//s-cw-node01/c$/test.bin'
   40   19672 [main] a 5924 build_argv: argc 2
   79   19751 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test\a.exe, keep-rel, no-add-slash)
   38   19789 [main] a 5924 normalize_win32_path: D:\cygwin\home\gribov.y\test\a.exe = normalize_win32_path (D:\cygwin\home\gribov.y\test\a.exe)
   38   19827 [main] a 5924 mount_info::conv_to_posix_path: /home/gribov.y/test/a.exe = conv_to_posix_path (D:\cygwin\home\gribov.y\test\a.exe)
  312   20139 [main] a 5924 open_shared: name 1720b01b097bf4fc-cons0xD0218.0, n 0, shared 0x60FC0000 (wanted 0x60FC0000), h 0xC8, *m 6
   66   20205 [main] a 5924 build_fh_pc: created an archetype (0x6127395C) for /dev/cons0(3/0)
   38   20243 [main] a 5924 build_fh_pc: fh 0x61273704, dev 0x30000
  162   20405 [main] a 5924 fhandler_console::open: opened conin$ 0x3, conout$ 0x13
   46   20451 [main] a 5924 fhandler_base::open_with_arch: line 472:  /dev/cons0<0x6127395C> usecount + 1 = 1
   40   20491 [main] a 5924 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   45   20536 [main] a 5924 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   34   20570 [main] a 5924 fhandler_base::set_flags: filemode set to binary
   34   20604 [main] a 5924 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   34   20638 [main] a 5924 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x6127395C
   44   20682 [main] a 5924 _pinfo::set_ctty: ctty was NULL
   42   20724 [main] a 5924 _pinfo::set_ctty: line 455:  /dev/cons0<0x6127395C> usecount + 1 = 2
   33   20757 [main] a 5924 _pinfo::set_ctty: /dev/cons0 ctty, usecount 2
   34   20791 [main] a 5924 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 5924, pid 5924, pgid 5924, tty->pgid 7220, tty->sid 6328
   35   20826 [main] a 5924 _pinfo::set_ctty: cygheap->ctty now 0x6127395C, archetype 0x6127395C
   61   20887 [main] a 5924 fhandler_console::output_tcsetattr: 0 = tcsetattr(,60FC001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
   52   20939 [main] a 5924 fhandler_console::input_tcsetattr: this 0x61273704, get_ttyp () 0x60FC0000, t 0x60FC001C
   36   20975 [main] a 5924 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   33   21008 [main] a 5924 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   49   21057 [main] a 5924 fhandler_base::set_flags: filemode set to binary
   49   21106 [main] a 5924 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   54   21160 [main] a 5924 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 6328, pid 5924, pgid 7220, tty->pgid 7220, tty->sid 6328
   35   21195 [main] a 5924 _pinfo::set_ctty: cygheap->ctty now 0x6127395C, archetype 0x6127395C
 1444   22639 [main] a 5924 handle_to_fn: current match 'D:' = '\Device\HarddiskVolume2'
 1271   23910 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_remote.log, no-keep-rel, no-add-slash)
   75   23985 [main] a 5924 normalize_win32_path: D:\cygwin\home\gribov.y\test\strace_remote.log = normalize_win32_path (D:\cygwin\home\gribov.y\test\strace_remote.log)
   36   24021 [main] a 5924 mount_info::conv_to_posix_path: /home/gribov.y/test/strace_remote.log = conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_remote.log)
   36   24057 [main] a 5924 handle_to_fn: derived path 'D:\cygwin\home\gribov.y\test\strace_remote.log', posix '/home/gribov.y/test/strace_remote.log'
   42   24099 [main] a 5924 normalize_posix_path: src /home/gribov.y/test/strace_remote.log
   49   24148 [main] a 5924 normalize_posix_path: /home/gribov.y/test/strace_remote.log = normalize_posix_path (/home/gribov.y/test/strace_remote.log)
   53   24201 [main] a 5924 mount_info::conv_to_win32_path: conv_to_win32_path (/home/gribov.y/test/strace_remote.log)
   54   24255 [main] a 5924 set_flags: flags: binary (0x2)
   37   24292 [main] a 5924 mount_info::conv_to_win32_path: src_path /home/gribov.y/test/strace_remote.log, dst D:\cygwin\home\gribov.y\test\strace_remote.log, flags 0x3000A, rc 0
   79   24371 [main] a 5924 symlink_info::check: 0x0 = NtCreateFile (\??\D:\cygwin\home\gribov.y\test\strace_remote.log)
   57   24428 [main] a 5924 symlink_info::check: not a symlink
   69   24497 [main] a 5924 symlink_info::check: 0 = symlink.check(D:\cygwin\home\gribov.y\test\strace_remote.log, 0x27B820) (0x3000A)
   41   24538 [main] a 5924 path_conv::check: this->path(D:\cygwin\home\gribov.y\test\strace_remote.log), has_acls(1)
   48   24586 [main] a 5924 build_fh_pc: fh 0x61273C8C, dev 0xC3
   53   24639 [main] a 5924 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   35   24674 [main] a 5924 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   33   24707 [main] a 5924 fhandler_base::set_flags: filemode set to binary
   34   24741 [main] a 5924 fhandler_base::init: created new fhandler_base for handle 0x23C, bin 1
 1218   25959 [main] a 5924 handle_to_fn: current match 'D:' = '\Device\HarddiskVolume2'
 1201   27160 [main] a 5924 mount_info::conv_to_posix_path: conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_remote.log, no-keep-rel, no-add-slash)
   48   27208 [main] a 5924 normalize_win32_path: D:\cygwin\home\gribov.y\test\strace_remote.log = normalize_win32_path (D:\cygwin\home\gribov.y\test\strace_remote.log)
   35   27243 [main] a 5924 mount_info::conv_to_posix_path: /home/gribov.y/test/strace_remote.log = conv_to_posix_path (D:\cygwin\home\gribov.y\test\strace_remote.log)
   34   27277 [main] a 5924 handle_to_fn: derived path 'D:\cygwin\home\gribov.y\test\strace_remote.log', posix '/home/gribov.y/test/strace_remote.log'
   50   27327 [main] a 5924 normalize_posix_path: src /home/gribov.y/test/strace_remote.log
   38   27365 [main] a 5924 normalize_posix_path: /home/gribov.y/test/strace_remote.log = normalize_posix_path (/home/gribov.y/test/strace_remote.log)
   36   27401 [main] a 5924 mount_info::conv_to_win32_path: conv_to_win32_path (/home/gribov.y/test/strace_remote.log)
   37   27438 [main] a 5924 set_flags: flags: binary (0x2)
   35   27473 [main] a 5924 mount_info::conv_to_win32_path: src_path /home/gribov.y/test/strace_remote.log, dst D:\cygwin\home\gribov.y\test\strace_remote.log, flags 0x3000A, rc 0
   62   27535 [main] a 5924 symlink_info::check: 0x0 = NtCreateFile (\??\D:\cygwin\home\gribov.y\test\strace_remote.log)
   84   27619 [main] a 5924 symlink_info::check: not a symlink
  110   27729 [main] a 5924 symlink_info::check: 0 = symlink.check(D:\cygwin\home\gribov.y\test\strace_remote.log, 0x27B820) (0x3000A)
   55   27784 [main] a 5924 path_conv::check: this->path(D:\cygwin\home\gribov.y\test\strace_remote.log), has_acls(1)
   58   27842 [main] a 5924 build_fh_pc: fh 0x61273F24, dev 0xC3
   42   27884 [main] a 5924 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   39   27923 [main] a 5924 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   42   27965 [main] a 5924 fhandler_base::set_flags: filemode set to binary
   28   27993 [main] a 5924 fhandler_base::init: created new fhandler_base for handle 0x228, bin 1
   63   28056 [main] a 5924 __set_errno: void dll_crt0_1(void*):917 setting errno 0
 1135   29191 [main] a 5924 open: open(//s-cw-node01/c$/test.bin, 0x601)
   54   29245 [main] a 5924 normalize_posix_path: src //s-cw-node01/c$/test.bin
   45   29290 [main] a 5924 normalize_posix_path: //s-cw-node01/c$/test.bin = normalize_posix_path (//s-cw-node01/c$/test.bin)
   32   29322 [main] a 5924 mount_info::conv_to_win32_path: conv_to_win32_path (//s-cw-node01/c$/test.bin)
   37   29359 [main] a 5924 set_flags: flags: binary (0x2)
   37   29396 [main] a 5924 mount_info::conv_to_win32_path: src_path //s-cw-node01/c$/test.bin, dst \\s-cw-node01\c$\test.bin, flags 0x4022, rc 0
53188   82584 [main] a 5924 symlink_info::check: 0x0 = NtCreateFile (\??\UNC\s-cw-node01\c$\test.bin)
  634   83218 [main] a 5924 symlink_info::check: not a symlink
  407   83625 [main] a 5924 symlink_info::check: 0 = symlink.check(\\s-cw-node01\c$\test.bin, 0x27B780) (0x4022)
   90   83715 [main] a 5924 path_conv::check: this->path(\\s-cw-node01\c$\test.bin), has_acls(1)
   51   83766 [main] a 5924 build_fh_pc: fh 0x612741BC, dev 0xC3
   41   83807 [main] a 5924 fhandler_base::open: (\??\UNC\s-cw-node01\c$\test.bin, 0x108601)
  727   84534 [main] a 5924 fhandler_base::set_flags: flags 0x108601, supplied_bin 0x10000
   68   84602 [main] a 5924 fhandler_base::set_flags: filemode set to binary
   50   84652 [main] a 5924 fhandler_base::open: 0 = NtCreateFile (0xD0, 40120080, \??\UNC\s-cw-node01\c$\test.bin, io, NULL, 80, 7, 3, 4020, NULL, 0)
   39   84691 [main] a 5924 fhandler_base::open: 1 = fhandler_base::open(\??\UNC\s-cw-node01\c$\test.bin, 0x108601)
   55   84746 [main] a 5924 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\UNC\s-cw-node01\c$\test.bin, 0x8601)
   42   84788 [main] a 5924 open: 3 = open(//s-cw-node01/c$/test.bin, 0x8601)
   39   84827 [main] a 5924 close: close(3)
   62   84889 [main] a 5924 fhandler_base::close: closing '//s-cw-node01/c$/test.bin' handle 0xD0
  110   84999 [main] a 5924 close: 0 = close(3)
   55   85054 [main] a 5924 open: open(//s-cw-node01/c$/test.bin, 0x1B6)
   41   85095 [main] a 5924 normalize_posix_path: src //s-cw-node01/c$/test.bin
   34   85129 [main] a 5924 normalize_posix_path: //s-cw-node01/c$/test.bin = normalize_posix_path (//s-cw-node01/c$/test.bin)
   51   85180 [main] a 5924 mount_info::conv_to_win32_path: conv_to_win32_path (//s-cw-node01/c$/test.bin)
   45   85225 [main] a 5924 set_flags: flags: binary (0x2)
   30   85255 [main] a 5924 mount_info::conv_to_win32_path: src_path //s-cw-node01/c$/test.bin, dst \\s-cw-node01\c$\test.bin, flags 0x4022, rc 0
  525   85780 [main] a 5924 symlink_info::check: 0x0 = NtCreateFile (\??\UNC\s-cw-node01\c$\test.bin)
   81   85861 [main] a 5924 symlink_info::check: not a symlink
  275   86136 [main] a 5924 symlink_info::check: 0 = symlink.check(\\s-cw-node01\c$\test.bin, 0x27B780) (0x4022)
   52   86188 [main] a 5924 path_conv::check: this->path(\\s-cw-node01\c$\test.bin), has_acls(1)
   54   86242 [main] a 5924 build_fh_pc: fh 0x612741BC, dev 0xC3
   48   86290 [main] a 5924 fhandler_base::open: (\??\UNC\s-cw-node01\c$\test.bin, 0x1081B6)
  309   86599 [main] a 5924 fhandler_base::set_flags: flags 0x1081B6, supplied_bin 0x10000
   41   86640 [main] a 5924 fhandler_base::set_flags: filemode set to binary
   53   86693 [main] a 5924 fhandler_base::open: 0 = NtCreateFile (0xD0, C0100000, \??\UNC\s-cw-node01\c$\test.bin, io, NULL, 0, 7, 1, 4020, NULL, 0)
   46   86739 [main] a 5924 fhandler_base::open: 1 = fhandler_base::open(\??\UNC\s-cw-node01\c$\test.bin, 0x1081B6)
   82   86821 [main] a 5924 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\UNC\s-cw-node01\c$\test.bin, 0x81B6)
   41   86862 [main] a 5924 open: 3 = open(//s-cw-node01/c$/test.bin, 0x81B6)
   37   86899 [main] a 5924 write: write(3, 0x402080, 8)
  373   87272 [main] a 5924 write: 8 = write(3, 0x402080, 8)
  226   87498 [main] a 5924 fhandler_base::lseek: setting file pointer to 0
   39   87537 [main] a 5924 lseek64: 0 = lseek(0, 3, 0)
  128   87665 [main] a 5924 _cygwin_istext_for_stdio: fd 0: opened as binary
   36   87701 [main] a 5924 _cygwin_istext_for_stdio: fd 1: opened as binary
   35   87736 [main] a 5924 _cygwin_istext_for_stdio: fd 2: opened as binary
  358   88094 [main] a 5924 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-507260907-3612331834-2573260056-1269
   44   88138 [main] a 5924 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-507260907-3612331834-2573260056-513
   41   88179 [main] a 5924 get_info_from_sd: ACL 1A4, uid 1269, gid 513
   71   88250 [main] a 5924 fhandler_base::fstat_helper: 0 = fstat (\??\D:\cygwin\home\gribov.y\test\strace_remote.log, 0x27C440) st_size=48454, st_mode=0x81A4, st_ino=562949954981349st_atim=4F68EE66.26A7ED6C st_ctim=4F68F044.23D7D3B8 st_mtim=4F68F044.23D7D3B8 st_birthtim=4F68EE66.26A7ED6C
   52   88302 [main] a 5924 fstat64: 0 = fstat(1, 0x27C440)
 1238   89540 [main] a 5924 close: close(0)
   38   89578 [main] a 5924 fhandler_base::close_with_arch: line 1118:  /dev/cons0<0x6127395C> usecount + -1 = 1
   27   89605 [main] a 5924 fhandler_base::close_with_arch: not closing archetype
   23   89628 [main] a 5924 close: 0 = close(0)
sizeof(data) != lseek(fd, 0, SEEK_END) (8 != 0) at io.c:36
  511   90139 [main] a 5924 write: 59 = write(1, 0x80044788, 59)
  108   90247 [main] a 5924 close: close(1)
   39   90286 [main] a 5924 fhandler_base::close: closing '/home/gribov.y/test/strace_remote.log' handle 0x23C
   71   90357 [main] a 5924 close: 0 = close(1)
  622   90979 [main] a 5924 close: close(2)
   50   91029 [main] a 5924 fhandler_base::close: closing '/home/gribov.y/test/strace_remote.log' handle 0x228
   40   91069 [main] a 5924 close: 0 = close(2)
  309   91378 [main] a 5924 do_exit: do_exit (15104), exit_state 1
   52   91430 [main] a 5924 void: 0x0 = signal (20, 0x1)
   51   91481 [main] a 5924 void: 0x0 = signal (1, 0x1)
   54   91535 [main] a 5924 void: 0x0 = signal (2, 0x1)
   34   91569 [main] a 5924 void: 0x0 = signal (3, 0x1)
   41   91610 [main] a 5924 fhandler_base::close: closing '//s-cw-node01/c$/test.bin' handle 0xD0
203935  295545 [main] a 5924 init_cygheap::close_ctty: closing cygheap->ctty 0x6127395C
  109  295654 [main] a 5924 fhandler_base::close_with_arch: closing passed in archetype, usecount 0
  138  295792 [main] a 5924 fhandler_console::free_console: freed console, res 1
   64  295856 [main] a 5924 getpid: 5924 = getpid()
   77  295933 [main] a 5924 sigproc_terminate: entering
   38  295971 [main] a 5924 sig_send: sendsig 0x9C, pid 5924, signal -42, its_me 1
   50  296021 [main] a 5924 sig_send: Not waiting for sigcomplete.  its_me 1 signal -42
   37  296058 [main] a 5924 sig_send: returning 0x0 from sending signal -42
   34  296092 [main] a 5924 proc_terminate: nprocs 0
   36  296128 [main] a 5924 proc_terminate: leaving
   56  296184 [main] a 5924 __to_clock_t: dwHighDateTime 0, dwLowDateTime 468750
 -121  296063 [sig] a 5924 wait_sig: saw __SIGEXIT
  190  296253 [main] a 5924 __to_clock_t: total 00000000 0000002E
  115  296368 [sig] a 5924 wait_sig: signal thread exiting
    1  296369 [main] a 5924 __to_clock_t: dwHighDateTime 0, dwLowDateTime 0
  103  296472 [main] a 5924 __to_clock_t: total 00000000 00000000
   57  296529 [main] a 5924 pinfo::exit: Calling ExitProcess n 0x3B00, exitcode 0x3B

[-- Attachment #6: 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] 16+ messages in thread

* Re: ftell() fails on files in shared folders
  2012-03-20 20:12                 ` Yuri Gribov
@ 2012-03-20 20:50                   ` Corinna Vinschen
  2012-03-21  2:56                     ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Corinna Vinschen @ 2012-03-20 20:50 UTC (permalink / raw)
  To: cygwin

On Mar 21 00:12, Yuri Gribov wrote:
> > First of all, there's a bug in your testcase.
> 
> Nice catch. With fixed code O_RDWR and O_WRONLY no longer influence
> the result but the bug still remains.
> 
> > What filesystem is your remote FS?  Please run
> 
> Done. All nodes seem to have same volume attributes.
> 
> > You could also run the testcase under strace, like this:
> 
> Done, here's the relevant part: for local (successful) run:
>   write: write(3, 0x402080, 8)
>   write: 8 = write(3, 0x402080, 8)
>   fhandler_base::lseek: setting file pointer to 8
>   lseek64: 8 = lseek(0, 3, 0)
>   fhandler_base::lseek: setting file pointer to 8
>   lseek64: 8 = lseek(0, 3, 0)
> and for remote:
>   write: write(3, 0x402080, 8)
>   write: 8 = write(3, 0x402080, 8)
>   fhandler_base::lseek: setting file pointer to 0
>   lseek64: 0 = lseek(0, 3, 0)

Apart from the bug in Cygwin's debug output, the problem is obviously
that your remote filesystem returns 0 as the current file size.  I have
no idea why it does that, and why only on your system.  What OS are
your remote filesystems running on?  I tried on Windows 2008, 7, and
2008R2 in every from<->to combination.

Can anybody else on this list observe this behaviour?


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: ftell() fails on files in shared folders
  2012-03-20 20:50                   ` Corinna Vinschen
@ 2012-03-21  2:56                     ` Yuri Gribov
  2012-03-21  9:39                       ` Corinna Vinschen
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-21  2:56 UTC (permalink / raw)
  To: cygwin

Corinna,

> the problem is obviously that your remote filesystem returns 0 as the current file size.

Which WinAPI does that? I can try searching it.

> What OS are your remote filesystems running on?

That's Windows Server 2008 SP1.

-- 
Best regards,
Yuri

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

* Re: ftell() fails on files in shared folders
  2012-03-21  2:56                     ` Yuri Gribov
@ 2012-03-21  9:39                       ` Corinna Vinschen
  2012-03-21 17:02                         ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Corinna Vinschen @ 2012-03-21  9:39 UTC (permalink / raw)
  To: cygwin

On Mar 21 06:56, Yuri Gribov wrote:
> Corinna,
> 
> > the problem is obviously that your remote filesystem returns 0 as the current file size.
> 
> Which WinAPI does that? I can try searching it.

I don't understand.  What do you want to search?  It's the GetFileSize
or GetFileSizeEx function on the Win32 API level, or the
GetFileInformationByHandleEx function with FileStandardInfo info class
sarting with Vista, or it's the native NT equivalent
NtQueryInformationFile function with the FileStandardInformation info
class.  Cygwin uses the latter.  But, as I said, it works fine for me
on Windows 2008 as well.  Is it possible that some kind of virus checker
influences the result?


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: ftell() fails on files in shared folders
  2012-03-21  9:39                       ` Corinna Vinschen
@ 2012-03-21 17:02                         ` Yuri Gribov
  2012-03-22  9:48                           ` Corinna Vinschen
  0 siblings, 1 reply; 16+ messages in thread
From: Yuri Gribov @ 2012-03-21 17:02 UTC (permalink / raw)
  To: cygwin

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

Corinna,

> or it's the native NT equivalent NtQueryInformationFile function
> with the FileStandardInformation info class.  Cygwin uses the latter.

My idea was that this was a known error but I did not find anything
useful in google.

> Is it possible that some kind of virus checker influences the result?

I doubt this, slave nodes have pretty basic installation. They only
have additional MS HPC Pack, MPICH2, ActivePerl, Python, Matlab
runtime and VS redistribs.

I have checked installed programs and services and haven't found
anything interesting (I have attached output of net start and tasklist
in case you wanted to check).

-- 
Best regards,
Yuri

[-- Attachment #2: net.start.log --]
[-- Type: application/octet-stream, Size: 1748 bytes --]

These Windows services are started:

   Application Experience
   Application Host Helper Service
   Background Intelligent Transfer Service
   Base Filtering Engine
   Certificate Propagation
   COM+ Event System
   Cryptographic Services
   DCOM Server Process Launcher
   Desktop Window Manager Session Manager
   DHCP Client
   Diagnostic Policy Service
   Diagnostic System Host
   Distributed Link Tracking Client
   Distributed Transaction Coordinator
   DNS Client
   gmond
   Group Policy Client
   HPC Management Service
   HPC MPI Service
   HPC Node Manager Service
   IKE and AuthIP IPsec Keying Modules
   IP Helper
   IPsec Policy Agent
   KtmRm for Distributed Transaction Coordinator
   MPICH2 Process Manager, Argonne National Lab
   Net.Pipe Listener Adapter
   Net.Tcp Listener Adapter
   Net.Tcp Port Sharing Service
   Netlogon
   Network Connections
   Network List Service
   Network Location Awareness
   Network Store Interface Service
   Plug and Play
   Print Spooler
   Remote Procedure Call (RPC)
   Remote Registry
   Secondary Logon
   Security Accounts Manager
   Server
   Shell Hardware Detection
   Software Licensing
   System Event Notification Service
   Task Scheduler
   TCP/IP NetBIOS Helper
   Telnet
   Terminal Services
   Terminal Services Configuration
   Terminal Services UserMode Port Redirector
   User Profile Service
   Windows Error Reporting Service
   Windows Event Log
   Windows Firewall
   Windows Management Instrumentation
   Windows Modules Installer
   Windows Process Activation Service
   Windows Remote Management (WS-Management)
   Windows Time
   Windows Update
   Workstation

The command completed successfully.


[-- Attachment #3: tasklist.log --]
[-- Type: application/octet-stream, Size: 6476 bytes --]


Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
System Idle Process              0 Services                   0         24 K
System                           4 Services                   0         44 K
smss.exe                       404 Services                   0        436 K
csrss.exe                      476 Services                   0      4,724 K
csrss.exe                      520 Console                    1        116 K
wininit.exe                    528 Services                   0         56 K
winlogon.exe                   572 Console                    1         56 K
services.exe                   604 Services                   0      6,696 K
lsass.exe                      616 Services                   0     13,772 K
lsm.exe                        624 Services                   0      3,912 K
svchost.exe                    780 Services                   0      3,732 K
svchost.exe                    840 Services                   0      4,668 K
LogonUI.exe                    912 Console                    1        444 K
svchost.exe                    920 Services                   0      9,476 K
svchost.exe                    968 Services                   0      8,592 K
svchost.exe                    992 Services                   0     31,172 K
SLsvc.exe                     1004 Services                   0      3,860 K
svchost.exe                    300 Services                   0      5,856 K
svchost.exe                    432 Services                   0      8,928 K
svchost.exe                    484 Services                   0     14,252 K
svchost.exe                   1084 Services                   0      4,340 K
spoolsv.exe                   1280 Services                   0      7,672 K
svchost.exe                   1308 Services                   0      1,572 K
SRVANY.EXE                    1352 Services                   0         48 K
HpcManagement.exe             1488 Services                   0     55,888 K
gmond.exe                     1496 Services                   0      1,228 K
HpcNodeManager.exe            1572 Services                   0     19,380 K
smpd.exe                      1604 Services                   0         60 K
msmpisvc.exe                  1668 Services                   0      3,484 K
SMSvcHost.exe                 1680 Services                   0      1,884 K
svchost.exe                   1736 Services                   0         52 K
svchost.exe                   1748 Services                   0         52 K
svchost.exe                   1848 Services                   0        900 K
svchost.exe                   1860 Services                   0      4,752 K
msdtc.exe                     2844 Services                   0         52 K
csrss.exe                     1012                            2        536 K
winlogon.exe                  2888                            2         56 K
taskeng.exe                   2452                            2      2,980 K
rdpclip.exe                   2548                            2        320 K
dwm.exe                       2232                            2        256 K
explorer.exe                  2528                            2      5,364 K
TOTALCMD.EXE                  2580                            2        668 K
LogonUI.exe                   2476                            2        400 K
taskeng.exe                   1296 Services                   0         52 K
csrss.exe                     1940                            3        660 K
winlogon.exe                  2172                            3         60 K
taskeng.exe                   3600                            3      2,996 K
rdpclip.exe                   3172                            3        328 K
dwm.exe                       3404                            3        264 K
explorer.exe                  3448                            3      6,056 K
Oobe.exe                       216                            3      6,440 K
cmd.exe                       3136                            3         52 K
tlntsvr.exe                   4016 Services                   0         52 K
LogonUI.exe                   3684                            3        400 K
taskeng.exe                   2420 Services                   0      5,020 K
taskeng.exe                    516 Services                   0      5,020 K
taskeng.exe                   3796 Services                   0      5,020 K
taskeng.exe                   3604 Services                   0      5,016 K
taskeng.exe                   2812 Services                   0      5,024 K
taskeng.exe                    940 Services                   0      8,744 K
taskeng.exe                   1420 Services                   0      5,016 K
taskeng.exe                   2816 Services                   0      5,020 K
taskeng.exe                   2596 Services                   0      5,020 K
taskeng.exe                   2356 Services                   0      5,016 K
taskeng.exe                   1768 Services                   0      5,012 K
cmd.exe                       3916 Services                   0      2,320 K
mpiexec.exe                   2520 Services                   0      5,204 K
smpd.exe                      3784 Services                   0      4,980 K
LlsMainV2.exe                 2712 Services                   0    146,632 K
csrss.exe                     3388 RDP-Tcp#0                  4      7,436 K
winlogon.exe                  3628 RDP-Tcp#0                  4      5,656 K
taskeng.exe                   3484 RDP-Tcp#0                  4      9,480 K
rdpclip.exe                   3076 RDP-Tcp#0                  4      7,212 K
dwm.exe                       2928 RDP-Tcp#0                  4      4,280 K
explorer.exe                  3660 RDP-Tcp#0                  4     35,352 K
Oobe.exe                      3048 RDP-Tcp#0                  4     92,192 K
cmd.exe                       3816 RDP-Tcp#0                  4      2,652 K
TrustedInstaller.exe          3740 Services                   0      6,912 K
wuauclt.exe                   3456 RDP-Tcp#0                  4      5,748 K
tasklist.exe                  3872 RDP-Tcp#0                  4      5,900 K
WmiPrvSE.exe                  3144 Services                   0      7,556 K

[-- Attachment #4: 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] 16+ messages in thread

* Re: ftell() fails on files in shared folders
  2012-03-21 17:02                         ` Yuri Gribov
@ 2012-03-22  9:48                           ` Corinna Vinschen
  2012-03-22 10:35                             ` Yuri Gribov
  0 siblings, 1 reply; 16+ messages in thread
From: Corinna Vinschen @ 2012-03-22  9:48 UTC (permalink / raw)
  To: cygwin

On Mar 21 21:02, Yuri Gribov wrote:
> Corinna,
> 
> > or it's the native NT equivalent NtQueryInformationFile function
> > with the FileStandardInformation info class.  Cygwin uses the latter.
> 
> My idea was that this was a known error but I did not find anything
> useful in google.
> 
> > Is it possible that some kind of virus checker influences the result?
> 
> I doubt this, slave nodes have pretty basic installation. They only
> have additional MS HPC Pack, MPICH2, ActivePerl, Python, Matlab
> runtime and VS redistribs.
> 
> I have checked installed programs and services and haven't found
> anything interesting (I have attached output of net start and tasklist
> in case you wanted to check).

Sorry, but I really don't know how to help here.  I can't reproduce
the problem and apparently nobody else can.  If that would be a 
generic bug, it would also affect a lot of tools.  I'm as puzzled
as you are.


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: ftell() fails on files in shared folders
  2012-03-22  9:48                           ` Corinna Vinschen
@ 2012-03-22 10:35                             ` Yuri Gribov
  0 siblings, 0 replies; 16+ messages in thread
From: Yuri Gribov @ 2012-03-22 10:35 UTC (permalink / raw)
  To: cygwin

> Sorry, but I really don't know how to help here.  I can't reproduce
> the problem and apparently nobody else can.

Fair enough. Let's see if someone else comments on this.

I'm thinking about Perhaps I'll get time to write a plain WinAPI app
which repros this and then ask MS.

-- 
Best regards,
Yuri

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

end of thread, other threads:[~2012-03-22 10:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-18 14:55 ftell() fails on files in shared folders Yuri Gribov
2012-03-18 15:59 ` Corinna Vinschen
2012-03-18 16:41   ` Yuri Gribov
2012-03-18 16:54     ` Yuri Gribov
2012-03-18 19:11       ` Corinna Vinschen
2012-03-18 19:42         ` Yuri Gribov
2012-03-19  9:15           ` Corinna Vinschen
2012-03-20  9:48             ` Yuri Gribov
2012-03-20 12:10               ` Corinna Vinschen
2012-03-20 20:12                 ` Yuri Gribov
2012-03-20 20:50                   ` Corinna Vinschen
2012-03-21  2:56                     ` Yuri Gribov
2012-03-21  9:39                       ` Corinna Vinschen
2012-03-21 17:02                         ` Yuri Gribov
2012-03-22  9:48                           ` Corinna Vinschen
2012-03-22 10:35                             ` Yuri Gribov

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