check_case:strict problem (was Re: ls returns bad file descriptor)

Shaffer, Kenneth shaffek@sciatl.com
Wed Jun 15 13:24:00 GMT 2005


Along similar lines as the ls failure on shares with
CYGWIN=check_case:strict, if /etc/passwd has a home directory set to a
share, bash won't even start.

--
Ken Shaffer


     - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.

-------------- next part --------------
**********************************************

Program name: C:\cygwin\bin\bash.exe (pid 1472, ppid 1)

App version:  1005.11, api: 0.116

DLL version:  1005.18, api: 0.130

DLL build:    20050614 19:54:25SNP

OS version:   Windows NT-5.0

Heap size:    402653184

Date/Time:    2005-06-15 09:02:34

**********************************************

   97     912 [main] bash 1472 set_myself: myself->dwProcessId 1472

  100    1012 [main] bash 1472 time: 1118840554 = time (0)

  990    2002 [main] bash 1472 environ_init: 0x490238: !::=::\

  169    2171 [main] bash 1472 environ_init: 0x490248: !C:=C:\cygwin\bin

  140    2311 [main] bash 1472 environ_init: 0x490260: !Y:=Y:\

  153    2464 [main] bash 1472 environ_init: 0x490270: ALLUSERSPROFILE=C:\Documents and Settings\All Users

  144    2608 [main] bash 1472 environ_init: 0x4902A8: APPDATA=C:\Documents and Settings\shaffek\Application Data

  146    2754 [main] bash 1472 environ_init: 0x4902E8: COMMONPROGRAMFILES=C:\Program Files\Common Files

  139    2893 [main] bash 1472 environ_init: 0x490320: COMPUTERNAME=SVTREBOOT

  146    3039 [main] bash 1472 environ_init: 0x490340: COMSPEC=C:\WINNT\system32\cmd.exe

  146    3185 [main] bash 1472 check_case_init: File case checking set to STRICT

   85    3270 [main] bash 1472 parse_options: check_case (called func)

  138    3408 [main] bash 1472 parse_options: returning

   70    3478 [main] bash 1472 environ_init: 0x490368: CYGWIN=check_case:strict

  140    3618 [main] bash 1472 environ_init: 0x4903A0: HOMEDRIVE=Y:

  159    3777 [main] bash 1472 environ_init: 0x4903B8: HOMEPATH=\

  221    3998 [main] bash 1472 environ_init: 0x4903C8: HOMESHARE=\\dsnserv1\shaffek$

  276    4274 [main] bash 1472 environ_init: 0x4903F0: LOGONSERVER=\\BCGSERV7

  316    4590 [main] bash 1472 environ_init: 0x490410: NUMBER_OF_PROCESSORS=2

  220    4810 [main] bash 1472 environ_init: 0x490430: OS=Windows_NT

  146    4956 [main] bash 1472 environ_init: 0x490448: OS2LIBPATH=C:\WINNT\system32\os2\dll;

  153    5109 [main] bash 1472 getwinenv: can't set native for PATH= since no environ yet

  122    5231 [main] bash 1472 normalize_posix_path: src .

  100    5331 [main] bash 1472 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, no-keep-rel, no-add-slash)

   74    5405 [main] bash 1472 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)

   80    5485 [main] bash 1472 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)

   99    5584 [main] bash 1472 cwdstuff::get: posix /usr/bin

   72    5656 [main] bash 1472 cwdstuff::get: (/usr/bin) = cwdstuff::get (0x22EBC0, 260, 1, 0), errno 0

   73    5729 [main] bash 1472 normalize_posix_path: /usr/bin/ = normalize_posix_path (.)

   71    5800 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/bin)

   89    5889 [main] bash 1472 set_flags: flags: binary (0x2)

   74    5963 [main] bash 1472 mount_info::conv_to_win32_path: src_path /usr/bin, dst C:\cygwin\bin, flags 0xA, rc 0

  315    6278 [main] bash 1472 symlink_info::check: not a symlink

   94    6372 [main] bash 1472 symlink_info::check: 0 = symlink.check (C:\cygwin\bin, 0x22E880) (0xA)

   84    6456 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (/usr)

   76    6532 [main] bash 1472 set_flags: flags: binary (0x2)

   77    6609 [main] bash 1472 mount_info::conv_to_win32_path: src_path /usr, dst C:\cygwin\usr, flags 0xA, rc 0

  238    6847 [main] bash 1472 symlink_info::check: not a symlink

   79    6926 [main] bash 1472 symlink_info::check: 0 = symlink.check (C:\cygwin\usr, 0x22E880) (0xA)

  647    7573 [main] bash 1472 set_privilege: 1 = set_privilege ((token 310) SeChangeNotifyPrivilege, 1)

  265    7838 [main] bash 1472 path_conv::check: this->path(C:\cygwin\bin), has_acls(1)

  167    8005 [main] bash 1472 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT\system32, keep-rel, no-add-slash)

   73    8078 [main] bash 1472 normalize_win32_path: C:\WINNT\system32 = normalize_win32_path (C:\WINNT\system32)

   78    8156 [main] bash 1472 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/system32 = conv_to_posix_path (C:\WINNT\system32)

  105    8261 [main] bash 1472 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT, keep-rel, no-add-slash)

   74    8335 [main] bash 1472 normalize_win32_path: C:\WINNT = normalize_win32_path (C:\WINNT)

   74    8409 [main] bash 1472 mount_info::conv_to_posix_path: /cygdrive/c/WINNT = conv_to_posix_path (C:\WINNT)

   71    8480 [main] bash 1472 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT\System32\Wbem, keep-rel, no-add-slash)

   78    8558 [main] bash 1472 normalize_win32_path: C:\WINNT\System32\Wbem = normalize_win32_path (C:\WINNT\System32\Wbem)

   73    8631 [main] bash 1472 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/System32/Wbem = conv_to_posix_path (C:\WINNT\System32\Wbem)

   74    8705 [main] bash 1472 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\WinZip, keep-rel, no-add-slash)

   72    8777 [main] bash 1472 normalize_win32_path: c:\Program Files\WinZip = normalize_win32_path (c:\Program Files\WinZip)

   69    8846 [main] bash 1472 mount_info::conv_to_posix_path: /c/Program Files/WinZip = conv_to_posix_path (c:\Program Files\WinZip)

  226    9072 [main] bash 1472 win_env::add_cache: posix /cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/c/Program Files/WinZip

   72    9144 [main] bash 1472 win_env::add_cache: native PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;c:\Program Files\WinZip

   80    9224 [main] bash 1472 posify: env var converted to PATH=/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/c/Program Files/WinZip

  132    9356 [main] bash 1472 environ_init: 0x4904D0: PATH=/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/c/Program Files/WinZip

  141    9497 [main] bash 1472 environ_init: 0x490478: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

  135    9632 [main] bash 1472 environ_init: 0x490698: PROCESSOR_ARCHITECTURE=x86

  135    9767 [main] bash 1472 environ_init: 0x4906B8: PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel

  136    9903 [main] bash 1472 environ_init: 0x4904B8: PROCESSOR_LEVEL=15

  134   10037 [main] bash 1472 environ_init: 0x490700: PROCESSOR_REVISION=0209

  134   10171 [main] bash 1472 environ_init: 0x490720: PROGRAMFILES=C:\Program Files

  134   10305 [main] bash 1472 environ_init: 0x490748: PROMPT=$P$G

  184   10489 [main] bash 1472 environ_init: 0x490758: SYSTEMDRIVE=C:

  144   10633 [main] bash 1472 environ_init: 0x490770: SYSTEMROOT=C:\WINNT

  135   10768 [main] bash 1472 getwinenv: can't set native for TEMP= since no environ yet

  143   10911 [main] bash 1472 mount_info::conv_to_posix_path: conv_to_posix_path (C:\DOCUME~1\shaffek\LOCALS~1\Temp, no-keep-rel, no-add-slash)

   72   10983 [main] bash 1472 normalize_win32_path: C:\DOCUME~1\shaffek\LOCALS~1\Temp = normalize_win32_path (C:\DOCUME~1\shaffek\LOCALS~1\Temp)

   81   11064 [main] bash 1472 mount_info::conv_to_posix_path: /cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp = conv_to_posix_path (C:\DOCUME~1\shaffek\LOCALS~1\Temp)

  207   11271 [main] bash 1472 win_env::add_cache: posix /cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp

   68   11339 [main] bash 1472 win_env::add_cache: native TEMP=C:\DOCUME~1\shaffek\LOCALS~1\Temp

   71   11410 [main] bash 1472 posify: env var converted to TEMP=/cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp

  137   11547 [main] bash 1472 environ_init: 0x4907B8: TEMP=/cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp

  135   11682 [main] bash 1472 getwinenv: can't set native for TMP= since no environ yet

  131   11813 [main] bash 1472 mount_info::conv_to_posix_path: conv_to_posix_path (C:\DOCUME~1\shaffek\LOCALS~1\Temp, no-keep-rel, no-add-slash)

   73   11886 [main] bash 1472 normalize_win32_path: C:\DOCUME~1\shaffek\LOCALS~1\Temp = normalize_win32_path (C:\DOCUME~1\shaffek\LOCALS~1\Temp)

   72   11958 [main] bash 1472 mount_info::conv_to_posix_path: /cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp = conv_to_posix_path (C:\DOCUME~1\shaffek\LOCALS~1\Temp)

  209   12167 [main] bash 1472 win_env::add_cache: posix /cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp

   74   12241 [main] bash 1472 win_env::add_cache: native TMP=C:\DOCUME~1\shaffek\LOCALS~1\Temp

   70   12311 [main] bash 1472 posify: env var converted to TMP=/cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp

  148   12459 [main] bash 1472 environ_init: 0x490928: TMP=/cygdrive/c/DOCUME~1/shaffek/LOCALS~1/Temp

  135   12594 [main] bash 1472 environ_init: 0x490788: USERDNSDOMAIN=bcgssbd.sciatl.com

  136   12730 [main] bash 1472 environ_init: 0x490A98: USERDOMAIN=BCG_SSBD

  136   12866 [main] bash 1472 environ_init: 0x490AB0: USERNAME=shaffek

  133   12999 [main] bash 1472 environ_init: 0x490AC8: USERPROFILE=C:\Documents and Settings\shaffek

  128   13127 [main] bash 1472 environ_init: 0x490B00: WINDIR=C:\WINNT

  145   13272 [main] bash 1472 pinfo_init: Set nice to 0

   71   13343 [main] bash 1472 pinfo_init: pid 1472, pgid 1472

  581   13924 [main] bash 1472 set_privilege: 0 = set_privilege ((token 348) SeRestorePrivilege, 1)

  101   14025 [main] bash 1472 set_privilege: 1 = set_privilege ((token 348) SeChangeNotifyPrivilege, 1)

  123   14148 [main] bash 1472 dtable::extend: size 32, fds 0x6114A6B0

  101   14249 [main] bash 1472 normalize_posix_path: src /etc/passwd

   80   14329 [main] bash 1472 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)

   78   14407 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd)

   81   14488 [main] bash 1472 set_flags: flags: binary (0x2)

   71   14559 [main] bash 1472 mount_info::conv_to_win32_path: src_path /etc/passwd, dst C:\cygwin\etc\passwd, flags 0xA, rc 0

  260   14819 [main] bash 1472 symlink_info::check: not a symlink

   82   14901 [main] bash 1472 symlink_info::check: 0 = symlink.check (C:\cygwin\etc\passwd, 0x22E830) (0xA)

   74   14975 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)

   73   15048 [main] bash 1472 set_flags: flags: binary (0x2)

   71   15119 [main] bash 1472 mount_info::conv_to_win32_path: src_path /etc, dst C:\cygwin\etc, flags 0xA, rc 0

  230   15349 [main] bash 1472 symlink_info::check: not a symlink

   78   15427 [main] bash 1472 symlink_info::check: 0 = symlink.check (C:\cygwin\etc, 0x22E830) (0xA)

   74   15501 [main] bash 1472 path_conv::check: this->path(C:\cygwin\etc\passwd), has_acls(1)

  177   15678 [main] bash 1472 etc::test_file_change: FindFirstFile succeeded

  525   16203 [main] bash 1472 pwdgrp::load: /etc/passwd curr_lines 5

   74   16277 [main] bash 1472 pwdgrp::load: /etc/passwd load succeeded

  106   16383 [main] bash 1472 normalize_posix_path: src /etc/group

   72   16455 [main] bash 1472 normalize_posix_path: /etc/group = normalize_posix_path (/etc/group)

   69   16524 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/group)

   74   16598 [main] bash 1472 set_flags: flags: binary (0x2)

   70   16668 [main] bash 1472 mount_info::conv_to_win32_path: src_path /etc/group, dst C:\cygwin\etc\group, flags 0xA, rc 0

  243   16911 [main] bash 1472 symlink_info::check: not a symlink

   80   16991 [main] bash 1472 symlink_info::check: 0 = symlink.check (C:\cygwin\etc\group, 0x22E7F0) (0xA)

   74   17065 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)

   72   17137 [main] bash 1472 set_flags: flags: binary (0x2)

   72   17209 [main] bash 1472 mount_info::conv_to_win32_path: src_path /etc, dst C:\cygwin\etc, flags 0xA, rc 0

  234   17443 [main] bash 1472 symlink_info::check: not a symlink

   78   17521 [main] bash 1472 symlink_info::check: 0 = symlink.check (C:\cygwin\etc, 0x22E7F0) (0xA)

   74   17595 [main] bash 1472 path_conv::check: this->path(C:\cygwin\etc\group), has_acls(1)

  168   17763 [main] bash 1472 etc::test_file_change: FindFirstFile succeeded

  665   18428 [main] bash 1472 pwdgrp::load: /etc/group curr_lines 12

   78   18506 [main] bash 1472 pwdgrp::load: /etc/group load succeeded

   93   18599 [main] bash 1472 cygheap_user::ontherange: what 2, pw 0x490D90

   83   18682 [main] bash 1472 cygheap_user::ontherange: Set HOME (from /etc/passwd) to //dsnserv1/shaffek$

  340   19022 [main] bash 1472 normalize_posix_path: src //dsnserv1/shaffek$

   71   19093 [main] bash 1472 normalize_posix_path: //dsnserv1/shaffek$ = normalize_posix_path (//dsnserv1/shaffek$)

   72   19165 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (//dsnserv1/shaffek$)

   78   19243 [main] bash 1472 mount_info::conv_to_win32_path: src_path //dsnserv1/shaffek$, dst \\dsnserv1\shaffek$, flags 0x0, rc 0

 7978   27221 [main] bash 1472 symlink_info::check: not a symlink

  117   27338 [main] bash 1472 symlink_info::check: 0 = symlink.check (\\dsnserv1\shaffek$, 0x22E030) (0x800000)

   75   27413 [main] bash 1472 mount_info::conv_to_win32_path: conv_to_win32_path (//dsnserv1)

   89   27502 [main] bash 1472 set_flags: flags: binary (0x2)

   73   27575 [main] bash 1472 mount_info::conv_to_win32_path: src_path //dsnserv1, dst \\dsnserv1, flags 0x2, rc 0

   84   27659 [main] bash 1472 build_fh_pc: fh 0x6114A7B8

  472   28131 [WNetGetResourceInformation] bash 1472 cygthread::stub: thread 'WNetGetResourceInformation', id 0x12C, stack_ptr 0x18ADEFD0

  -37   28094 [main] bash 1472 cygthread::detach: WFMO failed waiting for cygthread 'WNetGetResourceInformation', Win32 error 6

  265   28359 [main] bash 1472 cygthread::detach: semaphore handle 0x0 is bad

  563   28922 [main] bash 1472 sigproc_terminate: entering

  111   29033 [main] bash 1472 proc_terminate: nprocs 0

   81   29114 [main] bash 1472 proc_terminate: leaving

   78   29192 [main] bash 1472 sigproc_terminate: sigproc handling not active

   86   29278 [main] bash 1472 proc_terminate: nprocs 0

   79   29357 [main] bash 1472 proc_terminate: leaving

   75   29432 [main] bash 1472 __to_clock_t: dwHighDateTime 0, dwLowDateTime 0

   79   29511 [main] bash 1472 __to_clock_t: total 00000000 00000000

   77   29588 [main] bash 1472 __to_clock_t: dwHighDateTime 0, dwLowDateTime 312500

   80   29668 [main] bash 1472 __to_clock_t: total 00000000 0000001F

 8826   38494 [main] bash 1472 pinfo::maybe_set_exit_code_from_windows: pid 1472, exit value - old 0x80000001, windows 0xDEADBEEF, cygwin 0x80000001

-------------- next part --------------
--
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/


More information about the Cygwin mailing list