Mail Archives: cygwin/2006/06/25/00:11:50
Hi!
I've been using cygwin for a long time on my notebooks and desktops. I
recently got a Core Duo for work. Most things seem to work fine, but
lockfie didn't. I got the helpful error message:
lockfile foo
lockfile: Try praying, giving up on "foo"
So, I downloaded the source and traced where the error was occuring.
It's happening at a call to link(2):
#include <unistd.h>
int link(const char *oldpath, const char *newpath);
Which is returning errno:
ENOENT A directory component in oldpath or newpath does not exist or is
a dangling symbolic link.
lockfile creates a temporary file, then links that to the file you
specify on the command line. When I was tracing through, I could see
that the temporary file was created. That suggests to me that the path
and permissions are OK. It just can't link. I ran it through strace, and
see:
51 77145 [main] lockfile 4080 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
50 77195 [main] lockfile 4080 fhandler_base::set_flags: filemode set to binary
49 77244 [main] lockfile 4080 fhandler_base::open: 0 = NtCreateFile (0x6B4, 20100, C:\cygwin\tmp\_w_.CsgnEB.bdodge-lt, io, NULL, 0, 7, 1, 4400, NULL, 0)
53 77297 [main] lockfile 4080 fhandler_base::open: 1 = fhandler_base::open (C:\cygwin\tmp\_w_.CsgnEB.bdodge-lt, 0x110000)
51 77348 [main] lockfile 4080 fhandler_base::open_fs: 1 = fhandler_disk_file::open (C:\cygwin\tmp\_w_.CsgnEB.bdodge-lt, 0x10000)
5656 83004 [main] lockfile 4080 fhandler_disk_file::link: CreateHardLinkA failed
85 83089 [main] lockfile 4080 seterrno_from_win_error: /netrel/src/cygwin-1.5.19-4/winsup/cygwin/fhandler_disk_file.cc:786 windows error 3
57 83146 [main] lockfile 4080 geterrno_from_win_error: windows error 3 == errno 2
50 83196 [main] lockfile 4080 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 2
51 83247 [main] lockfile 4080 fhandler_base::close: closing '/tmp/_w_.CsgnEB.bdodge-lt' handle 0x6B4
75 83322 [main] lockfile 4080 link: -1 = link (_w_.CsgnEB.bdodge-lt, foo)
50 83372 [main] lockfile 4080 lstat64: entering
49 83421 [main] lockfile 4080 normalize_posix_path: src _w_.CsgnEB.bdodge-lt
48 83469 [main] lockfile 4080 cwdstuff::get: posix /tmp
So, I tried just linking a file:
$ ls -il foo bar; touch foo && link foo bar && ls -il foo bar
ls: foo: No such file or directory
ls: bar: No such file or directory
2251799813741751 -rw------- 2 bdodge mkgroup-l-d 0 Jun 24 20:56 bar
2251799813741751 -rw------- 2 bdodge mkgroup-l-d 0 Jun 24 20:56 foo
Works fine, so I try seeing what happens with strace:
$ ls -il foo bar; touch foo && strace link foo bar > strace.out 2>&1 && ls -il foo bar
ls: foo: No such file or directory
ls: bar: No such file or directory
ls: bar: No such file or directory
2814749767163063 -rw------- 1 bdodge mkgroup-l-d 0 Jun 24 20:58 foo
It doesn't work when run under strace. strace.out is below.
Any suggestions on how to make link work reliably on this system? I've
tried using the revs of lockfile(procmail) & cygwin from my old laptop
and the latest install.
Thanks,
Benjamin
**********************************************
Program name: C:\cygwin\bin\link.exe (pid 3888, ppid 1)
App version: 1005.19, api: 0.150
DLL version: 1005.19, api: 0.150
DLL build: 2006-01-20 13:28
OS version: Windows NT-5.1
Heap size: 402653184
Date/Time: 2006-06-24 21:06:23
**********************************************
49 449 [main] link 3888 set_myself: myself->dwProcessId 3888
45 494 [main] link 3888 time: 1151208383 = time (0)
388 882 [main] link 3888 environ_init: GetEnvironmentStrings returned 0x245300 - "=::=::\"
72 954 [main] link 3888 environ_init: 0x460238: !::=::\
69 1023 [main] link 3888 environ_init: 0x460248: ALLUSERSPROFILE=C:\Documents and Settings\All Users
131 1154 [main] link 3888 environ_init: 0x460280: APPDATA=C:\Documents and Settings\bdodge\Application Data
58 1212 [main] link 3888 environ_init: 0x4602C0: CLIENTNAME=Console
57 1269 [main] link 3888 environ_init: 0x4602D8: COLORFGBG=0;default;15
56 1325 [main] link 3888 environ_init: 0x4602F8: COLORTERM=rxvt-xpm
56 1381 [main] link 3888 environ_init: 0x460310: COMMONPROGRAMFILES=C:\Program Files\Common Files
56 1437 [main] link 3888 environ_init: 0x460348: COMPUTERNAME=BDODGE-LT
57 1494 [main] link 3888 environ_init: 0x460368: COMSPEC=C:\WINDOWS\system32\cmd.exe
56 1550 [main] link 3888 environ_init: 0x460390: CVS_RSH=/bin/ssh
56 1606 [main] link 3888 environ_init: 0x4603A8: DISPLAY=127.0.0.1:0
55 1661 [main] link 3888 environ_init: 0x4603C0: EDITOR=vim
56 1717 [main] link 3888 environ_init: 0x4603D0: ENV=/cygdrive/c/Data/bdodge/.bashrc
56 1773 [main] link 3888 environ_init: 0x4603F8: FP_NO_HOST_CHECK=NO
59 1832 [main] link 3888 environ_init: 0x460410: HISTFILESIZE=20000
56 1888 [main] link 3888 environ_init: 0x460428: HISTSIZE=20000
56 1944 [main] link 3888 environ_init: 0x460440: HISTTIMEFORMAT=%Y-%m-%d %H:%M:%S
57 2001 [main] link 3888 getwinenv: can't set native for HOME= since no environ yet
60 2061 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Data\bdodge, no-keep-rel, no-add-slash)
34 2095 [main] link 3888 normalize_win32_path: c:\Data\bdodge = normalize_win32_path (c:\Data\bdodge)
37 2132 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/Data/bdodge = conv_to_posix_path (c:\Data\bdodge)
83 2215 [main] link 3888 win_env::add_cache: posix /cygdrive/c/Data/bdodge
30 2245 [main] link 3888 win_env::add_cache: native HOME=c:\Data\bdodge
30 2275 [main] link 3888 posify: env var converted to HOME=/cygdrive/c/Data/bdodge
56 2331 [main] link 3888 environ_init: 0x460480: HOME=/cygdrive/c/Data/bdodge
56 2387 [main] link 3888 environ_init: 0x460468: HOMEDRIVE=C:
56 2443 [main] link 3888 environ_init: 0x4605C8: HOMEPATH=/cygdrive/c/Data/bdodge
56 2499 [main] link 3888 environ_init: 0x4605F0: HOSTNAME=bdodge-lt
56 2555 [main] link 3888 environ_init: 0x460608: INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
57 2612 [main] link 3888 environ_init: 0x460640: LOGONSERVER=\\HQDC05
55 2667 [main] link 3888 environ_init: 0x460660: MAKE_MODE=unix
56 2723 [main] link 3888 environ_init: 0x460678: MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
57 2780 [main] link 3888 environ_init: 0x4606C0: MUTT_SM=/usr/bin/ssh -x -C -i /cygdrive/c/Data/bdodge/.ssh/id_rsa_netspace bkd AT shell DOT netspace DOT org
57 2837 [main] link 3888 environ_init: 0x460728: NUMBER_OF_PROCESSORS=2
56 2893 [main] link 3888 environ_init: 0x460748: OLDPWD=/cygdrive/c/Data
55 2948 [main] link 3888 environ_init: 0x460768: OS=Windows_NT
56 3004 [main] link 3888 environ_init: 0x460780: P4CONFIG=.p4config
56 3060 [main] link 3888 environ_init: 0x460798: P4EDITOR=gvim -f
56 3116 [main] link 3888 environ_init: 0x4607B0: P4PORT=p4hw:2001
57 3173 [main] link 3888 getwinenv: can't set native for PATH= since no environ yet
35 3208 [main] link 3888 normalize_posix_path: src .
72 3280 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\tmp, no-keep-rel, no-add-slash)
34 3314 [main] link 3888 normalize_win32_path: C:\cygwin\tmp = normalize_win32_path (C:\cygwin\tmp)
31 3345 [main] link 3888 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin\tmp)
34 3379 [main] link 3888 cwdstuff::get: posix /tmp
32 3411 [main] link 3888 cwdstuff::get: (/tmp) = cwdstuff::get (0x22EA70, 260, 1, 0), errno 0
32 3443 [main] link 3888 normalize_posix_path: /tmp/ = normalize_posix_path (.)
31 3474 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp)
35 3509 [main] link 3888 set_flags: flags: binary (0x2)
31 3540 [main] link 3888 mount_info::conv_to_win32_path: src_path /tmp, dst C:\cygwin\tmp, flags 0xA, rc 0
57 3597 [main] link 3888 symlink_info::check: not a symlink
31 3628 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\tmp, 0x22E730) (0xA)
552 4180 [main] link 3888 set_privilege: 1 = set_privilege ((token 72C) SeChangeNotifyPrivilege, 1)
119 4299 [main] link 3888 path_conv::check: this->path(C:\cygwin\tmp), has_acls(1)
64 4363 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Data\bdodge\bin\, keep-rel, add-slash)
31 4394 [main] link 3888 normalize_win32_path: c:\Data\bdodge\bin\ = normalize_win32_path (c:\Data\bdodge\bin\)
32 4426 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/Data/bdodge/bin/ = conv_to_posix_path (c:\Data\bdodge\bin\)
31 4457 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\usr\local\bin, keep-rel, no-add-slash)
31 4488 [main] link 3888 normalize_win32_path: C:\cygwin\usr\local\bin = normalize_win32_path (C:\cygwin\usr\local\bin)
31 4519 [main] link 3888 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cygwin\usr\local\bin)
31 4550 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
31 4581 [main] link 3888 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
31 4612 [main] link 3888 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
30 4642 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
30 4672 [main] link 3888 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
31 4703 [main] link 3888 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
31 4734 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\usr\X11R6\bin, keep-rel, no-add-slash)
31 4765 [main] link 3888 normalize_win32_path: C:\cygwin\usr\X11R6\bin = normalize_win32_path (C:\cygwin\usr\X11R6\bin)
31 4796 [main] link 3888 mount_info::conv_to_posix_path: /usr/X11R6/bin = conv_to_posix_path (C:\cygwin\usr\X11R6\bin)
31 4827 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINDOWS\system32, keep-rel, no-add-slash)
31 4858 [main] link 3888 normalize_win32_path: c:\WINDOWS\system32 = normalize_win32_path (c:\WINDOWS\system32)
31 4889 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/system32 = conv_to_posix_path (c:\WINDOWS\system32)
31 4920 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINDOWS, keep-rel, no-add-slash)
30 4950 [main] link 3888 normalize_win32_path: c:\WINDOWS = normalize_win32_path (c:\WINDOWS)
31 4981 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS = conv_to_posix_path (c:\WINDOWS)
30 5011 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINDOWS\System32\Wbem, keep-rel, no-add-slash)
32 5043 [main] link 3888 normalize_win32_path: c:\WINDOWS\System32\Wbem = normalize_win32_path (c:\WINDOWS\System32\Wbem)
31 5074 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path (c:\WINDOWS\System32\Wbem)
73 5147 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\Perforce, keep-rel, no-add-slash)
33 5180 [main] link 3888 normalize_win32_path: c:\Program Files\Perforce = normalize_win32_path (c:\Program Files\Perforce)
31 5211 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Perforce = conv_to_posix_path (c:\Program Files\Perforce)
32 5243 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Data\bdodge\bin\CYGWIN_NT-5.1, keep-rel, no-add-slash)
31 5274 [main] link 3888 normalize_win32_path: c:\Data\bdodge\bin\CYGWIN_NT-5.1 = normalize_win32_path (c:\Data\bdodge\bin\CYGWIN_NT-5.1)
32 5306 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/Data/bdodge/bin/CYGWIN_NT-5.1 = conv_to_posix_path (c:\Data\bdodge\bin\CYGWIN_NT-5.1)
32 5338 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Data\bdodge\nishan\tools\nishan, keep-rel, no-add-slash)
31 5369 [main] link 3888 normalize_win32_path: c:\Data\bdodge\nishan\tools\nishan = normalize_win32_path (c:\Data\bdodge\nishan\tools\nishan)
31 5400 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/Data/bdodge/nishan/tools/nishan = conv_to_posix_path (c:\Data\bdodge\nishan\tools\nishan)
32 5432 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\Perforce, keep-rel, no-add-slash)
32 5464 [main] link 3888 normalize_win32_path: c:\Program Files\Perforce = normalize_win32_path (c:\Program Files\Perforce)
31 5495 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Perforce = conv_to_posix_path (c:\Program Files\Perforce)
31 5526 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Data\bdodge\bin, keep-rel, no-add-slash)
31 5557 [main] link 3888 normalize_win32_path: c:\Data\bdodge\bin = normalize_win32_path (c:\Data\bdodge\bin)
30 5587 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/Data/bdodge/bin = conv_to_posix_path (c:\Data\bdodge\bin)
86 5673 [main] link 3888 win_env::add_cache: posix /cygdrive/c/Data/bdodge/bin/:/usr/local/bin:/usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Perforce:/cygdrive/c/Data/bdodge/bin/CYGWIN_NT-5.1:/cygdrive/c/Data/bdodge/nishan/tools/nishan:/cygdrive/c/Program Files/Perforce:/cygdrive/c/Data/bdodge/bin
35 5708 [main] link 3888 win_env::add_cache: native PATH=c:\Data\bdodge\bin\;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program Files\Perforce;c:\Data\bdodge\bin\CYGWIN_NT-5.1;c:\Data\bdodge\nishan\tools\nishan;c:\Program Files\Perforce;c:\Data\bdodge\bin
35 5743 [main] link 3888 posify: env var converted to PATH=/cygdrive/c/Data/bdodge/bin/:/usr/local/bin:/usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Perforce:/cygdrive/c/Data/bdodge/bin/CYGWIN_NT-5.1:/cygdrive/c/Data/bdodge/nishan/tools/nishan:/cygdrive/c/Program Files/Perforce:/cygdrive/c/Data/bdodge/bin
61 5804 [main] link 3888 environ_init: 0x4608F8: PATH=/cygdrive/c/Data/bdodge/bin/:/usr/local/bin:/usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Perforce:/cygdrive/c/Data/bdodge/bin/CYGWIN_NT-5.1:/cygdrive/c/Data/bdodge/nishan/tools/nishan:/cygdrive/c/Program Files/Perforce:/cygdrive/c/Data/bdodge/bin
63 5867 [main] link 3888 environ_init: 0x4607C8: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
57 5924 [main] link 3888 environ_init: 0x460808: PRINTER=Microsoft Office Document Image Writer
56 5980 [main] link 3888 environ_init: 0x460840: PROCESSOR_ARCHITECTURE=x86
60 6040 [main] link 3888 environ_init: 0x460860: PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 8, GenuineIntel
57 6097 [main] link 3888 environ_init: 0x4608A8: PROCESSOR_LEVEL=6
56 6153 [main] link 3888 environ_init: 0x4608C0: PROCESSOR_REVISION=0e08
56 6209 [main] link 3888 environ_init: 0x460DE8: PROGRAMFILES=C:\Program Files
56 6265 [main] link 3888 environ_init: 0x460E10: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
56 6321 [main] link 3888 environ_init: 0x4608E0: PWD=/tmp
55 6376 [main] link 3888 environ_init: 0x460E58: SESSIONNAME=Console
56 6432 [main] link 3888 environ_init: 0x460E70: SHLVL=1
55 6487 [main] link 3888 environ_init: 0x460E80: SYSTEMDRIVE=C:
56 6543 [main] link 3888 environ_init: 0x460E98: SYSTEMROOT=C:\WINDOWS
57 6600 [main] link 3888 getwinenv: can't set native for TEMP= since no environ yet
55 6655 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\temp, no-keep-rel, no-add-slash)
31 6686 [main] link 3888 normalize_win32_path: c:\temp = normalize_win32_path (c:\temp)
31 6717 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/temp = conv_to_posix_path (c:\temp)
84 6801 [main] link 3888 win_env::add_cache: posix /cygdrive/c/temp
29 6830 [main] link 3888 win_env::add_cache: native TEMP=c:\temp
30 6860 [main] link 3888 posify: env var converted to TEMP=/cygdrive/c/temp
55 6915 [main] link 3888 environ_init: 0x460ED0: TEMP=/cygdrive/c/temp
56 6971 [main] link 3888 environ_init: 0x460EB8: TERM=xterm
55 7026 [main] link 3888 getwinenv: can't set native for TMP= since no environ yet
56 7082 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (c:\temp, no-keep-rel, no-add-slash)
31 7113 [main] link 3888 normalize_win32_path: c:\temp = normalize_win32_path (c:\temp)
30 7143 [main] link 3888 mount_info::conv_to_posix_path: /cygdrive/c/temp = conv_to_posix_path (c:\temp)
81 7224 [main] link 3888 win_env::add_cache: posix /cygdrive/c/temp
30 7254 [main] link 3888 win_env::add_cache: native TMP=c:\temp
30 7284 [main] link 3888 posify: env var converted to TMP=/cygdrive/c/temp
55 7339 [main] link 3888 environ_init: 0x461020: TMP=/cygdrive/c/temp
55 7394 [main] link 3888 environ_init: 0x461010: USER=bdodge
56 7450 [main] link 3888 environ_init: 0x461158: USERDNSDOMAIN=NVIDIA.COM
56 7506 [main] link 3888 environ_init: 0x461178: USERDOMAIN=NVIDIA.COM
56 7562 [main] link 3888 environ_init: 0x461198: USERNAME=bdodge
56 7618 [main] link 3888 environ_init: 0x4611B0: USERPROFILE=/cygdrive/c/Data/bdodge
56 7674 [main] link 3888 environ_init: 0x4611D8: WINDIR=C:\WINDOWS
55 7729 [main] link 3888 environ_init: 0x4611F0: WINDOWID=268908072
56 7785 [main] link 3888 environ_init: 0x461208: _=/usr/bin/strace
42 7827 [main] link 3888 pinfo_init: Set nice to 0
30 7857 [main] link 3888 pinfo_init: pid 3888, pgid 3888
484 8341 [main] link 3888 set_privilege: 0 = set_privilege ((token 758) SeRestorePrivilege, 1)
40 8381 [main] link 3888 set_privilege: 1 = set_privilege ((token 758) SeChangeNotifyPrivilege, 1)
85 8466 [main] link 3888 dtable::extend: size 32, fds 0x6115C6BC
43 8509 [main] link 3888 normalize_posix_path: src /etc/passwd
31 8540 [main] link 3888 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)
30 8570 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd)
32 8602 [main] link 3888 set_flags: flags: binary (0x2)
30 8632 [main] link 3888 mount_info::conv_to_win32_path: src_path /etc/passwd, dst C:\cygwin\etc\passwd, flags 0xA, rc 0
55 8687 [main] link 3888 symlink_info::check: not a symlink
31 8718 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\etc\passwd, 0x22E7F0) (0xA)
31 8749 [main] link 3888 path_conv::check: this->path(C:\cygwin\etc\passwd), has_acls(1)
151 8900 [main] link 3888 etc::test_file_change: FindFirstFile succeeded
242 9142 [main] link 3888 pwdgrp::load: /etc/passwd curr_lines 9
32 9174 [main] link 3888 pwdgrp::load: /etc/passwd load succeeded
46 9220 [main] link 3888 normalize_posix_path: src /etc/group
30 9250 [main] link 3888 normalize_posix_path: /etc/group = normalize_posix_path (/etc/group)
30 9280 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/group)
34 9314 [main] link 3888 set_flags: flags: binary (0x2)
30 9344 [main] link 3888 mount_info::conv_to_win32_path: src_path /etc/group, dst C:\cygwin\etc\group, flags 0xA, rc 0
53 9397 [main] link 3888 symlink_info::check: not a symlink
31 9428 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\etc\group, 0x22E7C0) (0xA)
31 9459 [main] link 3888 path_conv::check: this->path(C:\cygwin\etc\group), has_acls(1)
77 9536 [main] link 3888 etc::test_file_change: FindFirstFile succeeded
247 9783 [main] link 3888 pwdgrp::load: /etc/group curr_lines 15
32 9815 [main] link 3888 pwdgrp::load: /etc/group load succeeded
35 9850 [main] link 3888 cygheap_user::ontherange: what 2, pw 0x4617A8
33 9883 [main] link 3888 cygheap_user::ontherange: HOME is already in the environment /cygdrive/c/Data/bdodge
186 10069 [main] link 3888 sigproc_init: process/signal handling enabled, state 0x1
217 10286 [main] link 3888 build_argv: argv[0] = 'link'
35 10321 [main] link 3888 build_argv: argv[1] = 'foo'
32 10353 [main] link 3888 build_argv: argv[2] = 'bar'
29 10382 [main] link 3888 build_argv: argc 3
-57 10325 [sig] link 3888 wait_sig: myself->dwProcessId 3888
129 10454 [sig] link 3888 wait_sig: entering ReadFile loop, readsig 0x72C, myself->sendsig 0x724
89 10543 [main] link 3888 build_fh_pc: fh 0x6115C804
48 10591 [main] link 3888 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
32 10623 [main] link 3888 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
31 10654 [main] link 3888 fhandler_base::set_flags: filemode set to binary
30 10684 [main] link 3888 fhandler_base::init: created new fhandler_base for handle 0x174, bin 1
158 10842 [main] link 3888 handle_to_fn: nt name '\Device\HarddiskVolume1\cygwin\tmp\strace.out'
733 11575 [main] link 3888 handle_to_fn: current match '\Device\HarddiskVolume1'
38 11613 [main] link 3888 handle_to_fn: derived path 'C:\cygwin\tmp\strace.out'
32 11645 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\tmp\strace.out, no-keep-rel, no-add-slash)
32 11677 [main] link 3888 normalize_win32_path: C:\cygwin\tmp\strace.out = normalize_win32_path (C:\cygwin\tmp\strace.out)
32 11709 [main] link 3888 mount_info::conv_to_posix_path: /tmp/strace.out = conv_to_posix_path (C:\cygwin\tmp\strace.out)
32 11741 [main] link 3888 normalize_posix_path: src /tmp/strace.out
30 11771 [main] link 3888 normalize_posix_path: /tmp/strace.out = normalize_posix_path (/tmp/strace.out)
32 11803 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/strace.out)
31 11834 [main] link 3888 set_flags: flags: binary (0x2)
31 11865 [main] link 3888 mount_info::conv_to_win32_path: src_path /tmp/strace.out, dst C:\cygwin\tmp\strace.out, flags 0xA, rc 0
58 11923 [main] link 3888 symlink_info::check: not a symlink
31 11954 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\tmp\strace.out, 0x2263A0) (0xA)
32 11986 [main] link 3888 path_conv::check: this->path(C:\cygwin\tmp\strace.out), has_acls(1)
32 12018 [main] link 3888 build_fh_pc: fh 0x6115CA0C
34 12052 [main] link 3888 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
31 12083 [main] link 3888 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
30 12113 [main] link 3888 fhandler_base::set_flags: filemode set to binary
31 12144 [main] link 3888 fhandler_base::init: created new fhandler_base for handle 0x694, bin 1
126 12270 [main] link 3888 handle_to_fn: nt name '\Device\HarddiskVolume1\cygwin\tmp\strace.out'
617 12887 [main] link 3888 handle_to_fn: current match '\Device\HarddiskVolume1'
36 12923 [main] link 3888 handle_to_fn: derived path 'C:\cygwin\tmp\strace.out'
31 12954 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\tmp\strace.out, no-keep-rel, no-add-slash)
32 12986 [main] link 3888 normalize_win32_path: C:\cygwin\tmp\strace.out = normalize_win32_path (C:\cygwin\tmp\strace.out)
32 13018 [main] link 3888 mount_info::conv_to_posix_path: /tmp/strace.out = conv_to_posix_path (C:\cygwin\tmp\strace.out)
32 13050 [main] link 3888 normalize_posix_path: src /tmp/strace.out
30 13080 [main] link 3888 normalize_posix_path: /tmp/strace.out = normalize_posix_path (/tmp/strace.out)
30 13110 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/strace.out)
31 13141 [main] link 3888 set_flags: flags: binary (0x2)
31 13172 [main] link 3888 mount_info::conv_to_win32_path: src_path /tmp/strace.out, dst C:\cygwin\tmp\strace.out, flags 0xA, rc 0
52 13224 [main] link 3888 symlink_info::check: not a symlink
30 13254 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\tmp\strace.out, 0x2263A0) (0xA)
32 13286 [main] link 3888 path_conv::check: this->path(C:\cygwin\tmp\strace.out), has_acls(1)
31 13317 [main] link 3888 build_fh_pc: fh 0x6115CC14
32 13349 [main] link 3888 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
30 13379 [main] link 3888 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
31 13410 [main] link 3888 fhandler_base::set_flags: filemode set to binary
30 13440 [main] link 3888 fhandler_base::init: created new fhandler_base for handle 0x680, bin 1
80 13520 [main] link 3888 fhandler_console::need_invisible: invisible_console 0
51 13571 [main] link 3888 open_shared: name (null), n 0, shared 0x60020000 (wanted 0x60020000), h 0x718
39 13610 [main] link 3888 _pinfo::set_ctty: old no ctty
30 13640 [main] link 3888 _pinfo::set_ctty: attached ctty /dev/console sid 3888, pid 3888, tty->pgid 3888, tty->sid 3888
--- Process 3888, exception C0000005 at 18B4B6B1
17367 31007 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin\cygiconv-2.dll, keep-rel, no-add-slash)
58 31065 [main] link 3888 normalize_win32_path: C:\cygwin\bin\cygiconv-2.dll = normalize_win32_path (C:\cygwin\bin\cygiconv-2.dll)
35 31100 [main] link 3888 mount_info::conv_to_posix_path: /usr/bin/cygiconv-2.dll = conv_to_posix_path (C:\cygwin\bin\cygiconv-2.dll)
68 31168 [main] link 3888 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin\cygintl-3.dll, keep-rel, no-add-slash)
32 31200 [main] link 3888 normalize_win32_path: C:\cygwin\bin\cygintl-3.dll = normalize_win32_path (C:\cygwin\bin\cygintl-3.dll)
32 31232 [main] link 3888 mount_info::conv_to_posix_path: /usr/bin/cygintl-3.dll = conv_to_posix_path (C:\cygwin\bin\cygintl-3.dll)
59 31291 [main] link 3888 dll_crt0_1: user_data->main 0x401140
30 31321 [main] link 3888 __set_errno: void dll_crt0_1(char*):919 val 0
31 31352 [main] link 3888 wait_for_sigthread: wait_sig_inited 0x728
242 31594 [main] link 3888 normalize_posix_path: src foo
31 31625 [main] link 3888 cwdstuff::get: posix /tmp
31 31656 [main] link 3888 cwdstuff::get: (/tmp) = cwdstuff::get (0x22EB70, 260, 1, 0), errno 0
31 31687 [main] link 3888 normalize_posix_path: /tmp/foo = normalize_posix_path (foo)
32 31719 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/foo)
35 31754 [main] link 3888 set_flags: flags: binary (0x2)
31 31785 [main] link 3888 mount_info::conv_to_win32_path: src_path /tmp/foo, dst C:\cygwin\tmp\foo, flags 0xA, rc 0
71 31856 [main] link 3888 symlink_info::check: not a symlink
31 31887 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\tmp\foo, 0x22E830) (0xA)
41 31928 [main] link 3888 path_conv::check: this->path(C:\cygwin\tmp\foo), has_acls(1)
35 31963 [main] link 3888 build_fh_pc: fh 0x6115CE1C
33 31996 [main] link 3888 normalize_posix_path: src bar
30 32026 [main] link 3888 cwdstuff::get: posix /tmp
30 32056 [main] link 3888 cwdstuff::get: (/tmp) = cwdstuff::get (0x22E670, 260, 1, 0), errno 0
31 32087 [main] link 3888 normalize_posix_path: /tmp/bar = normalize_posix_path (bar)
30 32117 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/bar)
31 32148 [main] link 3888 set_flags: flags: binary (0x2)
30 32178 [main] link 3888 mount_info::conv_to_win32_path: src_path /tmp/bar, dst C:\cygwin\tmp\bar, flags 0xA, rc 0
62 32240 [main] link 3888 symlink_info::check: GetFileAttributes (C:\cygwin\tmp\bar) failed
32 32272 [main] link 3888 geterrno_from_win_error: windows error 2 == errno 2
58 32330 [main] link 3888 symlink_info::check: GetFileAttributes (C:\cygwin\tmp\bar.lnk) failed
31 32361 [main] link 3888 geterrno_from_win_error: windows error 2 == errno 2
30 32391 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\tmp\bar, 0x22E330) (0xA)
32 32423 [main] link 3888 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp)
31 32454 [main] link 3888 set_flags: flags: binary (0x2)
29 32483 [main] link 3888 mount_info::conv_to_win32_path: src_path /tmp, dst C:\cygwin\tmp, flags 0xA, rc 0
50 32533 [main] link 3888 symlink_info::check: not a symlink
30 32563 [main] link 3888 symlink_info::check: 0 = symlink.check (C:\cygwin\tmp, 0x22E330) (0xA)
32 32595 [main] link 3888 path_conv::check: this->path(C:\cygwin\tmp\bar), has_acls(1)
39 32634 [main] link 3888 fhandler_base::open: (C:\cygwin\tmp\foo, 0x110000)
71 32705 [main] link 3888 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
32 32737 [main] link 3888 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
30 32767 [main] link 3888 fhandler_base::set_flags: filemode set to binary
31 32798 [main] link 3888 fhandler_base::open: 0 = NtCreateFile (0x704, 20100, C:\cygwin\tmp\foo, io, NULL, 0, 7, 1, 4400, NULL, 0)
31 32829 [main] link 3888 fhandler_base::open: 1 = fhandler_base::open (C:\cygwin\tmp\foo, 0x110000)
32 32861 [main] link 3888 fhandler_base::open_fs: 1 = fhandler_disk_file::open (C:\cygwin\tmp\foo, 0x10000)
3524 36385 [main] link 3888 fhandler_disk_file::link: CreateHardLinkA failed
51 36436 [main] link 3888 seterrno_from_win_error: /netrel/src/cygwin-1.5.19-4/winsup/cygwin/fhandler_disk_file.cc:786 windows error 3
34 36470 [main] link 3888 geterrno_from_win_error: windows error 3 == errno 2
31 36501 [main] link 3888 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 2
32 36533 [main] link 3888 fhandler_base::close: closing '/tmp/foo' handle 0x704
43 36576 [main] link 3888 link: -1 = link (foo, bar)
392 36968 [main] link 3888 fhandler_base::write: binary write
link: 240 37208 [main] link 3888 fhandler_base::write: binary write
cannot create link `bar' to `foo' 238 37446 [main] link 3888 fhandler_base::write: binary write
: No such file or directory 141 37587 [main] link 3888 fhandler_base::write: binary write
236 37823 [main] link 3888 close: close (1)
32 37855 [main] link 3888 fhandler_base::close: closing '/tmp/strace.out' handle 0x694
33 37888 [main] link 3888 close: 0 = close (1)
178 38066 [main] link 3888 close: close (0)
33 38099 [main] link 3888 fhandler_base::close: closing '' handle 0x174
33 38132 [main] link 3888 close: 0 = close (0)
225 38357 [main] link 3888 close: close (2)
30 38387 [main] link 3888 fhandler_base::close: closing '/tmp/strace.out' handle 0x680
32 38419 [main] link 3888 close: 0 = close (2)
127 38546 [main] link 3888 do_exit: do_exit (256), exit_state 0
31 38577 [main] link 3888 void: 0x0 = signal (20, 0x1)
36 38613 [main] link 3888 void: 0x0 = signal (1, 0x1)
31 38644 [main] link 3888 void: 0x0 = signal (2, 0x1)
30 38674 [main] link 3888 void: 0x0 = signal (3, 0x1)
64 38738 [main] link 3888 sigproc_terminate: entering
31 38769 [main] link 3888 sig_send: sendsig 0x724, pid 3888, signal -42, its_me 1
39 38808 [main] link 3888 sig_send: Not waiting for sigcomplete. its_me 1 signal -42
32 38840 [main] link 3888 sig_send: returning 0x0 from sending signal -42
33 38873 [main] link 3888 proc_terminate: nprocs 0
30 38903 [main] link 3888 proc_terminate: leaving
-59 38844 [sig] link 3888 wait_sig: saw __SIGEXIT
131 38975 [sig] link 3888 wait_sig: signal thread exiting
122 39097 [main] link 3888 __to_clock_t: dwHighDateTime 0, dwLowDateTime 156250
37 39134 [main] link 3888 __to_clock_t: total 00000000 0000000F
32 39166 [main] link 3888 __to_clock_t: dwHighDateTime 0, dwLowDateTime 468750
30 39196 [main] link 3888 __to_clock_t: total 00000000 0000002E
110 39306 [main] link 3888 pinfo::exit: Calling ExitProcess n 0x100, exitcode 0x1
--
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/
- Raw text -