public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
* program will hang when dup and close fd opend by posix_openpt
@ 2021-01-14  5:48 Peiyuan Song
  2021-01-14  9:34 ` Takashi Yano
  0 siblings, 1 reply; 3+ messages in thread
From: Peiyuan Song @ 2021-01-14  5:48 UTC (permalink / raw)
  To: cygwin-developers

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

dup will clone all info from `fhandler_pty_master` except pty master
control thread and pty master forwarding thread, when close that fd
the `fhandler_pty_master` heap will be reclaimed, but  the thread run
on  `fhandler_pty_master` object will not stop. when close duped fd,
those threads will access the reclaimed space and cause this issue.

here is a simple poc to reproduce this issue
#define _GNU_SOURCE 1
#include <stdlib.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>

int main() {
  static char *name;
  static int mfd, sfd;
  if ((mfd = posix_openpt(O_RDWR|O_NOCTTY)) < 0) {
    printf("posix_openpt failed %d\n", mfd);
    return 1;
  }

  if (!(name = ptsname(mfd))) {
    printf("some failed\n");
    close(mfd);
    return 1;
  }
  int fd;
  if((fd = dup(mfd)) < 0) {
    printf("dup failed %d\n", fd);
    return 1;
  }
  close(mfd);
  mfd = fd;
  if ((sfd = open(name, O_RDWR)) < 0) {
    printf("open %s failed\n", name);
    return 1;
  }

  printf("before close mfd %d\n", mfd);
  close(mfd);
  printf("after close mfd %d\n", mfd);
  close(sfd);
  printf("before close sfd %d\n", sfd);

  return 0;
}

[-- Attachment #2: strace.log --]
[-- Type: application/octet-stream, Size: 81904 bytes --]

--- Process 26560 created
--- Process 26560 loaded C:\Windows\System32\ntdll.dll at 00007ffdbf2f0000
--- Process 26560 loaded C:\Windows\System32\kernel32.dll at 00007ffdbdfd0000
--- Process 26560 loaded C:\Windows\System32\KernelBase.dll at 00007ffdbcf70000
--- Process 26560 thread 26324 created
--- Process 26560 loaded E:\cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 26560 thread 26124 created
    0       0 [main] poc (26560) **********************************************
   75      75 [main] poc (26560) Program name: E:\cygwin64\home\Peiyuan\poc.exe (windows pid 26560)
   44     119 [main] poc (26560) OS version:   Windows NT-10.0
   38     157 [main] poc (26560) **********************************************
--- Process 26560 loaded C:\Windows\System32\advapi32.dll at 00007ffdbe860000
--- Process 26560 loaded C:\Windows\System32\msvcrt.dll at 00007ffdbe920000
--- Process 26560 loaded C:\Windows\System32\sechost.dll at 00007ffdbdb80000
--- Process 26560 loaded C:\Windows\System32\rpcrt4.dll at 00007ffdbf180000
--- Process 26560 loaded C:\Windows\System32\cryptbase.dll at 00007ffdbc330000
--- Process 26560 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffdbcef0000
 2867    3024 [main] poc (26560) sigprocmask: 0 = sigprocmask (0, 0x0, 0x180324D70)
  315    3339 [main] poc (26560) open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0xF4, *m 6
   54    3393 [main] poc (26560) user_heap_info::init: heap base 0x800000000, heap top 0x800000000, heap size 0x20000000 (536870912)
   63    3456 [main] poc (26560) open_shared: name S-1-5-21-384271205-296956089-2645211042-1000.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0xF8, *m 6
   42    3498 [main] poc (26560) user_info::create: opening user shared for 'S-1-5-21-384271205-296956089-2645211042-1000' at 0x180020000
   45    3543 [main] poc (26560) user_info::create: user shared version AB1FCCE8
   65    3608 [main] poc (26560) fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-26560-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
   68    3676 [main] poc (26560) fhandler_pipe::create: pipe read handle 0x110
   44    3720 [main] poc (26560) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-0eb90a57d5759b7b-26560-sigwait
   65    3785 [main] poc (26560) fhandler_pipe::create: pipe write handle 0x114
   64    3849 [main] poc (26560) dll_crt0_0: finished dll_crt0_0 initialization
--- Process 26560 thread 14740 created
  279    4128 [sig] poc (26560) wait_sig: entering ReadFile loop, my_readsig 0x110, my_sendsig 0x114
  257    4385 [main] poc (26560) time: 1610602390 = time(0x0)
  176    4561 [main] poc (26560) mount_info::conv_to_posix_path: conv_to_posix_path (E:\cygwin64\home\Peiyuan, 0x0, no-add-slash)
   84    4645 [main] poc (26560) normalize_win32_path: E:\cygwin64\home\Peiyuan = normalize_win32_path (E:\cygwin64\home\Peiyuan)
   47    4692 [main] poc (26560) mount_info::conv_to_posix_path: /home/Peiyuan = conv_to_posix_path (E:\cygwin64\home\Peiyuan)
   76    4768 [main] poc (26560) sigprocmask: 0 = sigprocmask (0, 0x0, 0x800018130)
  239    5007 [main] poc (26560) _cygwin_istext_for_stdio: fd 0: not open
   41    5048 [main] poc (26560) _cygwin_istext_for_stdio: fd 1: not open
   39    5087 [main] poc (26560) _cygwin_istext_for_stdio: fd 2: not open
  151    5238 [main] poc (26560) open_shared: name cygpid.1282, n 1282, shared 0x180010000 (wanted 0x180010000), h 0x138, *m 2
   45    5283 [main] poc (26560) time: 1610602390 = time(0x0)
   58    5341 [main] poc 1282 pinfo::thisproc: myself dwProcessId 26560
   82    5423 [main] poc 1282 environ_init: GetEnvironmentStrings returned 0x738060
  165    5588 [main] poc 1282 win32env_to_cygenv: 0x8000284F0: !::=::\
   88    5676 [main] poc 1282 win32env_to_cygenv: 0x800028510: ALLUSERSPROFILE=C:\ProgramData
   83    5759 [main] poc 1282 win32env_to_cygenv: 0x800028540: ANDROID_HOME=G:\android-sdk
   75    5834 [main] poc 1282 win32env_to_cygenv: 0x800028570: APPDATA=C:\Users\Peiyuan\AppData\Roaming
   75    5909 [main] poc 1282 win32env_to_cygenv: 0x8000285B0: CLIENTNAME=DESKTOP-5HSTQF7
   76    5985 [main] poc 1282 win32env_to_cygenv: 0x8000285E0: COMMONPROGRAMFILES=C:\Program Files\Common Files
   73    6058 [main] poc 1282 win32env_to_cygenv: 0x800028620: COMPUTERNAME=PEIYUAN-PC
   74    6132 [main] poc 1282 win32env_to_cygenv: 0x800028640: COMSPEC=C:\WINDOWS\system32\cmd.exe
   86    6218 [main] poc 1282 parse_options: glob (called func)
   82    6300 [main] poc 1282 parse_options: winsymlinks (called func)
   84    6384 [main] poc 1282 parse_options: returning
   37    6421 [main] poc 1282 win32env_to_cygenv: 0x800028670: CYGWIN=noglob winsymlinks:nativestrict
   83    6504 [main] poc 1282 win32env_to_cygenv: 0x8000286F0: C_EM64T_REDIST12=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
   75    6579 [main] poc 1282 win32env_to_cygenv: 0x800028750: C_IA32_REDIST12=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
   73    6652 [main] poc 1282 win32env_to_cygenv: 0x8000287B0: ChocolateyLastPathUpdate=132346240141454342
   75    6727 [main] poc 1282 win32env_to_cygenv: 0x8000287F0: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
   76    6803 [main] poc 1282 win32env_to_cygenv: 0x800028840: CommonProgramW6432=C:\Program Files\Common Files
   77    6880 [main] poc 1282 win32env_to_cygenv: 0x800028880: DOCKER_CERT_PATH=C:\Users\Peiyuan\.docker
   76    6956 [main] poc 1282 win32env_to_cygenv: 0x8000288C0: DOCKER_HOST=tcp://192.168.1.143:2376
   73    7029 [main] poc 1282 win32env_to_cygenv: 0x8000288F0: DOCKER_TLS_VERIFY=1
   74    7103 [main] poc 1282 win32env_to_cygenv: 0x800028910: DriverData=C:\Windows\System32\Drivers\DriverData
  104    7207 [main] poc 1282 win32env_to_cygenv: 0x800028950: EXECIGNORE=*.dll
   75    7282 [main] poc 1282 win32env_to_cygenv: 0x800028970: FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
   76    7358 [main] poc 1282 win32env_to_cygenv: 0x8000289B0: FPS_BROWSER_USER_PROFILE_STRING=Default
   74    7432 [main] poc 1282 win32env_to_cygenv: 0x8000289E0: FP_NO_HOST_CHECK=NO
   76    7508 [main] poc 1282 win32env_to_cygenv: 0x800028A00: GHIDRA_INSTALL_DIR=K:\ghidra_9.1.1_PUBLIC
   81    7589 [main] poc 1282 win32env_to_cygenv: 0x800028A40: GOPATH=E:\Work\go
   70    7659 [main] poc 1282 win32env_to_cygenv: 0x800028A60: GOROOT=E:\go
   73    7732 [main] poc 1282 win32env_to_cygenv: 0x800028A80: GOROOT_BOOTSTRAP=E:\go
   74    7806 [main] poc 1282 win32env_to_cygenv: 0x800028AA0: GRADLE_USER_HOME=K:/Cache/.gradle
   82    7888 [main] poc 1282 win32env_to_cygenv: 0x800028AD0: GTK_BASEPATH=C:\Program Files (x86)\GtkSharp\2.12\
   98    7986 [main] poc 1282 getwinenv: can't set native for HOME= since no environ yet
   46    8032 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\cygwin64\home\Peiyuan, 0x10000000, no-add-slash)
   40    8072 [main] poc 1282 normalize_win32_path: E:\cygwin64\home\Peiyuan = normalize_win32_path (E:\cygwin64\home\Peiyuan)
   39    8111 [main] poc 1282 mount_info::conv_to_posix_path: /home/Peiyuan = conv_to_posix_path (E:\cygwin64\home\Peiyuan)
  111    8222 [main] poc 1282 win_env::add_cache: posix /home/Peiyuan
   41    8263 [main] poc 1282 win_env::add_cache: native HOME=E:\cygwin64\home\Peiyuan
   37    8300 [main] poc 1282 posify_maybe: env var converted to HOME=/home/Peiyuan
  118    8418 [main] poc 1282 win32env_to_cygenv: 0x800028B90: HOME=/home/Peiyuan
   77    8495 [main] poc 1282 win32env_to_cygenv: 0x800028B10: HOMEDRIVE=C:
   71    8566 [main] poc 1282 win32env_to_cygenv: 0x800028BB0: HOMEPATH=\Users\Peiyuan
   70    8636 [main] poc 1282 win32env_to_cygenv: 0x800028BD0: HOSTNAME=Peiyuan-PC
   76    8712 [main] poc 1282 win32env_to_cygenv: 0x800028BF0: ICPP_COMPILER18=C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.3.210\windows\
   91    8803 [main] poc 1282 win32env_to_cygenv: 0x800028C60: INFOPATH=/usr/local/info:/usr/share/info:/usr/info
   75    8878 [main] poc 1282 win32env_to_cygenv: 0x800028CA0: INTELMEDIASDK_WINSDK_PATH=C:\Program Files (x86)\Windows Kits\8.0
   74    8952 [main] poc 1282 win32env_to_cygenv: 0x800028CF0: INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
   74    9026 [main] poc 1282 win32env_to_cygenv: 0x800028D50: INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses
   82    9108 [main] poc 1282 win32env_to_cygenv: 0x800028DA0: LC_CTYPE=zh_CN.UTF-8@cjknarrow
   74    9182 [main] poc 1282 win32env_to_cygenv: 0x800028DD0: LLDBVSCODE_LOG=K:\lldbvscodecore.log
   80    9262 [main] poc 1282 win32env_to_cygenv: 0x800028E00: LOCALAPPDATA=C:\Users\Peiyuan\AppData\Local
   88    9350 [main] poc 1282 win32env_to_cygenv: 0x800028E40: LOGONSERVER=\\PEIYUAN-PC
   94    9444 [main] poc 1282 win32env_to_cygenv: 0x800028E70: MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\intel64_win_mic
   73    9517 [main] poc 1282 win32env_to_cygenv: 0x800028EF0: MINTTY_SHORTCUT=/cygdrive/c/Users/Public/Desktop/Cygwin64 Terminal.lnk
   61    9578 [main] poc 1282 win32env_to_cygenv: 0x800028F40: MSYS=winsymlinks:nativestrict
   74    9652 [main] poc 1282 win32env_to_cygenv: 0x800028F70: MYSQLCONNECTOR_ASSEMBLIESPATH=C:\Program Files (x86)\MySQL\MySQL Connector Net 6.9.9\Assemblies\v4.5
   76    9728 [main] poc 1282 win32env_to_cygenv: 0x800028FE0: NUGET_PACKAGES=K:\Cache\.nuget\packages
   70    9798 [main] poc 1282 win32env_to_cygenv: 0x800029010: NUMBER_OF_PROCESSORS=8
   76    9874 [main] poc 1282 win32env_to_cygenv: 0x800029030: OLDPWD=/cygdrive/c/Users/Peiyuan/Desktop
   80    9954 [main] poc 1282 win32env_to_cygenv: 0x800029070: ORACLE_HOME=E:\Work\instantclient_12_1
   96   10050 [main] poc 1282 win32env_to_cygenv: 0x8000290A0: ORIGINAL_PATH=/cygdrive/g/Program Files (x86)/VMware/VMware Workstation/bin:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files/Broadcom/Broadcom 802.11 Network Adapter:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler:/cygdrive/c/Windows/System32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/g/Web Server/svn-win64/bin:/cygdrive/f/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Windows/System32/Windows System Resource Manager/bin:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/d/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/cygdrive/c/Program Files/dotnet:/cygdrive/c/Program Files (x86)/Yarn/bin:/cygdrive/e/go/bin:/cygdrive/e/Work/go/bin:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program Files/nodejs:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/PowerShell/7:/cygdrive/c/Program Files (x86)/dotnet:/cygdrive/c/Program Files/Git/cmd:/cygdrive/k/google-cloud-sdk/bin:/cygdrive/g/Tools/7-Zip_x64:/cygdrive/e/Work/instantclient_12_1:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Program Files/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Yarn/bin:/cygdrive/c/Program Files/docker:/cygdrive/c/Users/Peiyuan/AppData/Roaming/npm:/cygdrive/c/Users/Peiyuan/.dotnet/tools:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/ipfs-desktop/resources/app.asar.unpacked/out/ipfs-on-path/scripts/bin-win:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/Peiyuan/.dotnet/tools
  100   10150 [main] poc 1282 win32env_to_cygenv: 0x800029C60: OS=Windows_NT
   80   10230 [main] poc 1282 win32env_to_cygenv: 0x800029C80: OneDrive=C:\Users\Peiyuan\SkyDrive
   81   10311 [main] poc 1282 win32env_to_cygenv: 0x800029CB0: OneDriveConsumer=C:\Users\Peiyuan\SkyDrive
  100   10411 [main] poc 1282 getwinenv: can't set native for PATH= since no environ yet
   83   10494 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\cygwin64\usr\local\bin, 0x10000100, no-add-slash)
   43   10537 [main] poc 1282 normalize_win32_path: E:\cygwin64\usr\local\bin = normalize_win32_path (E:\cygwin64\usr\local\bin)
   40   10577 [main] poc 1282 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (E:\cygwin64\usr\local\bin)
   41   10618 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\cygwin64\bin, 0x10000100, no-add-slash)
   40   10658 [main] poc 1282 normalize_win32_path: E:\cygwin64\bin = normalize_win32_path (E:\cygwin64\bin)
   37   10695 [main] poc 1282 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (E:\cygwin64\bin)
   42   10737 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (G:\Program Files (x86)\VMware\VMware Workstation\bin, 0x10000100, no-add-slash)
   40   10777 [main] poc 1282 normalize_win32_path: G:\Program Files (x86)\VMware\VMware Workstation\bin = normalize_win32_path (G:\Program Files (x86)\VMware\VMware Workstation\bin)
   41   10818 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/g/Program Files (x86)/VMware/VMware Workstation/bin = conv_to_posix_path (G:\Program Files (x86)\VMware\VMware Workstation\bin)
   40   10858 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Oracle\Java\javapath, 0x10000100, no-add-slash)
   37   10895 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath = normalize_win32_path (C:\Program Files (x86)\Common Files\Oracle\Java\javapath)
   39   10934 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath = conv_to_posix_path (C:\Program Files (x86)\Common Files\Oracle\Java\javapath)
   40   10974 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS, 0x10000100, no-add-slash)
   46   11020 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS = normalize_win32_path (C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS)
   64   11084 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS = conv_to_posix_path (C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS)
   39   11123 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS, 0x10000100, no-add-slash)
   38   11161 [main] poc 1282 normalize_win32_path: C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS = normalize_win32_path (C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS)
   33   11194 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS = conv_to_posix_path (C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS)
   36   11230 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler, 0x10000100, no-add-slash)
   33   11263 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler)
   34   11297 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler)
   45   11342 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler, 0x10000100, no-add-slash)
   37   11379 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler)
   36   11415 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler)
   35   11450 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\ProgramData\Oracle\Java\javapath, 0x10000100, no-add-slash)
   35   11485 [main] poc 1282 normalize_win32_path: C:\ProgramData\Oracle\Java\javapath = normalize_win32_path (C:\ProgramData\Oracle\Java\javapath)
   38   11523 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/ProgramData/Oracle/Java/javapath = conv_to_posix_path (C:\ProgramData\Oracle\Java\javapath)
   47   11570 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter, 0x10000100, no-add-slash)
   35   11605 [main] poc 1282 normalize_win32_path: C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter = normalize_win32_path (C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter)
   33   11638 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Broadcom/Broadcom 802.11 Network Adapter = conv_to_posix_path (C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter)
   33   11671 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler, 0x10000100, no-add-slash)
   31   11702 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler)
   32   11734 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler)
   40   11774 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler, 0x10000100, no-add-slash)
   41   11815 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler)
   42   11857 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler)
   48   11905 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32, 0x10000100, no-add-slash)
   45   11950 [main] poc 1282 normalize_win32_path: C:\Windows\System32 = normalize_win32_path (C:\Windows\System32)
   42   11992 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32 = conv_to_posix_path (C:\Windows\System32)
   41   12033 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, 0x10000100, no-add-slash)
   40   12073 [main] poc 1282 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
   41   12114 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Windows = conv_to_posix_path (C:\Windows)
   41   12155 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\wbem, 0x10000100, no-add-slash)
   38   12193 [main] poc 1282 normalize_win32_path: C:\Windows\System32\wbem = normalize_win32_path (C:\Windows\System32\wbem)
   41   12234 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/wbem = conv_to_posix_path (C:\Windows\System32\wbem)
   40   12274 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, 0x10000100, no-add-slash)
   67   12341 [main] poc 1282 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   41   12382 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   41   12423 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (G:\Web Server\svn-win64\bin, 0x10000100, no-add-slash)
   40   12463 [main] poc 1282 normalize_win32_path: G:\Web Server\svn-win64\bin = normalize_win32_path (G:\Web Server\svn-win64\bin)
   42   12505 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/g/Web Server/svn-win64/bin = conv_to_posix_path (G:\Web Server\svn-win64\bin)
   42   12547 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (F:\Program Files\GtkSharp\2.12\bin, 0x10000100, no-add-slash)
   41   12588 [main] poc 1282 normalize_win32_path: F:\Program Files\GtkSharp\2.12\bin = normalize_win32_path (F:\Program Files\GtkSharp\2.12\bin)
   38   12626 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/f/Program Files/GtkSharp/2.12/bin = conv_to_posix_path (F:\Program Files\GtkSharp\2.12\bin)
   40   12666 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86, 0x10000100, no-add-slash)
   39   12705 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86 = normalize_win32_path (C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86)
   41   12746 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86 = conv_to_posix_path (C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86)
   49   12795 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64, 0x10000100, no-add-slash)
   55   12850 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64 = normalize_win32_path (C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64)
   44   12894 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64 = conv_to_posix_path (C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64)
   41   12935 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Windows System Resource Manager\bin, 0x10000100, no-add-slash)
   41   12976 [main] poc 1282 normalize_win32_path: C:\Windows\System32\Windows System Resource Manager\bin = normalize_win32_path (C:\Windows\System32\Windows System Resource Manager\bin)
   41   13017 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/Windows System Resource Manager/bin = conv_to_posix_path (C:\Windows\System32\Windows System Resource Manager\bin)
   41   13058 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\WIDCOMM\Bluetooth Software, 0x10000100, no-add-slash)
   39   13097 [main] poc 1282 normalize_win32_path: C:\Program Files\WIDCOMM\Bluetooth Software = normalize_win32_path (C:\Program Files\WIDCOMM\Bluetooth Software)
   41   13138 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software = conv_to_posix_path (C:\Program Files\WIDCOMM\Bluetooth Software)
   40   13178 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\WIDCOMM\Bluetooth Software\syswow64, 0x10000100, no-add-slash)
   38   13216 [main] poc 1282 normalize_win32_path: C:\Program Files\WIDCOMM\Bluetooth Software\syswow64 = normalize_win32_path (C:\Program Files\WIDCOMM\Bluetooth Software\syswow64)
   41   13257 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64 = conv_to_posix_path (C:\Program Files\WIDCOMM\Bluetooth Software\syswow64)
   40   13297 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (D:\Program Files\GtkSharp\2.12\bin, 0x10000100, no-add-slash)
   45   13342 [main] poc 1282 normalize_win32_path: D:\Program Files\GtkSharp\2.12\bin = normalize_win32_path (D:\Program Files\GtkSharp\2.12\bin)
   40   13382 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/d/Program Files/GtkSharp/2.12/bin = conv_to_posix_path (D:\Program Files\GtkSharp\2.12\bin)
   44   13426 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\GtkSharp\2.12\bin, 0x10000100, no-add-slash)
   40   13466 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\GtkSharp\2.12\bin = normalize_win32_path (C:\Program Files (x86)\GtkSharp\2.12\bin)
   42   13508 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/GtkSharp/2.12/bin = conv_to_posix_path (C:\Program Files (x86)\GtkSharp\2.12\bin)
   42   13550 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common, 0x10000100, no-add-slash)
   38   13588 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common = normalize_win32_path (C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common)
   40   13628 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common = conv_to_posix_path (C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common)
   39   13667 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TortoiseSVN\bin, 0x10000100, no-add-slash)
   40   13707 [main] poc 1282 normalize_win32_path: C:\Program Files\TortoiseSVN\bin = normalize_win32_path (C:\Program Files\TortoiseSVN\bin)
   33   13740 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TortoiseSVN/bin = conv_to_posix_path (C:\Program Files\TortoiseSVN\bin)
   32   13772 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\120\Tools\Binn, 0x10000100, no-add-slash)
   33   13805 [main] poc 1282 normalize_win32_path: C:\Program Files\Microsoft SQL Server\120\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\120\Tools\Binn)
   32   13837 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\120\Tools\Binn)
   33   13870 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft SQL Server\130\Tools\Binn, 0x10000100, no-add-slash)
   36   13906 [main] poc 1282 normalize_win32_path: C:\Program Files\Microsoft SQL Server\130\Tools\Binn = normalize_win32_path (C:\Program Files\Microsoft SQL Server\130\Tools\Binn)
   42   13948 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft SQL Server/130/Tools/Binn = conv_to_posix_path (C:\Program Files\Microsoft SQL Server\130\Tools\Binn)
   36   13984 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\dotnet, 0x10000100, no-add-slash)
   40   14024 [main] poc 1282 normalize_win32_path: C:\Program Files\dotnet = normalize_win32_path (C:\Program Files\dotnet)
   39   14063 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/dotnet = conv_to_posix_path (C:\Program Files\dotnet)
   43   14106 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Yarn\bin, 0x10000100, no-add-slash)
   41   14147 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Yarn\bin = normalize_win32_path (C:\Program Files (x86)\Yarn\bin)
   41   14188 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Yarn/bin = conv_to_posix_path (C:\Program Files (x86)\Yarn\bin)
   42   14230 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\go\bin, 0x10000100, no-add-slash)
   40   14270 [main] poc 1282 normalize_win32_path: E:\go\bin = normalize_win32_path (E:\go\bin)
   41   14311 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/e/go/bin = conv_to_posix_path (E:\go\bin)
   41   14352 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\Work\go\bin, 0x10000100, no-add-slash)
   43   14395 [main] poc 1282 normalize_win32_path: E:\Work\go\bin = normalize_win32_path (E:\Work\go\bin)
   50   14445 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/e/Work/go/bin = conv_to_posix_path (E:\Work\go\bin)
   50   14495 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\OpenSSH, 0x10000100, no-add-slash)
   46   14541 [main] poc 1282 normalize_win32_path: C:\Windows\System32\OpenSSH = normalize_win32_path (C:\Windows\System32\OpenSSH)
   41   14582 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/OpenSSH = conv_to_posix_path (C:\Windows\System32\OpenSSH)
   36   14618 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\nodejs, 0x10000100, no-add-slash)
   32   14650 [main] poc 1282 normalize_win32_path: C:\Program Files\nodejs = normalize_win32_path (C:\Program Files\nodejs)
   38   14688 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/nodejs = conv_to_posix_path (C:\Program Files\nodejs)
   37   14725 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL, 0x10000100, no-add-slash)
   35   14760 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL = normalize_win32_path (C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL)
   33   14793 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL = conv_to_posix_path (C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL)
   42   14835 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Intel\Intel(R) Management Engine Components\DAL, 0x10000100, no-add-slash)
   39   14874 [main] poc 1282 normalize_win32_path: C:\Program Files\Intel\Intel(R) Management Engine Components\DAL = normalize_win32_path (C:\Program Files\Intel\Intel(R) Management Engine Components\DAL)
   40   14914 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL = conv_to_posix_path (C:\Program Files\Intel\Intel(R) Management Engine Components\DAL)
   39   14953 [main] poc 1282 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)
   41   14994 [main] poc 1282 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)
   43   15037 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/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)
   41   15078 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\system32, 0x10000100, no-add-slash)
   45   15123 [main] poc 1282 normalize_win32_path: C:\WINDOWS\system32 = normalize_win32_path (C:\WINDOWS\system32)
   35   15158 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/system32 = conv_to_posix_path (C:\WINDOWS\system32)
   48   15206 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS, 0x10000100, no-add-slash)
   42   15248 [main] poc 1282 normalize_win32_path: C:\WINDOWS = normalize_win32_path (C:\WINDOWS)
   40   15288 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS = conv_to_posix_path (C:\WINDOWS)
   45   15333 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\Wbem, 0x10000100, no-add-slash)
   52   15385 [main] poc 1282 normalize_win32_path: C:\WINDOWS\System32\Wbem = normalize_win32_path (C:\WINDOWS\System32\Wbem)
   45   15430 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path (C:\WINDOWS\System32\Wbem)
   48   15478 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0, 0x10000100, no-add-slash)
   41   15519 [main] poc 1282 normalize_win32_path: C:\WINDOWS\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0)
   38   15557 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0)
   46   15603 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\OpenSSH, 0x10000100, no-add-slash)
   44   15647 [main] poc 1282 normalize_win32_path: C:\WINDOWS\System32\OpenSSH = normalize_win32_path (C:\WINDOWS\System32\OpenSSH)
   48   15695 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/OpenSSH = conv_to_posix_path (C:\WINDOWS\System32\OpenSSH)
   39   15734 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\PowerShell\7, 0x10000100, no-add-slash)
   38   15772 [main] poc 1282 normalize_win32_path: C:\Program Files\PowerShell\7 = normalize_win32_path (C:\Program Files\PowerShell\7)
   51   15823 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/PowerShell/7 = conv_to_posix_path (C:\Program Files\PowerShell\7)
   41   15864 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\dotnet, 0x10000100, no-add-slash)
   45   15909 [main] poc 1282 normalize_win32_path: C:\Program Files (x86)\dotnet = normalize_win32_path (C:\Program Files (x86)\dotnet)
   41   15950 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/dotnet = conv_to_posix_path (C:\Program Files (x86)\dotnet)
   40   15990 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Git\cmd, 0x10000100, no-add-slash)
   40   16030 [main] poc 1282 normalize_win32_path: C:\Program Files\Git\cmd = normalize_win32_path (C:\Program Files\Git\cmd)
   40   16070 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Git/cmd = conv_to_posix_path (C:\Program Files\Git\cmd)
   41   16111 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (K:\google-cloud-sdk\bin, 0x10000100, no-add-slash)
   42   16153 [main] poc 1282 normalize_win32_path: K:\google-cloud-sdk\bin = normalize_win32_path (K:\google-cloud-sdk\bin)
   39   16192 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/k/google-cloud-sdk/bin = conv_to_posix_path (K:\google-cloud-sdk\bin)
   53   16245 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (G:\Tools\7-Zip_x64, 0x10000100, no-add-slash)
   52   16297 [main] poc 1282 normalize_win32_path: G:\Tools\7-Zip_x64 = normalize_win32_path (G:\Tools\7-Zip_x64)
   48   16345 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/g/Tools/7-Zip_x64 = conv_to_posix_path (G:\Tools\7-Zip_x64)
   41   16386 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\Work\instantclient_12_1, 0x10000100, no-add-slash)
   40   16426 [main] poc 1282 normalize_win32_path: E:\Work\instantclient_12_1 = normalize_win32_path (E:\Work\instantclient_12_1)
   40   16466 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/e/Work/instantclient_12_1 = conv_to_posix_path (E:\Work\instantclient_12_1)
   41   16507 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps, 0x10000100, no-add-slash)
   44   16551 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps = normalize_win32_path (C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps)
   48   16599 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps = conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps)
   40   16639 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft VS Code\bin, 0x10000100, no-add-slash)
   46   16685 [main] poc 1282 normalize_win32_path: C:\Program Files\Microsoft VS Code\bin = normalize_win32_path (C:\Program Files\Microsoft VS Code\bin)
   45   16730 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft VS Code/bin = conv_to_posix_path (C:\Program Files\Microsoft VS Code\bin)
   40   16770 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Yarn\bin, 0x10000100, no-add-slash)
   42   16812 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\AppData\Local\Yarn\bin = normalize_win32_path (C:\Users\Peiyuan\AppData\Local\Yarn\bin)
   40   16852 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/AppData/Local/Yarn/bin = conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Yarn\bin)
   50   16902 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\docker, 0x10000100, no-add-slash)
   46   16948 [main] poc 1282 normalize_win32_path: C:\Program Files\docker = normalize_win32_path (C:\Program Files\docker)
   42   16990 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/docker = conv_to_posix_path (C:\Program Files\docker)
   52   17042 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\AppData\Roaming\npm, 0x10000100, no-add-slash)
   38   17080 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\AppData\Roaming\npm = normalize_win32_path (C:\Users\Peiyuan\AppData\Roaming\npm)
   54   17134 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/AppData/Roaming/npm = conv_to_posix_path (C:\Users\Peiyuan\AppData\Roaming\npm)
   42   17176 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\.dotnet\tools, 0x10000100, no-add-slash)
   39   17215 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\.dotnet\tools = normalize_win32_path (C:\Users\Peiyuan\.dotnet\tools)
   38   17253 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/.dotnet/tools = conv_to_posix_path (C:\Users\Peiyuan\.dotnet\tools)
   41   17294 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Programs\Microsoft VS Code\bin, 0x10000100, no-add-slash)
   40   17334 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\AppData\Local\Programs\Microsoft VS Code\bin = normalize_win32_path (C:\Users\Peiyuan\AppData\Local\Programs\Microsoft VS Code\bin)
   36   17370 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/AppData/Local/Programs/Microsoft VS Code/bin = conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Programs\Microsoft VS Code\bin)
   32   17402 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Programs\ipfs-desktop\resources\app.asar.unpacked\out\ipfs-on-path\scripts\bin-win, 0x10000100, no-add-slash)
   32   17434 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\AppData\Local\Programs\ipfs-desktop\resources\app.asar.unpacked\out\ipfs-on-path\scripts\bin-win = normalize_win32_path (C:\Users\Peiyuan\AppData\Local\Programs\ipfs-desktop\resources\app.asar.unpacked\out\ipfs-on-path\scripts\bin-win)
   33   17467 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/AppData/Local/Programs/ipfs-desktop/resources/app.asar.unpacked/out/ipfs-on-path/scripts/bin-win = conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Programs\ipfs-desktop\resources\app.asar.unpacked\out\ipfs-on-path\scripts\bin-win)
   43   17510 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps, 0x10000100, no-add-slash)
   42   17552 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps = normalize_win32_path (C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps)
   39   17591 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps = conv_to_posix_path (C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps)
   41   17632 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\Peiyuan\.dotnet\tools, 0x10000100, no-add-slash)
   38   17670 [main] poc 1282 normalize_win32_path: C:\Users\Peiyuan\.dotnet\tools = normalize_win32_path (C:\Users\Peiyuan\.dotnet\tools)
   38   17708 [main] poc 1282 mount_info::conv_to_posix_path: /cygdrive/c/Users/Peiyuan/.dotnet/tools = conv_to_posix_path (C:\Users\Peiyuan\.dotnet\tools)
  120   17828 [main] poc 1282 win_env::add_cache: posix /usr/local/bin:/usr/bin:/cygdrive/g/Program Files (x86)/VMware/VMware Workstation/bin:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files/Broadcom/Broadcom 802.11 Network Adapter:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler:/cygdrive/c/Windows/System32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/g/Web Server/svn-win64/bin:/cygdrive/f/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Windows/System32/Windows System Resource Manager/bin:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/d/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/cygdrive/c/Program Files/dotnet:/cygdrive/c/Program Files (x86)/Yarn/bin:/cygdrive/e/go/bin:/cygdrive/e/Work/go/bin:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program Files/nodejs:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/PowerShell/7:/cygdrive/c/Program Files (x86)/dotnet:/cygdrive/c/Program Files/Git/cmd:/cygdrive/k/google-cloud-sdk/bin:/cygdrive/g/Tools/7-Zip_x64:/cygdrive/e/Work/instantclient_12_1:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Program Files/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Yarn/bin:/cygdrive/c/Program Files/docker:/cygdrive/c/Users/Peiyuan/AppData/Roaming/npm:/cygdrive/c/Users/Peiyuan/.dotnet/tools:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/ipfs-desktop/resources/app.asar.unpacked/out/ipfs-on-path/scripts/bin-win:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/Peiyuan/.dotnet/tools
   57   17885 [main] poc 1282 win_env::add_cache: native PATH=E:\cygwin64\usr\local\bin;E:\cygwin64\bin;G:\Program Files (x86)\VMware\VMware Workstation\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;G:\Web Server\svn-win64\bin;F:\Program Files\GtkSharp\2.12\bin;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Windows\System32\Windows System Resource Manager\bin;C:\Program Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;D:\Program Files\GtkSharp\2.12\bin;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Yarn\bin;E:\go\bin;E:\Work\go\bin;C:\Windows\System32\OpenSSH;C:\Program Files\nodejs;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files (x86)\dotnet;C:\Program Files\Git\cmd;K:\google-cloud-sdk\bin;G:\Tools\7-Zip_x64;E:\Work\instantclient_12_1;C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\Peiyuan\AppData\Local\Yarn\bin;C:\Program Files\docker;C:\Users\Peiyuan\AppData\Roaming\npm;C:\Users\Peiyuan\.dotnet\tools;C:\Users\Peiyuan\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Peiyuan\AppData\Local\Programs\ipfs-desktop\resources\app.asar.unpacked\out\ipfs-on-path\scripts\bin-win;C:\Users\Peiyuan\AppData\Local\Microsoft\WindowsApps;C:\Users\Peiyuan\.dotnet\tools
   47   17932 [main] poc 1282 posify_maybe: env var converted to PATH=/usr/local/bin:/usr/bin:/cygdrive/g/Program Files (x86)/VMware/VMware Workstation/bin:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files/Broadcom/Broadcom 802.11 Network Adapter:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler:/cygdrive/c/Windows/System32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/g/Web Server/svn-win64/bin:/cygdrive/f/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Windows/System32/Windows System Resource Manager/bin:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/d/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/cygdrive/c/Program Files/dotnet:/cygdrive/c/Program Files (x86)/Yarn/bin:/cygdrive/e/go/bin:/cygdrive/e/Work/go/bin:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program Files/nodejs:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/PowerShell/7:/cygdrive/c/Program Files (x86)/dotnet:/cygdrive/c/Program Files/Git/cmd:/cygdrive/k/google-cloud-sdk/bin:/cygdrive/g/Tools/7-Zip_x64:/cygdrive/e/Work/instantclient_12_1:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Program Files/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Yarn/bin:/cygdrive/c/Program Files/docker:/cygdrive/c/Users/Peiyuan/AppData/Roaming/npm:/cygdrive/c/Users/Peiyuan/.dotnet/tools:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/ipfs-desktop/resources/app.asar.unpacked/out/ipfs-on-path/scripts/bin-win:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/Peiyuan/.dotnet/tools
  118   18050 [main] poc 1282 win32env_to_cygenv: 0x80003BC90: PATH=/usr/local/bin:/usr/bin:/cygdrive/g/Program Files (x86)/VMware/VMware Workstation/bin:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files/Broadcom/Broadcom 802.11 Network Adapter:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler:/cygdrive/c/Windows/System32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/g/Web Server/svn-win64/bin:/cygdrive/f/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Windows/System32/Windows System Resource Manager/bin:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/d/Program Files/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/GtkSharp/2.12/bin:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/cygdrive/c/Program Files/dotnet:/cygdrive/c/Program Files (x86)/Yarn/bin:/cygdrive/e/go/bin:/cygdrive/e/Work/go/bin:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program Files/nodejs:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/PowerShell/7:/cygdrive/c/Program Files (x86)/dotnet:/cygdrive/c/Program Files/Git/cmd:/cygdrive/k/google-cloud-sdk/bin:/cygdrive/g/Tools/7-Zip_x64:/cygdrive/e/Work/instantclient_12_1:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Program Files/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Yarn/bin:/cygdrive/c/Program Files/docker:/cygdrive/c/Users/Peiyuan/AppData/Roaming/npm:/cygdrive/c/Users/Peiyuan/.dotnet/tools:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/Microsoft VS Code/bin:/cygdrive/c/Users/Peiyuan/AppData/Local/Programs/ipfs-desktop/resources/app.asar.unpacked/out/ipfs-on-path/scripts/bin-win:/cygdrive/c/Users/Peiyuan/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/Peiyuan/.dotnet/tools
   76   18126 [main] poc 1282 win32env_to_cygenv: 0x800029CF0: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
   78   18204 [main] poc 1282 win32env_to_cygenv: 0x800029D40: POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Pro for Workstations
   81   18285 [main] poc 1282 win32env_to_cygenv: 0x800029D90: PRINTER=Microsoft Print to PDF
   81   18366 [main] poc 1282 win32env_to_cygenv: 0x800029DC0: PROCESSOR_ARCHITECTURE=AMD64
   79   18445 [main] poc 1282 win32env_to_cygenv: 0x800029DF0: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
   75   18520 [main] poc 1282 win32env_to_cygenv: 0x800029E40: PROCESSOR_LEVEL=6
   73   18593 [main] poc 1282 win32env_to_cygenv: 0x800029E60: PROCESSOR_REVISION=5e03
   87   18680 [main] poc 1282 win32env_to_cygenv: 0x800029E80: PROFILEREAD=true
  100   18780 [main] poc 1282 win32env_to_cygenv: 0x800029EA0: PROGRAMFILES=C:\Program Files
   76   18856 [main] poc 1282 win32env_to_cygenv: 0x800029ED0: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ 
   75   18931 [main] poc 1282 win32env_to_cygenv: 0x800029F20: PSModulePath=C:\Users\Peiyuan\Documents\WindowsPowerShell\Modules;C:\Users\Peiyuan\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell
   72   19003 [main] poc 1282 win32env_to_cygenv: 0x800029FC0: PUAD_KEYS=K:\PS3\PUAD\DC3315F
   78   19081 [main] poc 1282 win32env_to_cygenv: 0x800029FF0: PUBLIC=C:\Users\Public
   77   19158 [main] poc 1282 win32env_to_cygenv: 0x80002A010: PWD=/home/Peiyuan
   77   19235 [main] poc 1282 win32env_to_cygenv: 0x80002A030: ProgramData=C:\ProgramData
  165   19400 [main] poc 1282 win32env_to_cygenv: 0x80002A060: ProgramFiles(x86)=C:\Program Files (x86)
  263   19663 [main] poc 1282 win32env_to_cygenv: 0x80002A0A0: ProgramW6432=C:\Program Files
  112   19775 [main] poc 1282 win32env_to_cygenv: 0x80002A0D0: QtMsBuild=C:\Users\Peiyuan\AppData\Local\QtMsBuild
   73   19848 [main] poc 1282 win32env_to_cygenv: 0x80002A110: SCE_PSP_HW_ROOT=K:/psp/psp_sdk_660/usr/local/psp/devkit
   88   19936 [main] poc 1282 win32env_to_cygenv: 0x80002A150: SESSIONNAME=RDP-Tcp#10
   85   20021 [main] poc 1282 win32env_to_cygenv: 0x80002A170: SHELL=/bin/bash
   76   20097 [main] poc 1282 win32env_to_cygenv: 0x80002A190: SHLVL=1
   75   20172 [main] poc 1282 win32env_to_cygenv: 0x80002A1B0: SN_COMMON_PATH=K:\ProDGforPSP\PFiles\SN Systems\Common
   75   20247 [main] poc 1282 win32env_to_cygenv: 0x80002A1F0: SN_PSP_PATH=K:\ProDGforPSP\PFiles\SN Systems\PSP
   95   20342 [main] poc 1282 win32env_to_cygenv: 0x80002A230: SYSTEMDRIVE=C:
  102   20444 [main] poc 1282 win32env_to_cygenv: 0x80002A250: SYSTEMROOT=C:\WINDOWS
   91   20535 [main] poc 1282 getwinenv: can't set native for TEMP= since no environ yet
   44   20579 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\cygwin64\tmp, 0x10000000, no-add-slash)
   36   20615 [main] poc 1282 normalize_win32_path: E:\cygwin64\tmp = normalize_win32_path (E:\cygwin64\tmp)
   33   20648 [main] poc 1282 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (E:\cygwin64\tmp)
   88   20736 [main] poc 1282 win_env::add_cache: posix /tmp
   31   20767 [main] poc 1282 win_env::add_cache: native TEMP=E:\cygwin64\tmp
   32   20799 [main] poc 1282 posify_maybe: env var converted to TEMP=/tmp
  117   20916 [main] poc 1282 win32env_to_cygenv: 0x80002A2D0: TEMP=/tmp
   83   20999 [main] poc 1282 win32env_to_cygenv: 0x80002A270: TERM=xterm
   84   21083 [main] poc 1282 win32env_to_cygenv: 0x80002A2F0: TERM_PROGRAM=mintty
   77   21160 [main] poc 1282 win32env_to_cygenv: 0x80002A310: TERM_PROGRAM_VERSION=3.4.4
   89   21249 [main] poc 1282 getwinenv: can't set native for TMP= since no environ yet
   44   21293 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\cygwin64\tmp, 0x10000000, no-add-slash)
   50   21343 [main] poc 1282 normalize_win32_path: E:\cygwin64\tmp = normalize_win32_path (E:\cygwin64\tmp)
   47   21390 [main] poc 1282 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (E:\cygwin64\tmp)
  116   21506 [main] poc 1282 win_env::add_cache: posix /tmp
   39   21545 [main] poc 1282 win_env::add_cache: native TMP=E:\cygwin64\tmp
   40   21585 [main] poc 1282 posify_maybe: env var converted to TMP=/tmp
  108   21693 [main] poc 1282 win32env_to_cygenv: 0x80002A3A0: TMP=/tmp
   72   21765 [main] poc 1282 win32env_to_cygenv: 0x80002A340: TZ=Asia/Shanghai
   78   21843 [main] poc 1282 win32env_to_cygenv: 0x80002A3C0: USER=Peiyuan
   73   21916 [main] poc 1282 win32env_to_cygenv: 0x80002A3E0: USERDOMAIN=PEIYUAN-PC
   83   21999 [main] poc 1282 win32env_to_cygenv: 0x80002A400: USERDOMAIN_ROAMINGPROFILE=PEIYUAN-PC
   78   22077 [main] poc 1282 win32env_to_cygenv: 0x80002A430: USERNAME=Peiyuan
   90   22167 [main] poc 1282 win32env_to_cygenv: 0x80002A450: USERPROFILE=C:\Users\Peiyuan
  112   22279 [main] poc 1282 win32env_to_cygenv: 0x80002A480: VBOX_MSI_INSTALL_PATH=G:\Program Files\Oracle\VirtualBox\
  122   22401 [main] poc 1282 win32env_to_cygenv: 0x80002A4D0: VBOX_RELEASE_LOG=dev_efi.e.l.f+dev_vga.e.l.f
   94   22495 [main] poc 1282 win32env_to_cygenv: 0x80002A510: VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools
   83   22578 [main] poc 1282 win32env_to_cygenv: 0x80002A570: VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
   90   22668 [main] poc 1282 win32env_to_cygenv: 0x80002A5D0: VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
   79   22747 [main] poc 1282 win32env_to_cygenv: 0x80002A630: VS2017INSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
   79   22826 [main] poc 1282 win32env_to_cygenv: 0x80002A690: WINDIR=C:\WINDOWS
   78   22904 [main] poc 1282 win32env_to_cygenv: 0x80003C860: XPACKS_CACHE_FOLDER=K:\Caches\xPacks
   79   22983 [main] poc 1282 win32env_to_cygenv: 0x80003C890: XPACKS_REPO_FOLDER=K:\xPacks
  106   23089 [main] poc 1282 win32env_to_cygenv: 0x80002A6B0: _=/usr/bin/strace
   82   23171 [main] poc 1282 win32env_to_cygenv: 0x8000281A0: _JAVA_OPTIONS=-Duser.language=en -Duser.country=US
   85   23256 [main] poc 1282 win32env_to_cygenv: 0x8000281E0: asl.log=Destination=file
   90   23346 [main] poc 1282 win32env_to_cygenv: 0x800028210: windows_tracing_flags=3
   75   23421 [main] poc 1282 win32env_to_cygenv: 0x800028230: windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
   46   23467 [main] poc 1282 pinfo_init: Set nice to 0
   38   23505 [main] poc 1282 pinfo_init: pid 1282, pgid 1282, process_state 0x41
   37   23542 [main] poc 1282 App version:  3001.7, api: 0.340
   42   23584 [main] poc 1282 DLL version:  3001.7, api: 0.340
   42   23626 [main] poc 1282 DLL build:    2020-08-22 17:48
   49   23675 [main] poc 1282 dtable::extend: size 32, fds 0x18034DE80
  122   23797 [main] poc 1282 __get_lcid_from_locale: LCID=0x0804
  366   24163 [main] poc 1282 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-0eb90a57d5759b7b-lpc
   60   24223 [main] poc 1282 transport_layer_pipes::connect: Error opening the pipe (2)
   65   24288 [main] poc 1282 client_request::make_request: cygserver un-available
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\netapi32.dll at 00007ffdb3e70000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\samcli.dll at 00007ffdb4df0000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\ucrtbase.dll at 00007ffdbcb50000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\samlib.dll at 00007ffdb5000000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\netutils.dll at 00007ffdbbeb0000
 4583   28871 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <Peiyuan:*:197608:197608:U-PEIYUAN-PC\Peiyuan,S-1-5-21-384271205-296956089-2645211042-1000:/home/Peiyuan:/bin/bash>
 1445   30316 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <Peiyuan:S-1-5-21-384271205-296956089-2645211042-1000:197608:>
  314   30630 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <Medium Mandatory Level:S-1-16-8192:401408:>
  597   31227 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <HomeUsers:S-1-5-21-384271205-296956089-2645211042-1017:197625:>
  593   31820 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <Ssh Users:S-1-5-21-384271205-296956089-2645211042-1027:197635:>
  362   32182 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <Performance Log Users:S-1-5-32-559:559:>
  482   32664 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <Users:S-1-5-32-545:545:>
   51   32715 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <REMOTE INTERACTIVE LOGON:S-1-5-14:14:>
   47   32762 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <INTERACTIVE:S-1-5-4:4:>
   46   32808 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <Authenticated Users:S-1-5-11:11:>
   41   32849 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <This Organization:S-1-5-15:15:>
   43   32892 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <MicrosoftAccount+squallatf@msn.com:S-1-11-96-3623454863-58364-18864-2661722203-1597581903-1620004004-3804625262-1435019991-3025526645-3599240145:68561:>
   44   32936 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <本地帐户:S-1-5-113:113:>
  108   33044 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <CurrentSession:S-1-5-5-0-1400915:4095:>
   43   33087 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <LOCAL:S-1-2-0:66048:>
   39   33126 [main] poc 1282 pwdgrp::fetch_account_from_windows: line: <云帐户身份验证:S-1-5-64-36:262180:>
   44   33170 [main] poc 1282 cygheap_user::ontherange: what 2, pw 0x18034E1D0
   43   33213 [main] poc 1282 cygheap_user::ontherange: HOME is already in the environment /home/Peiyuan
  133   33346 [main] poc 1282 build_argv: argv[0] = 'E:\cygwin64\home\Peiyuan\poc.exe'
   39   33385 [main] poc 1282 build_argv: argc 1
   83   33468 [main] poc 1282 mount_info::conv_to_posix_path: conv_to_posix_path (E:\cygwin64\home\Peiyuan\poc.exe, 0x10000100, no-add-slash)
   40   33508 [main] poc 1282 normalize_win32_path: E:\cygwin64\home\Peiyuan\poc.exe = normalize_win32_path (E:\cygwin64\home\Peiyuan\poc.exe)
   40   33548 [main] poc 1282 mount_info::conv_to_posix_path: /home/Peiyuan/poc.exe = conv_to_posix_path (E:\cygwin64\home\Peiyuan\poc.exe)
  285   33833 [main] poc 1282 open_shared: name 0eb90a57d5759b7b-cons0xF0F60.0, n 0, shared 0x180000000 (wanted 0x180000000), h 0x178, *m 3
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\user32.dll at 00007ffdbeb10000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\win32u.dll at 00007ffdbcd60000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\gdi32.dll at 00007ffdbed30000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\gdi32full.dll at 00007ffdbcc50000
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\msvcp_win.dll at 00007ffdbca30000
--- Process 26560 (pid: 1282) thread 26644 created
--- Process 26560 (pid: 1282) loaded C:\Windows\System32\imm32.dll at 00007ffdbde80000
 4650   38483 [main] poc 1282 build_fh_pc: created an archetype (0x1803503A0) for /dev/cons0(3/0)
   56   38539 [main] poc 1282 build_fh_pc: fh 0x180350020, dev 00030000
  843   39382 [main] poc 1282 fhandler_console::open: opened conin$ 0x140, conout$ 0x184
   76   39458 [main] poc 1282 fhandler_base::open_with_arch: line 471:  /dev/cons0<0x1803503A0> usecount + 1 = 1
   52   39510 [main] poc 1282 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   42   39552 [main] poc 1282 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   41   39593 [main] poc 1282 fhandler_base::set_flags: filemode set to binary
   43   39636 [main] poc 1282 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   37   39673 [main] poc 1282 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x1803503A0
   54   39727 [main] poc 1282 _pinfo::set_ctty: ctty was NULL
   37   39764 [main] poc 1282 _pinfo::set_ctty: line 541:  /dev/cons0<0x1803503A0> usecount + 1 = 2
   42   39806 [main] poc 1282 _pinfo::set_ctty: /dev/cons0 ctty, usecount 2
   42   39848 [main] poc 1282 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 1282, pid 1282, pgid 1282, tty->pgid 1282, tty->sid 0
   43   39891 [main] poc 1282 _pinfo::set_ctty: cygheap->ctty now 0x1803503A0, archetype 0x1803503A0
  313   40204 [main] poc 1282 fhandler_console::output_tcsetattr: 0 = tcsetattr(,0x180000024) (ENABLE FLAGS 0x3) (lflag 0xD1F oflag 0x9)
  309   40513 [main] poc 1282 fhandler_console::input_tcsetattr: this 0x180350020, get_ttyp () 0x180000000, t 0x180000024
   54   40567 [main] poc 1282 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   43   40610 [main] poc 1282 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   39   40649 [main] poc 1282 fhandler_base::set_flags: filemode set to binary
   41   40690 [main] poc 1282 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   41   40731 [main] poc 1282 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 1282, pid 1282, pgid 1282, tty->pgid 1282, tty->sid 1282
   41   40772 [main] poc 1282 _pinfo::set_ctty: cygheap->ctty now 0x1803503A0, archetype 0x1803503A0
  240   41012 [main] poc 1282 build_fh_pc: fh 0x1803507D0, dev 000000C5
   46   41058 [main] poc 1282 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   41   41099 [main] poc 1282 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   41   41140 [main] poc 1282 fhandler_base::set_flags: filemode set to binary
   45   41185 [main] poc 1282 fhandler_base::init: created new fhandler_base for handle 0x2C4, bin 1
  208   41393 [main] poc 1282 build_fh_pc: found an archetype for (null)(3/0) io_handle 0x140
   42   41435 [main] poc 1282 build_fh_pc: fh 0x180350B30, dev 00030000
   44   41479 [main] poc 1282 fhandler_base::open_with_arch: line 491:  /dev/cons0<0x1803503A0> usecount + 1 = 3
   40   41519 [main] poc 1282 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   38   41557 [main] poc 1282 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   39   41596 [main] poc 1282 fhandler_base::set_flags: filemode set to binary
   39   41635 [main] poc 1282 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   40   41675 [main] poc 1282 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 1282, pid 1282, pgid 1282, tty->pgid 1282, tty->sid 1282
   44   41719 [main] poc 1282 _pinfo::set_ctty: cygheap->ctty now 0x1803503A0, archetype 0x1803503A0
  170   41889 [main] poc 1282 fhandler_console::output_tcsetattr: 0 = tcsetattr(,0x180000024) (ENABLE FLAGS 0x3) (lflag 0xD1F oflag 0x9)
  264   42153 [main] poc 1282 fhandler_console::input_tcsetattr: this 0x180350B30, get_ttyp () 0x180000000, t 0x180000024
   54   42207 [main] poc 1282 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   44   42251 [main] poc 1282 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   42   42293 [main] poc 1282 fhandler_base::set_flags: filemode set to binary
   45   42338 [main] poc 1282 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   45   42383 [main] poc 1282 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 1282, pid 1282, pgid 1282, tty->pgid 1282, tty->sid 1282
   42   42425 [main] poc 1282 _pinfo::set_ctty: cygheap->ctty now 0x1803503A0, archetype 0x1803503A0
  125   42550 [main] poc 1282 __set_errno: void dll_crt0_1(void*):989 setting errno 0
  645   43195 [main] poc 1282 open: open(/dev/ptmx, 0x8002)
   42   43237 [main] poc 1282 normalize_posix_path: src /dev/ptmx
   38   43275 [main] poc 1282 normalize_posix_path: /dev/ptmx = normalize_posix_path (/dev/ptmx)
   43   43318 [main] poc 1282 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/ptmx)
   64   43382 [main] poc 1282 mount_info::conv_to_win32_path: src_path /dev/ptmx, dst /dev/ptmx, flags 0x0, rc 0
   50   43432 [main] poc 1282 fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty0-from-master, size 131072, mode PIPE_TYPE_MESSAGE
   67   43499 [main] poc 1282 fhandler_pipe::create: pipe busy
   41   43540 [main] poc 1282 fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-from-master, size 131072, mode PIPE_TYPE_MESSAGE
   67   43607 [main] poc 1282 fhandler_pipe::create: pipe read handle 0x1A4
   39   43646 [main] poc 1282 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-from-master
   53   43699 [main] poc 1282 fhandler_pipe::create: pipe write handle 0x1A8
   44   43743 [main] poc 1282 tty_list::allocate: pty1 allocated
   48   43791 [main] poc 1282 fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-to-master, size 131072, mode PIPE_TYPE_MESSAGE
   63   43854 [main] poc 1282 fhandler_pipe::create: pipe read handle 0x1AC
   46   43900 [main] poc 1282 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-to-master
   54   43954 [main] poc 1282 fhandler_pipe::create: pipe write handle 0x1B0
   38   43992 [main] poc 1282 fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-to-master-cyg, size 131072, mode PIPE_TYPE_MESSAGE
   60   44052 [main] poc 1282 fhandler_pipe::create: pipe read handle 0x1B4
   38   44090 [main] poc 1282 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-to-master-cyg
   51   44141 [main] poc 1282 fhandler_pipe::create: pipe write handle 0x1B8
   40   44181 [main] poc 1282 fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-echoloop, size 131072, mode PIPE_TYPE_MESSAGE
   57   44238 [main] poc 1282 fhandler_pipe::create: pipe read handle 0x1BC
   38   44276 [main] poc 1282 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-echoloop
   59   44335 [main] poc 1282 fhandler_pipe::create: pipe write handle 0x1C0
   90   44425 [main] poc 1282 set_posix_access: ACL-Size: 124
   80   44505 [main] poc 1282 set_posix_access: Created SD-Size: 200
   58   44563 [main] poc 1282 tty::get_event: created event cygtty.input.avail.1
--- Process 26560 (pid: 1282) thread 24776 created
--- Process 26560 (pid: 1282) thread 23420 created
  471   45034 [ptym] poc 1282 cygthread::stub: thread 'ptym', id 0x60C8, stack_ptr 0x27BCCB0
   96   45130 [ptym] poc 1282 fhandler_pty_master::pty_master_thread: Entered
   60   45190 [ptymf] poc 1282 cygthread::stub: thread 'ptymf', id 0x5B7C, stack_ptr 0x29BCCB0
  160   45350 [ptymf] poc 1282 fhandler_pty_master::pty_master_fwd_thread: Started.
 2801   48151 [main] poc 1282 normalize_posix_path: src /bin/cygwin-console-helper.exe
--- Process 13916 created
   61   48212 [main] poc 1282 normalize_posix_path: /bin/cygwin-console-helper.exe = normalize_posix_path (/bin/cygwin-console-helper.exe)
  101   48313 [main] poc 1282 mount_info::conv_to_win32_path: conv_to_win32_path (/bin/cygwin-console-helper.exe)
   67   48380 [main] poc 1282 mount_info::conv_to_win32_path: src_path /bin/cygwin-console-helper.exe, dst E:\cygwin64\bin\cygwin-console-helper.exe, flags 0x30008, rc 0
--- Process 13916 loaded C:\Windows\System32\ntdll.dll at 00007ffdbf2f0000
   86   48466 [main] poc 1282 symlink_info::check: 0x0 = NtCreateFile (\??\E:\cygwin64\bin\cygwin-console-helper.exe)
  111   48577 [main] poc 1282 symlink_info::check: not a symlink
   55   48632 [main] poc 1282 symlink_info::check: 0 = symlink.check(E:\cygwin64\bin\cygwin-console-helper.exe, 0xFFFFB0D0) (mount_flags 0x30008, path_flags 0x0)
   42   48674 [main] poc 1282 path_conv::check: this->path(E:\cygwin64\bin\cygwin-console-helper.exe), has_acls(1)
--- Process 13916 loaded C:\Windows\System32\kernel32.dll at 00007ffdbdfd0000
--- Process 13916 loaded C:\Windows\System32\KernelBase.dll at 00007ffdbcf70000
--- Process 13916 loaded C:\Windows\System32\msvcp_win.dll at 00007ffdbca30000
--- Process 13916 loaded C:\Windows\System32\ucrtbase.dll at 00007ffdbcb50000
--- Process 13916 thread 18680 created
--- Process 13916 thread 4380 created
--- Process 13916 loaded C:\Windows\System32\SHCore.dll at 00007ffdbd9f0000
--- Process 13916 loaded C:\Windows\System32\msvcrt.dll at 00007ffdbe920000
--- Process 18720 created
--- Process 18720 loaded C:\Windows\System32\ntdll.dll at 00007ffdbf2f0000
--- Process 13916 loaded C:\Windows\System32\combase.dll at 00007ffdbedc0000
--- Process 13916 loaded C:\Windows\System32\rpcrt4.dll at 00007ffdbf180000
--- Process 13916 loaded C:\Windows\System32\advapi32.dll at 00007ffdbe860000
--- Process 13916 loaded C:\Windows\System32\sechost.dll at 00007ffdbdb80000
--- Process 18720 loaded C:\Windows\System32\kernel32.dll at 00007ffdbdfd0000
--- Process 18720 loaded C:\Windows\System32\KernelBase.dll at 00007ffdbcf70000
--- Process 13916 thread 12196 created
--- Process 13916 thread 19868 created
--- Process 13916 thread 18680 exited with status 0x0
--- Process 13916 thread 4380 exited with status 0x0
--- Process 13916 thread 14184 exited with status 0x0
--- Process 13916 loaded C:\Windows\System32\user32.dll at 00007ffdbeb10000
--- Process 13916 loaded C:\Windows\System32\win32u.dll at 00007ffdbcd60000
--- Process 13916 loaded C:\Windows\System32\gdi32.dll at 00007ffdbed30000
--- Process 13916 loaded C:\Windows\System32\gdi32full.dll at 00007ffdbcc50000
--- Process 13916 thread 20648 created
--- Process 13916 thread 23444 created
--- Process 13916 loaded C:\Windows\System32\imm32.dll at 00007ffdbde80000
--- Process 13916 thread 23816 created
--- Process 13916 thread 25488 created
--- Process 13916 loaded C:\Windows\System32\uxtheme.dll at 00007ffdba180000
--- Process 13916 loaded C:\Windows\System32\msctf.dll at 00007ffdbdeb0000
--- Process 13916 loaded C:\Windows\System32\oleaut32.dll at 00007ffdbea40000
--- Process 13916 thread 1728 created
--- Process 18720 loaded C:\Windows\System32\msvcrt.dll at 00007ffdbe920000
--- Process 18720 thread 26696 created
19470   68144 [main] poc 1282 fhandler_pty_master::setup: this 0x180351100, pty1 opened - from_pty <0x1AC,0x1B4>, to_pty 0x1A8
  104   68248 [main] poc 1282 build_fh_pc: created an archetype (0x180351550) for /dev/ptmx(128/1)
   39   68287 [main] poc 1282 build_fh_pc: fh 0x180351100, dev 00800001
   49   68336 [main] poc 1282 fhandler_base::open_with_arch: line 491:  /dev/ptmx<0x180351550> usecount + 1 = 1
   42   68378 [main] poc 1282 fhandler_base::set_flags: flags 0x18002, supplied_bin 0x0
   40   68418 [main] poc 1282 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   41   68459 [main] poc 1282 fhandler_base::set_flags: filemode set to binary
   44   68503 [main] poc 1282 fhandler_pty_master::open_setup: /dev/ptmx opened pty master for pty1, usecount 1
   44   68547 [main] poc 1282 open: 3 = open(/dev/ptmx, 0x8002)
   46   68593 [main] poc 1282 dtable::dup3: dup3 (3, 4, 0x0)
   40   68633 [main] poc 1282 fhandler_pty_master::dup: /dev/ptmx duped master, usecount 1
   36   68669 [main] poc 1282 dtable::dup_worker: line 738:  /dev/ptmx<0x180351550> usecount + 1 = 2
   59   68728 [main] poc 1282 dtable::dup_worker: duped '/dev/ptmx' old 0x1B4, new 0x1B4
   41   68769 [main] poc 1282 dtable::dup3: newfh->io_handle 0x1B4, oldfh->io_handle 0x1B4, new win32_name 0x1803510D0, old win32_name 0x180351520
   43   68812 [main] poc 1282 dtable::dup3: 4 = dup3(3, 4, 0x8000)
   52   68864 [main] poc 1282 dup: 4 = dup(3)
   44   68908 [main] poc 1282 close: close(3)
   38   68946 [main] poc 1282 fhandler_base::close_with_arch: line 1184:  /dev/ptmx<0x180351550> usecount + -1 = 1
   37   68983 [main] poc 1282 fhandler_base::close_with_arch: not closing archetype
   50   69033 [main] poc 1282 close: 0 = close(3)
   51   69084 [main] poc 1282 open: open(/dev/pty1, 0x2)
   50   69134 [main] poc 1282 normalize_posix_path: src /dev/pty1
   42   69176 [main] poc 1282 normalize_posix_path: /dev/pty1 = normalize_posix_path (/dev/pty1)
   41   69217 [main] poc 1282 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/pty1)
   45   69262 [main] poc 1282 mount_info::conv_to_win32_path: src_path /dev/pty1, dst /dev/pty1, flags 0x0, rc 0
   40   69302 [main] poc 1282 fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-from-master, size 131072, mode PIPE_TYPE_MESSAGE
   65   69367 [main] poc 1282 fhandler_pipe::create: pipe busy
   34   69401 [main] poc 1282 tty::exists: exists 1
   58   69459 [main] poc 1282 build_fh_pc: created an archetype (0x180351C30) for /dev/pty1(136/1)
   53   69512 [main] poc 1282 build_fh_pc: fh 0x180351100, dev 00880001
   39   69551 [main] poc 1282 fhandler_pipe::create: name \\.\pipe\cygwin-0eb90a57d5759b7b-pty1-from-master, size 131072, mode PIPE_TYPE_MESSAGE
   56   69607 [main] poc 1282 fhandler_pipe::create: pipe busy
   43   69650 [main] poc 1282 tty::exists: exists 1
   91   69741 [main] poc 1282 set_posix_access: ACL-Size: 124
   76   69817 [main] poc 1282 set_posix_access: Created SD-Size: 200
   41   69858 [main] poc 1282 fhandler_pty_slave::open: (830): pty output_mutex (0x1E0): waiting -1 ms
   42   69900 [main] poc 1282 fhandler_pty_slave::open: (830): pty output_mutex: acquired
   55   69955 [main] poc 1282 tty::create_inuse: cygtty.slave_alive.1 0x228
   41   69996 [main] poc 1282 fhandler_pty_slave::open: (833): pty output_mutex(0x1E0) released
   77   70073 [main] poc 1282 fhandler_pty_slave::open: dup handles within myself.
   45   70118 [main] poc 1282 fhandler_pty_slave::open: duplicated from_master 0x210->0x234 from pty_owner
   33   70151 [main] poc 1282 fhandler_pty_slave::open: duplicated from_master_cyg 0x1A4->0x238 from pty_owner
   44   70195 [main] poc 1282 fhandler_pty_slave::open: duplicated to_master 0x1F4->0x23C from pty_owner
   48   70243 [main] poc 1282 fhandler_pty_slave::open: duplicated to_master_cyg 0x1B8->0x240 from pty_owner
  522   70765 [main] poc 1282 fhandler_base::open_with_arch: line 471:  /dev/pty1<0x180351C30> usecount + 1 = 1
   42   70807 [main] poc 1282 fhandler_base::set_flags: flags 0x18002, supplied_bin 0x0
   41   70848 [main] poc 1282 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   42   70890 [main] poc 1282 fhandler_base::set_flags: filemode set to binary
   53   70943 [main] poc 1282 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x880001 flags & O_NOCTTY 0x8000
   40   70983 [main] poc 1282 _pinfo::set_ctty: cygheap->ctty now 0x1803503A0, archetype 0x180351C30
   38   71021 [main] poc 1282 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 1
   44   71065 [main] poc 1282 open: 3 = open(/dev/pty1, 0x8002)
  187   71252 [main] poc 1282 time: 1610602390 = time(0x0)
   42   71294 [main] poc 1282 fstat64: 0 = fstat(1, 0xFFFFC6F0)
  168   71462 [main] poc 1282 close: close(4)
   39   71501 [main] poc 1282 fhandler_base::close_with_arch: line 1184:  /dev/ptmx<0x180351550> usecount + -1 = 0
   39   71540 [main] poc 1282 fhandler_base::close_with_arch: closing archetype
   39   71579 [main] poc 1282 fhandler_pty_master::cleanup: /dev/ptmx closing master, usecount 0
   47   71626 [main] poc 1282 fhandler_pty_master::close: closing from_master(0x210)/from_master_cyg(0x1A4)/to_master(0x1F4)/to_master_cyg(0x1B8) since we own them(0)
   40   71666 [main] poc 1282 fhandler_pty_master::close: (2412): pty output_mutex (0x1C8): waiting -1 ms
   40   71706 [main] poc 1282 fhandler_pty_master::close: (2412): pty output_mutex: acquired
   78   71784 [ptym] poc 1282 fhandler_pty_master::pty_master_thread: ReadFile, Win32 error 5
   44   71828 [ptym] poc 1282 fhandler_pty_master::pty_master_thread: Reply: from 0x0, to 0x0, error 5
   52   71880 [ptym] poc 1282 fhandler_pty_master::pty_master_thread: DisconnectNamedPipe, Win32 error 1
   42   71922 [ptym] poc 1282 fhandler_pty_master::pty_master_thread: Leaving

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

* Re: program will hang when dup and close fd opend by posix_openpt
  2021-01-14  5:48 program will hang when dup and close fd opend by posix_openpt Peiyuan Song
@ 2021-01-14  9:34 ` Takashi Yano
  2021-01-14 15:05   ` Takashi Yano
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Yano @ 2021-01-14  9:34 UTC (permalink / raw)
  To: cygwin-developers

On Thu, 14 Jan 2021 13:48:25 +0800
Peiyuan Song via Cygwin-developers <cygwin-developers@cygwin.com> wrote:
> dup will clone all info from `fhandler_pty_master` except pty master
> control thread and pty master forwarding thread, when close that fd
> the `fhandler_pty_master` heap will be reclaimed, but  the thread run
> on  `fhandler_pty_master` object will not stop. when close duped fd,
> those threads will access the reclaimed space and cause this issue.

Thanks for the report. Let me consider.

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

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

* Re: program will hang when dup and close fd opend by posix_openpt
  2021-01-14  9:34 ` Takashi Yano
@ 2021-01-14 15:05   ` Takashi Yano
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Yano @ 2021-01-14 15:05 UTC (permalink / raw)
  To: cygwin-developers

On Thu, 14 Jan 2021 18:34:40 +0900
Takashi Yano via Cygwin-developers <cygwin-developers@cygwin.com> wrote:
> On Thu, 14 Jan 2021 13:48:25 +0800
> Peiyuan Song via Cygwin-developers <cygwin-developers@cygwin.com> wrote:
> > dup will clone all info from `fhandler_pty_master` except pty master
> > control thread and pty master forwarding thread, when close that fd
> > the `fhandler_pty_master` heap will be reclaimed, but  the thread run
> > on  `fhandler_pty_master` object will not stop. when close duped fd,
> > those threads will access the reclaimed space and cause this issue.
> 
> Thanks for the report. Let me consider.

I came up with a solution. I will submit a patch for this issue
together with other patches after testing a while.

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

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

end of thread, other threads:[~2021-01-14 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14  5:48 program will hang when dup and close fd opend by posix_openpt Peiyuan Song
2021-01-14  9:34 ` Takashi Yano
2021-01-14 15:05   ` 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).