Hi,
See top of file (strace.attach2pid.grep) to learn how I applied
strace.
Regards,
Henri
terminal 1:
64-@@ grep . < fifo
terminal 2:
64-@@ strace -o bah --mask=syscall -p 5460 # Cygwin pid of the above process
terminal 3:
64-@@ echo aaa > fifo
Result: look for lseek64
--- Process 5460 created
--- Process 5460 loaded C:\Windows\System32\ntdll.dll at 0000000076d10000
--- Process 5460 thread 5632 created
--- Process 5460 loaded C:\Windows\System32\kernel32.dll at 0000000076bf0000
--- Process 5460 loaded C:\Windows\System32\KernelBase.dll at 000007fefca50000
--- Process 5460 loaded E:\Cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 5460 loaded E:\Cygwin64\bin\cygiconv-2.dll at 00000003f7df0000
--- Process 5460 loaded E:\Cygwin64\bin\cygintl-8.dll at 00000003f2540000
--- Process 5460 loaded E:\Cygwin64\bin\cygreadline7.dll at 00000003f0a20000
--- Process 5460 loaded E:\Cygwin64\bin\cygncursesw-10.dll at 00000003f1c20000
--- Process 5460 loaded C:\Windows\System32\advapi32.dll at 000007fefeed0000
--- Process 5460 loaded C:\Windows\System32\msvcrt.dll at 000007fefe320000
--- Process 5460 loaded C:\Windows\System32\sechost.dll at 000007fefe3c0000
--- Process 5460 loaded C:\Windows\System32\rpcrt4.dll at 000007fefecd0000
--- Process 5460 loaded C:\Windows\System32\cryptbase.dll at 000007fefc750000
--- Process 5460 thread 2824 created
--- Process 5460 thread 2824 exited with status 0x0
7151933 7151933 [main] bash 5460 open: 3 = open(fifo, 0x8000)
1142 7153075 [main] bash 5460 close: close(0)
399 7153474 [main] bash 5460 close: 0 = close(0)
157 7153631 [main] bash 5460 dtable::dup3: 0 = dup3(3, 0, 0x0)
134 7153765 [main] bash 5460 dup2: 0 = dup2(3, 0)
82 7153847 [main] bash 5460 close: close(3)
98 7153945 [main] bash 5460 fhandler_base::close: closing '/home/Henri/fifo'
handle 0x124
83 7154028 [main] bash 5460 close: 0 = close(3)
132 7154160 [main] bash 5460 spawnve: spawnve (/usr/bin/grep, grep,
0x60004FE40)
57 7154217 [main] bash 5460 child_info_spawn::worker: mode = 3, prog_arg =
/usr/bin/grep
96 7154313 [main] bash 5460 normalize_posix_path: src /usr/bin/grep
536 7154849 [main] bash 5460 symlink_info::check: not a symlink
86 7154935 [main] bash 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\bin\grep.exe, 0xFFFFA8B0) (0x2000A)
1611 7156546 [main] bash 5460 normalize_posix_path: src /usr/local/bin
392 7156938 [main] bash 5460 symlink_info::check: not a symlink
76 7157014 [main] bash 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\local\bin, 0xFFFFA1C0) (0x83000A)
105 7157119 [main] bash 5460 normalize_posix_path: src /usr/bin
313 7157432 [main] bash 5460 symlink_info::check: not a symlink
73 7157505 [main] bash 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\bin, 0xFFFFA1C0) (0x82000A)
102 7157607 [main] bash 5460 normalize_posix_path: src /drv/c/WINDOWS/system32
377 7157984 [main] bash 5460 symlink_info::check: not a symlink
78 7158062 [main] bash 5460 symlink_info::check: 0 =
symlink.check(C:\WINDOWS\system32, 0xFFFFA1C0) (0x804022)
101 7158163 [main] bash 5460 normalize_posix_path: src /drv/c/WINDOWS
357 7158520 [main] bash 5460 symlink_info::check: not a symlink
74 7158594 [main] bash 5460 symlink_info::check: 0 =
symlink.check(C:\WINDOWS, 0xFFFFA1C0) (0x804022)
102 7158696 [main] bash 5460 normalize_posix_path: src
/drv/c/WINDOWS/System32/Wbem
354 7159050 [main] bash 5460 symlink_info::check: not a symlink
72 7159122 [main] bash 5460 symlink_info::check: 0 =
symlink.check(C:\WINDOWS\System32\Wbem, 0xFFFFA1C0) (0x804022)
101 7159223 [main] bash 5460 normalize_posix_path: src /home/Henri/bin
306 7159529 [main] bash 5460 symlink_info::check: not a symlink
69 7159598 [main] bash 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\home\Henri\bin, 0xFFFFA1C0) (0x83000A)
--- Process 5460 loaded C:\Windows\System32\apphelp.dll at 000007fefc6b0000
--- Process 820 created
4517 7164115 [main] bash 5460 child_info_spawn::worker: pid 5460, prog_arg
/usr/bin/grep, cmd line (null))
--- Process 820 loaded C:\Windows\System32\ntdll.dll at 0000000076d10000
--- Process 820 loaded C:\Windows\System32\kernel32.dll at 0000000076bf0000
--- Process 820 loaded C:\Windows\System32\KernelBase.dll at 000007fefca50000
--- Process 820 loaded E:\Cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 820 loaded E:\Cygwin64\bin\cygiconv-2.dll at 00000003f7df0000
--- Process 820 loaded E:\Cygwin64\bin\cygintl-8.dll at 00000003f2540000
--- Process 820 loaded E:\Cygwin64\bin\cygpcre-1.dll at 00000003f16c0000
--- Process 820 loaded C:\Windows\System32\advapi32.dll at 000007fefeed0000
--- Process 820 loaded C:\Windows\System32\msvcrt.dll at 000007fefe320000
--- Process 820 loaded C:\Windows\System32\sechost.dll at 000007fefe3c0000
--- Process 820 loaded C:\Windows\System32\rpcrt4.dll at 000007fefecd0000
--- Process 820 loaded C:\Windows\System32\cryptbase.dll at 000007fefc750000
5899 5899 [main] grep (820) sigprocmask: 0 = sigprocmask (0, 0x0,
0x1802F9BF0)
20906 7185021 [main] bash 5460! fhandler_base::close: closing
'/home/Henri/fifo' handle 0x138
--- Process 5460 thread 3916 exited with status 0x0
--- Process 5460 exited with status 0x0
--- Process 820 thread 4856 created
2391 8290 [main] grep 5460 time: 1538739969 = time(0x0)
142 8432 [main] grep 5460 sigprocmask: 0 = sigprocmask (0, 0x0,
0x600000100)
220 8652 [main] grep 5460 _cygwin_istext_for_stdio: fd 0: opened as binary
35 8687 [main] grep 5460 _cygwin_istext_for_stdio: fd 1: opened as binary
32 8719 [main] grep 5460 _cygwin_istext_for_stdio: fd 2: opened as binary
31489 40208 [main] grep 5460 time: 1538739969 = time(0x0)
252 40460 [main] grep 5460 stat64: entering
156 40616 [main] grep 5460 normalize_posix_path: src /dev
377 40993 [main] grep 5460 symlink_info::check: not a symlink
56 41049 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\dev, 0xFFFFB740) (0x43000A)
276 41325 [main] grep 5460 fhandler_base::fstat_helper: 0 = fstat
(\??\E:\Cygwin64\dev, 0x1802F9A60) st_size=0, st_mode=040755,
st_ino=6755399441107294st_atim=578E3ADD.13D4C4BC st_ctim=578E3ADD.13D4C4BC
st_mtim=578E3ADD.13D4C4BC st_birthtim=578E3A68.314F50C
67 41392 [main] grep 5460 stat_worker: 0 =
(\??\E:\Cygwin64\dev,0x1802F9A60)
85 41477 [main] grep 5460 fstat64: 0 = fstat(1, 0xFFFFCAE0)
62 41539 [main] grep 5460 stat64: entering
60 41599 [main] grep 5460 normalize_posix_path: src /dev/null
266 41865 [main] grep 5460 time: 1538739969 = time(0x0)
63 41928 [main] grep 5460 stat_worker: 0 = (\Device\Null,0xFFFFCB60)
5156 47084 [main] grep 5460 isatty: 1 = isatty(1)
277 47361 [main] grep 5460 fhandler_base::fstat_helper: 0 = fstat
(\??\E:\Cygwin64\home\Henri\fifo.lnk, 0xFFFFC8C0) st_size=0, st_mode=010666,
st_ino=11258999068428677st_atim=5BB59AD5.1CD30100 st_ctim=5BB59AD5.1CD30100
st_mtim=5BB59AD5.1CD30100 st_birthtim=5BB59AD5.1CD30100
60 47421 [main] grep 5460 fstat64: 0 = fstat(0, 0xFFFFC8C0)
63 47484 [main] grep 5460 isatty: 0 = isatty(0)
141 47625 [main] grep 5460 fcntl64: 98304 = fcntl(0, 3, 0x0)
114 47739 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:1080
status 0xC000000D -> windows error 87
65 47804 [main] grep 5460 geterrno_from_win_error: windows error 87 ==
errno 22 <===== EINVAL!
61 47865 [main] grep 5460 lseek64: -1 = lseek(0, 0, 1), errno 22
----- invoked from reset() in src/grep.c ?????
1075 48940 [main] grep 5460 open: open(/usr/share/locale/locale.alias, 0x0)
57 48997 [main] grep 5460 normalize_posix_path: src
/usr/share/locale/locale.alias
906 49903 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\locale.alias, 0xFFFFAF30) (0x3000A)
180 50083 [main] grep 5460 symlink_info::check: not a symlink
50 50133 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale, 0xFFFFAF30) (0x3000A)
96 50229 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\locale\locale.alias, 0x108000)
58 50287 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC0000034 -> windows error 2
32 50319 [main] grep 5460 geterrno_from_win_error: windows error 2 ==
errno 2
55 50374 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\locale\locale.alias, 0x108000)
35 50409 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\locale\locale.alias, 0x8000)
42 50451 [main] grep 5460 open: -1 = open(/usr/share/locale/locale.alias,
0x8000), errno 2
225 50676 [main] grep 5460 open: open(/usr/local/share/locale/locale.alias,
0x0)
30 50706 [main] grep 5460 normalize_posix_path: src
/usr/local/share/locale/locale.alias
205 50911 [main] grep 5460 symlink_info::check: not a symlink
28 50939 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\local\share\locale\locale.alias, 0xFFFFAF20)
(0x3000A)
170 51109 [main] grep 5460 symlink_info::check: not a symlink
28 51137 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\local\share\locale, 0xFFFFAF20) (0x3000A)
230 51367 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\local\share, 0xFFFFAF20) (0x3000A)
154 51521 [main] grep 5460 symlink_info::check: not a symlink
45 51566 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\local, 0xFFFFAF20) (0x3000A)
85 51651 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\local\share\locale\locale.alias, 0x108000)
53 51704 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC000003A -> windows error 3
35 51739 [main] grep 5460 geterrno_from_win_error: windows error 3 ==
errno 2
54 51793 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\local\share\locale\locale.alias,
0x108000)
31 51824 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\local\share\locale\locale.alias,
0x8000)
32 51856 [main] grep 5460 open: -1 =
open(/usr/local/share/locale/locale.alias, 0x8000), errno 2
223 52079 [main] grep 5460 open: open(/usr/share/X11/locale/locale.alias,
0x0)
31 52110 [main] grep 5460 normalize_posix_path: src
/usr/share/X11/locale/locale.alias
186 52296 [main] grep 5460 symlink_info::check: not a symlink
44 52340 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\X11\locale\locale.alias, 0xFFFFAF20)
(0x3000A)
85 52425 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\X11\locale\locale.alias, 0x108000)
120 52545 [main] grep 5460 fhandler_base::set_flags: filemode set to binary
55 52600 [main] grep 5460 fhandler_base::open: 1 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\X11\locale\locale.alias, 0x108000)
31 52631 [main] grep 5460 fhandler_base::open_fs: 1 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\X11\locale\locale.alias,
0x8000)
32 52663 [main] grep 5460 open: 3 =
open(/usr/share/X11/locale/locale.alias, 0x8000)
131 52794 [main] grep 5460 _cygwin_istext_for_stdio: fd 3: opened as binary
159 52953 [main] grep 5460 fhandler_base::fstat_helper: 0 = fstat
(\??\E:\Cygwin64\usr\share\X11\locale\locale.alias, 0xFFFFC120) st_size=81609,
st_mode=0100644, st_ino=1407374883573362st_atim=5959EFF4.2C16EFDC
st_ctim=5959EFF4.2C16EFDC st_mtim=59472E3C.0 st_birthtim=5959EFF4.2C16EFDC
36 52989 [main] grep 5460 fstat64: 0 = fstat(3, 0xFFFFC120)
58 53047 [main] grep 5460 read: read(3, 0x60005B380, 65536) blocking
108 53155 [main] grep 5460 read: 65536 = read(3, 0x60005B380, 65536)
2770 55925 [main] grep 5460 read: read(3, 0x60005B380, 65536) blocking
71 55996 [main] grep 5460 read: 16073 = read(3, 0x60005B380, 16073)
643 56639 [main] grep 5460 read: read(3, 0x60005B380, 65536) blocking
57 56696 [main] grep 5460 read: 0 = read(3, 0x60005B380, 0)
31 56727 [main] grep 5460 close: close(3)
31 56758 [main] grep 5460 fhandler_base::close: closing
'/usr/share/X11/locale/locale.alias' handle 0x134
42 56800 [main] grep 5460 close: 0 = close(3)
5411 62211 [main] grep 5460 open:
open(/usr/share/locale/en_US.UTF-8/LC_MESSAGES/grep.mo, 0x10000)
61 62272 [main] grep 5460 normalize_posix_path: src
/usr/share/locale/en_US.UTF-8/LC_MESSAGES/grep.mo
318 62590 [main] grep 5460 symlink_info::check: not a symlink
54 62644 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US.UTF-8\LC_MESSAGES\grep.mo,
0xFFFFB110) (0x3000A)
281 62925 [main] grep 5460 symlink_info::check: not a symlink
54 62979 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US.UTF-8\LC_MESSAGES, 0xFFFFB110)
(0x3000A)
324 63303 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US.UTF-8, 0xFFFFB110) (0x3000A)
199 63502 [main] grep 5460 symlink_info::check: not a symlink
62 63564 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale, 0xFFFFB110) (0x3000A)
111 63675 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\locale\en_US.UTF-8\LC_MESSAGES\grep.mo, 0x118000)
74 63749 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC000003A -> windows error 3
45 63794 [main] grep 5460 geterrno_from_win_error: windows error 3 ==
errno 2
69 63863 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\locale\en_US.UTF-8\LC_MESSAGES\grep.mo,
0x118000)
31 63894 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\locale\en_US.UTF-8\LC_MESSAGES\grep.mo,
0x18000)
35 63929 [main] grep 5460 open: -1 =
open(/usr/share/locale/en_US.UTF-8/LC_MESSAGES/grep.mo, 0x18000), errno 2
82 64011 [main] grep 5460 open:
open(/usr/share/locale/en_US.utf8/LC_MESSAGES/grep.mo, 0x10000)
30 64041 [main] grep 5460 normalize_posix_path: src
/usr/share/locale/en_US.utf8/LC_MESSAGES/grep.mo
201 64242 [main] grep 5460 symlink_info::check: not a symlink
30 64272 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US.utf8\LC_MESSAGES\grep.mo,
0xFFFFB110) (0x3000A)
170 64442 [main] grep 5460 symlink_info::check: not a symlink
29 64471 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US.utf8\LC_MESSAGES, 0xFFFFB110)
(0x3000A)
408 64879 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US.utf8, 0xFFFFB110) (0x3000A)
295 65174 [main] grep 5460 symlink_info::check: not a symlink
85 65259 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale, 0xFFFFB110) (0x3000A)
169 65428 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\locale\en_US.utf8\LC_MESSAGES\grep.mo, 0x118000)
90 65518 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC000003A -> windows error 3
69 65587 [main] grep 5460 geterrno_from_win_error: windows error 3 ==
errno 2
81 65668 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\locale\en_US.utf8\LC_MESSAGES\grep.mo,
0x118000)
40 65708 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\locale\en_US.utf8\LC_MESSAGES\grep.mo,
0x18000)
45 65753 [main] grep 5460 open: -1 =
open(/usr/share/locale/en_US.utf8/LC_MESSAGES/grep.mo, 0x18000), errno 2
108 65861 [main] grep 5460 open:
open(/usr/share/locale/en_US/LC_MESSAGES/grep.mo, 0x10000)
66 65927 [main] grep 5460 normalize_posix_path: src
/usr/share/locale/en_US/LC_MESSAGES/grep.mo
340 66267 [main] grep 5460 symlink_info::check: not a symlink
52 66319 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US\LC_MESSAGES\grep.mo,
0xFFFFB110) (0x3000A)
272 66591 [main] grep 5460 symlink_info::check: not a symlink
54 66645 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US\LC_MESSAGES, 0xFFFFB110)
(0x3000A)
350 66995 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en_US, 0xFFFFB110) (0x3000A)
281 67276 [main] grep 5460 symlink_info::check: not a symlink
87 67363 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale, 0xFFFFB110) (0x3000A)
137 67500 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\locale\en_US\LC_MESSAGES\grep.mo, 0x118000)
69 67569 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC000003A -> windows error 3
67 67636 [main] grep 5460 geterrno_from_win_error: windows error 3 ==
errno 2
78 67714 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\locale\en_US\LC_MESSAGES\grep.mo,
0x118000)
42 67756 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\locale\en_US\LC_MESSAGES\grep.mo,
0x18000)
43 67799 [main] grep 5460 open: -1 =
open(/usr/share/locale/en_US/LC_MESSAGES/grep.mo, 0x18000), errno 2
109 67908 [main] grep 5460 open:
open(/usr/share/locale/en.UTF-8/LC_MESSAGES/grep.mo, 0x10000)
41 67949 [main] grep 5460 normalize_posix_path: src
/usr/share/locale/en.UTF-8/LC_MESSAGES/grep.mo
286 68235 [main] grep 5460 symlink_info::check: not a symlink
52 68287 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en.UTF-8\LC_MESSAGES\grep.mo,
0xFFFFB110) (0x3000A)
247 68534 [main] grep 5460 symlink_info::check: not a symlink
54 68588 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en.UTF-8\LC_MESSAGES, 0xFFFFB110)
(0x3000A)
341 68929 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en.UTF-8, 0xFFFFB110) (0x3000A)
232 69161 [main] grep 5460 symlink_info::check: not a symlink
67 69228 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale, 0xFFFFB110) (0x3000A)
110 69338 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\locale\en.UTF-8\LC_MESSAGES\grep.mo, 0x118000)
61 69399 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC000003A -> windows error 3
44 69443 [main] grep 5460 geterrno_from_win_error: windows error 3 ==
errno 2
70 69513 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\locale\en.UTF-8\LC_MESSAGES\grep.mo,
0x118000)
38 69551 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\locale\en.UTF-8\LC_MESSAGES\grep.mo,
0x18000)
42 69593 [main] grep 5460 open: -1 =
open(/usr/share/locale/en.UTF-8/LC_MESSAGES/grep.mo, 0x18000), errno 2
100 69693 [main] grep 5460 open:
open(/usr/share/locale/en.utf8/LC_MESSAGES/grep.mo, 0x10000)
39 69732 [main] grep 5460 normalize_posix_path: src
/usr/share/locale/en.utf8/LC_MESSAGES/grep.mo
251 69983 [main] grep 5460 symlink_info::check: not a symlink
39 70022 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en.utf8\LC_MESSAGES\grep.mo,
0xFFFFB110) (0x3000A)
216 70238 [main] grep 5460 symlink_info::check: not a symlink
40 70278 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en.utf8\LC_MESSAGES, 0xFFFFB110)
(0x3000A)
296 70574 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en.utf8, 0xFFFFB110) (0x3000A)
195 70769 [main] grep 5460 symlink_info::check: not a symlink
55 70824 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale, 0xFFFFB110) (0x3000A)
106 70930 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\locale\en.utf8\LC_MESSAGES\grep.mo, 0x118000)
59 70989 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC000003A -> windows error 3
45 71034 [main] grep 5460 geterrno_from_win_error: windows error 3 ==
errno 2
69 71103 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\locale\en.utf8\LC_MESSAGES\grep.mo,
0x118000)
43 71146 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\locale\en.utf8\LC_MESSAGES\grep.mo,
0x18000)
45 71191 [main] grep 5460 open: -1 =
open(/usr/share/locale/en.utf8/LC_MESSAGES/grep.mo, 0x18000), errno 2
101 71292 [main] grep 5460 open:
open(/usr/share/locale/en/LC_MESSAGES/grep.mo, 0x10000)
38 71330 [main] grep 5460 normalize_posix_path: src
/usr/share/locale/en/LC_MESSAGES/grep.mo
493 71823 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en\LC_MESSAGES\grep.mo, 0xFFFFB110)
(0x3000A)
196 72019 [main] grep 5460 symlink_info::check: not a symlink
58 72077 [main] grep 5460 symlink_info::check: 0 =
symlink.check(E:\Cygwin64\usr\share\locale\en\LC_MESSAGES, 0xFFFFB110) (0x3000A)
96 72173 [main] grep 5460 fhandler_base::open:
(\??\E:\Cygwin64\usr\share\locale\en\LC_MESSAGES\grep.mo, 0x118000)
49 72222 [main] grep 5460 seterrno_from_nt_status:
/ext/build/mknetrel/src/cygwin-snapshot-20180901-1/winsup/cygwin/fhandler.cc:683
status 0xC0000034 -> windows error 2
32 72254 [main] grep 5460 geterrno_from_win_error: windows error 2 ==
errno 2
55 72309 [main] grep 5460 fhandler_base::open: 0 =
fhandler_base::open(\??\E:\Cygwin64\usr\share\locale\en\LC_MESSAGES\grep.mo,
0x118000)
30 72339 [main] grep 5460 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\E:\Cygwin64\usr\share\locale\en\LC_MESSAGES\grep.mo,
0x18000)
32 72371 [main] grep 5460 open: -1 =
open(/usr/share/locale/en/LC_MESSAGES/grep.mo, 0x18000), errno 2
581 72952 [main] grep 5460 write: 4 = write(2, 0x180325A68, 4)
150 73102 [main] grep 5460 write: 1 = write(2, 0x18023CD21, 1)
149 73251 [main] grep 5460 write: 1 = write(2, 0x18023CD15, 1)
251 73502 [main] grep 5460 write: 16 = write(2, 0x10042B0AA, 16)
246 73748 [main] grep 5460 write: 2 = write(2, 0x18023CD25, 2)
150 73898 [main] grep 5460 write: 16 = write(2, 0x18023D040, 16)
334 74232 [main] grep 5460 write: 1 = write(2, 0x18020F9C7, 1)
263 74495 [main] grep 5460 close: close(1)
76 74571 [main] grep 5460 close: 0 = close(1)
245 74816 [main] grep 5460 close: close(2)
74 74890 [main] grep 5460 close: 0 = close(2)
239 75129 [main] grep 5460 do_exit: do_exit (512), exit_state 1
29 75158 [main] grep 5460 void: 0x0 = signal (20, 0x1)
30 75188 [main] grep 5460 void: 0x0 = signal (1, 0x1)
28 75216 [main] grep 5460 void: 0x0 = signal (2, 0x1)
30 75246 [main] grep 5460 void: 0x0 = signal (3, 0x1)
41 75287 [main] grep 5460 fhandler_base::close: closing '/home/Henri/fifo'
handle 0x138
319 75606 [main] grep 5460 getpid: 5460 = getpid()
--- Process 820 thread 5808 exited with status 0x200
--- Process 820 exited with status 0x200