Web lists-archives.com

cat.exe failing silently with exit status 3




Hi all. A few days ago I noticed that cat.exe was failing without printing any output or errors and exiting with status 3. I tried rebooting, updating my Cygwin, even a fresh install of Base only. I removed all recently installed Windows software and nothing changed. What's truly strange is that it seems to be only cat that is broken. Hilariously tac works fine. I can even emulate cat with "tac foo |tac".

Whatever changed, Cygwin, coreutils, or Windows, I can't narrow it down. I'm on Windows 7 SP1 and my Cygwin is up to date (3.0.4-1). Coreutils is 8.26-2.

I launched cat with strace and it always ends with:
--- Process 3928, exception c0000005 at 0000000000000000
--- Process 3928 thread 10476 exited with status 0xc0000001
--- Process 3928 exited with status 0xc0000001

The output is vastly truncated compared to what tac shows. The thread dies immediately instead of loading the environment, etc.

I attached the strace output of cat and tac along with the sysinfo and cygcheck output. I hope this is just something simple overlooked in the latest version of cat.


Thanks in advance.
uname -a >cat_straces.txt 

CYGWIN_NT-6.1 applejack 3.0.4(0.338/5/3) 2019-03-16 09:50 x86_64 Cygwin

strace /usr/bin/cat.exe new_benchmarks.pl >>cat_straces.txt 2>&1

--- Process 3928 created
--- Process 3928 loaded C:\Windows\System32\ntdll.dll at 0000000077ae0000
--- Process 3928 loaded C:\Windows\System32\verifier.dll at 000007fef1830000
--- Process 3928 loaded C:\Windows\System32\vrfcore.dll at 000007fef69b0000
--- Process 3928 loaded C:\Windows\System32\vfbasics.dll at 000007fef6940000
--- Process 3928 loaded C:\Windows\System32\kernel32.dll at 00000000779c0000
--- Process 3928 loaded C:\Program Files\AVAST\x64\aswhooka.dll at 000007fef59b0000
--- Process 3928 loaded C:\Windows\System32\KernelBase.dll at 000007fefd970000
--- Process 3928 loaded C:\cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 3928 loaded C:\cygwin64\bin\cygintl-8.dll at 00000003fa950000
--- Process 3928 loaded C:\cygwin64\bin\cygiconv-2.dll at 00000003fe340000
    0       0 [main] cat (3928) **********************************************
  116     116 [main] cat (3928) Program name: C:\cygwin64\bin\cat.exe (windows pid 3928)
   36     152 [main] cat (3928) OS version:   Windows NT-6.1
   24     176 [main] cat (3928) **********************************************
--- Process 3928 loaded C:\Windows\System32\advapi32.dll at 000007fefec70000
--- Process 3928 loaded C:\Windows\System32\msvcrt.dll at 000007fefebd0000
--- Process 3928 loaded C:\Windows\System32\sechost.dll at 000007feff330000
--- Process 3928 loaded C:\Windows\System32\rpcrt4.dll at 000007fefed50000
--- Process 3928 loaded C:\Windows\System32\cryptbase.dll at 000007fefd4d0000
10497   10673 [main] cat (3928) sigprocmask: 0 = sigprocmask (0, 0x0, 0x180309D30)
 1074   11747 [main] cat (3928) open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0x208, *m 6
   65   11812 [main] cat (3928) user_heap_info::init: heap base 0x600000000, heap top 0x600000000, heap size 0x20000000 (536870912)
  332   12144 [main] cat (3928) open_shared: name S-1-5-21-3582216975-893534028-596666465-1002.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0x218, *m 6
   28   12172 [main] cat (3928) user_info::create: opening user shared for 'S-1-5-21-3582216975-893534028-596666465-1002' at 0x180020000
   26   12198 [main] cat (3928) user_info::create: user shared version AB1FCCE8
  190   12388 [main] cat (3928) fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-3928-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
  170   12558 [main] cat (3928) fhandler_pipe::create: pipe read handle 0x240
   24   12582 [main] cat (3928) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-3928-sigwait
  167   12749 [main] cat (3928) fhandler_pipe::create: pipe write handle 0x248
   66   12815 [main] cat (3928) dll_crt0_0: finished dll_crt0_0 initialization
Cygwin WARNING:
  Couldn't compute FAST_CWD pointer.  This typically occurs if you're using
  an older Cygwin version on a newer Windows.  Please update to the latest
  available Cygwin version from https://cygwin.com/.  If the problem persists,
  please see https://cygwin.com/problems.html

--- Process 3928 thread 10476 created
--- Process 3928, exception c0000005 at 0000000000000000
--- Process 3928 thread 10476 exited with status 0xc0000001
--- Process 3928 exited with status 0xc0000001


strace /usr/bin/tac.exe new_benchmarks.pl >>cat_straces.txt 2>&1

--- Process 3724 created
--- Process 3724 loaded C:\Windows\System32\ntdll.dll at 0000000077ae0000
--- Process 3724 loaded C:\Windows\System32\kernel32.dll at 00000000779c0000
--- Process 3724 loaded C:\Program Files\AVAST\x64\aswhooka.dll at 000007fef59b0000
--- Process 3724 loaded C:\Windows\System32\KernelBase.dll at 000007fefd970000
--- Process 3724 loaded C:\cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 3724 loaded C:\cygwin64\bin\cygintl-8.dll at 00000003fa950000
--- Process 3724 loaded C:\cygwin64\bin\cygiconv-2.dll at 00000003fe340000
    0       0 [main] tac (3724) **********************************************
  140     140 [main] tac (3724) Program name: C:\cygwin64\bin\tac.exe (windows pid 3724)
   46     186 [main] tac (3724) OS version:   Windows NT-6.1
   37     223 [main] tac (3724) **********************************************
--- Process 3724 loaded C:\Windows\System32\advapi32.dll at 000007fefec70000
--- Process 3724 loaded C:\Windows\System32\msvcrt.dll at 000007fefebd0000
--- Process 3724 loaded C:\Windows\System32\sechost.dll at 000007feff330000
--- Process 3724 loaded C:\Windows\System32\rpcrt4.dll at 000007fefed50000
--- Process 3724 loaded C:\Windows\System32\cryptbase.dll at 000007fefd4d0000
 3846    4069 [main] tac (3724) sigprocmask: 0 = sigprocmask (0, 0x0, 0x180309D30)
  705    4774 [main] tac (3724) open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0x84, *m 6
   55    4829 [main] tac (3724) user_heap_info::init: heap base 0x600000000, heap top 0x600000000, heap size 0x20000000 (536870912)
   65    4894 [main] tac (3724) open_shared: name S-1-5-21-3582216975-893534028-596666465-1002.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0x80, *m 6
   39    4933 [main] tac (3724) user_info::create: opening user shared for 'S-1-5-21-3582216975-893534028-596666465-1002' at 0x180020000
   38    4971 [main] tac (3724) user_info::create: user shared version AB1FCCE8
   89    5060 [main] tac (3724) fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-3724-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
   81    5141 [main] tac (3724) fhandler_pipe::create: pipe read handle 0x98
   34    5175 [main] tac (3724) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-3724-sigwait
   59    5234 [main] tac (3724) fhandler_pipe::create: pipe write handle 0x9C
   47    5281 [main] tac (3724) dll_crt0_0: finished dll_crt0_0 initialization
--- Process 3724 thread 10264 created
  592    5873 [sig] tac (3724) wait_sig: entering ReadFile loop, my_readsig 0x98, my_sendsig 0x9C
  154    6027 [main] tac (3724) time: 1553657141 = time(0x0)
  134    6161 [main] tac (3724) mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\home\wagnerc, 0x0, no-add-slash)
   69    6230 [main] tac (3724) normalize_win32_path: C:\cygwin64\home\wagnerc = normalize_win32_path (C:\cygwin64\home\wagnerc)
   51    6281 [main] tac (3724) mount_info::conv_to_posix_path: /home/wagnerc = conv_to_posix_path (C:\cygwin64\home\wagnerc)
   76    6357 [main] tac (3724) sigprocmask: 0 = sigprocmask (0, 0x0, 0x600018130)
  196    6553 [main] tac (3724) _cygwin_istext_for_stdio: fd 0: not open
   68    6621 [main] tac (3724) _cygwin_istext_for_stdio: fd 1: not open
   33    6654 [main] tac (3724) _cygwin_istext_for_stdio: fd 2: not open
  123    6777 [main] tac (3724) open_shared: name cygpid.320, n 320, shared 0x30000 (wanted 0x0), h 0xC0, *m 5
   42    6819 [main] tac (3724) time: 1553657141 = time(0x0)
   60    6879 [main] tac 320 pinfo::thisproc: myself dwProcessId 3724
   74    6953 [main] tac 320 environ_init: GetEnvironmentStrings returned 0x342460
  132    7085 [main] tac 320 win32env_to_cygenv: 0x6000284F0: !::=::\
   61    7146 [main] tac 320 win32env_to_cygenv: 0x600028510: ALLUSERSPROFILE=C:\ProgramData
   70    7216 [main] tac 320 win32env_to_cygenv: 0x600028540: APPDATA=C:\Users\wagnerc\AppData\Roaming
   70    7286 [main] tac 320 win32env_to_cygenv: 0x600028580: COMMONPROGRAMFILES=C:\Program Files\Common Files
  119    7405 [main] tac 320 win32env_to_cygenv: 0x6000285C0: COMPUTERNAME=APPLEJACK
   86    7491 [main] tac 320 win32env_to_cygenv: 0x6000285E0: COMSPEC=C:\Windows\system32\cmd.exe
   64    7555 [main] tac 320 win32env_to_cygenv: 0x600028610: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
  125    7680 [main] tac 320 win32env_to_cygenv: 0x600028660: CommonProgramW6432=C:\Program Files\Common Files
   82    7762 [main] tac 320 parse_options: glob (called func)
   67    7829 [main] tac 320 parse_options: returning
   33    7862 [main] tac 320 win32env_to_cygenv: 0x6000286A0: CYGWIN=noglob
   64    7926 [main] tac 320 win32env_to_cygenv: 0x6000286E0: EXECIGNORE=*.dll
   65    7991 [main] tac 320 win32env_to_cygenv: 0x600028700: FP_NO_HOST_CHECK=NO
   67    8058 [main] tac 320 win32env_to_cygenv: 0x600028720: GPU_MAX_ALLOC_PERCENT=100
   63    8121 [main] tac 320 win32env_to_cygenv: 0x600028750: HISTCONTROL=ignoredups
  144    8265 [main] tac 320 win32env_to_cygenv: 0x600028770: HISTFILESIZE=1000
   72    8337 [main] tac 320 win32env_to_cygenv: 0x600028790: HISTSIZE=1000
   62    8399 [main] tac 320 getwinenv: can't set native for HOME= since no environ yet
   45    8444 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\home\wagnerc, 0x10000000, no-add-slash)
   36    8480 [main] tac 320 normalize_win32_path: C:\cygwin64\home\wagnerc = normalize_win32_path (C:\cygwin64\home\wagnerc)
   37    8517 [main] tac 320 mount_info::conv_to_posix_path: /home/wagnerc = conv_to_posix_path (C:\cygwin64\home\wagnerc)
  154    8671 [main] tac 320 win_env::add_cache: posix /home/wagnerc
   32    8703 [main] tac 320 win_env::add_cache: native HOME=C:\cygwin64\home\wagnerc
   61    8764 [main] tac 320 posify_maybe: env var converted to HOME=/home/wagnerc
   87    8851 [main] tac 320 win32env_to_cygenv: 0x600028830: HOME=/home/wagnerc
   75    8926 [main] tac 320 win32env_to_cygenv: 0x6000287B0: HOMEDRIVE=C:
   70    8996 [main] tac 320 win32env_to_cygenv: 0x600028850: HOMEPATH=\Users\wagnerc
   64    9060 [main] tac 320 win32env_to_cygenv: 0x600028870: HOSTNAME=applejack
   65    9125 [main] tac 320 win32env_to_cygenv: 0x600028890: INFOPATH=/usr/local/info:/usr/share/info:/usr/info
   65    9190 [main] tac 320 win32env_to_cygenv: 0x6000288D0: LANG=en_US.UTF-8
   62    9252 [main] tac 320 win32env_to_cygenv: 0x6000288F0: LOCALAPPDATA=C:\Users\wagnerc\AppData\Local
   63    9315 [main] tac 320 win32env_to_cygenv: 0x600028930: LOGONSERVER=\\APPLEJACK
   64    9379 [main] tac 320 win32env_to_cygenv: 0x600028950: NUMBER_OF_PROCESSORS=12
   59    9438 [main] tac 320 win32env_to_cygenv: 0x600028970: OLDPWD=/
   76    9514 [main] tac 320 win32env_to_cygenv: 0x600028990: ORIGINAL_PATH=/c/Perl/site/bin:/c/Perl/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Skype/Phone:/c/Program Files/SysinternalsSuite:/usr/bin:/c/Program Files (x86)/Common Files/Seagate/SnapAPI:/c/Program Files/SysinternalsSuite:/c/Program Files (x86)/IsoBuster:/c/Program Files/TortoiseSVN/bin:/c/Program Files (x86)/Common Files/Seagate/VirtualFile:/c/Program Files (x86)/Common Files/Seagate/VirtualFile64:/c/Program Files/Microsoft Windows Performance Toolkit:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC
  123    9637 [main] tac 320 win32env_to_cygenv: 0x600028C10: OS=Windows_NT
  179    9816 [main] tac 320 win32env_to_cygenv: 0x600028C30: OneDrive=C:\Users\wagnerc\OneDrive - Gannett Company, Incorporated
   80    9896 [main] tac 320 getwinenv: can't set native for PATH= since no environ yet
   69    9965 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\home\wagnerc\bin, 0x10000100, no-add-slash)
   35   10000 [main] tac 320 normalize_win32_path: C:\cygwin64\home\wagnerc\bin = normalize_win32_path (C:\cygwin64\home\wagnerc\bin)
   36   10036 [main] tac 320 mount_info::conv_to_posix_path: /home/wagnerc/bin = conv_to_posix_path (C:\cygwin64\home\wagnerc\bin)
   35   10071 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\usr\local\bin, 0x10000100, no-add-slash)
   36   10107 [main] tac 320 normalize_win32_path: C:\cygwin64\usr\local\bin = normalize_win32_path (C:\cygwin64\usr\local\bin)
   34   10141 [main] tac 320 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cygwin64\usr\local\bin)
   36   10177 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\bin, 0x10000100, no-add-slash)
   35   10212 [main] tac 320 normalize_win32_path: C:\cygwin64\bin = normalize_win32_path (C:\cygwin64\bin)
   35   10247 [main] tac 320 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin64\bin)
   34   10281 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\usr\local\sbin, 0x10000100, no-add-slash)
   37   10318 [main] tac 320 normalize_win32_path: C:\cygwin64\usr\local\sbin = normalize_win32_path (C:\cygwin64\usr\local\sbin)
   37   10355 [main] tac 320 mount_info::conv_to_posix_path: /usr/local/sbin = conv_to_posix_path (C:\cygwin64\usr\local\sbin)
   39   10394 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\usr\sbin, 0x10000100, no-add-slash)
   39   10433 [main] tac 320 normalize_win32_path: C:\cygwin64\usr\sbin = normalize_win32_path (C:\cygwin64\usr\sbin)
   35   10468 [main] tac 320 mount_info::conv_to_posix_path: /usr/sbin = conv_to_posix_path (C:\cygwin64\usr\sbin)
   35   10503 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\sbin, 0x10000100, no-add-slash)
   42   10545 [main] tac 320 normalize_win32_path: C:\cygwin64\sbin = normalize_win32_path (C:\cygwin64\sbin)
  102   10647 [main] tac 320 mount_info::conv_to_posix_path: /sbin = conv_to_posix_path (C:\cygwin64\sbin)
  310   10957 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (., 0x10000100, no-add-slash)
   85   11042 [main] tac 320 mount_info::conv_to_posix_path: . = conv_to_posix_path (.)
   37   11079 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Perl\site\bin, 0x10000100, no-add-slash)
   34   11113 [main] tac 320 normalize_win32_path: C:\Perl\site\bin = normalize_win32_path (C:\Perl\site\bin)
   39   11152 [main] tac 320 mount_info::conv_to_posix_path: /c/Perl/site/bin = conv_to_posix_path (C:\Perl\site\bin)
   37   11189 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Perl\bin, 0x10000100, no-add-slash)
   82   11271 [main] tac 320 normalize_win32_path: C:\Perl\bin = normalize_win32_path (C:\Perl\bin)
   51   11322 [main] tac 320 mount_info::conv_to_posix_path: /c/Perl/bin = conv_to_posix_path (C:\Perl\bin)
   65   11387 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, 0x10000100, no-add-slash)
  102   11489 [main] tac 320 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
   39   11528 [main] tac 320 mount_info::conv_to_posix_path: /c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
   52   11580 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, 0x10000100, no-add-slash)
   88   11668 [main] tac 320 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
   75   11743 [main] tac 320 mount_info::conv_to_posix_path: /c/Windows = conv_to_posix_path (C:\Windows)
   58   11801 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, 0x10000100, no-add-slash)
   83   11884 [main] tac 320 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
   36   11920 [main] tac 320 mount_info::conv_to_posix_path: /c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
   34   11954 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, 0x10000100, no-add-slash)
   41   11995 [main] tac 320 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   75   12070 [main] tac 320 mount_info::conv_to_posix_path: /c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
  110   12180 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Skype\Phone, 0x10000100, no-add-slash)
   39   12219 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\Skype\Phone = normalize_win32_path (C:\Program Files (x86)\Skype\Phone)
   35   12254 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/Skype/Phone = conv_to_posix_path (C:\Program Files (x86)\Skype\Phone)
   35   12289 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\SysinternalsSuite, 0x10000100, no-add-slash)
   37   12326 [main] tac 320 normalize_win32_path: C:\Program Files\SysinternalsSuite = normalize_win32_path (C:\Program Files\SysinternalsSuite)
   38   12364 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files/SysinternalsSuite = conv_to_posix_path (C:\Program Files\SysinternalsSuite)
  136   12500 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\bin, 0x10000100, no-add-slash)
   46   12546 [main] tac 320 normalize_win32_path: C:\cygwin64\bin = normalize_win32_path (C:\cygwin64\bin)
   72   12618 [main] tac 320 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin64\bin)
  116   12734 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Seagate\SnapAPI, 0x10000100, no-add-slash)
   69   12803 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\Common Files\Seagate\SnapAPI = normalize_win32_path (C:\Program Files (x86)\Common Files\Seagate\SnapAPI)
   38   12841 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/Common Files/Seagate/SnapAPI = conv_to_posix_path (C:\Program Files (x86)\Common Files\Seagate\SnapAPI)
   38   12879 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\SysinternalsSuite, 0x10000100, no-add-slash)
   36   12915 [main] tac 320 normalize_win32_path: C:\Program Files\SysinternalsSuite = normalize_win32_path (C:\Program Files\SysinternalsSuite)
   35   12950 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files/SysinternalsSuite = conv_to_posix_path (C:\Program Files\SysinternalsSuite)
   44   12994 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\IsoBuster, 0x10000100, no-add-slash)
   34   13028 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\IsoBuster = normalize_win32_path (C:\Program Files (x86)\IsoBuster)
   35   13063 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/IsoBuster = conv_to_posix_path (C:\Program Files (x86)\IsoBuster)
   35   13098 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TortoiseSVN\bin, 0x10000100, no-add-slash)
   34   13132 [main] tac 320 normalize_win32_path: C:\Program Files\TortoiseSVN\bin = normalize_win32_path (C:\Program Files\TortoiseSVN\bin)
   35   13167 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files/TortoiseSVN/bin = conv_to_posix_path (C:\Program Files\TortoiseSVN\bin)
   34   13201 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Seagate\VirtualFile, 0x10000100, no-add-slash)
   35   13236 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\Common Files\Seagate\VirtualFile = normalize_win32_path (C:\Program Files (x86)\Common Files\Seagate\VirtualFile)
   35   13271 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/Common Files/Seagate/VirtualFile = conv_to_posix_path (C:\Program Files (x86)\Common Files\Seagate\VirtualFile)
   36   13307 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Seagate\VirtualFile64, 0x10000100, no-add-slash)
   35   13342 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\Common Files\Seagate\VirtualFile64 = normalize_win32_path (C:\Program Files (x86)\Common Files\Seagate\VirtualFile64)
   36   13378 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/Common Files/Seagate/VirtualFile64 = conv_to_posix_path (C:\Program Files (x86)\Common Files\Seagate\VirtualFile64)
   35   13413 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft Windows Performance Toolkit, 0x10000100, no-add-slash)
   36   13449 [main] tac 320 normalize_win32_path: C:\Program Files\Microsoft Windows Performance Toolkit = normalize_win32_path (C:\Program Files\Microsoft Windows Performance Toolkit)
   59   13508 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files/Microsoft Windows Performance Toolkit = conv_to_posix_path (C:\Program Files\Microsoft Windows Performance Toolkit)
   35   13543 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\GPAC, 0x10000100, no-add-slash)
  108   13651 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\GPAC = normalize_win32_path (C:\Program Files (x86)\GPAC)
  133   13784 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/GPAC = conv_to_posix_path (C:\Program Files (x86)\GPAC)
   72   13856 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\GPAC, 0x10000100, no-add-slash)
   36   13892 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\GPAC = normalize_win32_path (C:\Program Files (x86)\GPAC)
   34   13926 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/GPAC = conv_to_posix_path (C:\Program Files (x86)\GPAC)
   35   13961 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\GPAC, 0x10000100, no-add-slash)
   37   13998 [main] tac 320 normalize_win32_path: C:\Program Files (x86)\GPAC = normalize_win32_path (C:\Program Files (x86)\GPAC)
   34   14032 [main] tac 320 mount_info::conv_to_posix_path: /c/Program Files (x86)/GPAC = conv_to_posix_path (C:\Program Files (x86)\GPAC)
  100   14132 [main] tac 320 win_env::add_cache: posix /home/wagnerc/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:.:/c/Perl/site/bin:/c/Perl/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Skype/Phone:/c/Program Files/SysinternalsSuite:/usr/bin:/c/Program Files (x86)/Common Files/Seagate/SnapAPI:/c/Program Files/SysinternalsSuite:/c/Program Files (x86)/IsoBuster:/c/Program Files/TortoiseSVN/bin:/c/Program Files (x86)/Common Files/Seagate/VirtualFile:/c/Program Files (x86)/Common Files/Seagate/VirtualFile64:/c/Program Files/Microsoft Windows Performance Toolkit:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC
   44   14176 [main] tac 320 win_env::add_cache: native PATH=C:\cygwin64\home\wagnerc\bin;C:\cygwin64\usr\local\bin;C:\cygwin64\bin;C:\cygwin64\usr\local\sbin;C:\cygwin64\usr\sbin;C:\cygwin64\sbin;.;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;C:\Program Files\SysinternalsSuite;C:\cygwin64\bin;C:\Program Files (x86)\Common Files\Seagate\SnapAPI;C:\Program Files\SysinternalsSuite;C:\Program Files (x86)\IsoBuster;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Common Files\Seagate\VirtualFile;C:\Program Files (x86)\Common Files\Seagate\VirtualFile64;C:\Program Files\Microsoft Windows Performance Toolkit;C:\Program Files (x86)\GPAC;C:\Program Files (x86)\GPAC;C:\Program Files (x86)\GPAC
   42   14218 [main] tac 320 posify_maybe: env var converted to PATH=/home/wagnerc/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:.:/c/Perl/site/bin:/c/Perl/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Skype/Phone:/c/Program Files/SysinternalsSuite:/usr/bin:/c/Program Files (x86)/Common Files/Seagate/SnapAPI:/c/Program Files/SysinternalsSuite:/c/Program Files (x86)/IsoBuster:/c/Program Files/TortoiseSVN/bin:/c/Program Files (x86)/Common Files/Seagate/VirtualFile:/c/Program Files (x86)/Common Files/Seagate/VirtualFile64:/c/Program Files/Microsoft Windows Performance Toolkit:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC
  100   14318 [main] tac 320 win32env_to_cygenv: 0x600039570: PATH=/home/wagnerc/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:.:/c/Perl/site/bin:/c/Perl/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Skype/Phone:/c/Program Files/SysinternalsSuite:/usr/bin:/c/Program Files (x86)/Common Files/Seagate/SnapAPI:/c/Program Files/SysinternalsSuite:/c/Program Files (x86)/IsoBuster:/c/Program Files/TortoiseSVN/bin:/c/Program Files (x86)/Common Files/Seagate/VirtualFile:/c/Program Files (x86)/Common Files/Seagate/VirtualFile64:/c/Program Files/Microsoft Windows Performance Toolkit:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC:/c/Program Files (x86)/GPAC
   86   14404 [main] tac 320 win32env_to_cygenv: 0x600028C80: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
   70   14474 [main] tac 320 win32env_to_cygenv: 0x600028CD0: PRINTER=HP Photosmart 7520 Black & White
   68   14542 [main] tac 320 win32env_to_cygenv: 0x600028D10: PROCESSOR_ARCHITECTURE=AMD64
  236   14778 [main] tac 320 win32env_to_cygenv: 0x600028D40: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
  187   14965 [main] tac 320 win32env_to_cygenv: 0x600028D90: PROCESSOR_LEVEL=6
   89   15054 [main] tac 320 win32env_to_cygenv: 0x600028DB0: PROCESSOR_REVISION=2c02
   66   15120 [main] tac 320 win32env_to_cygenv: 0x600028DD0: PROFILEREAD=true
   63   15183 [main] tac 320 win32env_to_cygenv: 0x600028DF0: PROGRAMFILES=C:\Program Files
   64   15247 [main] tac 320 win32env_to_cygenv: 0x600028E20: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ 
   68   15315 [main] tac 320 win32env_to_cygenv: 0x600028E70: PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
   68   15383 [main] tac 320 win32env_to_cygenv: 0x600028EC0: PUBLIC=C:\Users\Public
   62   15445 [main] tac 320 win32env_to_cygenv: 0x600028EE0: PWD=/home/wagnerc
   65   15510 [main] tac 320 win32env_to_cygenv: 0x600028F00: ProgramData=C:\ProgramData
  125   15635 [main] tac 320 win32env_to_cygenv: 0x600028F30: ProgramFiles(x86)=C:\Program Files (x86)
  112   15747 [main] tac 320 win32env_to_cygenv: 0x600039830: ProgramW6432=C:\Program Files
   65   15812 [main] tac 320 win32env_to_cygenv: 0x600039860: SAN_DIR=C:\Program Files\SiSoftware\Sandra
   62   15874 [main] tac 320 win32env_to_cygenv: 0x600028F70: SESSIONNAME=Console
   69   15943 [main] tac 320 win32env_to_cygenv: 0x6000398A0: SHELL=/bin/bash
   66   16009 [main] tac 320 win32env_to_cygenv: 0x6000398C0: SHLVL=1
   61   16070 [main] tac 320 win32env_to_cygenv: 0x6000398E0: SYSTEMDRIVE=C:
   72   16142 [main] tac 320 win32env_to_cygenv: 0x600039900: SYSTEMROOT=C:\Windows
   61   16203 [main] tac 320 getwinenv: can't set native for TEMP= since no environ yet
   44   16247 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\tmp, 0x10000000, no-add-slash)
   35   16282 [main] tac 320 normalize_win32_path: C:\cygwin64\tmp = normalize_win32_path (C:\cygwin64\tmp)
   34   16316 [main] tac 320 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin64\tmp)
   88   16404 [main] tac 320 win_env::add_cache: posix /tmp
   33   16437 [main] tac 320 win_env::add_cache: native TEMP=C:\cygwin64\tmp
   68   16505 [main] tac 320 posify_maybe: env var converted to TEMP=/tmp
  359   16864 [main] tac 320 win32env_to_cygenv: 0x600039980: TEMP=/tmp
  126   16990 [main] tac 320 win32env_to_cygenv: 0x600039920: TERM=xterm
   63   17053 [main] tac 320 getwinenv: can't set native for TMP= since no environ yet
   54   17107 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\tmp, 0x10000000, no-add-slash)
   41   17148 [main] tac 320 normalize_win32_path: C:\cygwin64\tmp = normalize_win32_path (C:\cygwin64\tmp)
   41   17189 [main] tac 320 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin64\tmp)
  227   17416 [main] tac 320 win_env::add_cache: posix /tmp
   38   17454 [main] tac 320 win_env::add_cache: native TMP=C:\cygwin64\tmp
   32   17486 [main] tac 320 posify_maybe: env var converted to TMP=/tmp
  157   17643 [main] tac 320 win32env_to_cygenv: 0x600039A00: TMP=/tmp
  227   17870 [main] tac 320 win32env_to_cygenv: 0x6000399A0: TZ=America/New_York
   62   17932 [main] tac 320 win32env_to_cygenv: 0x600039A20: USER=wagnerc
   62   17994 [main] tac 320 win32env_to_cygenv: 0x600039A40: USERDOMAIN=APPLEJACK
   60   18054 [main] tac 320 win32env_to_cygenv: 0x600039A60: USERNAME=wagnerc
   61   18115 [main] tac 320 win32env_to_cygenv: 0x600039A80: USERPROFILE=C:\Users\wagnerc
   59   18174 [main] tac 320 win32env_to_cygenv: 0x600039AB0: WINDIR=C:\Windows
   67   18241 [main] tac 320 win32env_to_cygenv: 0x600039AD0: _=/usr/bin/strace
   58   18299 [main] tac 320 win32env_to_cygenv: 0x600039AF0: windows_tracing_flags=3
  138   18437 [main] tac 320 win32env_to_cygenv: 0x600039B10: windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
   44   18481 [main] tac 320 pinfo_init: Set nice to 0
   34   18515 [main] tac 320 pinfo_init: pid 320, pgid 320, process_state 0x41
   31   18546 [main] tac 320 App version:  2007.0, api: 0.306
  105   18651 [main] tac 320 DLL version:  3000.4, api: 0.338
  107   18758 [main] tac 320 DLL build:    2019-03-16 09:50
   56   18814 [main] tac 320 dtable::extend: size 32, fds 0x1803331A0
  100   18914 [main] tac 320 __get_lcid_from_locale: LCID=0x0409
  397   19311 [main] tac 320 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
   55   19366 [main] tac 320 transport_layer_pipes::connect: Error opening the pipe (2)
   59   19425 [main] tac 320 client_request::make_request: cygserver un-available
--- Process 3724 thread 192 created
--- Process 3724 loaded C:\Windows\System32\netapi32.dll at 000007fefb4d0000
--- Process 3724 loaded C:\Windows\System32\netutils.dll at 000007fefb4c0000
--- Process 3724 loaded C:\Windows\System32\srvcli.dll at 000007fefd370000
--- Process 3724 loaded C:\Windows\System32\wkscli.dll at 000007fefb4a0000
--- Process 3724 loaded C:\Windows\System32\samcli.dll at 000007fefb480000
--- Process 3724 loaded C:\Windows\System32\samlib.dll at 000007fefbff0000
--- Process 3724 thread 10644 created
 7339   26764 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <Users:S-1-5-32-545:545:>
 1121   27885 [main] tac 320 pwdgrp::fetch_account_from_windows: NetLocalGroupGetInfo(None) 1376
  271   28156 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <None:S-1-5-21-3582216975-893534028-596666465-513:197121:>
 1025   29181 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <HomeUsers:S-1-5-21-3582216975-893534028-596666465-1007:197615:>
  267   29448 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <INTERACTIVE:S-1-5-4:4:>
  310   29758 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <CONSOLE LOGON:S-1-2-1:66049:>
  272   30030 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <Authenticated Users:S-1-5-11:11:>
  240   30270 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <This Organization:S-1-5-15:15:>
  296   30566 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <Local account:S-1-5-113:113:>
  449   31015 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <CurrentSession:S-1-5-5-0-533549:4095:>
  201   31216 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <LOCAL:S-1-2-0:66048:>
  151   31367 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <NTLM Authentication:S-1-5-64-10:262154:>
  207   31574 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <Medium Mandatory Level:S-1-16-8192:401408:>
  265   31839 [main] tac 320 cygheap_user::ontherange: what 2, pw 0x180333430
   95   31934 [main] tac 320 cygheap_user::ontherange: HOME is already in the environment /home/wagnerc
  223   32157 [main] tac 320 build_argv: argv[0] = 'C:\cygwin64\bin\tac.exe'
   46   32203 [main] tac 320 build_argv: argv[1] = 'new_benchmarks.pl'
   39   32242 [main] tac 320 build_argv: argc 2
   72   32314 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\bin\tac.exe, 0x10000100, no-add-slash)
   36   32350 [main] tac 320 normalize_win32_path: C:\cygwin64\bin\tac.exe = normalize_win32_path (C:\cygwin64\bin\tac.exe)
   36   32386 [main] tac 320 mount_info::conv_to_posix_path: /usr/bin/tac.exe = conv_to_posix_path (C:\cygwin64\bin\tac.exe)
  265   32651 [main] tac 320 build_fh_pc: created an archetype (0x1803354C0) for /dev/pty0(136/0)
   45   32696 [main] tac 320 build_fh_pc: fh 0x180335150, dev 00880000
  127   32823 [main] tac 320 fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-pty0-from-master, size 131072, mode PIPE_TYPE_MESSAGE
   70   32893 [main] tac 320 fhandler_pipe::create: pipe busy
   35   32928 [main] tac 320 tty::exists: exists 1
  166   33094 [main] tac 320 set_posix_access: ACL-Size: 112
  110   33204 [main] tac 320 set_posix_access: Created SD-Size: 176
   43   33247 [main] tac 320 fhandler_pty_slave::open: (393): pty output_mutex (0x164): waiting -1 ms
   48   33295 [main] tac 320 fhandler_pty_slave::open: (393): pty output_mutex: acquired
   55   33350 [main] tac 320 tty::create_inuse: cygtty.slave_alive.0 0x170
   50   33400 [main] tac 320 fhandler_pty_slave::open: (396): pty output_mutex(0x164) released
   87   33487 [main] tac 320 open_shared: name cygpid.246, n 246, shared 0x40000 (wanted 0x0), h 0x174, *m 6
   55   33542 [main] tac 320 fhandler_pty_slave::open: dup handles directly since I'm the owner
  212   33754 [main] tac 320 fhandler_pty_slave::open: duplicated from_master 0x248->0x174 from pty_owner
   71   33825 [main] tac 320 fhandler_pty_slave::open: duplicated to_master 0x25C->0x17C from pty_owner
   34   33859 [main] tac 320 fhandler_pty_slave::open: duplicated to_master_cyg 0x264->0x180 from pty_owner
  129   33988 [main] tac 320 fhandler_console::need_invisible: invisible_console 0
   43   34031 [main] tac 320 fhandler_base::open_with_arch: line 467:  /dev/pty0<0x1803354C0> usecount + 1 = 1
   55   34086 [main] tac 320 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   65   34151 [main] tac 320 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
  105   34256 [main] tac 320 fhandler_base::set_flags: filemode set to binary
   44   34300 [main] tac 320 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x880000 flags & O_NOCTTY 0x0
   37   34337 [main] tac 320 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x1803354C0
   35   34372 [main] tac 320 _pinfo::set_ctty: ctty was NULL
   34   34406 [main] tac 320 _pinfo::set_ctty: line 547:  /dev/pty0<0x1803354C0> usecount + 1 = 2
   36   34442 [main] tac 320 _pinfo::set_ctty: /dev/pty0 ctty, usecount 2
   35   34477 [main] tac 320 _pinfo::set_ctty: attaching ctty /dev/pty0 sid 320, pid 320, pgid 320, tty->pgid 318, tty->sid 247
   41   34518 [main] tac 320 _pinfo::set_ctty: cygheap->ctty now 0x1803354C0, archetype 0x1803354C0
   35   34553 [main] tac 320 fhandler_pty_slave::open_setup: /dev/pty0 opened, usecount 2
   97   34650 [main] tac 320 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   35   34685 [main] tac 320 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   37   34722 [main] tac 320 fhandler_base::set_flags: filemode set to binary
   34   34756 [main] tac 320 _pinfo::set_ctty: old ctty /dev/pty0, ctty device number 0x880000, tc.ntty device number 0x880000 flags & O_NOCTTY 0x0
   36   34792 [main] tac 320 _pinfo::set_ctty: attaching ctty /dev/pty0 sid 247, pid 320, pgid 318, tty->pgid 318, tty->sid 247
   37   34829 [main] tac 320 _pinfo::set_ctty: cygheap->ctty now 0x1803354C0, archetype 0x1803354C0
   37   34866 [main] tac 320 fhandler_pty_slave::open_setup: /dev/pty0 opened, usecount 2
 2715   37581 [main] tac 320 handle_to_fn: current match 'C:' = '\Device\HarddiskVolume2'
  402   37983 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\home\wagnerc\cat_straces.txt, 0x10000000, no-add-slash)
  136   38119 [main] tac 320 normalize_win32_path: C:\cygwin64\home\wagnerc\cat_straces.txt = normalize_win32_path (C:\cygwin64\home\wagnerc\cat_straces.txt)
   76   38195 [main] tac 320 mount_info::conv_to_posix_path: /home/wagnerc/cat_straces.txt = conv_to_posix_path (C:\cygwin64\home\wagnerc\cat_straces.txt)
   64   38259 [main] tac 320 handle_to_fn: derived path 'C:\cygwin64\home\wagnerc\cat_straces.txt', posix '/home/wagnerc/cat_straces.txt'
   52   38311 [main] tac 320 normalize_posix_path: src /home/wagnerc/cat_straces.txt
   38   38349 [main] tac 320 normalize_posix_path: /home/wagnerc/cat_straces.txt = normalize_posix_path (/home/wagnerc/cat_straces.txt)
   41   38390 [main] tac 320 mount_info::conv_to_win32_path: conv_to_win32_path (/home/wagnerc/cat_straces.txt)
   41   38431 [main] tac 320 mount_info::cygdrive_win32_path: src '/home/wagnerc/cat_straces.txt', dst ''
   39   38470 [main] tac 320 mount_info::conv_to_win32_path: src_path /home/wagnerc/cat_straces.txt, dst C:\cygwin64\home\wagnerc\cat_straces.txt, flags 0x30008, rc 0
  195   38665 [main] tac 320 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\home\wagnerc\cat_straces.txt)
   75   38740 [main] tac 320 symlink_info::check: not a symlink
  106   38846 [main] tac 320 symlink_info::check: 0 = symlink.check(C:\cygwin64\home\wagnerc\cat_straces.txt, 0xFFFFB850) (mount_flags 0x30008, path_flags 0x0)
  128   38974 [main] tac 320 path_conv::check: this->path(C:\cygwin64\home\wagnerc\cat_straces.txt), has_acls(1)
   38   39012 [main] tac 320 build_fh_pc: fh 0x180335930, dev 000000C3
   36   39048 [main] tac 320 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   32   39080 [main] tac 320 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   31   39111 [main] tac 320 fhandler_base::set_flags: filemode set to binary
   31   39142 [main] tac 320 fhandler_base::init: created new fhandler_base for handle 0x1F0, bin 1
 2269   41411 [main] tac 320 handle_to_fn: current match 'C:' = '\Device\HarddiskVolume2'
  234   41645 [main] tac 320 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\home\wagnerc\cat_straces.txt, 0x10000000, no-add-slash)
   34   41679 [main] tac 320 normalize_win32_path: C:\cygwin64\home\wagnerc\cat_straces.txt = normalize_win32_path (C:\cygwin64\home\wagnerc\cat_straces.txt)
   32   41711 [main] tac 320 mount_info::conv_to_posix_path: /home/wagnerc/cat_straces.txt = conv_to_posix_path (C:\cygwin64\home\wagnerc\cat_straces.txt)
   33   41744 [main] tac 320 handle_to_fn: derived path 'C:\cygwin64\home\wagnerc\cat_straces.txt', posix '/home/wagnerc/cat_straces.txt'
   32   41776 [main] tac 320 normalize_posix_path: src /home/wagnerc/cat_straces.txt
   32   41808 [main] tac 320 normalize_posix_path: /home/wagnerc/cat_straces.txt = normalize_posix_path (/home/wagnerc/cat_straces.txt)
   32   41840 [main] tac 320 mount_info::conv_to_win32_path: conv_to_win32_path (/home/wagnerc/cat_straces.txt)
   32   41872 [main] tac 320 mount_info::cygdrive_win32_path: src '/home/wagnerc/cat_straces.txt', dst ''
   31   41903 [main] tac 320 mount_info::conv_to_win32_path: src_path /home/wagnerc/cat_straces.txt, dst C:\cygwin64\home\wagnerc\cat_straces.txt, flags 0x30008, rc 0
   74   41977 [main] tac 320 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\home\wagnerc\cat_straces.txt)
   48   42025 [main] tac 320 symlink_info::check: not a symlink
  160   42185 [main] tac 320 symlink_info::check: 0 = symlink.check(C:\cygwin64\home\wagnerc\cat_straces.txt, 0xFFFFB850) (mount_flags 0x30008, path_flags 0x0)
   37   42222 [main] tac 320 path_conv::check: this->path(C:\cygwin64\home\wagnerc\cat_straces.txt), has_acls(1)
   49   42271 [main] tac 320 build_fh_pc: fh 0x180335BD0, dev 000000C3
   34   42305 [main] tac 320 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   32   42337 [main] tac 320 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   32   42369 [main] tac 320 fhandler_base::set_flags: filemode set to binary
   30   42399 [main] tac 320 fhandler_base::init: created new fhandler_base for handle 0x1EC, bin 1
  697   43096 [main] tac 320 __set_errno: void dll_crt0_1(void*):983 setting errno 0
  478   43574 [main] tac 320 __get_lcid_from_locale: LCID=0x0409
  139   43713 [main] tac 320 __get_lcid_from_locale: LCID=0x0409
  149   43862 [main] tac 320 __get_lcid_from_locale: LCID=0x0409
  128   43990 [main] tac 320 __get_lcid_from_locale: LCID=0x0409
  103   44093 [main] tac 320 __get_lcid_from_locale: LCID=0x0409
  115   44208 [main] tac 320 __get_lcid_from_locale: LCID=0x0409
  528   44736 [main] tac 320 isatty: 0 = isatty(1)
  189   44925 [main] tac 320 fcntl64: fcntl(1, 3, ...)
   34   44959 [main] tac 320 fhandler_base::fcntl: GETFL: 0x10001
   32   44991 [main] tac 320 fcntl64: 65537 = fcntl(1, 3, 0xFFFFCABC)
  205   45196 [main] tac 320 dup2: 0 = dup2(0, 0)
  247   45443 [main] tac 320 fcntl64: fcntl(1, 3, ...)
   32   45475 [main] tac 320 fhandler_base::fcntl: GETFL: 0x10001
   35   45510 [main] tac 320 fcntl64: 65537 = fcntl(1, 3, 0x0)
   34   45544 [main] tac 320 fcntl64: fcntl(1, 4, ...)
   85   45629 [main] tac 320 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   32   45661 [main] tac 320 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   88   45749 [main] tac 320 fhandler_base::set_flags: filemode set to binary
   31   45780 [main] tac 320 fcntl64: 0 = fcntl(1, 4, 0x10601)
   31   45811 [main] tac 320 isatty: 0 = isatty(1)
   32   45843 [main] tac 320 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   31   45874 [main] tac 320 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   31   45905 [main] tac 320 fhandler_base::set_flags: filemode set to binary
   32   45937 [main] tac 320 _setmode: (1<\??\C:\cygwin64\home\wagnerc\cat_straces.txt>, 0x10000) returning binary
   33   45970 [main] tac 320 _cygwin_istext_for_stdio: fd 1: opened as binary
   80   46050 [main] tac 320 open: open(new_benchmarks.pl, 0x10000)
   32   46082 [main] tac 320 normalize_posix_path: src new_benchmarks.pl
   31   46113 [main] tac 320 cwdstuff::get: posix /home/wagnerc
   32   46145 [main] tac 320 cwdstuff::get: (/home/wagnerc) = cwdstuff::get (0x600000010, 32768, 1, 0), errno 0
   32   46177 [main] tac 320 normalize_posix_path: /home/wagnerc/new_benchmarks.pl = normalize_posix_path (new_benchmarks.pl)
   32   46209 [main] tac 320 mount_info::conv_to_win32_path: conv_to_win32_path (/home/wagnerc/new_benchmarks.pl)
   32   46241 [main] tac 320 mount_info::cygdrive_win32_path: src '/home/wagnerc/new_benchmarks.pl', dst ''
   32   46273 [main] tac 320 mount_info::conv_to_win32_path: src_path /home/wagnerc/new_benchmarks.pl, dst C:\cygwin64\home\wagnerc\new_benchmarks.pl, flags 0x30008, rc 0
   83   46356 [main] tac 320 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\home\wagnerc\new_benchmarks.pl)
   47   46403 [main] tac 320 symlink_info::check: not a symlink
   48   46451 [main] tac 320 symlink_info::check: 0 = symlink.check(C:\cygwin64\home\wagnerc\new_benchmarks.pl, 0xFFFFB820) (mount_flags 0x30008, path_flags 0x0)
   35   46486 [main] tac 320 path_conv::check: this->path(C:\cygwin64\home\wagnerc\new_benchmarks.pl), has_acls(1)
   35   46521 [main] tac 320 build_fh_pc: fh 0x180336290, dev 000000C3
   38   46559 [main] tac 320 fhandler_base::open: (\??\C:\cygwin64\home\wagnerc\new_benchmarks.pl, 0x118000)
  112   46671 [main] tac 320 fhandler_base::set_flags: flags 0x118000, supplied_bin 0x10000
   35   46706 [main] tac 320 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   32   46738 [main] tac 320 fhandler_base::set_flags: filemode set to binary
   31   46769 [main] tac 320 fhandler_base::open: 0x0 = NtCreateFile (0x1A4, 0x80100000, \??\C:\cygwin64\home\wagnerc\new_benchmarks.pl, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
   33   46802 [main] tac 320 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin64\home\wagnerc\new_benchmarks.pl, 0x118000)
   32   46834 [main] tac 320 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin64\home\wagnerc\new_benchmarks.pl, 0x18000)
   38   46872 [main] tac 320 open: 3 = open(new_benchmarks.pl, 0x18000)
   39   46911 [main] tac 320 fhandler_base::lseek: setting file pointer to 259
   34   46945 [main] tac 320 lseek64: 259 = lseek(3, 0, 2)
   32   46977 [main] tac 320 isatty: 0 = isatty(3)
   31   47008 [main] tac 320 fhandler_base::lseek: setting file pointer to 0
   32   47040 [main] tac 320 lseek64: 0 = lseek(3, 0, 0)
   34   47074 [main] tac 320 read: read(3, 0x600052991, 8192) blocking
   51   47125 [main] tac 320 fhandler_base::read: returning 259, binary mode
   34   47159 [main] tac 320 read: 259 = read(3, 0x600052991, 259)
   36   47195 [main] tac 320 close: close(3)
   37   47232 [main] tac 320 fhandler_base::close: closing '/home/wagnerc/new_benchmarks.pl' handle 0x1A4
   43   47275 [main] tac 320 close: 0 = close(3)
  981   48256 [main] tac 320 pwdgrp::fetch_account_from_windows: line: <Administrators:S-1-5-32-544:544:>
   61   48317 [main] tac 320 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin64\home\wagnerc\cat_straces.txt, 0xFFFFC8B0) st_size=44900, st_mode=0100775, st_ino=321162948427145611st_atim=5C9AEC65.16A550E4 st_ctim=5C9AED12.4F58DDC st_mtim=5C9AED12.4F58DDC st_birthtim=5C9AEC65.16A550E4
  120   48437 [main] tac 320 fstat64: 0 = fstat(1, 0xFFFFC8B0)


} );
grep_blk   => sub { grep {!defined} @error },
grep_exp   => sub { grep  !defined, @error },
cmpthese( -2, {
@error = ("foo", undef, "bar", (undef)x1E6);
print "$^V\n";
use Benchmark "cmpthese";


use warnings;
use strict;
#!/usr/bin/perl
  403   48840 [main] tac 320 write: 259 = write(1, 0x6000569F0, 259)
   73   48913 [main] tac 320 close: close(1)
   68   48981 [main] tac 320 fhandler_base::close: closing '/home/wagnerc/cat_straces.txt' handle 0x1F0
   36   49017 [main] tac 320 close: 0 = close(1)
  769   49786 [main] tac 320 close: close(2)
   32   49818 [main] tac 320 fhandler_base::close: closing '/home/wagnerc/cat_straces.txt' handle 0x1EC
   33   49851 [main] tac 320 close: 0 = close(2)
  236   50087 [main] tac 320 do_exit: do_exit (0), exit_state 1
   32   50119 [main] tac 320 void: 0x0 = signal (20, 0x1)
   31   50150 [main] tac 320 void: 0x0 = signal (1, 0x1)
   31   50181 [main] tac 320 void: 0x0 = signal (2, 0x1)
   32   50213 [main] tac 320 void: 0x0 = signal (3, 0x1)
   31   50244 [main] tac 320 fhandler_base::close_with_arch: line 1180:  /dev/pty0<0x1803354C0> usecount + -1 = 1
   31   50275 [main] tac 320 fhandler_base::close_with_arch: not closing archetype
   32   50307 [main] tac 320 init_cygheap::close_ctty: closing cygheap->ctty 0x1803354C0
   32   50339 [main] tac 320 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
   31   50370 [main] tac 320 fhandler_pty_slave::cleanup: /dev/pty0 closed, usecount 0
   32   50402 [main] tac 320 fhandler_pty_slave::close: closing last open /dev/pty0 handle
  221   50623 [main] tac 320 fhandler_console::free_console: freed console, res 1
  250   50873 [main] tac 320 fhandler_pty_common::close: pty0 <0x174,0x17C> closing
   35   50908 [main] tac 320 dtable::delete_archetype: deleting element 0 for /dev/pty0(136/0)
   36   50944 [main] tac 320 getpid: 320 = getpid()
   33   50977 [main] tac 320 proc_terminate: nprocs 0
   31   51008 [main] tac 320 proc_terminate: leaving
   57   51065 [main] tac 320 pinfo::exit: Calling dlls.cleanup_forkables n 0x0, exitcode 0x0
  104   51169 [main] tac 320 pinfo::exit: Calling ExitProcess n 0x0, exitcode 0x0
--- Process 3724 thread 10084 exited with status 0x0
--- Process 3724 thread 10264 exited with status 0x0
--- Process 3724 thread 192 exited with status 0x0
--- Process 3724 exited with status 0x0



$ cygcheck -c coreutils cygwin
Cygwin Package Information
Package              Version        Status
coreutils            8.26-2         OK
cygwin               3.0.4-1        OK


$ cygcheck -v cat
Found: C:\cygwin64\bin\cat.exe
Found: C:\cygwin64\bin\cat.exe
C:\cygwin64\bin\cat.exe - os=4.0 img=0.0 sys=5.2
  C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
    "cygwin1.dll" v0.0 ts=2019-03-16 10:50
    C:\Windows\system32\KERNEL32.dll - os=6.1 img=6.1 sys=6.1
      "KERNEL32.dll" v0.0 ts=2019-01-09 02:36
Warning: C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-RtlSupport-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-RtlSupport-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
      C:\Windows\system32\ntdll.dll - os=6.1 img=6.1 sys=6.1
        "ntdll.dll" v0.0 ts=2019-01-09 01:58
      C:\Windows\system32\KERNELBASE.dll - os=6.1 img=6.1 sys=6.1
        "KERNELBASE.dll" v0.0 ts=2019-01-09 02:34
        C:\Windows\system32\ntdll.dll (already done)
Warning: C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-ProcessThreads-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
Warning: C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-Heap-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Heap-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-Memory-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Memory-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-Handle-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Handle-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-Synch-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Synch-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
Warning: C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-File-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-File-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
      C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-IO-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
      C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-ThreadPool-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
Warning: C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-LibraryLoader-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-NamedPipe-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-NamedPipe-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
      C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Misc-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-SysInfo-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-SysInfo-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
      C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Localization-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-String-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-String-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
Warning: C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-Debug-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Debug-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-ErrorHandling-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
      C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Fibers-L1-1-0.dll" v0.0 ts=2019-01-09 01:54
Warning: C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-Util-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Util-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
Warning: C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll hides C:\Program Files\TortoiseSVN\bin\API-MS-Win-Core-Profile-L1-1-0.dll
      C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Core-Profile-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
      C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll - os=6.1 img=6.1 sys=6.1
        "API-MS-Win-Security-Base-L1-1-0.dll" v0.0 ts=2019-01-09 01:55
    C:\Windows\system32\ntdll.dll (already done)
  C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
    "cygintl-8.dll" v0.0 ts=2016-10-23 07:17
    C:\cygwin64\bin\cygwin1.dll (already done)
    C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
      "cygiconv-2.dll" v0.0 ts=2015-02-20 17:07
      C:\cygwin64\bin\cygwin1.dll (already done)
      C:\Windows\system32\KERNEL32.dll (already done)
    C:\Windows\system32\KERNEL32.dll (already done)
  C:\Windows\system32\KERNEL32.dll (already done)



$ /usr/bin/cat.exe new_benchmarks.pl

$ echo $?
3


$ /usr/bin/tac.exe new_benchmarks.pl

...

$ echo $?
0
--
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