This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[BUG] Cygwin dll (cvs): subdirs of the root dir of a "managed" mount do not inherit the ability to create files using reserved names


Hi All,

This is using a dll compiled from the latest cvs source. The problem occurs in newly created subdirs of a "managed" mount's rootdir. For illustration purposes, /usr/src is the mountpoint and /usr/src/temp is the newly created directory. Here's how to reproduce:

1)mount /usr/src as managed.
2)create the dir /usr/src/temp.
3)cd /usr/src/temp.
4)try running `touch aux.c` (this should fail).
5)cd ..
6)try running `touch aux.c` (this should succeed).

I ran strace on both operations and observed that the problem may be rooted in conv_to_win32_path(). I haven't had much time to thoroughly dig into the source, so I might be wrong. For your reference I've attached a brief summary of my observations as well as the relevant differences between the two straces.

Cheers,
Nicholas
This is the mount:
C:\Cygnus\cygwin\usr\src on /usr/src type system (binmode,managed)

CYGWIN="ntsec ntea tty binmode codepage:oem server check_case:strict export"

**********************************************
Program name: C:\Cygnus\cygwin\bin\touch.exe (1964)
App version:  1005.0, api: 0.88
DLL version:  1005.6, api: 0.109
               ^^^^^
DLL build:    2003-12-17 20:17
OS version:   Windows NT-5.0
Heap size:    1073741824
Date/Time:    2003-12-21 19:33:36
**********************************************

Please note that I have bumped the minor 107->109 because of ongoing work to add
some of the resolver & catgets stuff.  Otherwise, it is a stock dll with a stock
"touch".

To be clear, items preceded by minus (-) signs are the differences from the strace
of `touch aux.c` run in the subdir (/usr/src/temp), while the items preceded by
plus (+) signs are the differences from the strace of `touch aux.c` run in the
root of the "managed" mount (/usr/src).

You'll most likely be interested in the content at (@@ -355,55 +350,78 @@), which
is where I note that the logic path between the two traces first diverges.  It would
seem to me that the problem happens in conv_to_win32_path(), as this seen in the
following:
-[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/temp/aux.c)
-[main] touch set_flags: flags: binary (0x2)
-[main] touch mount_info::conv_to_win32_path: src_path /usr/src/temp/aux.c, dst C:\Cygnus\cygwin\usr\src\temp\aux.c, flags 0x80A, rc 0
+[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/aux.c)
+[main] touch set_flags: flags: binary (0x2)
+[main] touch mount_info::conv_to_win32_path: src_path /usr/src/aux.c, dst C:\Cygnus\cygwin\usr\src\%61ux.c, flags 0x80A, rc 0


--- strace.resname.subdir.1 2003-12-21 19:38:03.453125000 -0500
+++ strace.resname.topdir.1 2003-12-21 19:38:48.859375000 -0500
@@ -40,22 +40,17 @@
 [main] touch environ_init: 0x10200ED8: MSSDK=C:\Program Files\Microsoft SDK\.
 [main] touch environ_init: 0x10200F08: MSTOOLS=C:\Program Files\Microsoft SDK\.
 [main] touch environ_init: 0x10200F38: NUMBER_OF_PROCESSORS=2
-[main] touch environ_init: 0x10200F58: OLDPWD=/usr/src
-[main] touch environ_init: 0x10200F70: OS2LIBPATH=C:\WINNT\system32\os2\dll;
-[main] touch environ_init: 0x10200FA0: OS=Windows_NT
+[main] touch environ_init: 0x10200F58: OLDPWD=/usr/src/cygwin-src
+[main] touch environ_init: 0x10200F78: OS2LIBPATH=C:\WINNT\system32\os2\dll;
+[main] touch environ_init: 0x10200FA8: OS=Windows_NT
 [main] touch getwinenv: can't set native for PATH= since no environ yet
 [main] touch normalize_posix_path: src .
-[main] touch mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygnus\cygwin\usr\src\temp, no-keep-rel, no-add-slash)
-[main] touch normalize_win32_path: C:\Cygnus\cygwin\usr\src\temp = normalize_win32_path (C:\Cygnus\cygwin\usr\src\temp)
-[main] touch mount_info::conv_to_posix_path: /usr/src/temp = conv_to_posix_path (C:\Cygnus\cygwin\usr\src\temp)
-[main] touch cwdstuff::get: posix /usr/src/temp
-[main] touch cwdstuff::get: (/usr/src/temp) = cwdstuff::get (0x22F598, 260, 1, 0), errno 0
-[main] touch normalize_posix_path: /usr/src/temp = normalize_posix_path (.)
-[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/temp)
-[main] touch set_flags: flags: binary (0x2)
-[main] touch mount_info::conv_to_win32_path: src_path /usr/src/temp, dst C:\Cygnus\cygwin\usr\src\temp, flags 0x80A, rc 0
-[main] touch symlink_info::check: not a symlink
-[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src\temp, 0x22F258) (0x80A)

+[main] touch mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygnus\cygwin\usr\src, no-keep-rel, no-add-slash)
+[main] touch normalize_win32_path: C:\Cygnus\cygwin\usr\src = normalize_win32_path (C:\Cygnus\cygwin\usr\src)
+[main] touch mount_info::conv_to_posix_path: /usr/src = conv_to_posix_path (C:\Cygnus\cygwin\usr\src)
+[main] touch cwdstuff::get: posix /usr/src
+[main] touch cwdstuff::get: (/usr/src) = cwdstuff::get (0x22F598, 260, 1, 0), errno 0
+[main] touch normalize_posix_path: /usr/src = normalize_posix_path (.)
 [main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src)
 [main] touch set_flags: flags: binary (0x2)
 [main] touch mount_info::conv_to_win32_path: src_path /usr/src, dst C:\Cygnus\cygwin\usr\src, flags 0x80A, rc 0
@@ -66,7 +61,7 @@
 [main] touch mount_info::conv_to_win32_path: src_path /usr, dst C:\Cygnus\cygwin\usr, flags 0xA, rc 0
 [main] touch symlink_info::check: not a symlink
 [main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr, 0x22F258) (0xA)
-[main] touch path_conv::check: root_dir(C:\), this->path(C:\Cygnus\cygwin\usr\src\temp), set_has_acls(8)
+[main] touch path_conv::check: root_dir(C:\), this->path(C:\Cygnus\cygwin\usr\src), set_has_acls(8)
 [main] touch mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygnus\cygwin\usr\local\bin, keep-rel, no-add-slash)
 [main] touch normalize_win32_path: C:\Cygnus\cygwin\usr\local\bin = normalize_win32_path (C:\Cygnus\cygwin\usr\local\bin)
 [main] touch mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\Cygnus\cygwin\usr\local\bin)
@@ -97,26 +92,26 @@
 [main] touch win_env::add_cache: posix /usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Cygnus/BITKEE~1:/usr/bin:/usr/X11R6/bin
 [main] touch win_env::add_cache: native PATH=C:\Cygnus\cygwin\usr\local\bin;C:\Cygnus\cygwin\bin;C:\Cygnus\cygwin\bin;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;c:\Cygnus\BITKEE~1;C:\Cygnus\cygwin\bin;C:\Cygnus\cygwin\usr\X11R6\bin
 [main] touch posify: env var converted to PATH=/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Cygnus/BITKEE~1:/usr/bin:/usr/X11R6/bin
-[main] touch environ_init: 0x10201088: PATH=/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Cygnus/BITKEE~1:/usr/bin:/usr/X11R6/bin
-[main] touch environ_init: 0x10200FB8: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
-[main] touch environ_init: 0x10200FF8: PERLDOC_PAGER=less -isrR
-[main] touch environ_init: 0x10201018: PKG_CONFIG_PATH=:/usr/X11R6/lib/pkgconfig
-[main] touch environ_init: 0x10201048: PROCESSOR_ARCHITECTURE=x86
-[main] touch environ_init: 0x10201470: PROCESSOR_IDENTIFIER=x86 Family 6 Model 6 Stepping 2, AuthenticAMD
-[main] touch environ_init: 0x10201068: PROCESSOR_LEVEL=6
-[main] touch environ_init: 0x102014B8: PROCESSOR_REVISION=0602
-[main] touch environ_init: 0x102014D8: PROGRAMFILES=C:\Program Files
-[main] touch environ_init: 0x10201500: PS1=\[\033]0;\w\007
+[main] touch environ_init: 0x10201090: PATH=/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Cygnus/BITKEE~1:/usr/bin:/usr/X11R6/bin
+[main] touch environ_init: 0x10200FC0: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
+[main] touch environ_init: 0x10201000: PERLDOC_PAGER=less -isrR
+[main] touch environ_init: 0x10201020: PKG_CONFIG_PATH=:/usr/X11R6/lib/pkgconfig
+[main] touch environ_init: 0x10201050: PROCESSOR_ARCHITECTURE=x86
+[main] touch environ_init: 0x10201450: PROCESSOR_IDENTIFIER=x86 Family 6 Model 6 Stepping 2, AuthenticAMD
+[main] touch environ_init: 0x10201070: PROCESSOR_LEVEL=6
+[main] touch environ_init: 0x10201498: PROCESSOR_REVISION=0602
+[main] touch environ_init: 0x102014B8: PROGRAMFILES=C:\Program Files
+[main] touch environ_init: 0x102014E0: PS1=\[\033]0;\w\007
 \033[32m\]\u@\h \[\033[33m\w\033[0m\]
 $ 
-[main] touch environ_init: 0x10201548: PWD=/usr/src/temp
-[main] touch environ_init: 0x10201560: SHELL=/bin/bash
-[main] touch environ_init: 0x10201578: SHLVL=1
-[main] touch environ_init: 0x10201588: SSH_CLIENT=130.127.121.186 33216 22
-[main] touch environ_init: 0x102015B0: SSH_CONNECTION=130.127.121.186 33216 130.127.121.188 22
-[main] touch environ_init: 0x102015F0: SSH_TTY=/dev/tty0
-[main] touch environ_init: 0x10201608: SYSTEMDRIVE=C:
-[main] touch environ_init: 0x10201620: SYSTEMROOT=C:\WINNT
+[main] touch environ_init: 0x10201528: PWD=/usr/src
+[main] touch environ_init: 0x10201540: SHELL=/bin/bash
+[main] touch environ_init: 0x10201558: SHLVL=1
+[main] touch environ_init: 0x10201568: SSH_CLIENT=130.127.121.186 33216 22
+[main] touch environ_init: 0x10201590: SSH_CONNECTION=130.127.121.186 33216 130.127.121.188 22
+[main] touch environ_init: 0x102015D0: SSH_TTY=/dev/tty0
+[main] touch environ_init: 0x102015E8: SYSTEMDRIVE=C:
+[main] touch environ_init: 0x10201600: SYSTEMROOT=C:\WINNT
 [main] touch getwinenv: can't set native for TEMP= since no environ yet
 [main] touch mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\TEMP, no-keep-rel, no-add-slash)
 [main] touch normalize_win32_path: c:\WINNT\TEMP = normalize_win32_path (c:\WINNT\TEMP)
@@ -124,9 +119,9 @@ $ 
 [main] touch win_env::add_cache: posix /cygdrive/c/WINNT/TEMP
 [main] touch win_env::add_cache: native TEMP=c:\WINNT\TEMP
 [main] touch posify: env var converted to TEMP=/cygdrive/c/WINNT/TEMP
-[main] touch environ_init: 0x10201650: TEMP=/cygdrive/c/WINNT/TEMP
-[main] touch environ_init: 0x10201798: TERM=xterm
-[main] touch environ_init: 0x102017A8: TEXMF={/usr/share/lilypond/2.0.1,/usr/share/texmf}
+[main] touch environ_init: 0x10201630: TEMP=/cygdrive/c/WINNT/TEMP
+[main] touch environ_init: 0x10201778: TERM=xterm
+[main] touch environ_init: 0x10201788: TEXMF={/usr/share/lilypond/2.0.1,/usr/share/texmf}
 [main] touch getwinenv: can't set native for TMP= since no environ yet
 [main] touch mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\TEMP, no-keep-rel, no-add-slash)
 [main] touch normalize_win32_path: c:\WINNT\TEMP = normalize_win32_path (c:\WINNT\TEMP)
@@ -134,14 +129,14 @@ $ 
 [main] touch win_env::add_cache: posix /cygdrive/c/WINNT/TEMP
 [main] touch win_env::add_cache: native TMP=c:\WINNT\TEMP
 [main] touch posify: env var converted to TMP=/cygdrive/c/WINNT/TEMP
-[main] touch environ_init: 0x102017E0: TMP=/cygdrive/c/WINNT/TEMP
-[main] touch environ_init: 0x10201928: TZ=EST5EDT4,M4.1.0/2,M10.5.0/2
-[main] touch environ_init: 0x10201638: USER=nwourms
-[main] touch environ_init: 0x10201950: USERDOMAIN=NIKON-XEP6PHZEG
-[main] touch environ_init: 0x10201970: USERNAME=nwourms
-[main] touch environ_init: 0x10201988: WINDIR=C:\WINNT
-[main] touch environ_init: 0x102019A0: _=/usr/bin/strace
-[main] touch pinfo_init: pid 2776, pgid 2776
+[main] touch environ_init: 0x102017C0: TMP=/cygdrive/c/WINNT/TEMP
+[main] touch environ_init: 0x10201908: TZ=EST5EDT4,M4.1.0/2,M10.5.0/2
+[main] touch environ_init: 0x10201618: USER=nwourms
+[main] touch environ_init: 0x10201930: USERDOMAIN=NIKON-XEP6PHZEG
+[main] touch environ_init: 0x10201950: USERNAME=nwourms
+[main] touch environ_init: 0x10201968: WINDIR=C:\WINNT
+[main] touch environ_init: 0x10201980: _=/usr/bin/strace
+[main] touch pinfo_init: pid 1964, pgid 1964
 [main] touch dtable::extend: size 32, fds 0x61670630
 [main] touch normalize_posix_path: src /etc/passwd
 [main] touch normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)
@@ -355,55 +350,78 @@ $ 
 [main] touch wait_for_sigthread: wait_sig_inited 0x324
 [main] touch open: open (aux.c, 0xC201)
 [main] touch normalize_posix_path: src aux.c
-[main] touch cwdstuff::get: posix /usr/src/temp
-[main] touch cwdstuff::get: (/usr/src/temp) = cwdstuff::get (0x22F520, 260, 1, 0), errno 0
-[main] touch normalize_posix_path: /usr/src/temp/aux.c = normalize_posix_path (aux.c)
-[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/temp/aux.c)
-[main] touch set_flags: flags: binary (0x2)
-[main] touch mount_info::conv_to_win32_path: src_path /usr/src/temp/aux.c, dst C:\Cygnus\cygwin\usr\src\temp\aux.c, flags 0x80A, rc 0
-[main] touch symlink_info::check: not a symlink
-[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src\temp\aux.c, 0x22F1E0) (0x80A)
-[main] touch path_conv::check: root_dir(C:\), this->path(C:\Cygnus\cygwin\usr\src\temp\aux.c), set_has_acls(8)
-[main] touch open: -1 = open (aux.c, 0xC201)
+[main] touch cwdstuff::get: posix /usr/src
+[main] touch cwdstuff::get: (/usr/src) = cwdstuff::get (0x22F520, 260, 1, 0), errno 0
+[main] touch normalize_posix_path: /usr/src/aux.c = normalize_posix_path (aux.c)
+[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/aux.c)
+[main] touch set_flags: flags: binary (0x2)
+[main] touch mount_info::conv_to_win32_path: src_path /usr/src/aux.c, dst C:\Cygnus\cygwin\usr\src\%61ux.c, flags 0x80A, rc 0
+[main] touch symlink_info::check: GetFileAttributes (C:\Cygnus\cygwin\usr\src\%61ux.c) failed
+[main] touch geterrno_from_win_error: windows error 2 == errno 2
+[main] touch symlink_info::check: GetFileAttributes (C:\Cygnus\cygwin\usr\src\%61ux.c.lnk) failed
+[main] touch geterrno_from_win_error: windows error 2 == errno 2
+[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src\%61ux.c, 0x22F1E0) (0x80A)
+[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src)
+[main] touch set_flags: flags: binary (0x2)
+[main] touch mount_info::conv_to_win32_path: src_path /usr/src, dst C:\Cygnus\cygwin\usr\src, flags 0x80A, rc 0
+[main] touch symlink_info::check: not a symlink
+[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src, 0x22F1E0) (0x80A)
+[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr)
+[main] touch set_flags: flags: binary (0x2)
+[main] touch mount_info::conv_to_win32_path: src_path /usr, dst C:\Cygnus\cygwin\usr, flags 0xA, rc 0
+[main] touch symlink_info::check: not a symlink
+[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr, 0x22F1E0) (0xA)
+[main] touch path_conv::check: root_dir(C:\), this->path(C:\Cygnus\cygwin\usr\src\%61ux.c), set_has_acls(8)
+[main] touch build_fh_pc: fh 0x61671BC0
+[main] touch fhandler_base::open: (C:\Cygnus\cygwin\usr\src\%61ux.c, 0x10C201) query_open 0
+[main] touch alloc_sd: uid 1003, gid 544, attribute 1B6
+[main] touch cygpsid::debug_print: alloc_sd: owner SID = S-1-5-21-1004336348-436374069-839522115-1003
+[main] touch cygpsid::debug_print: alloc_sd: group SID = S-1-5-32-544
+[main] touch alloc_sd: ACL-Size: 88
+[main] touch alloc_sd: Created SD-Size: 152
+[main] touch fhandler_base::open: 0x2BC = CreateFile (C:\Cygnus\cygwin\usr\src\%61ux.c, 0x40000000, 0x7, 0x22F960, 0x4, 0x2000080, 0)
+[main] touch fhandler_base::set_flags: flags 0x10C201, supplied_bin 0x10000
+[main] touch fhandler_base::set_flags: filemode set to binary
+[main] touch fhandler_base::open: 1 = fhandler_base::open (C:\Cygnus\cygwin\usr\src\%61ux.c, 0x10C201)
+[main] touch fhandler_base::open_fs: 1 = fhandler_disk_file::open (C:\Cygnus\cygwin\usr\src\%61ux.c, 0xC201)
+[main] touch open: 3 = open (aux.c, 0xC201)
+[main] touch close: close (3)
+[main] touch fhandler_base::close: closing '/usr/src/aux.c' handle 0x2BC
+[main] touch close: 0 = close (3)
 [main] touch normalize_posix_path: src aux.c
-[main] touch cwdstuff::get: posix /usr/src/temp
-[main] touch cwdstuff::get: (/usr/src/temp) = cwdstuff::get (0x22F4D0, 260, 1, 0), errno 6
-[main] touch normalize_posix_path: /usr/src/temp/aux.c = normalize_posix_path (aux.c)
-[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/temp/aux.c)
-[main] touch set_flags: flags: binary (0x2)
-[main] touch mount_info::conv_to_win32_path: src_path /usr/src/temp/aux.c, dst C:\Cygnus\cygwin\usr\src\temp\aux.c, flags 0x80A, rc 0
-[main] touch symlink_info::check: not a symlink
-[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src\temp\aux.c, 0x22F190) (0x80A)
-[main] touch path_conv::check: root_dir(C:\), this->path(C:\Cygnus\cygwin\usr\src\temp\aux.c), set_has_acls(8)
-[main] touch cwdstuff::get: posix /usr/src/temp
-[main] touch cwdstuff::get: (C:\Cygnus\cygwin\usr\src\temp) = cwdstuff::get (0x22EF00, 260, 0, 0), errno 6
-[main] touch utimes: -1 = utimes (aux.c, 0)
-[main] touch writev: writev (2, 0x22D970, 1)
-[main] touch fhandler_base::write: binary write
-[main] touch fhandler_base::write: 7 = write (0x22DAC0, 7)
-[main] touch writev: 7 = write (2, 0x22D970, 1), errno 2
-[main] touch writev: writev (2, 0x22D990, 1)
-[main] touch fhandler_base::write: binary write
-[main] touch fhandler_base::write: 16 = write (0x22DAE0, 16)
-[main] touch writev: 16 = write (2, 0x22D990, 1), errno 2
-[main] touch writev: writev (2, 0x22D970, 1)
-[main] touch fhandler_base::write: binary write
-[main] touch fhandler_base::write: 27 = write (0x22DAC0, 27)
-[main] touch writev: 27 = write (2, 0x22D970, 1), errno 2
-[main] touch writev: writev (2, 0x22F530, 1)
-[main] touch fhandler_base::write: binary write
-[main] touch fhandler_base::write: 1 = write (0x610F839F, 1)
-[main] touch writev: 1 = write (2, 0x22F530, 1), errno 2
-[main] touch do_exit: do_exit (1), exit_state 0
+[main] touch cwdstuff::get: posix /usr/src
+[main] touch cwdstuff::get: (/usr/src) = cwdstuff::get (0x22F4D0, 260, 1, 0), errno 0
+[main] touch normalize_posix_path: /usr/src/aux.c = normalize_posix_path (aux.c)
+[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/aux.c)
+[main] touch set_flags: flags: binary (0x2)
+[main] touch mount_info::conv_to_win32_path: src_path /usr/src/aux.c, dst C:\Cygnus\cygwin\usr\src\%61ux.c, flags 0x80A, rc 0
+[main] touch symlink_info::check: not a symlink
+[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src\%61ux.c, 0x22F190) (0x80A)
+[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src)
+[main] touch set_flags: flags: binary (0x2)
+[main] touch mount_info::conv_to_win32_path: src_path /usr/src, dst C:\Cygnus\cygwin\usr\src, flags 0x80A, rc 0
+[main] touch symlink_info::check: not a symlink
+[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src, 0x22F190) (0x80A)
+[main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/usr)
+[main] touch set_flags: flags: binary (0x2)
+[main] touch mount_info::conv_to_win32_path: src_path /usr, dst C:\Cygnus\cygwin\usr, flags 0xA, rc 0
+[main] touch symlink_info::check: not a symlink
+[main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr, 0x22F190) (0xA)
+[main] touch path_conv::check: root_dir(C:\), this->path(C:\Cygnus\cygwin\usr\src\%61ux.c), set_has_acls(8)
+[main] touch cwdstuff::get: posix /usr/src
+[main] touch cwdstuff::get: (C:\Cygnus\cygwin\usr\src) = cwdstuff::get (0x22EF00, 260, 0, 0), errno 0
+[main] touch utimes: incoming lastaccess 3FE63BE1 0000F424
+[main] touch utimes: 0 = utimes (aux.c, 22F9A0); (h700)
+[main] touch do_exit: do_exit (0), exit_state 0
 [main] touch void: 0x0 = signal (20, 0x1)
 [main] touch void: 0x0 = signal (1, 0x1)
 [main] touch void: 0x0 = signal (2, 0x1)
 [main] touch void: 0x0 = signal (3, 0x1)
 [main] touch sigproc_terminate: entering
 [main] touch proc_terminate: nchildren 0, nzombies 0
+    4  168309 [sig] touch wait_sig: done
 [main] touch proc_terminate: leaving
- -165  268923 [sig] touch wait_sig: done
-[main] touch do_exit: == sid 2776, send SIGHUP to children
+[main] touch do_exit: == sid 1964, send SIGHUP to children
 [main] touch tty_list::terminate: tty 3 master about to finish
 [main] touch open: open (/var/run/utmp, 0x10002)
 [main] touch normalize_posix_path: src /var/run/utmp
@@ -411,10 +429,6 @@ $ 
 [main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/var/run/utmp)
 [main] touch set_flags: flags: binary (0x2)
 [main] touch mount_info::conv_to_win32_path: src_path /var/run/utmp, dst C:\Cygnus\cygwin\var\run\utmp, flags 0xA, rc 0
-  218  271623 [ttyout] touch seterrno_from_win_error: ../../../../src/winsup/cygwin/fhandler_tty.cc:389 windows error 6
-  238  271861 [ttyout] touch geterrno_from_win_error: windows error 6 == errno 9
-  197  272058 [ttyout] touch fhandler_pty_master::process_slave_output: returning -1
-  196  272254 [ttyout] touch process_output: ReadFile Win32 error 6
 [main] touch symlink_info::check: not a symlink
 [main] touch symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\var\run\utmp, 0x22EFF0) (0xA)
 [main] touch mount_info::conv_to_win32_path: conv_to_win32_path (/var/run)
@@ -430,6 +444,10 @@ $ 
 [main] touch path_conv::check: root_dir(C:\), this->path(C:\Cygnus\cygwin\var\run\utmp), set_has_acls(8)
 [main] touch build_fh_pc: fh 0x616717B8
 [main] touch fhandler_base::open: (C:\Cygnus\cygwin\var\run\utmp, 0x110002) query_open 0
+  255  174496 [ttyout] touch seterrno_from_win_error: ../../../../src/winsup/cygwin/fhandler_tty.cc:389 windows error 6
+  195  174691 [ttyout] touch geterrno_from_win_error: windows error 6 == errno 9
+  210  174901 [ttyout] touch fhandler_pty_master::process_slave_output: returning -1
+  157  175058 [ttyout] touch process_output: ReadFile Win32 error 6
 [main] touch fhandler_base::open: 0x2C4 = CreateFile (C:\Cygnus\cygwin\var\run\utmp, 0xC0000000, 0x7, 0x22F770, 0x3, 0x2000081, 0)
 [main] touch fhandler_base::set_flags: flags 0x110002, supplied_bin 0x10000
 [main] touch fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
@@ -469,12 +487,12 @@ $ 
 [main] touch readv: no need to call ready_for_read
 [main] touch fhandler_base::read: returning 308, binary mode
 [main] touch readv: 308 = readv (0, 0x22F840, 1), errno 9
-[main] touch time: 1072053252 = time (61125450)
+[main] touch time: 1072053217 = time (61125450)
 [main] touch logout: set logout time for tty3
 [main] touch fhandler_base::lseek: lseek (/var/run/utmp, 0, 0)
 [main] touch fhandler_base::lseek: setting file pointer to 0 (high), 0 (low)
 [main] touch lseek64: 0 = lseek (0, 0, 0)
-[main] touch pututline: ut->ut_type 8, ut->ut_pid 2776, ut->ut_line 'tty3', ut->ut_id 'y3'
+[main] touch pututline: ut->ut_type 8, ut->ut_pid 1964, ut->ut_line 'tty3', ut->ut_id 'y3'
 [main] touch pututline: ut->ut_user '', ut->ut_host ''
 [main] touch readv: readv (0, 0x22F7D0, 1) blocking, sigcatchers 0
 [main] touch readv: no need to call ready_for_read
@@ -520,6 +538,6 @@ $ 
 [main] touch close: 0 = close (0)
 [main] touch __to_clock_t: dwHighDateTime 0, dwLowDateTime 312500
 [main] touch __to_clock_t: total 00000000 0000001F
-[main] touch __to_clock_t: dwHighDateTime 0, dwLowDateTime 312500
-[main] touch __to_clock_t: total 00000000 0000001F
-[main] touch _pinfo::exit: Calling ExitProcess 1
+[main] touch __to_clock_t: dwHighDateTime 0, dwLowDateTime 781250
+[main] touch __to_clock_t: total 00000000 0000004E
+[main] touch _pinfo::exit: Calling ExitProcess 0

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]