Mail Archives: cygwin/2002/11/24/13:06:18
------=_NextPart_000_0007_01C293E4.2064D1E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
> Thanks Fergus, everything looks perfect.
> I need some more help:
> - is your username under Windows really fergus?
No. I manually edit /etc/passwd after a fresh Cygwin install. Otherwise my
name and group are both "unknown". Which is fine by me, as (deliberately) I
do not have a Windows username.
> - could you send me the output of "strace true" under 16-1?
Attached.
> Here are two temporary workarounds:
> (i) - define HOME before starting cygwin (in cygwin.bat or autoexec.bat)
> (ii) - if your Windows user name isn't fergus, create an entry for it in
passwd.
Interesting. I always have done (ii), and never thought of it before as a
workaround, just as a bit of customisation. What is strange about 16-1 is
that this customisation is not picked up, whilst in 15-2, it is. However,
I'll try (i) now. Thank you very much for your help.
Fergus
------=_NextPart_000_0007_01C293E4.2064D1E0
Content-Type: application/octet-stream;
name="strace_true.out"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="strace_true.out"
**********************************************
Program name: C:\CYGWIN\BIN\TRUE.EXE (1609979)
App version: 1001.8, api: 0.34
DLL version: 1003.16, api: 0.65
DLL build: 2002-11-22 22:18
OS version: Windows 98-4.10
Heap size: 402653184
Date/Time: 2002-11-24 17:55:58
**********************************************
1306 3895 [main] TRUE 1609979 environ_init: 0x4570430: CMDLINE=3DWIN
635 4530 [main] TRUE 1609979 environ_init: 0x4570440: =
COMSPEC=3DC:\WINDOWS\COMMAND.COM
598 5128 [main] TRUE 1609979 getwinenv: can't set native for =
HOME=3D since no environ yet
596 5724 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\Cygwin, no-keep-rel, no-add-slash)
313 6037 [main] TRUE 1609979 normalize_win32_path: c:\Cygwin =3D =
normalize_win32_path (c:\Cygwin)
342 6379 [main] TRUE 1609979 mount_info::conv_to_posix_path: / =3D =
conv_to_posix_path (c:\Cygwin)
953 7332 [main] TRUE 1609979 win_env::add_cache: posix /
341 7673 [main] TRUE 1609979 win_env::add_cache: native =
HOME=3Dc:\Cygwin
430 8103 [main] TRUE 1609979 posify: env var converted to HOME=3D/
597 8700 [main] TRUE 1609979 environ_init: 0x4570480: HOME=3D/
590 9290 [main] TRUE 1609979 environ_init: 0x4570468: =
HOMEDRIVE=3Dc:
589 9879 [main] TRUE 1609979 environ_init: 0x45705B8: =
HOMEPATH=3D\Cygwin
586 10465 [main] TRUE 1609979 environ_init: 0x45705D0: =
MAKE_MODE=3Dunix
639 11104 [main] TRUE 1609979 environ_init: 0x45705E8: =
OLDPWD=3D/usr/bin
656 11760 [main] TRUE 1609979 getwinenv: can't set native for =
PATH=3D since no environ yet
601 12361 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\Cygwin\usr\local\bin, keep-rel, no-add-slash)
316 12677 [main] TRUE 1609979 normalize_win32_path: =
c:\Cygwin\usr\local\bin =3D normalize_win32_path =
(c:\Cygwin\usr\local\bin)
310 12987 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/usr/local/bin =3D conv_to_posix_path (c:\Cygwin\usr\local\bin)
312 13299 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\Cygwin\bin, keep-rel, no-add-slash)
351 13650 [main] TRUE 1609979 normalize_win32_path: c:\Cygwin\bin =
=3D normalize_win32_path (c:\Cygwin\bin)
315 13965 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/usr/bin =3D conv_to_posix_path (c:\Cygwin\bin)
309 14274 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\Cygwin\bin, keep-rel, no-add-slash)
342 14616 [main] TRUE 1609979 normalize_win32_path: c:\Cygwin\bin =
=3D normalize_win32_path (c:\Cygwin\bin)
328 14944 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/usr/bin =3D conv_to_posix_path (c:\Cygwin\bin)
378 15322 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\, keep-rel, no-add-slash)
338 15660 [main] TRUE 1609979 normalize_win32_path: c:\ =3D =
normalize_win32_path (c:\)
319 15979 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c =3D conv_to_posix_path (c:\)
306 16285 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\DOSX, keep-rel, no-add-slash)
323 16608 [main] TRUE 1609979 normalize_win32_path: c:\DOSX =3D =
normalize_win32_path (c:\DOSX)
308 16916 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c/DOSX =3D conv_to_posix_path (c:\DOSX)
311 17227 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\Cygwin\bin, keep-rel, no-add-slash)
307 17534 [main] TRUE 1609979 normalize_win32_path: c:\Cygwin\bin =
=3D normalize_win32_path (c:\Cygwin\bin)
314 17848 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/usr/bin =3D conv_to_posix_path (c:\Cygwin\bin)
309 18157 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\WINDOWS, keep-rel, no-add-slash)
339 18496 [main] TRUE 1609979 normalize_win32_path: c:\WINDOWS =3D =
normalize_win32_path (c:\WINDOWS)
325 18821 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c/WINDOWS =3D conv_to_posix_path (c:\WINDOWS)
344 19165 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\WINDOWS\COMMAND, keep-rel, no-add-slash)
342 19507 [main] TRUE 1609979 normalize_win32_path: =
c:\WINDOWS\COMMAND =3D normalize_win32_path (c:\WINDOWS\COMMAND)
363 19870 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c/WINDOWS/COMMAND =3D conv_to_posix_path (c:\WINDOWS\COMMAND)
309 20179 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\A3, keep-rel, no-add-slash)
314 20493 [main] TRUE 1609979 normalize_win32_path: c:\A3 =3D =
normalize_win32_path (c:\A3)
310 20803 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c/A3 =3D conv_to_posix_path (c:\A3)
316 21119 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PDOX45, keep-rel, no-add-slash)
316 21435 [main] TRUE 1609979 normalize_win32_path: c:\PDOX45 =3D =
normalize_win32_path (c:\PDOX45)
313 21748 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c/PDOX45 =3D conv_to_posix_path (c:\PDOX45)
308 22056 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\Cygwin\usr\X11R6\bin, keep-rel, no-add-slash)
344 22400 [main] TRUE 1609979 normalize_win32_path: =
c:\Cygwin\usr\X11R6\bin =3D normalize_win32_path =
(c:\Cygwin\usr\X11R6\bin)
330 22730 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/usr/X11R6/bin =3D conv_to_posix_path (c:\Cygwin\usr\X11R6\bin)
1073 23803 [main] TRUE 1609979 win_env::add_cache: posix =
/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c:/cygdrive/c/DOSX:/usr/bin:/c=
ygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/c/A3:/cygdrive/c/=
PDOX45:/usr/X11R6/bin
329 24132 [main] TRUE 1609979 win_env::add_cache: native =
PATH=3Dc:\Cygwin\usr\local\bin;c:\Cygwin\bin;c:\Cygwin\bin;c:\;c:\DOSX;c:=
\Cygwin\bin;c:\WINDOWS;c:\WINDOWS\COMMAND;c:\A3;c:\PDOX45;c:\Cygwin\usr\X=
11R6\bin
325 24457 [main] TRUE 1609979 posify: env var converted to =
PATH=3D/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c:/cygdrive/c/DOSX:/usr=
/bin:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/c/A3:/cygd=
rive/c/PDOX45:/usr/X11R6/bin
596 25053 [main] TRUE 1609979 environ_init: 0x45706A0: =
PATH=3D/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c:/cygdrive/c/DOSX:/usr=
/bin:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/c/A3:/cygd=
rive/c/PDOX45:/usr/X11R6/bin
600 25653 [main] TRUE 1609979 environ_init: 0x4570600: PROMPT=3D$p$g
590 26243 [main] TRUE 1609979 environ_init: 0x4570610: =
PS1=3D\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$=20
437 26680 [main] TRUE 1609979 environ_init: 0x4570658: PWD=3D/
355 27035 [main] TRUE 1609979 environ_init: 0x4570668: SHLVL=3D1
353 27388 [main] TRUE 1609979 getwinenv: can't set native for =
TEMP=3D since no environ yet
356 27744 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\WINDOWS\TEMP, no-keep-rel, no-add-slash)
188 27932 [main] TRUE 1609979 normalize_win32_path: c:\WINDOWS\TEMP =
=3D normalize_win32_path (c:\WINDOWS\TEMP)
195 28127 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c/WINDOWS/TEMP =3D conv_to_posix_path (c:\WINDOWS\TEMP)
517 28644 [main] TRUE 1609979 win_env::add_cache: posix =
/cygdrive/c/WINDOWS/TEMP
185 28829 [main] TRUE 1609979 win_env::add_cache: native =
TEMP=3Dc:\WINDOWS\TEMP
190 29019 [main] TRUE 1609979 posify: env var converted to =
TEMP=3D/cygdrive/c/WINDOWS/TEMP
350 29369 [main] TRUE 1609979 environ_init: 0x4570950: =
TEMP=3D/cygdrive/c/WINDOWS/TEMP
351 29720 [main] TRUE 1609979 environ_init: 0x4570AA0: TERM=3Dcygwin
352 30072 [main] TRUE 1609979 environ_init: 0x4570AB0: =
TEXMF=3D{/usr/share/lilypond/1.6.5,/usr/share/texmf}
353 30425 [main] TRUE 1609979 getwinenv: can't set native for TMP=3D =
since no environ yet
355 30780 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\WINDOWS\TEMP, no-keep-rel, no-add-slash)
191 30971 [main] TRUE 1609979 normalize_win32_path: c:\WINDOWS\TEMP =
=3D normalize_win32_path (c:\WINDOWS\TEMP)
191 31162 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
/cygdrive/c/WINDOWS/TEMP =3D conv_to_posix_path (c:\WINDOWS\TEMP)
533 31695 [main] TRUE 1609979 win_env::add_cache: posix =
/cygdrive/c/WINDOWS/TEMP
187 31882 [main] TRUE 1609979 win_env::add_cache: native =
TMP=3Dc:\WINDOWS\TEMP
188 32070 [main] TRUE 1609979 posify: env var converted to =
TMP=3D/cygdrive/c/WINDOWS/TEMP
351 32421 [main] TRUE 1609979 environ_init: 0x4570B00: =
TMP=3D/cygdrive/c/WINDOWS/TEMP
352 32773 [main] TRUE 1609979 environ_init: 0x4570C28: USER=3Dfergus
354 33127 [main] TRUE 1609979 environ_init: 0x4570C38: =
WINBOOTDIR=3DC:\WINDOWS
353 33480 [main] TRUE 1609979 environ_init: 0x4570AE8: =
WINDIR=3DC:\WINDOWS
353 33833 [main] TRUE 1609979 environ_init: 0x4570C58: =
_=3D/usr/bin/strace
194 34027 [main] TRUE 1609979 pinfo_init: pid 1609979, pgid 1609979
199 34226 [main] TRUE 1609979 dtable::extend: size 32, fds =
0x615F0188
199 34425 [main] TRUE 1609979 normalize_posix_path: src /etc/passwd
191 34616 [main] TRUE 1609979 normalize_posix_path: /etc/passwd =3D =
normalize_posix_path (/etc/passwd)
196 34812 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
conv_to_win32_path (/etc/passwd)
205 35017 [main] TRUE 1609979 set_flags: flags: binary (0x2)
190 35207 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
src_path /etc/passwd, dst c:\Cygwin\etc\passwd, flags 0xA, rc 0
542 35749 [main] TRUE 1609979 symlink_info::check: not a symlink
204 35953 [main] TRUE 1609979 symlink_info::check: 0 =3D =
symlink.check (c:\Cygwin\etc\passwd, 0x253F510) (0xA)
199 36152 [main] TRUE 1609979 path_conv::check: root_dir(c:\), =
this->path(c:\Cygwin\etc\passwd), set_has_acls(0)
1407 37559 [main] TRUE 1609979 read_etc_passwd: Read /etc/passwd, 2 =
lines
217 37776 [main] TRUE 1609979 _cygwin_istext_for_stdio: =
_cygwin_istext_for_stdio (0)
196 37972 [main] TRUE 1609979 _cygwin_istext_for_stdio: _cifs: fd =
not open
190 38162 [main] TRUE 1609979 _cygwin_istext_for_stdio: =
_cygwin_istext_for_stdio (1)
190 38352 [main] TRUE 1609979 _cygwin_istext_for_stdio: _cifs: fd =
not open
187 38539 [main] TRUE 1609979 _cygwin_istext_for_stdio: =
_cygwin_istext_for_stdio (2)
189 38728 [main] TRUE 1609979 _cygwin_istext_for_stdio: _cifs: fd =
not open
209 38937 [main] TRUE 1609979 read_etc_passwd: Completing =
/etc/passwd: unknown:*:500:401:,:/:/bin/sh
205 39142 [main] TRUE 1609979 cygheap_user::ontherange: what 2, pw =
0x4570CE0
195 39337 [main] TRUE 1609979 cygheap_user::ontherange: HOME is =
already in the environment /
929 40266 [main] TRUE 1609979 sigproc_init: process/signal handling =
enabled(1)
467 40733 [sig] TRUE 1609979 wait_sig: sigcatch_nonmain 0x8C, =
sigcatch_main 0x90
321 41054 [sig] TRUE 1609979 wait_sig: Ready. dwProcessid -1609979
621 41675 [main] TRUE 1609979 build_argv: argv[0] =3D 'true'
188 41863 [main] TRUE 1609979 build_argv: argc 1
215 42078 [main] TRUE 1609979 normalize_posix_path: src /dev/conin
196 42274 [main] TRUE 1609979 normalize_posix_path: /dev/conin =3D =
normalize_posix_path (/dev/conin)
195 42469 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
conv_to_win32_path (/dev/conin)
203 42672 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
src_path /dev/conin, dst conin, flags 0x2, rc 0
217 42889 [main] TRUE 1609979 dtable::build_fhandler: fd 0, fh =
0x615F0308
219 43108 [main] TRUE 1609979 open_shared: name (null), shared =
0x83702000 (wanted 0x0), h 0xA8
214 43322 [main] TRUE 1609979 tty_min::set_ctty: attached =
tty1073741824 sid 1609979, pid 1609979, tty->pgid 0, tty->sid 1609979
200 43522 [main] TRUE 1609979 tty_min::set_ctty: resetting =
tty1073741824 sid. Was 1609979, now 1609979. pgid was 0, now 1609979.
1649 45171 [main] TRUE 1609979 fhandler_base::set_flags: flags =
0x10002, supplied_bin 0x0
266 45437 [main] TRUE 1609979 fhandler_base::set_flags: =
O_TEXT/O_BINARY set in flags 0x10000
194 45631 [main] TRUE 1609979 fhandler_base::set_flags: filemode set =
to binary
269 45900 [main] TRUE 1609979 fhandler_console::open: opened conin$ =
0xAC, conout$ 0xB0
435 46335 [main] TRUE 1609979 fhandler_console::output_tcsetattr: 0 =
=3D tcsetattr (,83702018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
271 46606 [main] TRUE 1609979 dtable::init_std_file_from_handle: fd =
0, handle 0x48
44725 91331 [main] TRUE 1609979 handle_to_fn: NtQueryObject failed
505 91836 [main] TRUE 1609979 normalize_posix_path: src some disk =
file
708 92544 [main] TRUE 1609979 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\Cygwin, no-keep-rel, no-add-slash)
322 92866 [main] TRUE 1609979 normalize_win32_path: c:\Cygwin =3D =
normalize_win32_path (c:\Cygwin)
381 93247 [main] TRUE 1609979 mount_info::conv_to_posix_path: / =3D =
conv_to_posix_path (c:\Cygwin)
348 93595 [main] TRUE 1609979 cwdstuff::get: posix /
343 93938 [main] TRUE 1609979 cwdstuff::get: (/) =3D cwdstuff::get =
(0x253F640, 260, 1, 0), errno 0
469 94407 [main] TRUE 1609979 normalize_posix_path: /some disk file =
=3D normalize_posix_path (some disk file)
351 94758 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
conv_to_win32_path (/some disk file)
322 95080 [main] TRUE 1609979 set_flags: flags: binary (0x2)
319 95399 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
src_path /some disk file, dst c:\Cygwin\some disk file, flags 0xA, rc 0
665 96064 [main] TRUE 1609979 symlink_info::check: GetFileAttributes =
(c:\Cygwin\some disk file) failed
341 96405 [main] TRUE 1609979 geterrno_from_win_error: windows error =
2 =3D=3D errno 2
374 96779 [main] TRUE 1609979 symlink_info::check: GetFileAttributes =
(c:\Cygwin\some disk file.lnk) failed
324 97103 [main] TRUE 1609979 geterrno_from_win_error: windows error =
2 =3D=3D errno 2
308 97411 [main] TRUE 1609979 symlink_info::check: 0 =3D =
symlink.check (c:\Cygwin\some disk file, 0x253F300) (0xA)
327 97738 [main] TRUE 1609979 path_conv::check: root_dir(c:\), =
this->path(c:\Cygwin\some disk file), set_has_acls(0)
316 98054 [main] TRUE 1609979 dtable::build_fhandler: fd 1, fh =
0x615F0610
206 98260 [main] TRUE 1609979 fhandler_base::set_flags: flags 0x2, =
supplied_bin 0x0
192 98452 [main] TRUE 1609979 fhandler_base::set_flags: filemode set =
to binary
192 98644 [main] TRUE 1609979 fhandler_base::init: created new =
fhandler_base for handle 0x98, bin 1
193 98837 [main] TRUE 1609979 dtable::init_std_file_from_handle: fd =
1, handle 0x98
238 99075 [main] TRUE 1609979 normalize_posix_path: src /dev/conout
207 99282 [main] TRUE 1609979 normalize_posix_path: /dev/conout =3D =
normalize_posix_path (/dev/conout)
191 99473 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
conv_to_win32_path (/dev/conout)
198 99671 [main] TRUE 1609979 mount_info::conv_to_win32_path: =
src_path /dev/conout, dst conout, flags 0x2, rc 0
208 99879 [main] TRUE 1609979 dtable::build_fhandler: fd 2, fh =
0x615F0708
194 100073 [main] TRUE 1609979 fhandler_base::set_flags: flags =
0x10002, supplied_bin 0x0
191 100264 [main] TRUE 1609979 fhandler_base::set_flags: =
O_TEXT/O_BINARY set in flags 0x10000
188 100452 [main] TRUE 1609979 fhandler_base::set_flags: filemode set =
to binary
252 100704 [main] TRUE 1609979 fhandler_console::open: opened conin$ =
0x48, conout$ 0xB4
426 101130 [main] TRUE 1609979 fhandler_console::output_tcsetattr: 0 =
=3D tcsetattr (,83702018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
238 101368 [main] TRUE 1609979 dtable::init_std_file_from_handle: fd =
2, handle 0x60
212 101580 [main] true 1609979 dll_crt0_1: user_data->main 0x401270
781 102361 [main] true 1609979 do_exit: do_exit (0)
196 102557 [main] true 1609979 void: 0x0 =3D signal (20, 0x1)
191 102748 [main] true 1609979 void: 0x0 =3D signal (1, 0x1)
196 102944 [main] true 1609979 void: 0x0 =3D signal (2, 0x1)
188 103132 [main] true 1609979 void: 0x0 =3D signal (3, 0x1)
202 103334 [main] true 1609979 fhandler_base::close: closing '/some =
disk file' handle 0x98
304 103638 [main] true 1609979 sigproc_terminate: entering
198 103836 [main] true 1609979 proc_terminate: nchildren 0, nzombies =
0
191 104027 [main] true 1609979 proc_terminate: leaving
359 104386 [main] true 1609979 __to_clock_t: dwHighDateTime 0, =
dwLowDateTime 0
203 104589 [main] true 1609979 __to_clock_t: total 00000000 00000000
194 104783 [main] true 1609979 __to_clock_t: dwHighDateTime 0, =
dwLowDateTime 0
189 104972 [main] true 1609979 __to_clock_t: total 00000000 00000000
11240 116212 [main] true 1609979 _pinfo::exit: Calling ExitProcess 0
------=_NextPart_000_0007_01C293E4.2064D1E0
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
------=_NextPart_000_0007_01C293E4.2064D1E0--
- Raw text -