public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin application hangs on closing console
@ 2024-04-22 12:50 Johannes Khoshnazar-Thoma
  2024-04-22 18:51 ` Takashi Yano
  0 siblings, 1 reply; 12+ messages in thread
From: Johannes Khoshnazar-Thoma @ 2024-04-22 12:50 UTC (permalink / raw)
  To: The Cygwin Mailing List

Hi cygwin team :)

I have found something what may be a cygwin bug. Sometimes
(1 out of 1000 times) a drbdadm.exe process (which is part of WinDRBD's
user mode programs originally written for Linux) hangs for several
days on exiting (closing the console). I got a minidump and analyzed
the dump with gdb (the minidump enabled version at https://github.com/ssbssa/gdb)

I have to note that the application (drbdadm.exe) is run from a
Windows Service. Furthermore it is not a full cygwin installation
however the cygwin1.dll (3.4.10-1) is in the $PATH.

here is the gdb output:

(gdb) info thread
   Id   Target Id         Frame
* 1    Thread 0x14c8     0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   2    Thread 0x2e0      0x00007ffc6a405ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   3    Thread 0x1060     0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   4    Thread 0x858      0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   5    Thread 0xe40      0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) thread 1
[Switching to thread 1 (Thread 0x14c8)]
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffc66826d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\6502815021e000\KERNELBASE.dll
#2  0x00007ffc492ebb42 in fhandler_console::close (this=0x800007f20) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/fhandler/console.cc:1769
#3  0x00007ffc492dc365 in fhandler_base::close_with_arch (this=0x800007f20) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/fhandler/base.cc:1202
#4  0x00007ffc49353640 in init_cygheap::close_ctty (this=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/mm/cygheap.cc:133
#5  0x00007ffc492aee9f in close_all_files (norelease=norelease@entry=false) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/syscalls.cc:81
#6  0x00007ffc49226763 in do_exit (status=0) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:1125
#7  0x00007ffc4922693f in _exit (n=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:1240
#8  0x00007ffc49390899 in exit (code=0) at /usr/src/debug/cygwin-3.4.10-1/newlib/libc/stdlib/exit.c:65
#9  0x00007ffc49226923 in cygwin_exit (n=568) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:1234
#10 0x00007ffc492280aa in dll_crt0_1 () at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:999
#11 0x00007ffc49225c86 in _cygtls::call2 (this=0x7ffffce00, func=0x7ffc49226f80 <dll_crt0_1(void*)>, arg=0x0, buf=buf@entry=0x7ffffcdf0) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:41
#12 0x00007ffc49225d34 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:28
#13 0x0000000000000000 in ?? ()
(gdb) thread 1
[Switching to thread 1 (Thread 0x14c8)]
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) info thread
   Id   Target Id         Frame
* 1    Thread 0x14c8     0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   2    Thread 0x2e0      0x00007ffc6a405ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   3    Thread 0x1060     0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   4    Thread 0x858      0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   5    Thread 0xe40      0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffc66826d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\6502815021e000\KERNELBASE.dll
#2  0x00007ffc492ebb42 in fhandler_console::close (this=0x800007f20) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/fhandler/console.cc:1769
#3  0x00007ffc492dc365 in fhandler_base::close_with_arch (this=0x800007f20) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/fhandler/base.cc:1202
#4  0x00007ffc49353640 in init_cygheap::close_ctty (this=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/mm/cygheap.cc:133
#5  0x00007ffc492aee9f in close_all_files (norelease=norelease@entry=false) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/syscalls.cc:81
#6  0x00007ffc49226763 in do_exit (status=0) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:1125
#7  0x00007ffc4922693f in _exit (n=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:1240
#8  0x00007ffc49390899 in exit (code=0) at /usr/src/debug/cygwin-3.4.10-1/newlib/libc/stdlib/exit.c:65
#9  0x00007ffc49226923 in cygwin_exit (n=568) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:1234
#10 0x00007ffc492280aa in dll_crt0_1 () at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/dcrt0.cc:999
#11 0x00007ffc49225c86 in _cygtls::call2 (this=0x7ffffce00, func=0x7ffc49226f80 <dll_crt0_1(void*)>, arg=0x0, buf=buf@entry=0x7ffffcdf0) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:41
#12 0x00007ffc49225d34 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:28
#13 0x0000000000000000 in ?? ()
(gdb) thread 2
[Switching to thread 2 (Thread 0x2e0)]
#0  0x00007ffc6a405ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffc6a405ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffc6682e704 in ReadFile () from C:\src\dlls-syms\KERNELBASE.dll\6502815021e000\KERNELBASE.dll
#2  0x00007ffc4929f541 in wait_sig () at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/sigproc.cc:1331
#3  0x00007ffc49224aa3 in cygthread::callfunc (this=this@entry=0x7ffc49416880 <threads>, issimplestub=issimplestub@entry=false) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygthread.cc:48
#4  0x00007ffc49225066 in cygthread::stub (arg=arg@entry=0x7ffc49416880 <threads>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygthread.cc:91
#5  0x00007ffc49225c86 in _cygtls::call2 (this=0x10ece00, func=0x7ffc49224fe0 <cygthread::stub(void*)>, arg=0x7ffc49416880 <threads>, buf=buf@entry=0x10ecd50) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:41
#6  0x00007ffc49225d34 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:28
#7  0x00007ffc691584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#8  0x00007ffc6a3b1791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#9  0x0000000000000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (Thread 0x1060)]
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffc66826d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\6502815021e000\KERNELBASE.dll
#2  0x00007ffc492250a1 in cygthread::stub (arg=arg@entry=0x7ffc494168d8 <threads+88>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygthread.cc:112
#3  0x00007ffc49225c86 in _cygtls::call2 (this=0x19bce00, func=0x7ffc49224fe0 <cygthread::stub(void*)>, arg=0x7ffc494168d8 <threads+88>, buf=buf@entry=0x19bcd50) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:41
#4  0x00007ffc49225d34 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:28
#5  0x00007ffc691584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#6  0x00007ffc6a3b1791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#7  0x0000000000000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (Thread 0x858)]
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffc66826d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\6502815021e000\KERNELBASE.dll
#2  0x00007ffc492250a1 in cygthread::stub (arg=arg@entry=0x7ffc49416930 <threads+176>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygthread.cc:112
#3  0x00007ffc49225c86 in _cygtls::call2 (this=0x22fce00, func=0x7ffc49224fe0 <cygthread::stub(void*)>, arg=0x7ffc49416930 <threads+176>, buf=buf@entry=0x22fcd50) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:41
#4  0x00007ffc49225d34 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:28
#5  0x00007ffc691584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#6  0x00007ffc6a3b1791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#7  0x0000000000000000 in ?? ()
(gdb) thread 5
[Switching to thread 5 (Thread 0xe40)]
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffc66826d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\6502815021e000\KERNELBASE.dll
#2  0x00007ffc492250a1 in cygthread::stub (arg=arg@entry=0x7ffc49416988 <threads+264>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygthread.cc:112
#3  0x00007ffc49225c86 in _cygtls::call2 (this=0x24fce00, func=0x7ffc49224fe0 <cygthread::stub(void*)>, arg=0x7ffc49416988 <threads+264>, buf=buf@entry=0x24fcd50) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:41
#4  0x00007ffc49225d34 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/cygtls.cc:28
#5  0x00007ffc691584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#6  0x00007ffc6a3b1791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#7  0x0000000000000000 in ?? ()
(gdb) p master_thread_started
$7 = true
(gdb) thread 1
[Switching to thread 1 (Thread 0x14c8)]
#0  0x00007ffc6a405ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) up
#1  0x00007ffc66826d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\6502815021e000\KERNELBASE.dll
(gdb)
#2  0x00007ffc492ebb42 in fhandler_console::close (this=0x800007f20) at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/fhandler/console.cc:1769
1769    in /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/fhandler/console.cc
(gdb) p name
$8 = "cygcons.thread_sync.0", '\000' <repeats 19 times>, "r", '\000' <repeats 151 times>, "^8\025\r!‘\000\000"...
(gdb) p myself
$9 = {<pinfo_minimal> = {h = 0x118, hProcess = 0x0, rd_proc_pipe = 0x0}, destroy = false, winpid_hdl = 0x11c, procinfo = 0x1a2000000, waiter_ready = false, wait_thread = 0x0}

It looks like the cons_master_thread already exited, maybe clearing the master_thread_started
flag in that case helps? but this is only a wild guess ...

If you need more information, please let me know.

Thanks a lot and Best regards,

- Johannes

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

* Re: cygwin application hangs on closing console
  2024-04-22 12:50 cygwin application hangs on closing console Johannes Khoshnazar-Thoma
@ 2024-04-22 18:51 ` Takashi Yano
  2024-04-23  9:20   ` Johannes Khoshnazar-Thoma
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Yano @ 2024-04-22 18:51 UTC (permalink / raw)
  To: cygwin; +Cc: Johannes Khoshnazar-Thoma

On Mon, 22 Apr 2024 14:50:51 +0200
Johannes Khoshnazar-Thoma wrote:
> Hi cygwin team :)
> 
> I have found something what may be a cygwin bug. Sometimes
> (1 out of 1000 times) a drbdadm.exe process (which is part of WinDRBD's
> user mode programs originally written for Linux) hangs for several
> days on exiting (closing the console). I got a minidump and analyzed
> the dump with gdb (the minidump enabled version at https://github.com/ssbssa/gdb)
> 
> I have to note that the application (drbdadm.exe) is run from a
> Windows Service. Furthermore it is not a full cygwin installation
> however the cygwin1.dll (3.4.10-1) is in the $PATH.

Thanks for the report. Could you please test cygwin1.dll 3.5.3-1
wihch is the latest cygwin release?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

* Re: cygwin application hangs on closing console
  2024-04-22 18:51 ` Takashi Yano
@ 2024-04-23  9:20   ` Johannes Khoshnazar-Thoma
  2024-04-23 10:26     ` Takashi Yano
  0 siblings, 1 reply; 12+ messages in thread
From: Johannes Khoshnazar-Thoma @ 2024-04-23  9:20 UTC (permalink / raw)
  To: cygwin

Am 22.04.24 um 20:51 schrieb Takashi Yano:
> On Mon, 22 Apr 2024 14:50:51 +0200
> Johannes Khoshnazar-Thoma wrote:
>> Hi cygwin team :)
>>
>> I have found something what may be a cygwin bug. Sometimes
>> (1 out of 1000 times) a drbdadm.exe process (which is part of WinDRBD's
>> user mode programs originally written for Linux) hangs for several
>> days on exiting (closing the console). I got a minidump and analyzed
>> the dump with gdb (the minidump enabled version at https://github.com/ssbssa/gdb)
>>
>> I have to note that the application (drbdadm.exe) is run from a
>> Windows Service. Furthermore it is not a full cygwin installation
>> however the cygwin1.dll (3.4.10-1) is in the $PATH.
>
> Thanks for the report. Could you please test cygwin1.dll 3.5.3-1
> wihch is the latest cygwin release?
>
Thanks for your reply.

Yes, sure, will test it with 3.5.3 as well. Due to round trip times
with the client this may take one or 2 weeks, however.

Just wanted to ask if the 3.4 branch is end of life?

Best regards,

- Johannes

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

* Re: cygwin application hangs on closing console
  2024-04-23  9:20   ` Johannes Khoshnazar-Thoma
@ 2024-04-23 10:26     ` Takashi Yano
  2024-05-15 15:37       ` Johannes Khoshnazar-Thoma
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Yano @ 2024-04-23 10:26 UTC (permalink / raw)
  To: cygwin; +Cc: Johannes Khoshnazar-Thoma

On Tue, 23 Apr 2024 11:20:16 +0200
Johannes Khoshnazar-Thoma wrote:
> Am 22.04.24 um 20:51 schrieb Takashi Yano:
> > On Mon, 22 Apr 2024 14:50:51 +0200
> > Johannes Khoshnazar-Thoma wrote:
> >> Hi cygwin team :)
> >>
> >> I have found something what may be a cygwin bug. Sometimes
> >> (1 out of 1000 times) a drbdadm.exe process (which is part of WinDRBD's
> >> user mode programs originally written for Linux) hangs for several
> >> days on exiting (closing the console). I got a minidump and analyzed
> >> the dump with gdb (the minidump enabled version at https://github.com/ssbssa/gdb)
> >>
> >> I have to note that the application (drbdadm.exe) is run from a
> >> Windows Service. Furthermore it is not a full cygwin installation
> >> however the cygwin1.dll (3.4.10-1) is in the $PATH.
> >
> > Thanks for the report. Could you please test cygwin1.dll 3.5.3-1
> > wihch is the latest cygwin release?
> >
> Thanks for your reply.
> 
> Yes, sure, will test it with 3.5.3 as well. Due to round trip times
> with the client this may take one or 2 weeks, however.

Thanks in advance.

> Just wanted to ask if the 3.4 branch is end of life?

3.4 branch: no more bug fix nor release.
3.5 branch: bug fix releases only.
3.6 branch: will be released with new features.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

* Re: cygwin application hangs on closing console
  2024-04-23 10:26     ` Takashi Yano
@ 2024-05-15 15:37       ` Johannes Khoshnazar-Thoma
  2024-05-15 15:48         ` Johannes Khoshnazar-Thoma
  0 siblings, 1 reply; 12+ messages in thread
From: Johannes Khoshnazar-Thoma @ 2024-05-15 15:37 UTC (permalink / raw)
  To: Takashi Yano, cygwin

Hi again,

Am 23.04.24 um 12:26 schrieb Takashi Yano:
>>> Thanks for the report. Could you please test cygwin1.dll 3.5.3-1
>>> wihch is the latest cygwin release?
>>>

We retried the tests with cygwin1.dll 3.5.3-1 and it looks like
the issue is still there. Here's an excerpt from the gdb debug
session:

(gdb) info thread
   Id   Target Id         Frame                                                                                                                                                                                                               * 1    Thread 0x11cc     0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   2    Thread 0x8ec      0x00007ffe579d5ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   3    Thread 0x55c      0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll                                                                                                         4    Thread 0x131c     0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   5    Thread 0x9b8      0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll                                                                                               (gdb) thread 1
[Switching to thread 1 (Thread 0x11cc)]                                                                                                                                                                                                      #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
#2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914
#3  0x00007ffe4a1f6ce7 in fhandler_base::close_with_arch (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/base.cc:1288
#4  0x00007ffe4a26a4cd in init_cygheap::close_ctty (this=0x800000000) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/mm/cygheap.cc:135
#5  0x00007ffe4a1c7c4e in close_all_files (norelease=norelease@entry=false) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/syscalls.cc:81
#6  0x00007ffe4a146840 in do_exit (status=0) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1128
#7  0x00007ffe4a1469f7 in _exit (n=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1243
#8  0x00007ffe4a2a4bb9 in exit (code=0) at /usr/src/debug/cygwin-3.5.3-1/newlib/libc/stdlib/exit.c:65
#9  0x00007ffe4a1469e7 in cygwin_exit (n=5392) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1237
#10 0x00007ffe4a14809a in dll_crt0_1 () at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1002
#11 0x00007ffe4a145e08 in _cygtls::call2 (this=0x7ffffce00, func=0x7ffe4a146fb8 <dll_crt0_1(void*)>, arg=0x0, buf=buf@entry=0x7ffffcdf0) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#12 0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#13 0x0000000000000000 in ?? ()
(gdb) thread 2
[Switching to thread 2 (Thread 0x8ec)]
#0  0x00007ffe579d5ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d5ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe5415e704 in ReadFile () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
#2  0x00007ffe4a1bada6 in wait_sig () at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/sigproc.cc:1324
#3  0x00007ffe4a144d5f in cygthread::callfunc (this=this@entry=0x7ffe4a335560 <threads>, issimplestub=issimplestub@entry=false) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:48
#4  0x00007ffe4a145270 in cygthread::stub (arg=arg@entry=0x7ffe4a335560 <threads>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:91
#5  0x00007ffe4a145e08 in _cygtls::call2 (this=0xdbce00, func=0x7ffe4a1451ea <cygthread::stub(void*)>, arg=0x7ffe4a335560 <threads>, buf=buf@entry=0xdbcd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#6  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#7  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#8  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#9  0x0000000000000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (Thread 0x55c)]
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
#2  0x00007ffe4a1452ab in cygthread::stub (arg=arg@entry=0x7ffe4a3355b8 <threads+88>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:112
#3  0x00007ffe4a145e08 in _cygtls::call2 (this=0x2aece00, func=0x7ffe4a1451ea <cygthread::stub(void*)>, arg=0x7ffe4a3355b8 <threads+88>, buf=buf@entry=0x2aecd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#4  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#5  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#6  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#7  0x0000000000000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (Thread 0x131c)]
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe5794eb5e in ntdll!RtlReleaseSRWLockExclusive () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#2  0x00007ffe4a145e08 in _cygtls::call2 (this=0x323ce00, func=0x7ffe5794e3f0 <ntdll!RtlReleaseSRWLockExclusive+8704>, arg=0xc0b60, buf=buf@entry=0x323cd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#3  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#4  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#5  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#6  0x0000000000000000 in ?? ()
(gdb) thread 5
[Switching to thread 5 (Thread 0x9b8)]
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe5794eb5e in ntdll!RtlReleaseSRWLockExclusive () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#2  0x00007ffe4a145e08 in _cygtls::call2 (this=0x343ce00, func=0x7ffe5794e3f0 <ntdll!RtlReleaseSRWLockExclusive+8704>, arg=0xc0b60, buf=buf@entry=0x343cd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#3  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#4  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#5  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#6  0x0000000000000000 in ?? ()
(gdb) thread 6
Unknown thread 6.
(gdb) thread 1
[Switching to thread 1 (Thread 0x11cc)]
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) up
#1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
(gdb)
#2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914
1914    in /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc
(gdb) p thread_sync_event
$6 = (HANDLE) 0x1510
(gdb) p name
$7 = "cygcons.thread_sync.0", '\000' <repeats 19 times>, "r", '\000' <repeats 183 times>...
(gdb) p con.owner
No symbol "con" in current context.
(gdb) p master_thread_started
$8 = true
(gdb) p unit
$9 = 0
(gdb) p shared_console_info
$10 = {0x1a0030000, 0x0 <repeats 64 times>}
(gdb)

It looks like the master_thread already exited while thread 1 is waiting for some event
to be set (but I am not at all a cygwin expert). The executable (drbdsetup.exe) was running
from a Windows Service.

Please reach out if you need more information.

Best regards,

- Johannes

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

* Re: cygwin application hangs on closing console
  2024-05-15 15:37       ` Johannes Khoshnazar-Thoma
@ 2024-05-15 15:48         ` Johannes Khoshnazar-Thoma
  2024-05-15 20:24           ` Brian Inglis
  2024-05-16  9:14           ` Takashi Yano
  0 siblings, 2 replies; 12+ messages in thread
From: Johannes Khoshnazar-Thoma @ 2024-05-15 15:48 UTC (permalink / raw)
  To: Takashi Yano, cygwin

Hi again,

Am 15.05.24 um 17:37 schrieb Johannes Khoshnazar-Thoma:
> Hi again,
>
> Am 23.04.24 um 12:26 schrieb Takashi Yano:
>>>> Thanks for the report. Could you please test cygwin1.dll 3.5.3-1
>>>> wihch is the latest cygwin release?
>>>>
>
> We retried the tests with cygwin1.dll 3.5.3-1 and it looks like
> the issue is still there. Here's an excerpt from the gdb debug
> session:
>
Sorry somehow the formatting got messed up I try again:

(gdb) info thread
   Id   Target Id         Frame
* 1    Thread 0x11cc     0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   2    Thread 0x8ec      0x00007ffe579d5ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   3    Thread 0x55c      0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   4    Thread 0x131c     0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
   5    Thread 0x9b8      0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) thread 1
[Switching to thread 1 (Thread 0x11cc)]
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
#2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914
#3  0x00007ffe4a1f6ce7 in fhandler_base::close_with_arch (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/base.cc:1288
#4  0x00007ffe4a26a4cd in init_cygheap::close_ctty (this=0x800000000) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/mm/cygheap.cc:135
#5  0x00007ffe4a1c7c4e in close_all_files (norelease=norelease@entry=false) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/syscalls.cc:81
#6  0x00007ffe4a146840 in do_exit (status=0) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1128
#7  0x00007ffe4a1469f7 in _exit (n=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1243
#8  0x00007ffe4a2a4bb9 in exit (code=0) at /usr/src/debug/cygwin-3.5.3-1/newlib/libc/stdlib/exit.c:65
#9  0x00007ffe4a1469e7 in cygwin_exit (n=5392) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1237
#10 0x00007ffe4a14809a in dll_crt0_1 () at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1002
#11 0x00007ffe4a145e08 in _cygtls::call2 (this=0x7ffffce00, func=0x7ffe4a146fb8 <dll_crt0_1(void*)>, arg=0x0, buf=buf@entry=0x7ffffcdf0) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#12 0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#13 0x0000000000000000 in ?? ()
(gdb) thread 2
[Switching to thread 2 (Thread 0x8ec)]
#0  0x00007ffe579d5ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d5ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe5415e704 in ReadFile () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
#2  0x00007ffe4a1bada6 in wait_sig () at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/sigproc.cc:1324
#3  0x00007ffe4a144d5f in cygthread::callfunc (this=this@entry=0x7ffe4a335560 <threads>, issimplestub=issimplestub@entry=false) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:48
#4  0x00007ffe4a145270 in cygthread::stub (arg=arg@entry=0x7ffe4a335560 <threads>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:91
#5  0x00007ffe4a145e08 in _cygtls::call2 (this=0xdbce00, func=0x7ffe4a1451ea <cygthread::stub(void*)>, arg=0x7ffe4a335560 <threads>, buf=buf@entry=0xdbcd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#6  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#7  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#8  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#9  0x0000000000000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (Thread 0x55c)]
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
#2  0x00007ffe4a1452ab in cygthread::stub (arg=arg@entry=0x7ffe4a3355b8 <threads+88>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:112
#3  0x00007ffe4a145e08 in _cygtls::call2 (this=0x2aece00, func=0x7ffe4a1451ea <cygthread::stub(void*)>, arg=0x7ffe4a3355b8 <threads+88>, buf=buf@entry=0x2aecd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#4  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#5  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#6  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#7  0x0000000000000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (Thread 0x131c)]
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe5794eb5e in ntdll!RtlReleaseSRWLockExclusive () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#2  0x00007ffe4a145e08 in _cygtls::call2 (this=0x323ce00, func=0x7ffe5794e3f0 <ntdll!RtlReleaseSRWLockExclusive+8704>, arg=0xc0b60, buf=buf@entry=0x323cd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#3  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#4  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#5  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#6  0x0000000000000000 in ?? ()
(gdb) thread 5
[Switching to thread 5 (Thread 0x9b8)]
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) bt
#0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#1  0x00007ffe5794eb5e in ntdll!RtlReleaseSRWLockExclusive () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#2  0x00007ffe4a145e08 in _cygtls::call2 (this=0x343ce00, func=0x7ffe5794e3f0 <ntdll!RtlReleaseSRWLockExclusive+8704>, arg=0xc0b60, buf=buf@entry=0x343cd50) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#3  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#4  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
#5  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
#6  0x0000000000000000 in ?? ()
(gdb) thread 6
Unknown thread 6.
(gdb) thread 1
[Switching to thread 1 (Thread 0x11cc)]
#0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
(gdb) up
#1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
(gdb)
#2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914
1914    in /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc
(gdb) p thread_sync_event
$6 = (HANDLE) 0x1510
(gdb) p name
$7 = "cygcons.thread_sync.0", '\000' <repeats 19 times>, "r", '\000' <repeats 183 times>...
(gdb) p con.owner
No symbol "con" in current context.
(gdb) p master_thread_started
$8 = true
(gdb) p unit
$9 = 0
(gdb) p shared_console_info
$10 = {0x1a0030000, 0x0 <repeats 64 times>}
(gdb)

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

* Re: cygwin application hangs on closing console
  2024-05-15 15:48         ` Johannes Khoshnazar-Thoma
@ 2024-05-15 20:24           ` Brian Inglis
  2024-05-21 16:23             ` Johannes Khoshnazar-Thoma
  2024-05-16  9:14           ` Takashi Yano
  1 sibling, 1 reply; 12+ messages in thread
From: Brian Inglis @ 2024-05-15 20:24 UTC (permalink / raw)
  To: cygwin

On 2024-05-15 09:48, Johannes Khoshnazar-Thoma via Cygwin wrote:
> Hi again,
> 
> Am 15.05.24 um 17:37 schrieb Johannes Khoshnazar-Thoma:
>> Hi again,
>>
>> Am 23.04.24 um 12:26 schrieb Takashi Yano:
>>>>> Thanks for the report. Could you please test cygwin1.dll 3.5.3-1
>>>>> wihch is the latest cygwin release?
>>>>>
>>
>> We retried the tests with cygwin1.dll 3.5.3-1 and it looks like
>> the issue is still there. Here's an excerpt from the gdb debug
>> session:
>>
> Sorry somehow the formatting got messed up I try again:
> 
> (gdb) info thread
>    Id   Target Id         Frame
> * 1    Thread 0x11cc     0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () 
> from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    2    Thread 0x8ec      0x00007ffe579d5ee4 in ntdll!ZwReadFile () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    3    Thread 0x55c      0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () 
> from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    4    Thread 0x131c     0x00007ffe579d95f4 in 
> ntdll!ZwWaitForWorkViaWorkerFactory () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    5    Thread 0x9b8      0x00007ffe579d95f4 in 
> ntdll!ZwWaitForWorkViaWorkerFactory () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) thread 1
> [Switching to thread 1 (Thread 0x11cc)]
> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) bt
> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #1  0x00007ffe54156d1f in WaitForSingleObjectEx () from 
> C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
> #2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914
> #3  0x00007ffe4a1f6ce7 in fhandler_base::close_with_arch (this=0x800009030) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/base.cc:1288
> #4  0x00007ffe4a26a4cd in init_cygheap::close_ctty (this=0x800000000) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/mm/cygheap.cc:135
> #5  0x00007ffe4a1c7c4e in close_all_files (norelease=norelease@entry=false) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/syscalls.cc:81
> #6  0x00007ffe4a146840 in do_exit (status=0) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1128
> #7  0x00007ffe4a1469f7 in _exit (n=<optimized out>) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1243
> #8  0x00007ffe4a2a4bb9 in exit (code=0) at 
> /usr/src/debug/cygwin-3.5.3-1/newlib/libc/stdlib/exit.c:65
> #9  0x00007ffe4a1469e7 in cygwin_exit (n=5392) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1237
> #10 0x00007ffe4a14809a in dll_crt0_1 () at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:1002
> #11 0x00007ffe4a145e08 in _cygtls::call2 (this=0x7ffffce00, func=0x7ffe4a146fb8 
> <dll_crt0_1(void*)>, arg=0x0, buf=buf@entry=0x7ffffcdf0) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
> #12 0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized 
> out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
> #13 0x0000000000000000 in ?? ()
> (gdb) thread 2
> [Switching to thread 2 (Thread 0x8ec)]
> #0  0x00007ffe579d5ee4 in ntdll!ZwReadFile () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) bt
> #0  0x00007ffe579d5ee4 in ntdll!ZwReadFile () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #1  0x00007ffe5415e704 in ReadFile () from 
> C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
> #2  0x00007ffe4a1bada6 in wait_sig () at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/sigproc.cc:1324
> #3  0x00007ffe4a144d5f in cygthread::callfunc (this=this@entry=0x7ffe4a335560 
> <threads>, issimplestub=issimplestub@entry=false) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:48
> #4  0x00007ffe4a145270 in cygthread::stub (arg=arg@entry=0x7ffe4a335560 
> <threads>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:91
> #5  0x00007ffe4a145e08 in _cygtls::call2 (this=0xdbce00, func=0x7ffe4a1451ea 
> <cygthread::stub(void*)>, arg=0x7ffe4a335560 <threads>, buf=buf@entry=0xdbcd50) 
> at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
> #6  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized 
> out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
> #7  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from 
> C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
> #8  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #9  0x0000000000000000 in ?? ()
> (gdb) thread 3
> [Switching to thread 3 (Thread 0x55c)]
> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) bt
> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #1  0x00007ffe54156d1f in WaitForSingleObjectEx () from 
> C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
> #2  0x00007ffe4a1452ab in cygthread::stub (arg=arg@entry=0x7ffe4a3355b8 
> <threads+88>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:112
> #3  0x00007ffe4a145e08 in _cygtls::call2 (this=0x2aece00, func=0x7ffe4a1451ea 
> <cygthread::stub(void*)>, arg=0x7ffe4a3355b8 <threads+88>, 
> buf=buf@entry=0x2aecd50) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
> #4  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized 
> out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
> #5  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from 
> C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
> #6  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #7  0x0000000000000000 in ?? ()
> (gdb) thread 4
> [Switching to thread 4 (Thread 0x131c)]
> #0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) bt
> #0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #1  0x00007ffe5794eb5e in ntdll!RtlReleaseSRWLockExclusive () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #2  0x00007ffe4a145e08 in _cygtls::call2 (this=0x323ce00, func=0x7ffe5794e3f0 
> <ntdll!RtlReleaseSRWLockExclusive+8704>, arg=0xc0b60, buf=buf@entry=0x323cd50) 
> at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
> #3  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized 
> out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
> #4  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from 
> C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
> #5  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #6  0x0000000000000000 in ?? ()
> (gdb) thread 5
> [Switching to thread 5 (Thread 0x9b8)]
> #0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) bt
> #0  0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #1  0x00007ffe5794eb5e in ntdll!RtlReleaseSRWLockExclusive () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #2  0x00007ffe4a145e08 in _cygtls::call2 (this=0x343ce00, func=0x7ffe5794e3f0 
> <ntdll!RtlReleaseSRWLockExclusive+8704>, arg=0xc0b60, buf=buf@entry=0x343cd50) 
> at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
> #3  0x00007ffe4a145e86 in _cygtls::call (func=<optimized out>, arg=<optimized 
> out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
> #4  0x00007ffe555584d4 in KERNEL32!BaseThreadInitThunk () from 
> C:\src\dlls-syms\kernel32.dll\640993B0ad000\kernel32.dll
> #5  0x00007ffe57981791 in ntdll!RtlUserThreadStart () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #6  0x0000000000000000 in ?? ()
> (gdb) thread 6
> Unknown thread 6.
> (gdb) thread 1
> [Switching to thread 1 (Thread 0x11cc)]
> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from 
> C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) up
> #1  0x00007ffe54156d1f in WaitForSingleObjectEx () from 
> C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
> (gdb)
> #2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at 
> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914
> 1914    in /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc
> (gdb) p thread_sync_event
> $6 = (HANDLE) 0x1510
> (gdb) p name
> $7 = "cygcons.thread_sync.0", '\000' <repeats 19 times>, "r", '\000' <repeats 
> 183 times>...
> (gdb) p con.owner
> No symbol "con" in current context.
> (gdb) p master_thread_started
> $8 = true
> (gdb) p unit
> $9 = 0
> (gdb) p shared_console_info
> $10 = {0x1a0030000, 0x0 <repeats 64 times>}
> (gdb)

Sometimes a Cygwin strace can be helpful, for example:

	$ strace -o drbdadm.strace drbdadm <ARGS>

or equivalent however you execute the program.

Attach the strace output as text if possible, otherwise if too big, xz, bz2, lz, 
zstd, gz.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

* Re: cygwin application hangs on closing console
  2024-05-15 15:48         ` Johannes Khoshnazar-Thoma
  2024-05-15 20:24           ` Brian Inglis
@ 2024-05-16  9:14           ` Takashi Yano
  1 sibling, 0 replies; 12+ messages in thread
From: Takashi Yano @ 2024-05-16  9:14 UTC (permalink / raw)
  To: cygwin; +Cc: Johannes Khoshnazar-Thoma

On Wed, 15 May 2024 17:48:49 +0200
Johannes Khoshnazar-Thoma wrote:
> Hi again,
> 
> Am 15.05.24 um 17:37 schrieb Johannes Khoshnazar-Thoma:
> > Hi again,
> >
> > Am 23.04.24 um 12:26 schrieb Takashi Yano:
> >>>> Thanks for the report. Could you please test cygwin1.dll 3.5.3-1
> >>>> wihch is the latest cygwin release?
> >>>>
> >
> > We retried the tests with cygwin1.dll 3.5.3-1 and it looks like
> > the issue is still there. Here's an excerpt from the gdb debug
> > session:
> >
> Sorry somehow the formatting got messed up I try again:

Thanks for testing and the additional information.

> (gdb) info thread
>    Id   Target Id         Frame
> * 1    Thread 0x11cc     0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    2    Thread 0x8ec      0x00007ffe579d5ee4 in ntdll!ZwReadFile () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    3    Thread 0x55c      0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    4    Thread 0x131c     0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
>    5    Thread 0x9b8      0x00007ffe579d95f4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) thread 1
> [Switching to thread 1 (Thread 0x11cc)]
> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) bt
> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> #1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
> #2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914

Line 1914 of fhandler/console.cc is:
      WaitForSingleObject (thread_sync_event, INFINITE);

This waits termination of cons_master_thread(). However, it does not seem
that the cons_master_thread exists in thread list obove. If the thread was
terminated normally, thread_sync_event should has been set.

> #0  0x00007ffe579d5ea4 in ntdll!ZwWaitForSingleObject () from C:\src\dlls-syms\ntdll.dll\6502806A1cf000\ntdll.dll
> (gdb) up
> #1  0x00007ffe54156d1f in WaitForSingleObjectEx () from C:\src\dlls-syms\KERNELBASE.dll\660F5EEC21e000\KERNELBASE.dll
> (gdb)
> #2  0x00007ffe4a2033a0 in fhandler_console::close (this=0x800009030) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc:1914
> 1914    in /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/fhandler/console.cc
> (gdb) p thread_sync_event
> $6 = (HANDLE) 0x1510
> (gdb) p name
> $7 = "cygcons.thread_sync.0", '\000' <repeats 19 times>, "r", '\000' <repeats 183 times>...
> (gdb) p con.owner
> No symbol "con" in current context.
> (gdb) p master_thread_started
> $8 = true
> (gdb) p unit
> $9 = 0
> (gdb) p shared_console_info
> $10 = {0x1a0030000, 0x0 <repeats 64 times>}
> (gdb)

fhandler_console::close() was called twice? Or master thread had crashed
without setting thread_sync_event?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

* Re: cygwin application hangs on closing console
  2024-05-15 20:24           ` Brian Inglis
@ 2024-05-21 16:23             ` Johannes Khoshnazar-Thoma
  2024-06-03 13:20               ` Johannes Khoshnazar-Thoma
  0 siblings, 1 reply; 12+ messages in thread
From: Johannes Khoshnazar-Thoma @ 2024-05-21 16:23 UTC (permalink / raw)
  To: cygwin

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

Hi Brian,

Am 15.05.24 um 22:24 schrieb Brian Inglis via Cygwin:
>
> Sometimes a Cygwin strace can be helpful, for example:
>
>      $ strace -o drbdadm.strace drbdadm <ARGS>
>
> or equivalent however you execute the program.
>
> Attach the strace output as text if possible, otherwise if too big, xz, bz2, lz, zstd, gz.
>

Attaching 3 straces: two are from processes that hang for >= 30 seconds and
one (drbdadm-8sec.strace1) is from a run that took 8 seconds to execute
but finally completed.

Please let me know if you need more information, and thanks for looking
into this!

Best regards,

- Johannes

[-- Attachment #2: drbdadm-8sec.strace1 --]
[-- Type: text/plain, Size: 61735 bytes --]

--- Process 3904 created
--- Process 3904 loaded C:\Windows\System32\ntdll.dll at 00007ffd4fed0000
--- Process 3904 loaded C:\Windows\System32\kernel32.dll at 00007ffd4f6b0000
--- Process 3904 loaded C:\Windows\System32\KernelBase.dll at 00007ffd4c500000
--- Process 3904 thread 3040 created
--- Process 3904 loaded C:\Windows\System32\advapi32.dll at 00007ffd4f880000
--- Process 3904 loaded C:\Windows\System32\msvcrt.dll at 00007ffd4f5a0000
--- Process 3904 thread 6768 created
--- Process 3904 loaded C:\Windows\System32\sechost.dll at 00007ffd4fad0000
--- Process 3904 loaded C:\Windows\System32\rpcrt4.dll at 00007ffd4f760000
--- Process 3904 loaded C:\Program Files\WinDRBD\cygwin1.dll at 00007ffd42230000
--- Process 3904 loaded C:\Windows\System32\bcrypt.dll at 00007ffd4d1d0000
--- Process 3904 thread 4080 created
    2       2 [main] drbdsetup (3904) **********************************************
  208     210 [main] drbdsetup (3904) Program name: C:\WinDRBD\usr\sbin\drbdsetup.exe (windows pid 3904)
  162     372 [main] drbdsetup (3904) OS version:   Windows NT-10.0
  104     476 [main] drbdsetup (3904) **********************************************
--- Process 3904 loaded C:\Windows\System32\cryptbase.dll at 00007ffd4b800000
--- Process 3904 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffd4c720000
 2513    2989 [main] drbdsetup (3904) sigprocmask: 0 = sigprocmask (0, 0x0, 0x7FFD425093B0)
  633    3622 [main] drbdsetup (3904) open_shared: name shared.5, shared 0x1A0000000 (wanted 0x1A0000000), h 0xF8, m 0, created 0
  144    3766 [main] drbdsetup (3904) user_heap_info::init: heap base 0xA00000000, heap top 0xA00000000, heap size 0x20000000 (536870912)
   98    3864 [main] drbdsetup (3904) open_shared: name S-1-5-21-2681376957-2637446313-3576276827-500.1, shared 0x1A1000000 (wanted 0x1A1000000), h 0xF0, m 1, created 0
  129    3993 [main] drbdsetup (3904) user_info::create: opening user shared for 'S-1-5-21-2681376957-2637446313-3576276827-500' at 0x1A1000000
  133    4126 [main] drbdsetup (3904) user_info::create: user shared version AB1FCCE8
  147    4273 [main] drbdsetup (3904) fhandler_pipe::create: name \\.\pipe\cygwin-b752e955140be146-3904-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
  131    4404 [main] drbdsetup (3904) fhandler_pipe::create: pipe read handle 0x10C
   97    4501 [main] drbdsetup (3904) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-b752e955140be146-3904-sigwait
  108    4609 [main] drbdsetup (3904) fhandler_pipe::create: pipe write handle 0x110
   94    4703 [main] drbdsetup (3904) dll_crt0_0: finished dll_crt0_0 initialization
--- Process 3904 thread 3820 created
  439    5142 [sig] drbdsetup (3904) SetThreadName: SetThreadDescription() failed. 00000000 10000000
  233    5375 [sig] drbdsetup (3904) wait_sig: entering ReadFile loop, my_readsig 0x10C, my_sendsig 0x110
 1236    6611 [main] drbdsetup (3904) mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Administrator\Desktop, 0x0, no-add-slash)
  443    7054 [main] drbdsetup (3904) normalize_win32_path: C:\Users\Administrator\Desktop = normalize_win32_path (C:\Users\Administrator\Desktop)
   90    7144 [main] drbdsetup (3904) mount_info::conv_to_posix_path: /cygdrive/c/Users/Administrator/Desktop = conv_to_posix_path (C:\Users\Administrator\Desktop)
  101    7245 [main] drbdsetup (3904) time: 1716298956 = time(0x0)
  175    7420 [main] drbdsetup (3904) sigprocmask: 0 = sigprocmask (0, 0x0, 0xA00000100)
  449    7869 [main] drbdsetup (3904) _cygwin_istext_for_stdio: fd 0: not open
   90    7959 [main] drbdsetup (3904) _cygwin_istext_for_stdio: fd 1: not open
   88    8047 [main] drbdsetup (3904) _cygwin_istext_for_stdio: fd 2: not open
  274    8321 [main] drbdsetup (3904) open_shared: name cygpid.26669, shared 0x1A2000000 (wanted 0x1A2000000), h 0x128, m 2, created 1
  135    8456 [main] drbdsetup (3904) time: 1716298956 = time(0x0)
   98    8554 [main] drbdsetup 26669 pinfo::thisproc: myself dwProcessId 3904
  134    8688 [main] drbdsetup 26669 environ_init: GetEnvironmentStrings returned 0x7D1FA0
  900    9588 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000004B0: !M:=M:\
  367    9955 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000004D0: !W:=W:\
  331   10286 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000004F0: ALLUSERSPROFILE=C:\ProgramData
  331   10617 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000520: APPDATA=C:\Users\Administrator\AppData\Roaming
  330   10947 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000560: AWS_EXECUTION_ENV=EC2
  331   11278 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000580: CLIENTNAME=88665a375d57
  336   11614 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000005A0: COMMONPROGRAMFILES=C:\Program Files\Common Files
  337   11951 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000005E0: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
  331   12282 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000630: CommonProgramW6432=C:\Program Files\Common Files
  336   12618 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000670: COMPUTERNAME=EC2AMAZ-CR2O8CP
  330   12948 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000006A0: COMSPEC=C:\Windows\system32\cmd.exe
  342   13290 [main] drbdsetup 26669 parse_options: glob (called func)
  328   13618 [main] drbdsetup 26669 parse_options: returning
  163   13781 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000006D0: CYGWIN=noglob
  333   14114 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000710: EC2LAUNCH_TELEMETRY=1
  331   14445 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000730: FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
  330   14775 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000770: FPS_BROWSER_USER_PROFILE_STRING=Default
  329   15104 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000007A0: HOMEDRIVE=C:
  330   15434 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000007C0: HOMEPATH=\Users\Administrator
  331   15765 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000007F0: LOCALAPPDATA=C:\Users\Administrator\AppData\Local
  329   16094 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000830: LOGONSERVER=\\EC2AMAZ-CR2O8CP
  328   16422 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000860: NUMBER_OF_PROCESSORS=4
  329   16751 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000880: OS=Windows_NT
  364   17115 [main] drbdsetup 26669 getwinenv: can't set native for PATH= since no environ yet
  468   17583 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, 0x10000100, no-add-slash)
  166   17749 [main] drbdsetup 26669 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
  167   17916 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
  163   18079 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, 0x10000100, no-add-slash)
  161   18240 [main] drbdsetup 26669 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
  166   18406 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Windows = conv_to_posix_path (C:\Windows)
  169   18575 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, 0x10000100, no-add-slash)
  165   18740 [main] drbdsetup 26669 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
  169   18909 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
  169   19078 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, 0x10000100, no-add-slash)
  170   19248 [main] drbdsetup 26669 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
  164   19412 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
  170   19582 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Amazon\cfn-bootstrap, 0x10000100, no-add-slash)
  167   19749 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files\Amazon\cfn-bootstrap = normalize_win32_path (C:\Program Files\Amazon\cfn-bootstrap)
  171   19920 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /Amazon/cfn-bootstrap = conv_to_posix_path (C:\Program Files\Amazon\cfn-bootstrap)
  170   20090 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, 0x10000100, no-add-slash)
  169   20259 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  165   20424 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  169   20593 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, 0x10000100, no-add-slash)
  165   20758 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  169   20927 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  173   21100 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, 0x10000100, no-add-slash)
  191   21291 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  184   21475 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  160   21635 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn, 0x10000100, no-add-slash)
  200   21835 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files\Microsoft SQL Server\160\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  171   22006 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /Microsoft SQL Server/160/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  160   22166 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, 0x10000100, no-add-slash)
  159   22325 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  150   22475 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  166   22641 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn, 0x10000100, no-add-slash)
  188   22829 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files\Microsoft SQL Server\160\DTS\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  168   22997 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /Microsoft SQL Server/160/DTS/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  171   23168 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\WinDRBD, 0x10000100, no-add-slash)
  174   23342 [main] drbdsetup 26669 normalize_win32_path: C:\Program Files\WinDRBD = normalize_win32_path (C:\Program Files\WinDRBD)
  167   23509 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /WinDRBD = conv_to_posix_path (C:\Program Files\WinDRBD)
  155   23664 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\usr\sbin, 0x10000100, no-add-slash)
  156   23820 [main] drbdsetup 26669 normalize_win32_path: C:\WinDRBD\usr\sbin = normalize_win32_path (C:\WinDRBD\usr\sbin)
  155   23975 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/usr/sbin = conv_to_posix_path (C:\WinDRBD\usr\sbin)
  156   24131 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\usr\bin, 0x10000100, no-add-slash)
  155   24286 [main] drbdsetup 26669 normalize_win32_path: C:\WinDRBD\usr\bin = normalize_win32_path (C:\WinDRBD\usr\bin)
  156   24442 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/usr/bin = conv_to_posix_path (C:\WinDRBD\usr\bin)
  155   24597 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\bin, 0x10000100, no-add-slash)
  156   24753 [main] drbdsetup 26669 normalize_win32_path: C:\WinDRBD\bin = normalize_win32_path (C:\WinDRBD\bin)
  155   24908 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/bin = conv_to_posix_path (C:\WinDRBD\bin)
  165   25073 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, 0x10000100, no-add-slash)
  155   25228 [main] drbdsetup 26669 normalize_win32_path: C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps = normalize_win32_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  156   25384 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps = conv_to_posix_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  152   25536 [main] drbdsetup 26669 __set_errno: ssize_t env_PATH_to_posix(const void*, void*, size_t):4203 setting errno 36
  621   26157 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Windows/system32
  156   26313 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Windows/system32 = normalize_posix_path (/cygdrive/c/Windows/system32)
  160   26473 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/system32)
  157   26630 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/system32', dst 'C:\Windows\system32'
  160   26790 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/system32, dst C:\Windows\system32, flags 0x4020, rc 0
  383   27173 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\system32)
  289   27462 [main] drbdsetup 26669 symlink_info::check: not a symlink
  167   27629 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Windows\system32, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  158   27787 [main] drbdsetup 26669 path_conv::check: this->path(C:\Windows\system32), has_acls(1)
  160   27947 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Windows
  159   28106 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Windows = normalize_posix_path (/cygdrive/c/Windows)
  155   28261 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows)
  156   28417 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows', dst 'C:\Windows'
  156   28573 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows, dst C:\Windows, flags 0x4020, rc 0
  170   28743 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows)
  280   29023 [main] drbdsetup 26669 symlink_info::check: not a symlink
  174   29197 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Windows, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  158   29355 [main] drbdsetup 26669 path_conv::check: this->path(C:\Windows), has_acls(1)
  190   29545 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Windows/System32/Wbem
  163   29708 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Windows/System32/Wbem = normalize_posix_path (/cygdrive/c/Windows/System32/Wbem)
  159   29867 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/System32/Wbem)
  157   30024 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/System32/Wbem', dst 'C:\Windows\System32\Wbem'
  155   30179 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/System32/Wbem, dst C:\Windows\System32\Wbem, flags 0x4020, rc 0
  179   30358 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\System32\Wbem)
  279   30637 [main] drbdsetup 26669 symlink_info::check: not a symlink
  165   30802 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Windows\System32\Wbem, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  157   30959 [main] drbdsetup 26669 path_conv::check: this->path(C:\Windows\System32\Wbem), has_acls(1)
  158   31117 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
  156   31273 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = normalize_posix_path (/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0)
  156   31429 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0)
  151   31580 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0', dst 'C:\Windows\System32\WindowsPowerShell\v1.0'
  153   31733 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0, dst C:\Windows\System32\WindowsPowerShell\v1.0, flags 0x4020, rc 0
  192   31925 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\System32\WindowsPowerShell\v1.0)
  298   32223 [main] drbdsetup 26669 symlink_info::check: not a symlink
  163   32386 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Windows\System32\WindowsPowerShell\v1.0, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  160   32546 [main] drbdsetup 26669 path_conv::check: this->path(C:\Windows\System32\WindowsPowerShell\v1.0), has_acls(1)
  165   32711 [main] drbdsetup 26669 normalize_posix_path: src /Amazon/cfn-bootstrap
  169   32880 [main] drbdsetup 26669 normalize_posix_path: /Amazon/cfn-bootstrap = normalize_posix_path (/Amazon/cfn-bootstrap)
  163   33043 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/Amazon/cfn-bootstrap)
  161   33204 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /Amazon/cfn-bootstrap, dst C:\Program Files\Amazon\cfn-bootstrap, flags 0x30008, rc 0
  174   33378 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Amazon\cfn-bootstrap)
  282   33660 [main] drbdsetup 26669 symlink_info::check: not a symlink
  175   33835 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\Amazon\cfn-bootstrap, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  157   33992 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files\Amazon\cfn-bootstrap), has_acls(1)
  160   34152 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn
  159   34311 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn)
  155   34466 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn)
  156   34622 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn', dst 'C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn'
  180   34802 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn, dst C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, flags 0x4020, rc 0
  178   34980 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  317   35297 [main] drbdsetup 26669 symlink_info::check: not a symlink
  184   35481 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  164   35645 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn), has_acls(1)
  160   35805 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE
  155   35960 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE)
  155   36115 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE)
  156   36271 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE', dst 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE'
  155   36426 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE, dst C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, flags 0x4020, rc 0
  202   36628 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  394   37022 [main] drbdsetup 26669 symlink_info::check: not a symlink
  178   37200 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  152   37352 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE), has_acls(1)
  155   37507 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn
  152   37659 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn)
  198   37857 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn)
  194   38051 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn', dst 'C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn'
  217   38268 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn, dst C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, flags 0x4020, rc 0
  294   38562 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  421   38983 [main] drbdsetup 26669 symlink_info::check: not a symlink
  254   39237 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  165   39402 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn), has_acls(1)
  229   39631 [main] drbdsetup 26669 normalize_posix_path: src /Microsoft SQL Server/160/Tools/Binn
  299   39930 [main] drbdsetup 26669 normalize_posix_path: /Microsoft SQL Server/160/Tools/Binn = normalize_posix_path (/Microsoft SQL Server/160/Tools/Binn)
  195   40125 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/160/Tools/Binn)
  229   40354 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/160/Tools/Binn, dst C:\Program Files\Microsoft SQL Server\160\Tools\Binn, flags 0x30008, rc 0
  337   40691 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  332   41023 [main] drbdsetup 26669 symlink_info::check: not a symlink
  225   41248 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\160\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  201   41449 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\160\Tools\Binn), has_acls(1)
  202   41651 [main] drbdsetup 26669 normalize_posix_path: src /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn
  175   41826 [main] drbdsetup 26669 normalize_posix_path: /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn = normalize_posix_path (/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn)
  173   41999 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn)
  156   42155 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn, dst C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, flags 0x30008, rc 0
  181   42336 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  294   42630 [main] drbdsetup 26669 symlink_info::check: not a symlink
  171   42801 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  151   42952 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn), has_acls(1)
  161   43113 [main] drbdsetup 26669 normalize_posix_path: src /Microsoft SQL Server/160/DTS/Binn
  159   43272 [main] drbdsetup 26669 normalize_posix_path: /Microsoft SQL Server/160/DTS/Binn = normalize_posix_path (/Microsoft SQL Server/160/DTS/Binn)
  163   43435 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/160/DTS/Binn)
  197   43632 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/160/DTS/Binn, dst C:\Program Files\Microsoft SQL Server\160\DTS\Binn, flags 0x30008, rc 0
  179   43811 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  304   44115 [main] drbdsetup 26669 symlink_info::check: not a symlink
  167   44282 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\160\DTS\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  215   44497 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\160\DTS\Binn), has_acls(1)
  286   44783 [main] drbdsetup 26669 normalize_posix_path: src /WinDRBD
  173   44956 [main] drbdsetup 26669 normalize_posix_path: /WinDRBD = normalize_posix_path (/WinDRBD)
  186   45142 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/WinDRBD)
  171   45313 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /WinDRBD, dst C:\Program Files\WinDRBD, flags 0x30008, rc 0
  178   45491 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\WinDRBD)
  309   45800 [main] drbdsetup 26669 symlink_info::check: not a symlink
  173   45973 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\WinDRBD, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  157   46130 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files\WinDRBD), has_acls(1)
  186   46316 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/WinDRBD/usr/sbin
  157   46473 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/WinDRBD/usr/sbin = normalize_posix_path (/cygdrive/c/WinDRBD/usr/sbin)
  156   46629 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr/sbin)
  179   46808 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr/sbin', dst 'C:\WinDRBD\usr\sbin'
  167   46975 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr/sbin, dst C:\WinDRBD\usr\sbin, flags 0x4020, rc 0
  197   47172 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\usr\sbin)
  278   47450 [main] drbdsetup 26669 symlink_info::check: not a symlink
  160   47610 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr\sbin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  150   47760 [main] drbdsetup 26669 path_conv::check: this->path(C:\WinDRBD\usr\sbin), has_acls(1)
  153   47913 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/WinDRBD/usr/bin
  148   48061 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/WinDRBD/usr/bin = normalize_posix_path (/cygdrive/c/WinDRBD/usr/bin)
  149   48210 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr/bin)
  149   48359 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr/bin', dst 'C:\WinDRBD\usr\bin'
  149   48508 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr/bin, dst C:\WinDRBD\usr\bin, flags 0x4020, rc 0
  164   48672 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin)
  273   48945 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin)
  296   49241 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.exe)
  280   49521 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.exe)
  312   49833 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.lnk)
  304   50137 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.lnk)
  305   50442 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.exe.lnk)
  308   50750 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.exe.lnk)
  304   51054 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr\bin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  175   51229 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr)
  160   51389 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr', dst 'C:\WinDRBD\usr'
  165   51554 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr, dst C:\WinDRBD\usr, flags 0x4020, rc 0
  175   51729 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\usr)
  308   52037 [main] drbdsetup 26669 symlink_info::check: not a symlink
  182   52219 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  163   52382 [main] drbdsetup 26669 path_conv::check: this->path(C:\WinDRBD\usr\bin), has_acls(1)
  190   52572 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/WinDRBD/bin
  175   52747 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/WinDRBD/bin = normalize_posix_path (/cygdrive/c/WinDRBD/bin)
  175   52922 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/bin)
  176   53098 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/bin', dst 'C:\WinDRBD\bin'
  157   53255 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/bin, dst C:\WinDRBD\bin, flags 0x4020, rc 0
  179   53434 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\bin)
  307   53741 [main] drbdsetup 26669 symlink_info::check: not a symlink
  177   53918 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\WinDRBD\bin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  191   54109 [main] drbdsetup 26669 path_conv::check: this->path(C:\WinDRBD\bin), has_acls(1)
  179   54288 [main] drbdsetup 26669 normalize_posix_path: src /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  176   54464 [main] drbdsetup 26669 normalize_posix_path: /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps = normalize_posix_path (/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps)
  161   54625 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps)
  156   54781 [main] drbdsetup 26669 mount_info::cygdrive_win32_path: src '/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps', dst 'C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps'
  156   54937 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps, dst C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, flags 0x4020, rc 0
  175   55112 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  306   55418 [main] drbdsetup 26669 symlink_info::check: not a symlink
  172   55590 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  156   55746 [main] drbdsetup 26669 path_conv::check: this->path(C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps), has_acls(1)
  499   56245 [main] drbdsetup 26669 win_env::add_cache: posix /cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  159   56404 [main] drbdsetup 26669 win_env::add_cache: native PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Amazon\cfn-bootstrap;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\WinDRBD;C:\WinDRBD\usr\sbin;C:\WinDRBD\usr\bin;C:\WinDRBD\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps
  159   56563 [main] drbdsetup 26669 posify_maybe: env var converted to PATH=/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  468   57031 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00001070: PATH=/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  340   57371 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000008A0: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
  333   57704 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000008F0: PROCESSOR_ARCHITECTURE=AMD64
  321   58025 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000920: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
  308   58333 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000970: PROCESSOR_LEVEL=6
  309   58642 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000990: PROCESSOR_REVISION=5504
  309   58951 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000009B0: ProgramData=C:\ProgramData
  309   59260 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000009E0: PROGRAMFILES=C:\Program Files
  309   59569 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000A10: ProgramFiles(x86)=C:\Program Files (x86)
  309   59878 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000A50: ProgramW6432=C:\Program Files
  370   60248 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00001320: PSModulePath=C:\Users\Administrator\Documents\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\PowerShell\Modules\
  353   60601 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000A80: PUBLIC=C:\Users\Public
  308   60909 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000AA0: SESSIONNAME=RDP-Tcp#2
  318   61227 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000AC0: SYSTEMDRIVE=C:
  309   61536 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000AE0: SYSTEMROOT=C:\Windows
  310   61846 [main] drbdsetup 26669 getwinenv: can't set native for TEMP= since no environ yet
  155   62001 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2, 0x10000000, no-add-slash)
  156   62157 [main] drbdsetup 26669 normalize_win32_path: C:\Users\ADMINI~1\AppData\Local\Temp\2 = normalize_win32_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  154   62311 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2 = conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  460   62771 [main] drbdsetup 26669 win_env::add_cache: posix /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  151   62922 [main] drbdsetup 26669 win_env::add_cache: native TEMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
  150   63072 [main] drbdsetup 26669 posify_maybe: env var converted to TEMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  468   63540 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000014A0: TEMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  306   63846 [main] drbdsetup 26669 getwinenv: can't set native for TMP= since no environ yet
  148   63994 [main] drbdsetup 26669 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2, 0x10000000, no-add-slash)
  166   64160 [main] drbdsetup 26669 normalize_win32_path: C:\Users\ADMINI~1\AppData\Local\Temp\2 = normalize_win32_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  175   64335 [main] drbdsetup 26669 mount_info::conv_to_posix_path: /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2 = conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  553   64888 [main] drbdsetup 26669 win_env::add_cache: posix /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  184   65072 [main] drbdsetup 26669 win_env::add_cache: native TMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
  156   65228 [main] drbdsetup 26669 posify_maybe: env var converted to TMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  458   65686 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00001560: TMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  308   65994 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00000B00: USERDOMAIN=EC2AMAZ-CR2O8CP
  298   66292 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000015A0: USERDOMAIN_ROAMINGPROFILE=EC2AMAZ-CR2O8CP
  293   66585 [main] drbdsetup 26669 win32env_to_cygenv: 0xA000015E0: USERNAME=Administrator
  360   66945 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00001600: USERPROFILE=C:\Users\Administrator
  309   67254 [main] drbdsetup 26669 win32env_to_cygenv: 0xA00001630: WINDIR=C:\Windows
  401   67655 [main] drbdsetup 26669 pinfo_init: Set nice to 0
  179   67834 [main] drbdsetup 26669 pinfo_init: pid 26669, pgid 26669, process_state 0x20041
  160   67994 [main] drbdsetup 26669 App version:  3004.6, api: 0.345
  158   68152 [main] drbdsetup 26669 DLL version:  3004.10, api: 0.345
  155   68307 [main] drbdsetup 26669 DLL build:    2023-11-29 12:12
  180   68487 [main] drbdsetup 26669 dtable::extend: size 32, fds 0x800006DC8
  656   69143 [main] drbdsetup 26669 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-b752e955140be146-lpc
  305   69448 [main] drbdsetup 26669 transport_layer_pipes::connect: Error opening the pipe (2)
  311   69759 [main] drbdsetup 26669 client_request::make_request: cygserver un-available
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\netapi32.dll at 00007ffd3ff40000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\samcli.dll at 00007ffd49650000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\ucrtbase.dll at 00007ffd4d200000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\samlib.dll at 00007ffd44110000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\netutils.dll at 00007ffd4b450000
10129   79888 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <Administrator:*:197108:197121:U-EC2AMAZ-CR2O8CP\Administrator,S-1-5-21-2681376957-2637446313-3576276827-500:/home/Administrator:/bin/bash>
 1653   81541 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: NetLocalGroupGetInfo(None) 1376
  289   81830 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <None:S-1-5-21-2681376957-2637446313-3576276827-513:197121:>
  965   82795 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <Local account and member of Administrators group:S-1-5-114:114:>
 1327   84122 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <Administrators:S-1-5-32-544:544:>
  768   84890 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <Users:S-1-5-32-545:545:>
  178   85068 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <REMOTE INTERACTIVE LOGON:S-1-5-14:14:>
  172   85240 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <INTERACTIVE:S-1-5-4:4:>
  162   85402 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <Authenticated Users:S-1-5-11:11:>
  170   85572 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <This Organization:S-1-5-15:15:>
  188   85760 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <Local account:S-1-5-113:113:>
  193   85953 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <CurrentSession:S-1-5-5-0-93631236:4095:>
  154   86107 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <LOCAL:S-1-2-0:66048:>
  156   86263 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <NTLM Authentication:S-1-5-64-10:262154:>
  151   86414 [main] drbdsetup 26669 pwdgrp::fetch_account_from_windows: line: <High Mandatory Level:S-1-16-12288:405504:>
   96   86510 [main] drbdsetup 26669 cygheap_user::ontherange: what 2, pw 0x800006F58
  106   86616 [main] drbdsetup 26669 cygheap_user::ontherange: Set HOME (from account db) to /home/Administrator
  390   87006 [main] drbdsetup 26669 normalize_posix_path: src /home/Administrator
   87   87093 [main] drbdsetup 26669 normalize_posix_path: /home/Administrator = normalize_posix_path (/home/Administrator)
   83   87176 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator)
  126   87302 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /home/Administrator, dst C:\Program Files\home\Administrator, flags 0x30008, rc 0
  130   87432 [main] drbdsetup 26669 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\Program Files\home\Administrator)
  184   87616 [main] drbdsetup 26669 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\Program Files\home\Administrator)
  198   87814 [main] drbdsetup 26669 symlink_info::check: not a symlink
  110   87924 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\home\Administrator, 0x7FFFFAD90) (mount_flags 0x30008, path_flags 0x0)
   98   88022 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/home)
   93   88115 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /home, dst C:\Program Files\home, flags 0x30008, rc 0
  112   88227 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home)
  154   88381 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home)
  173   88554 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home.lnk)
  166   88720 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home.lnk)
  157   88877 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\home, 0x7FFFFAD90) (mount_flags 0x30008, path_flags 0x0)
  148   89025 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files\home\Administrator), has_acls(1)
  214   89239 [main] drbdsetup 26669 win_env::add_cache: posix /home/Administrator
  128   89367 [main] drbdsetup 26669 win_env::add_cache: native HOME=C:\Program Files\home\Administrator
  190   89557 [main] drbdsetup 26669 normalize_posix_path: src /home/Administrator
   94   89651 [main] drbdsetup 26669 normalize_posix_path: /home/Administrator = normalize_posix_path (/home/Administrator)
   95   89746 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator)
   95   89841 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /home/Administrator, dst C:\Program Files\home\Administrator, flags 0x30008, rc 0
  114   89955 [main] drbdsetup 26669 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\Program Files\home\Administrator)
  154   90109 [main] drbdsetup 26669 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\Program Files\home\Administrator)
  154   90263 [main] drbdsetup 26669 symlink_info::check: not a symlink
   95   90358 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\home\Administrator, 0x7FFFFAE10) (mount_flags 0x30008, path_flags 0x0)
   96   90454 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/home)
   98   90552 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /home, dst C:\Program Files\home, flags 0x30008, rc 0
  108   90660 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home)
  156   90816 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home)
  166   90982 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home.lnk)
  162   91144 [main] drbdsetup 26669 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home.lnk)
  216   91360 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files\home, 0x7FFFFAE10) (mount_flags 0x30008, path_flags 0x0)
  157   91517 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files\home\Administrator), has_acls(1)
  204   91721 [main] drbdsetup 26669 win_env::add_cache: posix /home/Administrator
   93   91814 [main] drbdsetup 26669 win_env::add_cache: native HOME=C:\Program Files\home\Administrator
  233   92047 [main] drbdsetup 26669 build_argv: argv[0] = 'drbdsetup'
   91   92138 [main] drbdsetup 26669 build_argv: argv[1] = 'status'
   92   92230 [main] drbdsetup 26669 build_argv: argc 2
 1140   93370 [main] drbdsetup 26669 open_shared: name b752e955140be146-cons0x301E2.0, shared 0x1A3000000 (wanted 0x1A3000000), h 0x3C, m 3, created 1
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\user32.dll at 00007ffd4f0c0000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\win32u.dll at 00007ffd4d3b0000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\gdi32.dll at 00007ffd4f670000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\gdi32full.dll at 00007ffd4c370000
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\imm32.dll at 00007ffd4faa0000
 2736   96106 [main] drbdsetup 26669 build_fh_pc: created an archetype (0x800008F48) for /dev/cons0(3/0)
  119   96225 [main] drbdsetup 26669 build_fh_pc: fh 0x800008BC8, dev 00030000
  272   96497 [main] drbdsetup 26669 fhandler_console::open: opened conin$ 0x178, conout$ 0x17C
--- Process 3904 (pid: 26669) thread 1456 created
  658   97155 [consm] drbdsetup 26669 cygthread::stub: thread 'consm', id 0x5B0, stack_ptr 0x2B7CCE0
  120   97275 [consm] drbdsetup 26669 SetThreadName: SetThreadDescription() failed. 00000000 10000000
32291  129566 [main] drbdsetup 26669 fhandler_base::open_with_arch: line 451:  /dev/cons0<0x800008F48> usecount + 1 = 1
 1954  131520 [main] drbdsetup 26669 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
  117  131637 [main] drbdsetup 26669 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
  103  131740 [main] drbdsetup 26669 fhandler_base::set_flags: filemode set to binary
   86  131826 [main] drbdsetup 26669 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   85  131911 [main] drbdsetup 26669 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x800008F48
   94  132005 [main] drbdsetup 26669 _pinfo::set_ctty: ctty was NULL
   84  132089 [main] drbdsetup 26669 _pinfo::set_ctty: line 548:  /dev/cons0<0x800008F48> usecount + 1 = 2
   88  132177 [main] drbdsetup 26669 _pinfo::set_ctty: /dev/cons0 ctty, usecount 2
   94  132271 [main] drbdsetup 26669 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 26669, pid 26669, pgid 26669, tty->pgid 26669, tty->sid 0
   89  132360 [main] drbdsetup 26669 _pinfo::set_ctty: cygheap->ctty now 0x800008F48, archetype 0x800008F48
   94  132454 [main] drbdsetup 26669 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   84  132538 [main] drbdsetup 26669 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   84  132622 [main] drbdsetup 26669 fhandler_base::set_flags: filemode set to binary
   88  132710 [main] drbdsetup 26669 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   85  132795 [main] drbdsetup 26669 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 26669, pid 26669, pgid 26669, tty->pgid 26669, tty->sid 26669
   85  132880 [main] drbdsetup 26669 _pinfo::set_ctty: cygheap->ctty now 0x800008F48, archetype 0x800008F48
  316  133196 [main] drbdsetup 26669 handle_to_fn: NtQueryObject failed, 0xC0000039
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\ws2_32.dll at 00007ffd4fcc0000
 4552  137748 [main] drbdsetup 26669 wsock_init: res 0
  234  137982 [main] drbdsetup 26669 wsock_init: wVersion 514
  164  138146 [main] drbdsetup 26669 wsock_init: wHighVersion 514
  164  138310 [main] drbdsetup 26669 wsock_init: szDescription WinSock 2.0
  149  138459 [main] drbdsetup 26669 wsock_init: szSystemStatus Running
  149  138608 [main] drbdsetup 26669 wsock_init: iMaxSockets 0
  152  138760 [main] drbdsetup 26669 wsock_init: iMaxUdpDg 0
--- Process 3904 (pid: 26669) loaded C:\Windows\System32\mswsock.dll at 00007ffd4b630000
 1600  140360 [main] drbdsetup 26669 build_fh_pc: fh 0x800009378, dev 000000C5
  157  140517 [main] drbdsetup 26669 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
  152  140669 [main] drbdsetup 26669 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
  155  140824 [main] drbdsetup 26669 fhandler_base::set_flags: filemode set to binary
  144  140968 [main] drbdsetup 26669 fhandler_base::init: created new fhandler_base for handle 0xDB8, bin 1
  350  141318 [main] drbdsetup 26669 build_fh_pc: found an archetype for (null)(3/0) io_handle 0x178
  152  141470 [main] drbdsetup 26669 build_fh_pc: fh 0x8000096D8, dev 00030000
  157  141627 [main] drbdsetup 26669 fhandler_base::open_with_arch: line 471:  /dev/cons0<0x800008F48> usecount + 1 = 3
  149  141776 [main] drbdsetup 26669 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
  153  141929 [main] drbdsetup 26669 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
  149  142078 [main] drbdsetup 26669 fhandler_base::set_flags: filemode set to binary
  153  142231 [main] drbdsetup 26669 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
  151  142382 [main] drbdsetup 26669 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 26669, pid 26669, pgid 26669, tty->pgid 26669, tty->sid 26669
  153  142535 [main] drbdsetup 26669 _pinfo::set_ctty: cygheap->ctty now 0x800008F48, archetype 0x800008F48
  152  142687 [main] drbdsetup 26669 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
  151  142838 [main] drbdsetup 26669 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
  149  142987 [main] drbdsetup 26669 fhandler_base::set_flags: filemode set to binary
  154  143141 [main] drbdsetup 26669 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
  150  143291 [main] drbdsetup 26669 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 26669, pid 26669, pgid 26669, tty->pgid 26669, tty->sid 26669
  154  143445 [main] drbdsetup 26669 _pinfo::set_ctty: cygheap->ctty now 0x800008F48, archetype 0x800008F48
  334  143779 [main] drbdsetup 26669 SetThreadName: SetThreadDescription() failed. 00000000 10000000
  205  143984 [main] drbdsetup 26669 __set_errno: void dll_crt0_1(void*):952 setting errno 0
 2667  146651 [main] drbdsetup 26669 fcntl: fcntl(2, 3, ...)
  170  146821 [main] drbdsetup 26669 fhandler_base::fcntl: GETFL: 0x10002
  178  146999 [main] drbdsetup 26669 fcntl: 65538 = fcntl(2, 3, 0x7E7460)
  141  147140 [main] drbdsetup 26669 chdir: dir '/'
  137  147277 [main] drbdsetup 26669 normalize_posix_path: src /
  140  147417 [main] drbdsetup 26669 normalize_posix_path: / = normalize_posix_path (/)
  136  147553 [main] drbdsetup 26669 mount_info::conv_to_win32_path: conv_to_win32_path (/)
  142  147695 [main] drbdsetup 26669 mount_info::conv_to_win32_path: src_path /, dst C:\Program Files, flags 0x30008, rc 0
  179  147874 [main] drbdsetup 26669 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files)
  743  148617 [main] drbdsetup 26669 symlink_info::check: not a symlink
  158  148775 [main] drbdsetup 26669 symlink_info::check: 0 = symlink.check(C:\Program Files, 0x7FFFFB920) (mount_flags 0x30008, path_flags 0x0)
  160  148935 [main] drbdsetup 26669 path_conv::check: this->path(C:\Program Files), has_acls(1)
  253  149188 [main] drbdsetup 26669 chdir: 0 = chdir() cygheap->cwd.posix '/' native '\??\C:\Program Files'
  472  149660 [main] drbdsetup 26669 time: 1716298956 = time(0x0)
  340  150000 [main] drbdsetup 26669 getpid: 26669 = getpid()
  512  150512 [main] drbdsetup 26669 getpid: 26669 = getpid()
  157  150669 [main] drbdsetup 26669 getpid: 26669 = getpid()
 1569  152238 [main] drbdsetup 26669 getpid: 26669 = getpid()
  159  152397 [main] drbdsetup 26669 getpid: 26669 = getpid()
  312  152709 [main] drbdsetup 26669 sigaction_worker: signal 1, newact 0x7FFFFCAD0 (handler 0x100402890), oa 0x7FFFFC8A0
  154  152863 [main] drbdsetup 26669 sigaction: 0 = sigaction(1, 0x7FFFFCAD0, 0x0)
  160  153023 [main] drbdsetup 26669 sigaction_worker: signal 2, newact 0x7FFFFCAD0 (handler 0x100402890), oa 0x7FFFFC8A0
  158  153181 [main] drbdsetup 26669 sigaction: 0 = sigaction(2, 0x7FFFFCAD0, 0x0)
  154  153335 [main] drbdsetup 26669 sigaction_worker: signal 13, newact 0x7FFFFCAD0 (handler 0x100402890), oa 0x7FFFFC8A0
  148  153483 [main] drbdsetup 26669 sigaction: 0 = sigaction(13, 0x7FFFFCAD0, 0x0)
  153  153636 [main] drbdsetup 26669 sigaction_worker: signal 15, newact 0x7FFFFCAD0 (handler 0x100402890), oa 0x7FFFFC8A0
  148  153784 [main] drbdsetup 26669 sigaction: 0 = sigaction(15, 0x7FFFFCAD0, 0x0)
  310  154094 [main] drbdsetup 26669 getpid: 26669 = getpid()
  510  154604 [main] drbdsetup 26669 getpid: 26669 = getpid()
  154  154758 [main] drbdsetup 26669 getpid: 26669 = getpid()
 1664  156422 [main] drbdsetup 26669 getpid: 26669 = getpid()
  154  156576 [main] drbdsetup 26669 getpid: 26669 = getpid()
  491  157067 [main] drbdsetup 26669 getpid: 26669 = getpid()
  502  157569 [main] drbdsetup 26669 getpid: 26669 = getpid()
  159  157728 [main] drbdsetup 26669 getpid: 26669 = getpid()
 1534  159262 [main] drbdsetup 26669 getpid: 26669 = getpid()
  157  159419 [main] drbdsetup 26669 getpid: 26669 = getpid()
  480  159899 [main] drbdsetup 26669 getpid: 26669 = getpid()
  897  160796 [main] drbdsetup 26669 getpid: 26669 = getpid()
  199  160995 [main] drbdsetup 26669 getpid: 26669 = getpid()
 1350  162345 [main] drbdsetup 26669 getpid: 26669 = getpid()
  150  162495 [main] drbdsetup 26669 getpid: 26669 = getpid()
 1171  163666 [main] drbdsetup 26669 isatty: 0 = isatty(1)
  151  163817 [main] drbdsetup 26669 ioctl: ioctl(fd 1, cmd 0x5401)
  165  163982 [main] drbdsetup 26669 __set_errno: virtual int fhandler_base::ioctl(unsigned int, void*):1253 setting errno 22
  152  164134 [main] drbdsetup 26669 fhandler_base::ioctl: -1 = ioctl(5401, 0x7FFFFC958)
  152  164286 [main] drbdsetup 26669 ioctl: -1 = ioctl(1, 0x5401, ...), errno 22
  456  164742 [main] drbdsetup 26669 time: 1716298956 = time(0x0)
  170  164912 [main] drbdsetup 26669 fstat: 0 = fstat(1, 0x7FFFFC480)
 1246  166158 [main] drbdsetup 26669 isatty: 0 = isatty(1)
 5596  171754 [consm] drbdsetup 26669 open_shared: name cygpid.1941, shared 0x1A4000000 (wanted 0x1A4000000), h 0x1E8, m 6, created 0
  400  172154 [consm] drbdsetup 26669 open_shared: name cygpid.1939, shared 0x1A4010000 (wanted 0x1A4010000), h 0x1F0, m 6, created 0
  386  172540 [consm] drbdsetup 26669 open_shared: name cygpid.1940, shared 0x1A4020000 (wanted 0x1A4020000), h 0x1F8, m 6, created 0
  393  172933 [consm] drbdsetup 26669 open_shared: name cygpid.1942, shared 0x1A4030000 (wanted 0x1A4030000), h 0x200, m 6, created 0
  395  173328 [consm] drbdsetup 26669 open_shared: name cygpid.26670, shared 0x1A4040000 (wanted 0x1A4040000), h 0x208, m 6, created 0
 9120  182448 [main] drbdsetup 26669 write: 117 = write(1, 0xA00019880, 117)
  152  182600 [main] drbdsetup 26669 do_exit: do_exit (0), exit_state 1
  156  182756 [main] drbdsetup 26669 void: 0x0 = signal (20, 0x1)
  178  182934 [main] drbdsetup 26669 void: 0x100402890 = signal (1, 0x1)
  154  183088 [main] drbdsetup 26669 void: 0x100402890 = signal (2, 0x1)
  148  183236 [main] drbdsetup 26669 void: 0x0 = signal (3, 0x1)
  157  183393 [main] drbdsetup 26669 fhandler_base::close_with_arch: line 1190:  /dev/cons0<0x800008F48> usecount + -1 = 2
  148  183541 [main] drbdsetup 26669 fhandler_base::close_with_arch: not closing archetype
  156  183697 [main] drbdsetup 26669 fhandler_base::close: closing '' handle 0xDB8
  157  183854 [main] drbdsetup 26669 fhandler_base::close_with_arch: line 1190:  /dev/cons0<0x800008F48> usecount + -1 = 1
  157  184011 [main] drbdsetup 26669 fhandler_base::close_with_arch: not closing archetype
  155  184166 [main] drbdsetup 26669 init_cygheap::close_ctty: closing cygheap->ctty 0x800008F48
  153  184319 [main] drbdsetup 26669 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
  150  184469 [main] drbdsetup 26669 fhandler_console::close: closing: 0x178, 0x17C
--- Process 3904 (pid: 26669) thread 6824 created
--- Process 3904 (pid: 26669), exception 40010005 at 00007ffd4c5828e5
6929667 7114136 [] drbdsetup 26669 _cygtls::remove: wait 4294967295

[-- Attachment #3: drbdadm.strace1 --]
[-- Type: text/plain, Size: 53189 bytes --]

--- Process 8176 created
--- Process 8176 loaded C:\Windows\System32\ntdll.dll at 00007ffd4fed0000
--- Process 8176 loaded C:\Windows\System32\kernel32.dll at 00007ffd4f6b0000
--- Process 8176 loaded C:\Windows\System32\KernelBase.dll at 00007ffd4c500000
--- Process 8176 thread 3348 created
--- Process 8176 loaded C:\Windows\System32\advapi32.dll at 00007ffd4f880000
--- Process 8176 loaded C:\Windows\System32\msvcrt.dll at 00007ffd4f5a0000
--- Process 8176 thread 6404 created
--- Process 8176 loaded C:\Windows\System32\sechost.dll at 00007ffd4fad0000
--- Process 8176 loaded C:\Windows\System32\rpcrt4.dll at 00007ffd4f760000
--- Process 8176 loaded C:\Program Files\WinDRBD\cygwin1.dll at 00007ffd42230000
--- Process 8176 loaded C:\Windows\System32\bcrypt.dll at 00007ffd4d1d0000
--- Process 8176 thread 1756 created
    2       2 [main] drbdsetup (8176) **********************************************
  241     243 [main] drbdsetup (8176) Program name: C:\WinDRBD\usr\sbin\drbdsetup.exe (windows pid 8176)
  152     395 [main] drbdsetup (8176) OS version:   Windows NT-10.0
   90     485 [main] drbdsetup (8176) **********************************************
--- Process 8176 loaded C:\Windows\System32\cryptbase.dll at 00007ffd4b800000
--- Process 8176 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffd4c720000
 2518    3003 [main] drbdsetup (8176) sigprocmask: 0 = sigprocmask (0, 0x0, 0x7FFD425093B0)
  681    3684 [main] drbdsetup (8176) open_shared: name shared.5, shared 0x1A0000000 (wanted 0x1A0000000), h 0xEC, m 0, created 0
  152    3836 [main] drbdsetup (8176) user_heap_info::init: heap base 0xA00000000, heap top 0xA00000000, heap size 0x20000000 (536870912)
  102    3938 [main] drbdsetup (8176) open_shared: name S-1-5-21-2681376957-2637446313-3576276827-500.1, shared 0x1A1000000 (wanted 0x1A1000000), h 0xE8, m 1, created 0
  132    4070 [main] drbdsetup (8176) user_info::create: opening user shared for 'S-1-5-21-2681376957-2637446313-3576276827-500' at 0x1A1000000
  142    4212 [main] drbdsetup (8176) user_info::create: user shared version 0
  149    4361 [main] drbdsetup (8176) fhandler_pipe::create: name \\.\pipe\cygwin-b752e955140be146-8176-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
  140    4501 [main] drbdsetup (8176) fhandler_pipe::create: pipe read handle 0x104
   96    4597 [main] drbdsetup (8176) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-b752e955140be146-8176-sigwait
  108    4705 [main] drbdsetup (8176) fhandler_pipe::create: pipe write handle 0x108
   94    4799 [main] drbdsetup (8176) dll_crt0_0: finished dll_crt0_0 initialization
--- Process 8176 thread 2556 created
  454    5253 [sig] drbdsetup (8176) SetThreadName: SetThreadDescription() failed. 00000000 10000000
  227    5480 [sig] drbdsetup (8176) wait_sig: entering ReadFile loop, my_readsig 0x104, my_sendsig 0x108
  762    6242 [main] drbdsetup (8176) normalize_win32_path: C:\Program Files = normalize_win32_path (\??\C:\Program Files)
   98    6340 [main] drbdsetup (8176) normalize_posix_path: src /
   84    6424 [main] drbdsetup (8176) normalize_posix_path: / = normalize_posix_path (/)
   83    6507 [main] drbdsetup (8176) mount_info::add_item: \??\C:\Program Files[C:\Program Files], /[/], 0x30008
   90    6597 [main] drbdsetup (8176) mount_info::from_fstab: Try to read mounts from \??\C:\Program Files\etc\fstab
  284    6881 [main] drbdsetup (8176) normalize_win32_path: C:\Program Files\bin = normalize_win32_path (C:\Program Files\bin)
   92    6973 [main] drbdsetup (8176) normalize_posix_path: src /usr/bin
   89    7062 [main] drbdsetup (8176) normalize_posix_path: /usr/bin = normalize_posix_path (/usr/bin)
  109    7171 [main] drbdsetup (8176) mount_info::add_item: C:\Program Files\bin[C:\Program Files\bin], /usr/bin[/usr/bin], 0x20008
   90    7261 [main] drbdsetup (8176) normalize_win32_path: C:\Program Files\lib = normalize_win32_path (C:\Program Files\lib)
   89    7350 [main] drbdsetup (8176) normalize_posix_path: src /usr/lib
   86    7436 [main] drbdsetup (8176) normalize_posix_path: /usr/lib = normalize_posix_path (/usr/lib)
  120    7556 [main] drbdsetup (8176) mount_info::add_item: C:\Program Files\lib[C:\Program Files\lib], /usr/lib[/usr/lib], 0x20008
  269    7825 [main] drbdsetup (8176) time: 1716300185 = time(0x0)
  187    8012 [main] drbdsetup (8176) transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-b752e955140be146-lpc
  147    8159 [main] drbdsetup (8176) transport_layer_pipes::connect: Error opening the pipe (2)
  176    8335 [main] drbdsetup (8176) client_request::make_request: cygserver un-available
--- Process 8176 loaded C:\Windows\System32\netapi32.dll at 00007ffd3ff40000
--- Process 8176 loaded C:\Windows\System32\samcli.dll at 00007ffd49650000
--- Process 8176 loaded C:\Windows\System32\ucrtbase.dll at 00007ffd4d200000
--- Process 8176 loaded C:\Windows\System32\samlib.dll at 00007ffd44110000
--- Process 8176 loaded C:\Windows\System32\netutils.dll at 00007ffd4b450000
 5802   14137 [main] drbdsetup (8176) pwdgrp::fetch_account_from_windows: line: <Administrator:*:197108:197121:U-EC2AMAZ-CR2O8CP\Administrator,S-1-5-21-2681376957-2637446313-3576276827-500:/home/Administrator:/bin/bash>
  151   14288 [main] drbdsetup (8176) mount_info::from_fstab: Try to read mounts from \??\C:\Program Files\etc\fstab.d\Administrator
  942   15230 [main] drbdsetup (8176) mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Administrator\Desktop, 0x0, no-add-slash)
  501   15731 [main] drbdsetup (8176) normalize_win32_path: C:\Users\Administrator\Desktop = normalize_win32_path (C:\Users\Administrator\Desktop)
  144   15875 [main] drbdsetup (8176) mount_info::conv_to_posix_path: /cygdrive/c/Users/Administrator/Desktop = conv_to_posix_path (C:\Users\Administrator\Desktop)
  259   16134 [main] drbdsetup (8176) sigprocmask: 0 = sigprocmask (0, 0x0, 0xA00000100)
  656   16790 [main] drbdsetup (8176) _cygwin_istext_for_stdio: fd 0: not open
  130   16920 [main] drbdsetup (8176) _cygwin_istext_for_stdio: fd 1: not open
  132   17052 [main] drbdsetup (8176) _cygwin_istext_for_stdio: fd 2: not open
  410   17462 [main] drbdsetup (8176) open_shared: name cygpid.27895, shared 0x1A2000000 (wanted 0x1A2000000), h 0x144, m 2, created 1
  219   17681 [main] drbdsetup (8176) time: 1716300185 = time(0x0)
  143   17824 [main] drbdsetup 27895 pinfo::thisproc: myself dwProcessId 8176
  199   18023 [main] drbdsetup 27895 environ_init: GetEnvironmentStrings returned 0x6EA850
  703   18726 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000004B0: !M:=M:\
  233   18959 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000004D0: !W:=W:\
  248   19207 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000004F0: ALLUSERSPROFILE=C:\ProgramData
  251   19458 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000520: APPDATA=C:\Users\Administrator\AppData\Roaming
  245   19703 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000560: AWS_EXECUTION_ENV=EC2
  246   19949 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000580: CLIENTNAME=88665a375d57
  273   20222 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000005A0: COMMONPROGRAMFILES=C:\Program Files\Common Files
  252   20474 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000005E0: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
  252   20726 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000630: CommonProgramW6432=C:\Program Files\Common Files
  246   20972 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000670: COMPUTERNAME=EC2AMAZ-CR2O8CP
  253   21225 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000006A0: COMSPEC=C:\Windows\system32\cmd.exe
  251   21476 [main] drbdsetup 27895 parse_options: glob (called func)
  244   21720 [main] drbdsetup 27895 parse_options: returning
  120   21840 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000006D0: CYGWIN=noglob
  256   22096 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000710: EC2LAUNCH_TELEMETRY=1
  247   22343 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000730: FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
  247   22590 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000770: FPS_BROWSER_USER_PROFILE_STRING=Default
  245   22835 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000007A0: HOMEDRIVE=C:
  257   23092 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000007C0: HOMEPATH=\Users\Administrator
  255   23347 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000007F0: LOCALAPPDATA=C:\Users\Administrator\AppData\Local
  247   23594 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000830: LOGONSERVER=\\EC2AMAZ-CR2O8CP
  245   23839 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000860: NUMBER_OF_PROCESSORS=4
  249   24088 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000880: OS=Windows_NT
  275   24363 [main] drbdsetup 27895 getwinenv: can't set native for PATH= since no environ yet
  411   24774 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, 0x10000100, no-add-slash)
  129   24903 [main] drbdsetup 27895 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
  124   25027 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
  127   25154 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, 0x10000100, no-add-slash)
  117   25271 [main] drbdsetup 27895 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
  129   25400 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Windows = conv_to_posix_path (C:\Windows)
  129   25529 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, 0x10000100, no-add-slash)
  126   25655 [main] drbdsetup 27895 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
  123   25778 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
  127   25905 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, 0x10000100, no-add-slash)
  122   26027 [main] drbdsetup 27895 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
  143   26170 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
  122   26292 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Amazon\cfn-bootstrap, 0x10000100, no-add-slash)
  127   26419 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files\Amazon\cfn-bootstrap = normalize_win32_path (C:\Program Files\Amazon\cfn-bootstrap)
  122   26541 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /Amazon/cfn-bootstrap = conv_to_posix_path (C:\Program Files\Amazon\cfn-bootstrap)
  127   26668 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, 0x10000100, no-add-slash)
  123   26791 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  126   26917 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  123   27040 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, 0x10000100, no-add-slash)
  151   27191 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  123   27314 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  130   27444 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, 0x10000100, no-add-slash)
  124   27568 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  127   27695 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  122   27817 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn, 0x10000100, no-add-slash)
  127   27944 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files\Microsoft SQL Server\160\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  124   28068 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /Microsoft SQL Server/160/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  135   28203 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, 0x10000100, no-add-slash)
  122   28325 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  127   28452 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  123   28575 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn, 0x10000100, no-add-slash)
  126   28701 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files\Microsoft SQL Server\160\DTS\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  122   28823 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /Microsoft SQL Server/160/DTS/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  127   28950 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\WinDRBD, 0x10000100, no-add-slash)
  130   29080 [main] drbdsetup 27895 normalize_win32_path: C:\Program Files\WinDRBD = normalize_win32_path (C:\Program Files\WinDRBD)
  128   29208 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /WinDRBD = conv_to_posix_path (C:\Program Files\WinDRBD)
  122   29330 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\usr\sbin, 0x10000100, no-add-slash)
  126   29456 [main] drbdsetup 27895 normalize_win32_path: C:\WinDRBD\usr\sbin = normalize_win32_path (C:\WinDRBD\usr\sbin)
  121   29577 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/usr/sbin = conv_to_posix_path (C:\WinDRBD\usr\sbin)
  127   29704 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\usr\bin, 0x10000100, no-add-slash)
  122   29826 [main] drbdsetup 27895 normalize_win32_path: C:\WinDRBD\usr\bin = normalize_win32_path (C:\WinDRBD\usr\bin)
  126   29952 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/usr/bin = conv_to_posix_path (C:\WinDRBD\usr\bin)
  128   30080 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\bin, 0x10000100, no-add-slash)
  127   30207 [main] drbdsetup 27895 normalize_win32_path: C:\WinDRBD\bin = normalize_win32_path (C:\WinDRBD\bin)
  123   30330 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/bin = conv_to_posix_path (C:\WinDRBD\bin)
  127   30457 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, 0x10000100, no-add-slash)
  122   30579 [main] drbdsetup 27895 normalize_win32_path: C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps = normalize_win32_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  155   30734 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps = conv_to_posix_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  124   30858 [main] drbdsetup 27895 __set_errno: ssize_t env_PATH_to_posix(const void*, void*, size_t):4203 setting errno 36
  645   31503 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Windows/system32
  129   31632 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Windows/system32 = normalize_posix_path (/cygdrive/c/Windows/system32)
  126   31758 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/system32)
  127   31885 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/system32', dst 'C:\Windows\system32'
  122   32007 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/system32, dst C:\Windows\system32, flags 0x4020, rc 0
  370   32377 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\system32)
  218   32595 [main] drbdsetup 27895 symlink_info::check: not a symlink
  136   32731 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Windows\system32, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  120   32851 [main] drbdsetup 27895 path_conv::check: this->path(C:\Windows\system32), has_acls(1)
  120   32971 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Windows
  116   33087 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Windows = normalize_posix_path (/cygdrive/c/Windows)
  133   33220 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows)
  128   33348 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows', dst 'C:\Windows'
  126   33474 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows, dst C:\Windows, flags 0x4020, rc 0
  209   33683 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows)
  206   33889 [main] drbdsetup 27895 symlink_info::check: not a symlink
  138   34027 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Windows, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  130   34157 [main] drbdsetup 27895 path_conv::check: this->path(C:\Windows), has_acls(1)
  131   34288 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Windows/System32/Wbem
  121   34409 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Windows/System32/Wbem = normalize_posix_path (/cygdrive/c/Windows/System32/Wbem)
  126   34535 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/System32/Wbem)
  123   34658 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/System32/Wbem', dst 'C:\Windows\System32\Wbem'
  126   34784 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/System32/Wbem, dst C:\Windows\System32\Wbem, flags 0x4020, rc 0
  146   34930 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\System32\Wbem)
  240   35170 [main] drbdsetup 27895 symlink_info::check: not a symlink
  137   35307 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Windows\System32\Wbem, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  131   35438 [main] drbdsetup 27895 path_conv::check: this->path(C:\Windows\System32\Wbem), has_acls(1)
  134   35572 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
  126   35698 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = normalize_posix_path (/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0)
  122   35820 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0)
  128   35948 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0', dst 'C:\Windows\System32\WindowsPowerShell\v1.0'
  154   36102 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0, dst C:\Windows\System32\WindowsPowerShell\v1.0, flags 0x4020, rc 0
  157   36259 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\System32\WindowsPowerShell\v1.0)
  210   36469 [main] drbdsetup 27895 symlink_info::check: not a symlink
  139   36608 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Windows\System32\WindowsPowerShell\v1.0, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  123   36731 [main] drbdsetup 27895 path_conv::check: this->path(C:\Windows\System32\WindowsPowerShell\v1.0), has_acls(1)
  132   36863 [main] drbdsetup 27895 normalize_posix_path: src /Amazon/cfn-bootstrap
  120   36983 [main] drbdsetup 27895 normalize_posix_path: /Amazon/cfn-bootstrap = normalize_posix_path (/Amazon/cfn-bootstrap)
  141   37124 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/Amazon/cfn-bootstrap)
  123   37247 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /Amazon/cfn-bootstrap, dst C:\Program Files\Amazon\cfn-bootstrap, flags 0x30008, rc 0
  144   37391 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Amazon\cfn-bootstrap)
  206   37597 [main] drbdsetup 27895 symlink_info::check: not a symlink
  148   37745 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\Amazon\cfn-bootstrap, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  123   37868 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files\Amazon\cfn-bootstrap), has_acls(1)
  131   37999 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn
  126   38125 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn)
  128   38253 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn)
  123   38376 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn', dst 'C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn'
  126   38502 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn, dst C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, flags 0x4020, rc 0
  151   38653 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  214   38867 [main] drbdsetup 27895 symlink_info::check: not a symlink
  132   38999 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  159   39158 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn), has_acls(1)
  127   39285 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE
  128   39413 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE)
  121   39534 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE)
  128   39662 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE', dst 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE'
  124   39786 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE, dst C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, flags 0x4020, rc 0
  149   39935 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  220   40155 [main] drbdsetup 27895 symlink_info::check: not a symlink
  138   40293 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  122   40415 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE), has_acls(1)
  133   40548 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn
  122   40670 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn)
  126   40796 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn)
  123   40919 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn', dst 'C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn'
  126   41045 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn, dst C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, flags 0x4020, rc 0
  157   41202 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  214   41416 [main] drbdsetup 27895 symlink_info::check: not a symlink
  143   41559 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  128   41687 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn), has_acls(1)
  127   41814 [main] drbdsetup 27895 normalize_posix_path: src /Microsoft SQL Server/160/Tools/Binn
  127   41941 [main] drbdsetup 27895 normalize_posix_path: /Microsoft SQL Server/160/Tools/Binn = normalize_posix_path (/Microsoft SQL Server/160/Tools/Binn)
  124   42065 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/160/Tools/Binn)
  143   42208 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/160/Tools/Binn, dst C:\Program Files\Microsoft SQL Server\160\Tools\Binn, flags 0x30008, rc 0
  142   42350 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  205   42555 [main] drbdsetup 27895 symlink_info::check: not a symlink
  131   42686 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\160\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  127   42813 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\160\Tools\Binn), has_acls(1)
  127   42940 [main] drbdsetup 27895 normalize_posix_path: src /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn
  153   43093 [main] drbdsetup 27895 normalize_posix_path: /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn = normalize_posix_path (/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn)
  138   43231 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn)
  128   43359 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn, dst C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, flags 0x30008, rc 0
  144   43503 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  216   43719 [main] drbdsetup 27895 symlink_info::check: not a symlink
  132   43851 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  128   43979 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn), has_acls(1)
  133   44112 [main] drbdsetup 27895 normalize_posix_path: src /Microsoft SQL Server/160/DTS/Binn
  115   44227 [main] drbdsetup 27895 normalize_posix_path: /Microsoft SQL Server/160/DTS/Binn = normalize_posix_path (/Microsoft SQL Server/160/DTS/Binn)
  130   44357 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/160/DTS/Binn)
  123   44480 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/160/DTS/Binn, dst C:\Program Files\Microsoft SQL Server\160\DTS\Binn, flags 0x30008, rc 0
  147   44627 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  209   44836 [main] drbdsetup 27895 symlink_info::check: not a symlink
  137   44973 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\160\DTS\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  129   45102 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\160\DTS\Binn), has_acls(1)
  132   45234 [main] drbdsetup 27895 normalize_posix_path: src /WinDRBD
  121   45355 [main] drbdsetup 27895 normalize_posix_path: /WinDRBD = normalize_posix_path (/WinDRBD)
  126   45481 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/WinDRBD)
  122   45603 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /WinDRBD, dst C:\Program Files\WinDRBD, flags 0x30008, rc 0
  143   45746 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\WinDRBD)
  204   45950 [main] drbdsetup 27895 symlink_info::check: not a symlink
  138   46088 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\WinDRBD, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  127   46215 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files\WinDRBD), has_acls(1)
  126   46341 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/WinDRBD/usr/sbin
  128   46469 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/WinDRBD/usr/sbin = normalize_posix_path (/cygdrive/c/WinDRBD/usr/sbin)
  123   46592 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr/sbin)
  126   46718 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr/sbin', dst 'C:\WinDRBD\usr\sbin'
  123   46841 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr/sbin, dst C:\WinDRBD\usr\sbin, flags 0x4020, rc 0
  143   46984 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\usr\sbin)
  221   47205 [main] drbdsetup 27895 symlink_info::check: not a symlink
  139   47344 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr\sbin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  122   47466 [main] drbdsetup 27895 path_conv::check: this->path(C:\WinDRBD\usr\sbin), has_acls(1)
  129   47595 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/WinDRBD/usr/bin
  127   47722 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/WinDRBD/usr/bin = normalize_posix_path (/cygdrive/c/WinDRBD/usr/bin)
  126   47848 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr/bin)
  122   47970 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr/bin', dst 'C:\WinDRBD\usr\bin'
  136   48106 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr/bin, dst C:\WinDRBD\usr\bin, flags 0x4020, rc 0
  139   48245 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin)
  201   48446 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin)
  216   48662 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.exe)
  188   48850 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.exe)
  198   49048 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.lnk)
  202   49250 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.lnk)
  197   49447 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.exe.lnk)
  187   49634 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.exe.lnk)
  185   49819 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr\bin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  112   49931 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr)
  110   50041 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr', dst 'C:\WinDRBD\usr'
  126   50167 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr, dst C:\WinDRBD\usr, flags 0x4020, rc 0
  128   50295 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\usr)
  196   50491 [main] drbdsetup 27895 symlink_info::check: not a symlink
  120   50611 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  111   50722 [main] drbdsetup 27895 path_conv::check: this->path(C:\WinDRBD\usr\bin), has_acls(1)
  113   50835 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/WinDRBD/bin
  110   50945 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/WinDRBD/bin = normalize_posix_path (/cygdrive/c/WinDRBD/bin)
  108   51053 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/bin)
  136   51189 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/bin', dst 'C:\WinDRBD\bin'
  126   51315 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/bin, dst C:\WinDRBD\bin, flags 0x4020, rc 0
  129   51444 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\bin)
  199   51643 [main] drbdsetup 27895 symlink_info::check: not a symlink
  118   51761 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\WinDRBD\bin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  112   51873 [main] drbdsetup 27895 path_conv::check: this->path(C:\WinDRBD\bin), has_acls(1)
  113   51986 [main] drbdsetup 27895 normalize_posix_path: src /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  124   52110 [main] drbdsetup 27895 normalize_posix_path: /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps = normalize_posix_path (/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps)
  111   52221 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps)
  111   52332 [main] drbdsetup 27895 mount_info::cygdrive_win32_path: src '/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps', dst 'C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps'
  110   52442 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps, dst C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, flags 0x4020, rc 0
  128   52570 [main] drbdsetup 27895 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  200   52770 [main] drbdsetup 27895 symlink_info::check: not a symlink
  120   52890 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  111   53001 [main] drbdsetup 27895 path_conv::check: this->path(C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps), has_acls(1)
  349   53350 [main] drbdsetup 27895 win_env::add_cache: posix /cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  115   53465 [main] drbdsetup 27895 win_env::add_cache: native PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Amazon\cfn-bootstrap;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\WinDRBD;C:\WinDRBD\usr\sbin;C:\WinDRBD\usr\bin;C:\WinDRBD\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps
  113   53578 [main] drbdsetup 27895 posify_maybe: env var converted to PATH=/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  328   53906 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00001070: PATH=/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  248   54154 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000008A0: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
  227   54381 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000008F0: PROCESSOR_ARCHITECTURE=AMD64
  221   54602 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000920: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
  219   54821 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000970: PROCESSOR_LEVEL=6
  219   55040 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000990: PROCESSOR_REVISION=5504
  244   55284 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000009B0: ProgramData=C:\ProgramData
  218   55502 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000009E0: PROGRAMFILES=C:\Program Files
  220   55722 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000A10: ProgramFiles(x86)=C:\Program Files (x86)
  220   55942 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000A50: ProgramW6432=C:\Program Files
  242   56184 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00001320: PSModulePath=C:\Users\Administrator\Documents\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\PowerShell\Modules\
  221   56405 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000A80: PUBLIC=C:\Users\Public
  220   56625 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000AA0: SESSIONNAME=RDP-Tcp#2
  218   56843 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000AC0: SYSTEMDRIVE=C:
  247   57090 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000AE0: SYSTEMROOT=C:\Windows
  222   57312 [main] drbdsetup 27895 getwinenv: can't set native for TEMP= since no environ yet
  110   57422 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2, 0x10000000, no-add-slash)
  118   57540 [main] drbdsetup 27895 normalize_win32_path: C:\Users\ADMINI~1\AppData\Local\Temp\2 = normalize_win32_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  111   57651 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2 = conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  334   57985 [main] drbdsetup 27895 win_env::add_cache: posix /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  126   58111 [main] drbdsetup 27895 win_env::add_cache: native TEMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
  110   58221 [main] drbdsetup 27895 posify_maybe: env var converted to TEMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  325   58546 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000014A0: TEMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  221   58767 [main] drbdsetup 27895 getwinenv: can't set native for TMP= since no environ yet
  122   58889 [main] drbdsetup 27895 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2, 0x10000000, no-add-slash)
  112   59001 [main] drbdsetup 27895 normalize_win32_path: C:\Users\ADMINI~1\AppData\Local\Temp\2 = normalize_win32_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  138   59139 [main] drbdsetup 27895 mount_info::conv_to_posix_path: /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2 = conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  346   59485 [main] drbdsetup 27895 win_env::add_cache: posix /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  115   59600 [main] drbdsetup 27895 win_env::add_cache: native TMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
  115   59715 [main] drbdsetup 27895 posify_maybe: env var converted to TMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  375   60090 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00001560: TMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  221   60311 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00000B00: USERDOMAIN=EC2AMAZ-CR2O8CP
  231   60542 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000015A0: USERDOMAIN_ROAMINGPROFILE=EC2AMAZ-CR2O8CP
  265   60807 [main] drbdsetup 27895 win32env_to_cygenv: 0xA000015E0: USERNAME=Administrator
  247   61054 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00001600: USERPROFILE=C:\Users\Administrator
  257   61311 [main] drbdsetup 27895 win32env_to_cygenv: 0xA00001630: WINDIR=C:\Windows
  282   61593 [main] drbdsetup 27895 pinfo_init: Set nice to 0
  126   61719 [main] drbdsetup 27895 pinfo_init: pid 27895, pgid 27895, process_state 0x20041
  120   61839 [main] drbdsetup 27895 App version:  3004.6, api: 0.345
  122   61961 [main] drbdsetup 27895 DLL version:  3004.10, api: 0.345
  126   62087 [main] drbdsetup 27895 DLL build:    2023-11-29 12:12
  174   62261 [main] drbdsetup 27895 dtable::extend: size 32, fds 0x800007598
 2269   64530 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: NetLocalGroupGetInfo(None) 1376
  301   64831 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <None:S-1-5-21-2681376957-2637446313-3576276827-513:197121:>
 1129   65960 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <Local account and member of Administrators group:S-1-5-114:114:>
 1463   67423 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <Administrators:S-1-5-32-544:544:>
 1221   68644 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <Users:S-1-5-32-545:545:>
  224   68868 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <REMOTE INTERACTIVE LOGON:S-1-5-14:14:>
  249   69117 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <INTERACTIVE:S-1-5-4:4:>
  187   69304 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <Authenticated Users:S-1-5-11:11:>
  181   69485 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <This Organization:S-1-5-15:15:>
  207   69692 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <Local account:S-1-5-113:113:>
  189   69881 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <CurrentSession:S-1-5-5-0-93631236:4095:>
  181   70062 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <LOCAL:S-1-2-0:66048:>
  196   70258 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <NTLM Authentication:S-1-5-64-10:262154:>
  189   70447 [main] drbdsetup 27895 pwdgrp::fetch_account_from_windows: line: <High Mandatory Level:S-1-16-12288:405504:>
  165   70612 [main] drbdsetup 27895 cygheap_user::ontherange: what 2, pw 0x800006AF8
  128   70740 [main] drbdsetup 27895 cygheap_user::ontherange: Set HOME (from account db) to /home/Administrator
  464   71204 [main] drbdsetup 27895 normalize_posix_path: src /home/Administrator
  110   71314 [main] drbdsetup 27895 normalize_posix_path: /home/Administrator = normalize_posix_path (/home/Administrator)
  115   71429 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator)
  107   71536 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /home/Administrator, dst C:\Program Files\home\Administrator, flags 0x30008, rc 0
  139   71675 [main] drbdsetup 27895 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\Program Files\home\Administrator)
  231   71906 [main] drbdsetup 27895 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\Program Files\home\Administrator)
  241   72147 [main] drbdsetup 27895 symlink_info::check: not a symlink
  156   72303 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\home\Administrator, 0x7FFFFAD90) (mount_flags 0x30008, path_flags 0x0)
  166   72469 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/home)
  160   72629 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /home, dst C:\Program Files\home, flags 0x30008, rc 0
  172   72801 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home)
  212   73013 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home)
  211   73224 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home.lnk)
  196   73420 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home.lnk)
  192   73612 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\home, 0x7FFFFAD90) (mount_flags 0x30008, path_flags 0x0)
  162   73774 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files\home\Administrator), has_acls(1)
  255   74029 [main] drbdsetup 27895 win_env::add_cache: posix /home/Administrator
  141   74170 [main] drbdsetup 27895 win_env::add_cache: native HOME=C:\Program Files\home\Administrator
  273   74443 [main] drbdsetup 27895 normalize_posix_path: src /home/Administrator
  126   74569 [main] drbdsetup 27895 normalize_posix_path: /home/Administrator = normalize_posix_path (/home/Administrator)
  127   74696 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator)
  131   74827 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /home/Administrator, dst C:\Program Files\home\Administrator, flags 0x30008, rc 0
  172   74999 [main] drbdsetup 27895 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\Program Files\home\Administrator)
  229   75228 [main] drbdsetup 27895 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\Program Files\home\Administrator)
  191   75419 [main] drbdsetup 27895 symlink_info::check: not a symlink
  114   75533 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\home\Administrator, 0x7FFFFAE10) (mount_flags 0x30008, path_flags 0x0)
  112   75645 [main] drbdsetup 27895 mount_info::conv_to_win32_path: conv_to_win32_path (/home)
  112   75757 [main] drbdsetup 27895 mount_info::conv_to_win32_path: src_path /home, dst C:\Program Files\home, flags 0x30008, rc 0
  143   75900 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home)
  202   76102 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home)
  202   76304 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home.lnk)
  213   76517 [main] drbdsetup 27895 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home.lnk)
  217   76734 [main] drbdsetup 27895 symlink_info::check: 0 = symlink.check(C:\Program Files\home, 0x7FFFFAE10) (mount_flags 0x30008, path_flags 0x0)
  214   76948 [main] drbdsetup 27895 path_conv::check: this->path(C:\Program Files\home\Administrator), has_acls(1)
  312   77260 [main] drbdsetup 27895 win_env::add_cache: posix /home/Administrator
  119   77379 [main] drbdsetup 27895 win_env::add_cache: native HOME=C:\Program Files\home\Administrator
  265   77644 [main] drbdsetup 27895 build_argv: argv[0] = 'drbdsetup'
  129   77773 [main] drbdsetup 27895 build_argv: argv[1] = 'status'
  111   77884 [main] drbdsetup 27895 build_argv: argc 2
  233   78117 [main] drbdsetup 27895 open_shared: name b752e955140be146-cons0x301E2.0, shared 0x1A3000000 (wanted 0x1A3000000), h 0x3C, m 3, created 1
--- Process 8176 (pid: 27895) loaded C:\Windows\System32\user32.dll at 00007ffd4f0c0000
--- Process 8176 (pid: 27895) loaded C:\Windows\System32\win32u.dll at 00007ffd4d3b0000
--- Process 8176 (pid: 27895) loaded C:\Windows\System32\gdi32.dll at 00007ffd4f670000
--- Process 8176 (pid: 27895) loaded C:\Windows\System32\gdi32full.dll at 00007ffd4c370000
--- Process 8176 (pid: 27895) loaded C:\Windows\System32\imm32.dll at 00007ffd4faa0000
 4449   82566 [main] drbdsetup 27895 build_fh_pc: created an archetype (0x800009018) for /dev/cons0(3/0)
  116   82682 [main] drbdsetup 27895 build_fh_pc: fh 0x800008C98, dev 00030000
  224   82906 [main] drbdsetup 27895 fhandler_console::open: opened conin$ 0x178, conout$ 0x17C
--- Process 8176 (pid: 27895) thread 6968 created
  584   83490 [consm] drbdsetup 27895 cygthread::stub: thread 'consm', id 0x1B38, stack_ptr 0x2E3CCE0
  114   83604 [consm] drbdsetup 27895 SetThreadName: SetThreadDescription() failed. 00000000 10000000
16505  100109 [main] drbdsetup 27895 fhandler_base::open_with_arch: line 451:  /dev/cons0<0x800009018> usecount + 1 = 1
  151  100260 [main] drbdsetup 27895 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
  130  100390 [main] drbdsetup 27895 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
  114  100504 [main] drbdsetup 27895 fhandler_base::set_flags: filemode set to binary
  117  100621 [main] drbdsetup 27895 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
  110  100731 [main] drbdsetup 27895 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x800009018
  119  100850 [main] drbdsetup 27895 _pinfo::set_ctty: ctty was NULL
  109  100959 [main] drbdsetup 27895 _pinfo::set_ctty: line 548:  /dev/cons0<0x800009018> usecount + 1 = 2
  146  101105 [main] drbdsetup 27895 _pinfo::set_ctty: /dev/cons0 ctty, usecount 2

[-- Attachment #4: drbdadm.strace2 --]
[-- Type: text/plain, Size: 49484 bytes --]

--- Process 6928 created
--- Process 6928 loaded C:\Windows\System32\ntdll.dll at 00007ffd4fed0000
--- Process 6928 loaded C:\Windows\System32\kernel32.dll at 00007ffd4f6b0000
--- Process 6928 loaded C:\Windows\System32\KernelBase.dll at 00007ffd4c500000
--- Process 6928 thread 6852 created
--- Process 6928 loaded C:\Windows\System32\advapi32.dll at 00007ffd4f880000
--- Process 6928 loaded C:\Windows\System32\msvcrt.dll at 00007ffd4f5a0000
--- Process 6928 thread 5436 created
--- Process 6928 loaded C:\Windows\System32\sechost.dll at 00007ffd4fad0000
--- Process 6928 loaded C:\Windows\System32\rpcrt4.dll at 00007ffd4f760000
--- Process 6928 loaded C:\Windows\System32\bcrypt.dll at 00007ffd4d1d0000
--- Process 6928 loaded C:\Program Files\WinDRBD\cygwin1.dll at 00007ffd42230000
--- Process 6928 thread 2620 created
    1       1 [main] drbdsetup (6928) **********************************************
  222     223 [main] drbdsetup (6928) Program name: C:\WinDRBD\usr\sbin\drbdsetup.exe (windows pid 6928)
  170     393 [main] drbdsetup (6928) OS version:   Windows NT-10.0
  103     496 [main] drbdsetup (6928) **********************************************
--- Process 6928 loaded C:\Windows\System32\cryptbase.dll at 00007ffd4b800000
--- Process 6928 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffd4c720000
 2553    3049 [main] drbdsetup (6928) sigprocmask: 0 = sigprocmask (0, 0x0, 0x7FFD425093B0)
  660    3709 [main] drbdsetup (6928) open_shared: name shared.5, shared 0x1A0000000 (wanted 0x1A0000000), h 0xEC, m 0, created 0
  148    3857 [main] drbdsetup (6928) user_heap_info::init: heap base 0xA00000000, heap top 0xA00000000, heap size 0x20000000 (536870912)
  110    3967 [main] drbdsetup (6928) open_shared: name S-1-5-21-2681376957-2637446313-3576276827-500.1, shared 0x1A1000000 (wanted 0x1A1000000), h 0xE8, m 1, created 0
  144    4111 [main] drbdsetup (6928) user_info::create: opening user shared for 'S-1-5-21-2681376957-2637446313-3576276827-500' at 0x1A1000000
  133    4244 [main] drbdsetup (6928) user_info::create: user shared version AB1FCCE8
  148    4392 [main] drbdsetup (6928) fhandler_pipe::create: name \\.\pipe\cygwin-b752e955140be146-6928-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
  129    4521 [main] drbdsetup (6928) fhandler_pipe::create: pipe read handle 0x104
   91    4612 [main] drbdsetup (6928) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-b752e955140be146-6928-sigwait
  109    4721 [main] drbdsetup (6928) fhandler_pipe::create: pipe write handle 0x108
   94    4815 [main] drbdsetup (6928) dll_crt0_0: finished dll_crt0_0 initialization
--- Process 6928 thread 6856 created
  466    5281 [sig] drbdsetup (6928) SetThreadName: SetThreadDescription() failed. 00000000 10000000
  230    5511 [sig] drbdsetup (6928) wait_sig: entering ReadFile loop, my_readsig 0x104, my_sendsig 0x108
 1231    6742 [main] drbdsetup (6928) mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Administrator\Desktop, 0x0, no-add-slash)
  455    7197 [main] drbdsetup (6928) normalize_win32_path: C:\Users\Administrator\Desktop = normalize_win32_path (C:\Users\Administrator\Desktop)
   93    7290 [main] drbdsetup (6928) mount_info::conv_to_posix_path: /cygdrive/c/Users/Administrator/Desktop = conv_to_posix_path (C:\Users\Administrator\Desktop)
  102    7392 [main] drbdsetup (6928) time: 1716300186 = time(0x0)
  178    7570 [main] drbdsetup (6928) sigprocmask: 0 = sigprocmask (0, 0x0, 0xA00000100)
  472    8042 [main] drbdsetup (6928) _cygwin_istext_for_stdio: fd 0: not open
   92    8134 [main] drbdsetup (6928) _cygwin_istext_for_stdio: fd 1: not open
   89    8223 [main] drbdsetup (6928) _cygwin_istext_for_stdio: fd 2: not open
  281    8504 [main] drbdsetup (6928) open_shared: name cygpid.27899, shared 0x1A2000000 (wanted 0x1A2000000), h 0x128, m 2, created 1
  138    8642 [main] drbdsetup (6928) time: 1716300186 = time(0x0)
   99    8741 [main] drbdsetup 27899 pinfo::thisproc: myself dwProcessId 6928
  136    8877 [main] drbdsetup 27899 environ_init: GetEnvironmentStrings returned 0x7F1EC0
  923    9800 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000004B0: !M:=M:\
  401   10201 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000004D0: !W:=W:\
  336   10537 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000004F0: ALLUSERSPROFILE=C:\ProgramData
  333   10870 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000520: APPDATA=C:\Users\Administrator\AppData\Roaming
  360   11230 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000560: AWS_EXECUTION_ENV=EC2
  334   11564 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000580: CLIENTNAME=88665a375d57
  333   11897 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000005A0: COMMONPROGRAMFILES=C:\Program Files\Common Files
  370   12267 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000005E0: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
  333   12600 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000630: CommonProgramW6432=C:\Program Files\Common Files
  357   12957 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000670: COMPUTERNAME=EC2AMAZ-CR2O8CP
  333   13290 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000006A0: COMSPEC=C:\Windows\system32\cmd.exe
  332   13622 [main] drbdsetup 27899 parse_options: glob (called func)
  340   13962 [main] drbdsetup 27899 parse_options: returning
  157   14119 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000006D0: CYGWIN=noglob
  341   14460 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000710: EC2LAUNCH_TELEMETRY=1
  331   14791 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000730: HOMEDRIVE=C:
  351   15142 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000750: HOMEPATH=\Users\Administrator
  334   15476 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000780: LOCALAPPDATA=C:\Users\Administrator\AppData\Local
  331   15807 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000007C0: LOGONSERVER=\\EC2AMAZ-CR2O8CP
  343   16150 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000007F0: NUMBER_OF_PROCESSORS=4
  329   16479 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000810: OS=Windows_NT
  358   16837 [main] drbdsetup 27899 getwinenv: can't set native for PATH= since no environ yet
  478   17315 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, 0x10000100, no-add-slash)
  169   17484 [main] drbdsetup 27899 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
  168   17652 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
  163   17815 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, 0x10000100, no-add-slash)
  166   17981 [main] drbdsetup 27899 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
  168   18149 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Windows = conv_to_posix_path (C:\Windows)
  170   18319 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, 0x10000100, no-add-slash)
  165   18484 [main] drbdsetup 27899 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
  170   18654 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
  165   18819 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, 0x10000100, no-add-slash)
  170   18989 [main] drbdsetup 27899 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
  172   19161 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
  170   19331 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Amazon\cfn-bootstrap, 0x10000100, no-add-slash)
  170   19501 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files\Amazon\cfn-bootstrap = normalize_win32_path (C:\Program Files\Amazon\cfn-bootstrap)
  199   19700 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /Amazon/cfn-bootstrap = conv_to_posix_path (C:\Program Files\Amazon\cfn-bootstrap)
  168   19868 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, 0x10000100, no-add-slash)
  185   20053 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  167   20220 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  170   20390 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, 0x10000100, no-add-slash)
  165   20555 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  170   20725 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  165   20890 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, 0x10000100, no-add-slash)
  175   21065 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  167   21232 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  169   21401 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn, 0x10000100, no-add-slash)
  165   21566 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files\Microsoft SQL Server\160\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  169   21735 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /Microsoft SQL Server/160/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  166   21901 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, 0x10000100, no-add-slash)
  175   22076 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  166   22242 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  170   22412 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn, 0x10000100, no-add-slash)
  166   22578 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files\Microsoft SQL Server\160\DTS\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  169   22747 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /Microsoft SQL Server/160/DTS/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  166   22913 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\WinDRBD, 0x10000100, no-add-slash)
  173   23086 [main] drbdsetup 27899 normalize_win32_path: C:\Program Files\WinDRBD = normalize_win32_path (C:\Program Files\WinDRBD)
  166   23252 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /WinDRBD = conv_to_posix_path (C:\Program Files\WinDRBD)
  171   23423 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\usr\sbin, 0x10000100, no-add-slash)
  167   23590 [main] drbdsetup 27899 normalize_win32_path: C:\WinDRBD\usr\sbin = normalize_win32_path (C:\WinDRBD\usr\sbin)
  170   23760 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/usr/sbin = conv_to_posix_path (C:\WinDRBD\usr\sbin)
  170   23930 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\usr\bin, 0x10000100, no-add-slash)
  186   24116 [main] drbdsetup 27899 normalize_win32_path: C:\WinDRBD\usr\bin = normalize_win32_path (C:\WinDRBD\usr\bin)
  166   24282 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/usr/bin = conv_to_posix_path (C:\WinDRBD\usr\bin)
  170   24452 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WinDRBD\bin, 0x10000100, no-add-slash)
  164   24616 [main] drbdsetup 27899 normalize_win32_path: C:\WinDRBD\bin = normalize_win32_path (C:\WinDRBD\bin)
  170   24786 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/WinDRBD/bin = conv_to_posix_path (C:\WinDRBD\bin)
  193   24979 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, 0x10000100, no-add-slash)
  164   25143 [main] drbdsetup 27899 normalize_win32_path: C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps = normalize_win32_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  171   25314 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps = conv_to_posix_path (C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  166   25480 [main] drbdsetup 27899 __set_errno: ssize_t env_PATH_to_posix(const void*, void*, size_t):4203 setting errno 36
  671   26151 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Windows/system32
  170   26321 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Windows/system32 = normalize_posix_path (/cygdrive/c/Windows/system32)
  167   26488 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/system32)
  165   26653 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/system32', dst 'C:\Windows\system32'
  159   26812 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/system32, dst C:\Windows\system32, flags 0x4020, rc 0
  388   27200 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\system32)
  306   27506 [main] drbdsetup 27899 symlink_info::check: not a symlink
  177   27683 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Windows\system32, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  172   27855 [main] drbdsetup 27899 path_conv::check: this->path(C:\Windows\system32), has_acls(1)
  179   28034 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Windows
  167   28201 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Windows = normalize_posix_path (/cygdrive/c/Windows)
  169   28370 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows)
  165   28535 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows', dst 'C:\Windows'
  169   28704 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows, dst C:\Windows, flags 0x4020, rc 0
  189   28893 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows)
  300   29193 [main] drbdsetup 27899 symlink_info::check: not a symlink
  179   29372 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Windows, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  159   29531 [main] drbdsetup 27899 path_conv::check: this->path(C:\Windows), has_acls(1)
  173   29704 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Windows/System32/Wbem
  165   29869 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Windows/System32/Wbem = normalize_posix_path (/cygdrive/c/Windows/System32/Wbem)
  176   30045 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/System32/Wbem)
  168   30213 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/System32/Wbem', dst 'C:\Windows\System32\Wbem'
  169   30382 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/System32/Wbem, dst C:\Windows\System32\Wbem, flags 0x4020, rc 0
  182   30564 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\System32\Wbem)
  296   30860 [main] drbdsetup 27899 symlink_info::check: not a symlink
  204   31064 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Windows\System32\Wbem, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  171   31235 [main] drbdsetup 27899 path_conv::check: this->path(C:\Windows\System32\Wbem), has_acls(1)
  168   31403 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
  169   31572 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = normalize_posix_path (/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0)
  165   31737 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0)
  170   31907 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0', dst 'C:\Windows\System32\WindowsPowerShell\v1.0'
  209   32116 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0, dst C:\Windows\System32\WindowsPowerShell\v1.0, flags 0x4020, rc 0
  195   32311 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Windows\System32\WindowsPowerShell\v1.0)
  292   32603 [main] drbdsetup 27899 symlink_info::check: not a symlink
  177   32780 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Windows\System32\WindowsPowerShell\v1.0, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  183   32963 [main] drbdsetup 27899 path_conv::check: this->path(C:\Windows\System32\WindowsPowerShell\v1.0), has_acls(1)
  172   33135 [main] drbdsetup 27899 normalize_posix_path: src /Amazon/cfn-bootstrap
  168   33303 [main] drbdsetup 27899 normalize_posix_path: /Amazon/cfn-bootstrap = normalize_posix_path (/Amazon/cfn-bootstrap)
  165   33468 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/Amazon/cfn-bootstrap)
  170   33638 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /Amazon/cfn-bootstrap, dst C:\Program Files\Amazon\cfn-bootstrap, flags 0x30008, rc 0
  183   33821 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Amazon\cfn-bootstrap)
  302   34123 [main] drbdsetup 27899 symlink_info::check: not a symlink
  189   34312 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\Amazon\cfn-bootstrap, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  160   34472 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files\Amazon\cfn-bootstrap), has_acls(1)
  176   34648 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn
  164   34812 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn)
  177   34989 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn)
  156   35145 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn', dst 'C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn'
  169   35314 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn, dst C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, flags 0x4020, rc 0
  195   35509 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn)
  296   35805 [main] drbdsetup 27899 symlink_info::check: not a symlink
  192   35997 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  168   36165 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn), has_acls(1)
  175   36340 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE
  164   36504 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE)
  170   36674 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE)
  165   36839 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE', dst 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE'
  175   37014 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE, dst C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, flags 0x4020, rc 0
  186   37200 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE)
  298   37498 [main] drbdsetup 27899 symlink_info::check: not a symlink
  176   37674 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  158   37832 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE), has_acls(1)
  184   38016 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn
  165   38181 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn = normalize_posix_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn)
  170   38351 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn)
  165   38516 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn', dst 'C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn'
  169   38685 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn, dst C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, flags 0x4020, rc 0
  182   38867 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn)
  302   39169 [main] drbdsetup 27899 symlink_info::check: not a symlink
  191   39360 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  160   39520 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn), has_acls(1)
  176   39696 [main] drbdsetup 27899 normalize_posix_path: src /Microsoft SQL Server/160/Tools/Binn
  165   39861 [main] drbdsetup 27899 normalize_posix_path: /Microsoft SQL Server/160/Tools/Binn = normalize_posix_path (/Microsoft SQL Server/160/Tools/Binn)
  182   40043 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/160/Tools/Binn)
  170   40213 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/160/Tools/Binn, dst C:\Program Files\Microsoft SQL Server\160\Tools\Binn, flags 0x30008, rc 0
  194   40407 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\160\Tools\Binn)
  293   40700 [main] drbdsetup 27899 symlink_info::check: not a symlink
  172   40872 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\160\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  177   41049 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\160\Tools\Binn), has_acls(1)
  170   41219 [main] drbdsetup 27899 normalize_posix_path: src /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn
  169   41388 [main] drbdsetup 27899 normalize_posix_path: /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn = normalize_posix_path (/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn)
  164   41552 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn)
  170   41722 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn, dst C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, flags 0x30008, rc 0
  182   41904 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn)
  307   42211 [main] drbdsetup 27899 symlink_info::check: not a symlink
  177   42388 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  160   42548 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn), has_acls(1)
  172   42720 [main] drbdsetup 27899 normalize_posix_path: src /Microsoft SQL Server/160/DTS/Binn
  169   42889 [main] drbdsetup 27899 normalize_posix_path: /Microsoft SQL Server/160/DTS/Binn = normalize_posix_path (/Microsoft SQL Server/160/DTS/Binn)
  195   43084 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/Microsoft SQL Server/160/DTS/Binn)
  170   43254 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /Microsoft SQL Server/160/DTS/Binn, dst C:\Program Files\Microsoft SQL Server\160\DTS\Binn, flags 0x30008, rc 0
  182   43436 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\Microsoft SQL Server\160\DTS\Binn)
  296   43732 [main] drbdsetup 27899 symlink_info::check: not a symlink
  178   43910 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\Microsoft SQL Server\160\DTS\Binn, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  199   44109 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files\Microsoft SQL Server\160\DTS\Binn), has_acls(1)
  177   44286 [main] drbdsetup 27899 normalize_posix_path: src /WinDRBD
  164   44450 [main] drbdsetup 27899 normalize_posix_path: /WinDRBD = normalize_posix_path (/WinDRBD)
  169   44619 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/WinDRBD)
  165   44784 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /WinDRBD, dst C:\Program Files\WinDRBD, flags 0x30008, rc 0
  187   44971 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Program Files\WinDRBD)
  282   45253 [main] drbdsetup 27899 symlink_info::check: not a symlink
  176   45429 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\WinDRBD, 0x7FFFFB6A0) (mount_flags 0x30008, path_flags 0x0)
  159   45588 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files\WinDRBD), has_acls(1)
  175   45763 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/WinDRBD/usr/sbin
  164   45927 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/WinDRBD/usr/sbin = normalize_posix_path (/cygdrive/c/WinDRBD/usr/sbin)
  177   46104 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr/sbin)
  168   46272 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr/sbin', dst 'C:\WinDRBD\usr\sbin'
  169   46441 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr/sbin, dst C:\WinDRBD\usr\sbin, flags 0x4020, rc 0
  181   46622 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\usr\sbin)
  296   46918 [main] drbdsetup 27899 symlink_info::check: not a symlink
  206   47124 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr\sbin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  170   47294 [main] drbdsetup 27899 path_conv::check: this->path(C:\WinDRBD\usr\sbin), has_acls(1)
  168   47462 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/WinDRBD/usr/bin
  168   47630 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/WinDRBD/usr/bin = normalize_posix_path (/cygdrive/c/WinDRBD/usr/bin)
  165   47795 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr/bin)
  175   47970 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr/bin', dst 'C:\WinDRBD\usr\bin'
  174   48144 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr/bin, dst C:\WinDRBD\usr\bin, flags 0x4020, rc 0
  189   48333 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin)
  282   48615 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin)
  299   48914 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.exe)
  314   49228 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.exe)
  301   49529 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.lnk)
  283   49812 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.lnk)
  308   50120 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\WinDRBD\usr\bin.exe.lnk)
  285   50405 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\WinDRBD\usr\bin.exe.lnk)
  289   50694 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr\bin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  168   50862 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/usr)
  188   51050 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/usr', dst 'C:\WinDRBD\usr'
  172   51222 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/usr, dst C:\WinDRBD\usr, flags 0x4020, rc 0
  183   51405 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\usr)
  296   51701 [main] drbdsetup 27899 symlink_info::check: not a symlink
  177   51878 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\WinDRBD\usr, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  201   52079 [main] drbdsetup 27899 path_conv::check: this->path(C:\WinDRBD\usr\bin), has_acls(1)
  176   52255 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/WinDRBD/bin
  165   52420 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/WinDRBD/bin = normalize_posix_path (/cygdrive/c/WinDRBD/bin)
  169   52589 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WinDRBD/bin)
  165   52754 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/WinDRBD/bin', dst 'C:\WinDRBD\bin'
  196   52950 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/WinDRBD/bin, dst C:\WinDRBD\bin, flags 0x4020, rc 0
  181   53131 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\WinDRBD\bin)
  324   53455 [main] drbdsetup 27899 symlink_info::check: not a symlink
  178   53633 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\WinDRBD\bin, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  158   53791 [main] drbdsetup 27899 path_conv::check: this->path(C:\WinDRBD\bin), has_acls(1)
  182   53973 [main] drbdsetup 27899 normalize_posix_path: src /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  172   54145 [main] drbdsetup 27899 normalize_posix_path: /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps = normalize_posix_path (/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps)
  170   54315 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps)
  172   54487 [main] drbdsetup 27899 mount_info::cygdrive_win32_path: src '/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps', dst 'C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps'
  170   54657 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps, dst C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, flags 0x4020, rc 0
  185   54842 [main] drbdsetup 27899 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps)
  303   55145 [main] drbdsetup 27899 symlink_info::check: not a symlink
  177   55322 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps, 0x7FFFFB6A0) (mount_flags 0x4020, path_flags 0x0)
  159   55481 [main] drbdsetup 27899 path_conv::check: this->path(C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps), has_acls(1)
  514   55995 [main] drbdsetup 27899 win_env::add_cache: posix /cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  179   56174 [main] drbdsetup 27899 win_env::add_cache: native PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Amazon\cfn-bootstrap;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\WinDRBD;C:\WinDRBD\usr\sbin;C:\WinDRBD\usr\bin;C:\WinDRBD\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps
  174   56348 [main] drbdsetup 27899 posify_maybe: env var converted to PATH=/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  501   56849 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00001000: PATH=/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/Amazon/cfn-bootstrap:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server Management Studio 19/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/160/Tools/Binn:/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/Microsoft SQL Server/160/DTS/Binn:/WinDRBD:/cygdrive/c/WinDRBD/usr/sbin:/cygdrive/c/WinDRBD/usr/bin:/cygdrive/c/WinDRBD/bin:/cygdrive/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps
  348   57197 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000830: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
  334   57531 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000880: PROCESSOR_ARCHITECTURE=AMD64
  329   57860 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000008B0: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
  337   58197 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000900: PROCESSOR_LEVEL=6
  331   58528 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000920: PROCESSOR_REVISION=5504
  332   58860 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000940: ProgramData=C:\ProgramData
  337   59197 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000970: PROGRAMFILES=C:\Program Files
  332   59529 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000009A0: ProgramFiles(x86)=C:\Program Files (x86)
  334   59863 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000009E0: ProgramW6432=C:\Program Files
  356   60219 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000012B0: PSModulePath=C:\Users\Administrator\Documents\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\PowerShell\Modules\
  332   60551 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000A10: PUBLIC=C:\Users\Public
  332   60883 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000A30: SESSIONNAME=RDP-Tcp#0
  339   61222 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000A50: SYSTEMDRIVE=C:
  332   61554 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000A70: SYSTEMROOT=C:\Windows
  331   61885 [main] drbdsetup 27899 getwinenv: can't set native for TEMP= since no environ yet
  179   62064 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2, 0x10000000, no-add-slash)
  169   62233 [main] drbdsetup 27899 normalize_win32_path: C:\Users\ADMINI~1\AppData\Local\Temp\2 = normalize_win32_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  170   62403 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2 = conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  493   62896 [main] drbdsetup 27899 win_env::add_cache: posix /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  178   63074 [main] drbdsetup 27899 win_env::add_cache: native TEMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
  167   63241 [main] drbdsetup 27899 posify_maybe: env var converted to TEMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  504   63745 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00001430: TEMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  352   64097 [main] drbdsetup 27899 getwinenv: can't set native for TMP= since no environ yet
  165   64262 [main] drbdsetup 27899 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2, 0x10000000, no-add-slash)
  170   64432 [main] drbdsetup 27899 normalize_win32_path: C:\Users\ADMINI~1\AppData\Local\Temp\2 = normalize_win32_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  167   64599 [main] drbdsetup 27899 mount_info::conv_to_posix_path: /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2 = conv_to_posix_path (C:\Users\ADMINI~1\AppData\Local\Temp\2)
  519   65118 [main] drbdsetup 27899 win_env::add_cache: posix /cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  166   65284 [main] drbdsetup 27899 win_env::add_cache: native TMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
  172   65456 [main] drbdsetup 27899 posify_maybe: env var converted to TMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  518   65974 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000014F0: TMP=/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/2
  329   66303 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00000A90: USERDOMAIN=EC2AMAZ-CR2O8CP
  332   66635 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00001530: USERDOMAIN_ROAMINGPROFILE=EC2AMAZ-CR2O8CP
  338   66973 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00001570: USERNAME=Administrator
  323   67296 [main] drbdsetup 27899 win32env_to_cygenv: 0xA00001590: USERPROFILE=C:\Users\Administrator
  332   67628 [main] drbdsetup 27899 win32env_to_cygenv: 0xA000015C0: WINDIR=C:\Windows
  451   68079 [main] drbdsetup 27899 pinfo_init: Set nice to 0
  167   68246 [main] drbdsetup 27899 pinfo_init: pid 27899, pgid 27899, process_state 0x20041
  173   68419 [main] drbdsetup 27899 App version:  3004.6, api: 0.345
  174   68593 [main] drbdsetup 27899 DLL version:  3004.10, api: 0.345
  170   68763 [main] drbdsetup 27899 DLL build:    2023-11-29 12:12
  201   68964 [main] drbdsetup 27899 dtable::extend: size 32, fds 0x800006DC8
  678   69642 [main] drbdsetup 27899 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-b752e955140be146-lpc
  312   69954 [main] drbdsetup 27899 transport_layer_pipes::connect: Error opening the pipe (2)
  350   70304 [main] drbdsetup 27899 client_request::make_request: cygserver un-available
--- Process 6928 (pid: 27899) loaded C:\Windows\System32\netapi32.dll at 00007ffd3ff40000
--- Process 6928 (pid: 27899) loaded C:\Windows\System32\samcli.dll at 00007ffd49650000
--- Process 6928 (pid: 27899) loaded C:\Windows\System32\ucrtbase.dll at 00007ffd4d200000
--- Process 6928 (pid: 27899) loaded C:\Windows\System32\samlib.dll at 00007ffd44110000
--- Process 6928 (pid: 27899) loaded C:\Windows\System32\netutils.dll at 00007ffd4b450000
10592   80896 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <Administrator:*:197108:197121:U-EC2AMAZ-CR2O8CP\Administrator,S-1-5-21-2681376957-2637446313-3576276827-500:/home/Administrator:/bin/bash>
 1786   82682 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: NetLocalGroupGetInfo(None) 1376
  302   82984 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <None:S-1-5-21-2681376957-2637446313-3576276827-513:197121:>
  834   83818 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <Local account and member of Administrators group:S-1-5-114:114:>
 1093   84911 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <Administrators:S-1-5-32-544:544:>
  978   85889 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <Users:S-1-5-32-545:545:>
  229   86118 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <REMOTE INTERACTIVE LOGON:S-1-5-14:14:>
  207   86325 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <INTERACTIVE:S-1-5-4:4:>
  210   86535 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <Authenticated Users:S-1-5-11:11:>
  203   86738 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <This Organization:S-1-5-15:15:>
  237   86975 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <Local account:S-1-5-113:113:>
  211   87186 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <CurrentSession:S-1-5-5-0-93631236:4095:>
  209   87395 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <LOCAL:S-1-2-0:66048:>
  206   87601 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <NTLM Authentication:S-1-5-64-10:262154:>
  210   87811 [main] drbdsetup 27899 pwdgrp::fetch_account_from_windows: line: <High Mandatory Level:S-1-16-12288:405504:>
  196   88007 [main] drbdsetup 27899 cygheap_user::ontherange: what 2, pw 0x800006F58
  128   88135 [main] drbdsetup 27899 cygheap_user::ontherange: Set HOME (from account db) to /home/Administrator
  507   88642 [main] drbdsetup 27899 normalize_posix_path: src /home/Administrator
  134   88776 [main] drbdsetup 27899 normalize_posix_path: /home/Administrator = normalize_posix_path (/home/Administrator)
  130   88906 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator)
  138   89044 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /home/Administrator, dst C:\Program Files\home\Administrator, flags 0x30008, rc 0
  154   89198 [main] drbdsetup 27899 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\Program Files\home\Administrator)
  213   89411 [main] drbdsetup 27899 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\Program Files\home\Administrator)
  210   89621 [main] drbdsetup 27899 symlink_info::check: not a symlink
  130   89751 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\home\Administrator, 0x7FFFFAD90) (mount_flags 0x30008, path_flags 0x0)
  127   89878 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/home)
  158   90036 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /home, dst C:\Program Files\home, flags 0x30008, rc 0
  158   90194 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home)
  210   90404 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home)
  224   90628 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home.lnk)
  214   90842 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home.lnk)
  248   91090 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\home, 0x7FFFFAD90) (mount_flags 0x30008, path_flags 0x0)
  179   91269 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files\home\Administrator), has_acls(1)
  258   91527 [main] drbdsetup 27899 win_env::add_cache: posix /home/Administrator
  131   91658 [main] drbdsetup 27899 win_env::add_cache: native HOME=C:\Program Files\home\Administrator
  255   91913 [main] drbdsetup 27899 normalize_posix_path: src /home/Administrator
  172   92085 [main] drbdsetup 27899 normalize_posix_path: /home/Administrator = normalize_posix_path (/home/Administrator)
  132   92217 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator)
  128   92345 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /home/Administrator, dst C:\Program Files\home\Administrator, flags 0x30008, rc 0
  153   92498 [main] drbdsetup 27899 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\Program Files\home\Administrator)
  208   92706 [main] drbdsetup 27899 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\Program Files\home\Administrator)
  245   92951 [main] drbdsetup 27899 symlink_info::check: not a symlink
  129   93080 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\home\Administrator, 0x7FFFFAE10) (mount_flags 0x30008, path_flags 0x0)
  131   93211 [main] drbdsetup 27899 mount_info::conv_to_win32_path: conv_to_win32_path (/home)
  127   93338 [main] drbdsetup 27899 mount_info::conv_to_win32_path: src_path /home, dst C:\Program Files\home, flags 0x30008, rc 0
  146   93484 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home)
  208   93692 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home)
  255   93947 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\Program Files\home.lnk)
  211   94158 [main] drbdsetup 27899 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\Program Files\home.lnk)
  214   94372 [main] drbdsetup 27899 symlink_info::check: 0 = symlink.check(C:\Program Files\home, 0x7FFFFAE10) (mount_flags 0x30008, path_flags 0x0)
  177   94549 [main] drbdsetup 27899 path_conv::check: this->path(C:\Program Files\home\Administrator), has_acls(1)
  252   94801 [main] drbdsetup 27899 win_env::add_cache: posix /home/Administrator
  162   94963 [main] drbdsetup 27899 win_env::add_cache: native HOME=C:\Program Files\home\Administrator
  317   95280 [main] drbdsetup 27899 build_argv: argv[0] = 'drbdsetup'
  127   95407 [main] drbdsetup 27899 build_argv: argv[1] = 'status'
  132   95539 [main] drbdsetup 27899 build_argv: argc 2

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

* Re: cygwin application hangs on closing console
  2024-05-21 16:23             ` Johannes Khoshnazar-Thoma
@ 2024-06-03 13:20               ` Johannes Khoshnazar-Thoma
  2024-06-28 12:17                 ` Takashi Yano
  0 siblings, 1 reply; 12+ messages in thread
From: Johannes Khoshnazar-Thoma @ 2024-06-03 13:20 UTC (permalink / raw)
  To: cygwin

Hi List,

We did more testing and it looks like the name of the event
that signals console master thread start and end is shared between
unrelated processes (it uses the console minor which is always (?)
0 when running from a powershell).

So since it is a two-state event (as opposed to a semaphore)
in theory the following can happen:

Process A	Process B
SetEvent(e)
		SetEvent(e)
Waitforevent(e)
		Waitforevent(e)

The second SetEvent does nothing. As a result the
later Waitforevent is stuck (which is what we observe).

So the question is: why should this event be used in
unrelated cygwin processes? Is there a technical reason
we don't understand (yet) for doing that (sharing the event).

We patched cygwin to use pseudo random event names (the
tm_usec field of gettimeofday()) and the stuckness vanished.
So unless there is a reason for sharing the event between
cygwin processes this patch should work:

 From f2e2d125a21487579ecb9173406c6322ee4ecfeb Mon Sep 17 00:00:00 2001
From: Johannes Thoma <johannes@johannesthoma.com>
Date: Wed, 29 May 2024 17:35:35 +0000
Subject: [PATCH] console: use pseudo random thread_sync_event name

---
  winsup/cygwin/fhandler/console.cc       | 9 +++++++--
  winsup/cygwin/local_includes/fhandler.h | 1 +
  2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/fhandler/console.cc b/winsup/cygwin/fhandler/console.cc
index 1352482e9..d9c88d245 100644
--- a/winsup/cygwin/fhandler/console.cc
+++ b/winsup/cygwin/fhandler/console.cc
@@ -1895,7 +1895,12 @@ debug_printf("myself->pid %d con.owner %d\n", myself->pid, con.owner);
        if (GetModuleHandle ("ConEmuHk64.dll"))
  	hook_conemu_cygwin_connector ();
        char name[MAX_PATH];
-      shared_name (name, CONS_THREAD_SYNC, get_minor ());
+
+      struct timeval v;
+      gettimeofday(&v, NULL);
+      a_random_number = v.tv_usec;
+
+      shared_name (name, CONS_THREAD_SYNC, a_random_number);
        thread_sync_event = CreateEvent(NULL, FALSE, FALSE, name);
@@ -1983,7 +1988,7 @@ debug_printf("%s: 1\n", __func__);
  	  char name[MAX_PATH];
-	  shared_name (name, CONS_THREAD_SYNC, get_minor ());
+	  shared_name (name, CONS_THREAD_SYNC, a_random_number);
  	  thread_sync_event = OpenEvent (MAXIMUM_ALLOWED, FALSE, name);
diff --git a/winsup/cygwin/local_includes/fhandler.h b/winsup/cygwin/local_includes/fhandler.h
index 978d3e514..132dc6477 100644
--- a/winsup/cygwin/local_includes/fhandler.h
+++ b/winsup/cygwin/local_includes/fhandler.h
@@ -2215,6 +2215,7 @@ public:
    };
    typedef cons_handle_set_t handle_set_t;
    HANDLE thread_sync_event;
+  int a_random_number;
  private:
    static const unsigned MAX_WRITE_CHARS;
    static console_state *shared_console_info[MAX_CONS_DEV + 1];
--
2.17.1


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

* Re: cygwin application hangs on closing console
  2024-06-03 13:20               ` Johannes Khoshnazar-Thoma
@ 2024-06-28 12:17                 ` Takashi Yano
  2024-06-28 15:32                   ` Takashi Yano
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Yano @ 2024-06-28 12:17 UTC (permalink / raw)
  To: cygwin; +Cc: Johannes Khoshnazar-Thoma

Sorry for very late replay.

On Mon, 3 Jun 2024 15:20:32 +0200
Johannes Khoshnazar-Thoma wrote:
> We did more testing and it looks like the name of the event
> that signals console master thread start and end is shared between
> unrelated processes (it uses the console minor which is always (?)
> 0 when running from a powershell).
> 
> So since it is a two-state event (as opposed to a semaphore)
> in theory the following can happen:
> 
> Process A	Process B
> SetEvent(e)
> 		SetEvent(e)
> Waitforevent(e)
> 		Waitforevent(e)

This should not happen. Master thread is unique to console.
get_minor() number is always 0 for the first opened console.
If you open another powershell window and start cygwin process
while the first cygwin process is still active, the get_minor()
returns 1.

Waiting for thread_sync_event is executed only
  if (shared_console_info[unit] && con.owner == myself->pid)
con.owner is in the shared memory which is shared among all
processes started in the same console. Therefore, only the
one process start to wait the event.

> The second SetEvent does nothing. As a result the
> later Waitforevent is stuck (which is what we observe).
> 
> So the question is: why should this event be used in
> unrelated cygwin processes? Is there a technical reason
> we don't understand (yet) for doing that (sharing the event).
> 
> We patched cygwin to use pseudo random event names (the
> tm_usec field of gettimeofday()) and the stuckness vanished.
> So unless there is a reason for sharing the event between
> cygwin processes this patch should work:

Do you really confirm that your patch resolves the issue?
If so, the cause might be some kind of race issue.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

* Re: cygwin application hangs on closing console
  2024-06-28 12:17                 ` Takashi Yano
@ 2024-06-28 15:32                   ` Takashi Yano
  0 siblings, 0 replies; 12+ messages in thread
From: Takashi Yano @ 2024-06-28 15:32 UTC (permalink / raw)
  To: cygwin

On Fri, 28 Jun 2024 21:17:26 +0900
Takashi Yano wrote:
> Sorry for very late replay.
> 
> On Mon, 3 Jun 2024 15:20:32 +0200
> Johannes Khoshnazar-Thoma wrote:
> > We did more testing and it looks like the name of the event
> > that signals console master thread start and end is shared between
> > unrelated processes (it uses the console minor which is always (?)
> > 0 when running from a powershell).
> > 
> > So since it is a two-state event (as opposed to a semaphore)
> > in theory the following can happen:
> > 
> > Process A	Process B
> > SetEvent(e)
> > 		SetEvent(e)
> > Waitforevent(e)
> > 		Waitforevent(e)
> 
> This should not happen. Master thread is unique to console.
> get_minor() number is always 0 for the first opened console.
> If you open another powershell window and start cygwin process
> while the first cygwin process is still active, the get_minor()
> returns 1.
> 
> Waiting for thread_sync_event is executed only
>   if (shared_console_info[unit] && con.owner == myself->pid)
> con.owner is in the shared memory which is shared among all
> processes started in the same console. Therefore, only the
> one process start to wait the event.
> 
> > The second SetEvent does nothing. As a result the
> > later Waitforevent is stuck (which is what we observe).
> > 
> > So the question is: why should this event be used in
> > unrelated cygwin processes? Is there a technical reason
> > we don't understand (yet) for doing that (sharing the event).
> > 
> > We patched cygwin to use pseudo random event names (the
> > tm_usec field of gettimeofday()) and the stuckness vanished.
> > So unless there is a reason for sharing the event between
> > cygwin processes this patch should work:
> 
> Do you really confirm that your patch resolves the issue?
> If so, the cause might be some kind of race issue.

There was similar bug in cygwin 3.5.1, however, it has been
already fixed in 3.5.3.
https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=fc5e9525453fea7c27b0e13635ae54abaa0db69d

I believe your problem is reproducible with 3.5.3. Right?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

end of thread, other threads:[~2024-06-28 15:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-22 12:50 cygwin application hangs on closing console Johannes Khoshnazar-Thoma
2024-04-22 18:51 ` Takashi Yano
2024-04-23  9:20   ` Johannes Khoshnazar-Thoma
2024-04-23 10:26     ` Takashi Yano
2024-05-15 15:37       ` Johannes Khoshnazar-Thoma
2024-05-15 15:48         ` Johannes Khoshnazar-Thoma
2024-05-15 20:24           ` Brian Inglis
2024-05-21 16:23             ` Johannes Khoshnazar-Thoma
2024-06-03 13:20               ` Johannes Khoshnazar-Thoma
2024-06-28 12:17                 ` Takashi Yano
2024-06-28 15:32                   ` Takashi Yano
2024-05-16  9:14           ` Takashi Yano

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