This is the mail archive of the cygwin-developers@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]

Re: stat("/dev/null",... broken


Try a newer DLL.

cgf

On Thu, Jul 12, 2001 at 12:34:28PM -0600, Earnie Boyd wrote:
>Sorry, I don't have time to debug this.  The uname -a output for the
>valid one is
>CYGWIN_NT-4.0 DU216771 1.3.3(0.39/3/2) 2001-05-30 11:42 i686 unknown
>#include <stdlib.h>
>#include <sys/stat.h>
>
>int
>main ( void )
>{
>    struct stat *fs;
>    stat("/dev/null", fs);
>}

>**********************************************
>Program name: c:\cygmnt\prj\msys\adhoc\junk\null.exe (240)
>App version:  1003.3, api: 0.39
>DLL version:  1003.3, api: 0.40
>DLL build:    2001-07-12 11:50
>OS version:   Windows NT-4.0
>Date/Time:    2001-07-12 12:27:33
>**********************************************
> 2135    4068 [main] null 240 environ_init: 0xA0101B0: !C:=C:\cygwin-new\bin
>  719    4787 [main] null 240 environ_init: 0xA0101D0: CFLAGS=-O0 -g
>  264    5051 [main] null 240 environ_init: 0xA0101E8: COLORFGBG=0;default;15
> 1075    6126 [main] null 240 environ_init: 0xA010208: COLORTERM=rxvt-xpm
>  215    6341 [main] null 240 environ_init: 0xA010220: COMPUTERNAME=DU216771
>  200    6541 [main] null 240 environ_init: 0xA010240: COMSPEC=C:\WINNT\system32\cmd.exe
>  198    6739 [main] null 240 environ_init: 0xA010268: CVS_RSH=ssh
>  222    6961 [main] null 240 environ_init: 0xA010278: CXXFLAGS=-O0 -g
>  205    7166 [main] null 240 parse_options: binmode 65536
>  201    7367 [main] null 240 parse_options: returning
>  101    7468 [main] null 240 environ_init: 0xA010290: CYGWIN=binmode case_check:strict 
>  198    7666 [main] null 240 environ_init: 0xA0102C8: DISPLAY=:0
>  199    7865 [main] null 240 getwinenv: can't set native for HOME= since no environ yet
>  218    8083 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygmnt\home\BoydE, no-keep-rel, no-add-slash)
>  119    8202 [main] null 240 normalize_win32_path: c:\cygmnt\home\BoydE = normalize_win32_path (c:\cygmnt\home\BoydE)
>  134    8336 [main] null 240 mount_info::conv_to_posix_path: /home/BoydE = conv_to_posix_path (c:\cygmnt\home\BoydE)
>  296    8632 [main] null 240 win_env::add_cache: posix /home/BoydE
>  102    8734 [main] null 240 win_env::add_cache: native HOME=c:\cygmnt\home\BoydE
>  104    8838 [main] null 240 posify: env var converted to HOME=/home/BoydE
>  193    9031 [main] null 240 environ_init: 0xA0102F8: HOME=/home/BoydE
>  198    9229 [main] null 240 environ_init: 0xA0102D8: HOMEDRIVE=C:
>  198    9427 [main] null 240 environ_init: 0xA010438: HOMEPATH=\
>  197    9624 [main] null 240 environ_init: 0xA010448: HOMESHARE=\\dub2kfil003\BOYDE$
>  198    9822 [main] null 240 environ_init: 0xA010470: HOSTNAME=DU216771
>  197   10019 [main] null 240 environ_init: 0xA010488: HOSTTYPE=i686
>  197   10216 [main] null 240 environ_init: 0xA0104A0: LFS=/prj/lfs
>  198   10414 [main] null 240 environ_init: 0xA0104B8: LOGONSERVER=\\DUBNTDC001
>  199   10613 [main] null 240 environ_init: 0xA0104D8: MACHTYPE=i686-pc-cygwin
>  197   10810 [main] null 240 environ_init: 0xA0104F8: MAKE_MODE=unix
>  197   11007 [main] null 240 environ_init: 0xA010510: NUMBER_OF_PROCESSORS=1
>  197   11204 [main] null 240 environ_init: 0xA010530: OLDPWD=/home/BoydE
>  196   11400 [main] null 240 environ_init: 0xA010548: OS2LIBPATH=C:\WINNT\system32\os2\dll;
>  198   11598 [main] null 240 environ_init: 0xA010578: OS=Windows_NT
>  196   11794 [main] null 240 environ_init: 0xA010590: OSTYPE=cygwin
>  200   11994 [main] null 240 getwinenv: can't set native for PATH= since no environ yet
>  205   12199 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\opt\sbin, keep-rel, no-add-slash)
>  111   12310 [main] null 240 normalize_win32_path: c:\cygwin-new\opt\sbin = normalize_win32_path (c:\cygwin-new\opt\sbin)
>  120   12430 [main] null 240 mount_info::conv_to_posix_path: /opt/sbin = conv_to_posix_path (c:\cygwin-new\opt\sbin)
>  110   12540 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\sbin, keep-rel, no-add-slash)
>  109   12649 [main] null 240 normalize_win32_path: c:\cygwin-new\sbin = normalize_win32_path (c:\cygwin-new\sbin)
>  113   12762 [main] null 240 mount_info::conv_to_posix_path: /sbin = conv_to_posix_path (c:\cygwin-new\sbin)
>  109   12871 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\usr\sbin, keep-rel, no-add-slash)
>  109   12980 [main] null 240 normalize_win32_path: c:\cygwin-new\usr\sbin = normalize_win32_path (c:\cygwin-new\usr\sbin)
>  114   13094 [main] null 240 mount_info::conv_to_posix_path: /usr/sbin = conv_to_posix_path (c:\cygwin-new\usr\sbin)
>  123   13217 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\usr\local\sbin, keep-rel, no-add-slash)
>  112   13329 [main] null 240 normalize_win32_path: c:\cygwin-new\usr\local\sbin = normalize_win32_path (c:\cygwin-new\usr\local\sbin)
>  114   13443 [main] null 240 mount_info::conv_to_posix_path: /usr/local/sbin = conv_to_posix_path (c:\cygwin-new\usr\local\sbin)
>  110   13553 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\usr\local\bin, keep-rel, no-add-slash)
>  112   13665 [main] null 240 normalize_win32_path: c:\cygwin-new\usr\local\bin = normalize_win32_path (c:\cygwin-new\usr\local\bin)
>  115   13780 [main] null 240 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (c:\cygwin-new\usr\local\bin)
>  111   13891 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\bin, keep-rel, no-add-slash)
>  109   14000 [main] null 240 normalize_win32_path: c:\cygwin-new\bin = normalize_win32_path (c:\cygwin-new\bin)
>  109   14109 [main] null 240 mount_info::conv_to_posix_path: /bin = conv_to_posix_path (c:\cygwin-new\bin)
>  108   14217 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\bin, keep-rel, no-add-slash)
>  110   14327 [main] null 240 normalize_win32_path: c:\cygwin-new\bin = normalize_win32_path (c:\cygwin-new\bin)
>  224   14551 [main] null 240 mount_info::conv_to_posix_path: /bin = conv_to_posix_path (c:\cygwin-new\bin)
>  113   14664 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\Microsoft Office\Office, keep-rel, no-add-slash)
>  113   14777 [main] null 240 normalize_win32_path: c:\Program Files\Microsoft Office\Office = normalize_win32_path (c:\Program Files\Microsoft Office\Office)
>  120   14897 [main] null 240 mount_info::conv_to_posix_path: /c/Program Files/Microsoft Office/Office = conv_to_posix_path (c:\Program Files\Microsoft Office\Office)
>  114   15011 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\system32, keep-rel, no-add-slash)
>  110   15121 [main] null 240 normalize_win32_path: c:\WINNT\system32 = normalize_win32_path (c:\WINNT\system32)
>  113   15234 [main] null 240 mount_info::conv_to_posix_path: /c/WINNT/system32 = conv_to_posix_path (c:\WINNT\system32)
>  109   15343 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT, keep-rel, no-add-slash)
>  109   15452 [main] null 240 normalize_win32_path: c:\WINNT = normalize_win32_path (c:\WINNT)
>  109   15561 [main] null 240 mount_info::conv_to_posix_path: /c/WINNT = conv_to_posix_path (c:\WINNT)
>  108   15669 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\bin, keep-rel, no-add-slash)
>  110   15779 [main] null 240 normalize_win32_path: c:\cygwin-new\bin = normalize_win32_path (c:\cygwin-new\bin)
>  109   15888 [main] null 240 mount_info::conv_to_posix_path: /bin = conv_to_posix_path (c:\cygwin-new\bin)
>  305   16193 [main] null 240 win_env::add_cache: posix /opt/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/bin:/c/Program Files/Microsoft Office/Office:/c/WINNT/system32:/c/WINNT:/bin
>  115   16308 [main] null 240 win_env::add_cache: native PATH=c:\cygwin-new\opt\sbin;c:\cygwin-new\sbin;c:\cygwin-new\usr\sbin;c:\cygwin-new\usr\local\sbin;c:\cygwin-new\usr\local\bin;c:\cygwin-new\bin;c:\cygwin-new\bin;c:\Program Files\Microsoft Office\Office;c:\WINNT\system32;c:\WINNT;c:\cygwin-new\bin
>  122   16430 [main] null 240 posify: env var converted to PATH=/opt/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/bin:/c/Program Files/Microsoft Office/Office:/c/WINNT/system32:/c/WINNT:/bin
>  205   16635 [main] null 240 environ_init: 0xA0106A8: PATH=/opt/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/bin:/c/Program Files/Microsoft Office/Office:/c/WINNT/system32:/c/WINNT:/bin
>  212   16847 [main] null 240 environ_init: 0xA0105A8: PATHEXT=.COM;.EXE;.BAT;.CMD
>  949   17796 [main] null 240 environ_init: 0xA0105C8: PROCESSOR_ARCHITECTURE=x86
>  352   18148 [main] null 240 environ_init: 0xA0105E8: PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel
>  379   18527 [main] null 240 environ_init: 0xA010630: PROCESSOR_LEVEL=6
>  230   18757 [main] null 240 environ_init: 0xA010648: PROCESSOR_REVISION=0806
>  425   19182 [main] null 240 environ_init: 0xA010668: PROMPT=$P$G
>  301   19483 [main] null 240 environ_init: 0xA010A20: PS1=\[\033]0;\w\007
>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>$ 
>  211   19694 [main] null 240 environ_init: 0xA010678: PWD=/prj/msys/adhoc/junk
>  461   20155 [main] null 240 environ_init: 0xA010A68: SHELL=/bin/sh
>  295   20450 [main] null 240 environ_init: 0xA010698: SHLVL=1
>  310   20760 [main] null 240 environ_init: 0xA010A80: SYSTEMDRIVE=C:
>  282   21042 [main] null 240 environ_init: 0xA010A98: SYSTEMROOT=C:\WINNT
>  206   21248 [main] null 240 getwinenv: can't set native for TEMP= since no environ yet
>  602   21850 [main] null 240 mount_info::conv_to_posix_path: conv_to_posix_path (c:\TEMP, no-keep-rel, no-add-slash)
>  304   22154 [main] null 240 normalize_win32_path: c:\TEMP = normalize_win32_path (c:\TEMP)
>  133   22287 [main] null 240 mount_info::conv_to_posix_path: /c/TEMP = conv_to_posix_path (c:\TEMP)
>  301   22588 [main] null 240 win_env::add_cache: posix /c/TEMP
>  102   22690 [main] null 240 win_env::add_cache: native TEMP=c:\TEMP
>  102   22792 [main] null 240 posify: env var converted to TEMP=/c/TEMP
>  196   22988 [main] null 240 environ_init: 0xA010AC8: TEMP=/c/TEMP
>  200   23188 [main] null 240 environ_init: 0xA010AB0: TERM=cygwin
>  197   23385 [main] null 240 environ_init: 0xA010C00: USER=BoydE
>  196   23581 [main] null 240 environ_init: 0xA010C10: USERDOMAIN=LCI
>  197   23778 [main] null 240 environ_init: 0xA010C28: USERNAME=BoydE
>  196   23974 [main] null 240 environ_init: 0xA010C40: USERPROFILE=C:\WINNT\Profiles\BoydE
>  198   24172 [main] null 240 environ_init: 0xA010C68: WINDIR=C:\WINNT
>  199   24371 [main] null 240 environ_init: 0xA010C80: WINDOWID=167837856
>  309   24680 [main] null 240 environ_init: 0xA010C98: _=/usr/bin/strace
>  262   24942 [main] null 240 pinfo_init: pid 240, pgid 240
>  181   25123 [main] null 240 dtable::extend: size 32, fds 0x1A020090
> 1031   26154 [main] null 240 internal_getlogin: GetUserName() = BoydE
>  212   26366 [main] null 240 internal_getlogin: User: BoydE, Domain: LCI, Logon Server: DUBNTDC001
>10970   37336 [main] null 240 internal_getlogin: Domain: LCI, Logon Server: DUBNTDC001, Windows Username: BoydE
>  331   37667 [main] null 240 internal_getlogin: Cygwins Username: BoydE
>  618   38285 [main] null 240 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0)
>  212   38497 [main] null 240 _cygwin_istext_for_stdio:  _cifs: fd not open
>  132   38629 [main] null 240 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (1)
>  203   38832 [main] null 240 _cygwin_istext_for_stdio:  _cifs: fd not open
>  114   38946 [main] null 240 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (2)
>  171   39117 [main] null 240 _cygwin_istext_for_stdio:  _cifs: fd not open
>  144   39261 [main] null 240 _open: open (/etc/passwd, 0x20000)
>  129   39390 [main] null 240 dtable::build_fhandler: some disk file - cb 60, fd 3, fh 0x1A0201D8
>  474   39864 [main] null 240 fhandler_disk_file::open: (/etc/passwd, 0x20000)
>  287   40151 [main] null 240 normalize_posix_path: src /etc/passwd
>  122   40273 [main] null 240 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)
>  202   40475 [main] null 240 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd)
>  211   40686 [main] null 240 mount_info::conv_to_win32_path: src_path /etc/passwd, dst c:\cygwin-new\etc\passwd, flags 0xA, rc 0
>18781   59467 [main] null 240 symlink_info::check: GetFileAttributesA (c:\cygwin-new\etc\passwd) failed
>  241   59708 [main] null 240 geterrno_from_win_error: windows error 2 == errno 2
>  389   60097 [main] null 240 symlink_info::check: GetFileAttributesA (c:\cygwin-new\etc\passwd.lnk) failed
>  155   60252 [main] null 240 geterrno_from_win_error: windows error 2 == errno 2
>  111   60363 [main] null 240 symlink_info::check: 0 = symlink.check (c:\cygwin-new\etc\passwd, 0x240E640) (0xA)
>  117   60480 [main] null 240 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)
>  122   60602 [main] null 240 mount_info::conv_to_win32_path: src_path /etc, dst c:\cygwin-new\etc, flags 0xA, rc 0
>  282   60884 [main] null 240 symlink_info::check: not a symlink
>  120   61004 [main] null 240 symlink_info::check: 0 = symlink.check (c:\cygwin-new\etc, 0x240E640) (0xA)
>  116   61120 [main] null 240 path_conv::check: root_dir(c:\), this->path(c:\cygwin-new\etc\passwd), set_has_acls(8)
>  125   61245 [main] null 240 fhandler_base::open: (c:\cygwin-new\etc\passwd, 0x20000)
>  503   61748 [main] null 240 fhandler_base::open: 0xFFFFFFFF = CreateFileA (c:\cygwin-new\etc\passwd, 0x80000000, 0x7, 0x610B6C2C, 0x3, 0x80, 0)
>  171   61919 [main] null 240 seterrno_from_win_error: ../../../../src/winsup/cygwin/fhandler.cc:399 errno 2
>  113   62032 [main] null 240 geterrno_from_win_error: windows error 2 == errno 2
>  108   62140 [main] null 240 fhandler_base::open: 0 = fhandler_base::open (c:\cygwin-new\etc\passwd, 0x20000)
>  110   62250 [main] null 240 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\cygwin-new\etc\passwd, 0x20000)
>  119   62369 [main] null 240 _open: -1 = open (/etc/passwd, 0x20000)
>  110   62479 [main] null 240 read_etc_passwd: Emulating /etc/passwd
>  552   63031 [main] null 240 sigproc_init: process/signal handling enabled(1)
>  228   63259 [main] null 240 build_argv: argv[0] = './null'
>  105   63364 [main] null 240 build_argv: argc 1
>  189   63553 [main] null 240 dtable::build_fhandler: {stdin} - cb 60, fd 0, fh 0x1A0201D8
>  115   63668 [main] null 240 fhandler_base::init: created new fhandler_base for handle 0x1C4
>  109   63777 [main] null 240 dtable::init_std_file_from_handle: fd 0, handle 0x1C4
>  176   63953 [main] null 240 dtable::build_fhandler: {stdout} - cb 60, fd 1, fh 0x1A020A50
>  113   64066 [main] null 240 fhandler_base::init: created new fhandler_base for handle 0x1E8
>  107   64173 [main] null 240 dtable::init_std_file_from_handle: fd 1, handle 0x1E8
>  161   64334 [main] null 240 dtable::build_fhandler: {stderr} - cb 60, fd 2, fh 0x1A0212C8
>  110   64444 [main] null 240 fhandler_base::init: created new fhandler_base for handle 0x64
>  209   64653 [main] null 240 dtable::init_std_file_from_handle: fd 2, handle 0x64
>  174   64827 [main] null 240 open_shared: name (null), shared 0x1C940000 (wanted 0x0), h 0x168
>  126   64953 [main] null 240 tty_min::set_ctty: attached tty1073741824 sid 240, pid 240, tty->pgid 0, tty->sid 240
>  117   65070 [main] null 240 tty_min::set_ctty: resetting tty1073741824 sid.  Was 240, now 240.  pgid was 0, now 240.
>  115   65185 [main] null 240 dll_list::init: here
>  102   65287 [main] null 240 dll_crt0_1: user_data->main 0x401050
>  372   65659 [sig] null 240 wait_sig: sigcatch_nonmain 0x184, sigcatch_main 0x1AC
>  131   65790 [sig] null 240 wait_sig: Ready.  dwProcessid 240
>  130   65920 [main] null 240 sig_send: pid 240, signal -2, its_me 1
>  114   66034 [main] null 240 sig_send: Waiting for thiscomplete 0x194
>  113   66147 [sig] null 240 wait_sig: awake
>  103   66250 [sig] null 240 wait_sig: processing signal -2
>  111   66361 [sig] null 240 wait_sig: set main thread completion event
>  104   66465 [sig] null 240 wait_sig: looping
>  107   66572 [main] null 240 sig_send: returning 0 from sending signal -2
>  123   66695 [main] null 240 stat_worker: stat (/dev/null, 0x0)
>  110   66805 [main] null 240 normalize_posix_path: src /dev/null
>  109   66914 [main] null 240 normalize_posix_path: /dev/null = normalize_posix_path (/dev/null)
>  108   67022 [main] null 240 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/null)
>  113   67135 [main] null 240 mount_info::conv_to_win32_path: src_path /dev/null, dst nul, flags 0x2, rc 0
>  114   67249 [main] null 240 path_conv::update_fs_info: Cannot get root component of path nul
>  431   67680 [main] null 240 path_conv::update_fs_info: Cannot get root component of path nul
>  178   67858 [main] null 240 handle_exceptions: In cygwin_except_handler exc 0xC0000005 at 0x610973EB sp 0x240F61C
>  112   67970 [main] null 240 handle_exceptions: In cygwin_except_handler sig = 11 at 0x610973EB
>  108   68078 [main] null 240 handle_exceptions: In cygwin_except_handler calling 0x0
>  106   68184 [main] null 240 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
> 7748   75932 [main] null 240 try_to_debug: debugger_command ''
>  869   76801 [main] null 240 open_stackdumpfile: Dumping stack trace to null.exe.stackdump
>7241026 7317827 [main] null 240 signal_exit: about to call do_exit (18B00)
>  150 7317977 [main] null 240 do_exit: do_exit (101120)
>  132 7318109 [main] null 240 void: 0x0 = signal (20, 0x1)
>  103 7318212 [main] null 240 void: 0x0 = signal (1, 0x1)
>  105 7318317 [main] null 240 void: 0x0 = signal (2, 0x1)
>  101 7318418 [main] null 240 void: 0x0 = signal (3, 0x1)
>  103 7318521 [main] null 240 fhandler_base::close: handle 0x1C4
>  114 7318635 [main] null 240 fhandler_base::close: handle 0x1E8
>  108 7318743 [main] null 240 fhandler_base::close: handle 0x64
>  121 7318864 [main] null 240 proc_terminate: nchildren 0, nzombies 0
>  103 7318967 [main] null 240 proc_terminate: leaving
>   99 7319066 [main] null 240 sigproc_terminate: entering
>  103 7319169 [main] null 240 sigproc_terminate: done
>  227 7319396 [main] null 240 __to_clock_t: dwHighDateTime 0, dwLowDateTime 600864
>  104 7319500 [main] null 240 __to_clock_t: total 00000000 0000003C
>  104 7319604 [main] null 240 __to_clock_t: dwHighDateTime 0, dwLowDateTime 300432
>  102 7319706 [main] null 240 __to_clock_t: total 00000000 0000001E
>  104 7319810 [main] null 240 _pinfo::exit: Calling ExitProcess 101120

>**********************************************
>Program name: c:\cygmnt\prj\msys\adhoc\junk\null.exe (61)
>App version:  1003.3, api: 0.39
>DLL version:  1003.3, api: 0.39
>DLL build:    2001-05-30 11:42
>OS version:   Windows NT-4.0
>Date/Time:    2001-07-12 12:29:10
>**********************************************
> 1374    3160 [main] null 61 environ_init: 0xA0101B0: !C:=C:\cygwin-new\bin
>  268    3428 [main] null 61 environ_init: 0xA0101D0: CFLAGS=-O0 -g
>  219    3647 [main] null 61 environ_init: 0xA0101E8: COLORFGBG=0;default;15
>  854    4501 [main] null 61 environ_init: 0xA010208: COLORTERM=rxvt-xpm
>  196    4697 [main] null 61 environ_init: 0xA010220: COMPUTERNAME=DU216771
>  188    4885 [main] null 61 environ_init: 0xA010240: COMSPEC=C:\WINNT\system32\cmd.exe
>  185    5070 [main] null 61 environ_init: 0xA010268: CVS_RSH=ssh
>  186    5256 [main] null 61 environ_init: 0xA010278: CXXFLAGS=-O0 -g
>  189    5445 [main] null 61 parse_options: binmode 65536
>  189    5634 [main] null 61 parse_options: returning
>   98    5732 [main] null 61 environ_init: 0xA010290: CYGWIN=binmode case_check:strict 
>  185    5917 [main] null 61 environ_init: 0xA0102C8: DISPLAY=:0
>  187    6104 [main] null 61 getwinenv: can't set native for HOME= since no environ yet
>  208    6312 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygmnt\home\BoydE, no-keep-rel, no-add-slash)
>  114    6426 [main] null 61 normalize_win32_path: c:\cygmnt\home\BoydE = normalize_win32_path (c:\cygmnt\home\BoydE)
>  122    6548 [main] null 61 mount_info::conv_to_posix_path: /home/BoydE = conv_to_posix_path (c:\cygmnt\home\BoydE)
>  277    6825 [main] null 61 win_env::add_cache: posix /home/BoydE
>   98    6923 [main] null 61 win_env::add_cache: native HOME=c:\cygmnt\home\BoydE
>   99    7022 [main] null 61 posify: env var converted to HOME=/home/BoydE
>  184    7206 [main] null 61 environ_init: 0xA0102F8: HOME=/home/BoydE
>  186    7392 [main] null 61 environ_init: 0xA0102D8: HOMEDRIVE=H:
>  187    7579 [main] null 61 environ_init: 0xA010438: HOMEPATH=\
>  184    7763 [main] null 61 environ_init: 0xA010448: HOMESHARE=\\dub2kfil003\BOYDE$
>  187    7950 [main] null 61 environ_init: 0xA010470: HOSTNAME=DU216771
>  185    8135 [main] null 61 environ_init: 0xA010488: HOSTTYPE=i686
>  186    8321 [main] null 61 environ_init: 0xA0104A0: LFS=/prj/lfs
>  186    8507 [main] null 61 environ_init: 0xA0104B8: LOGONSERVER=\\DUBNTDC001
>  186    8693 [main] null 61 environ_init: 0xA0104D8: MACHTYPE=i686-pc-cygwin
>  185    8878 [main] null 61 environ_init: 0xA0104F8: MAKE_MODE=unix
>  225    9103 [main] null 61 environ_init: 0xA010510: NUMBER_OF_PROCESSORS=1
>  185    9288 [main] null 61 environ_init: 0xA010530: OLDPWD=/home/BoydE
>  186    9474 [main] null 61 environ_init: 0xA010548: OS2LIBPATH=C:\WINNT\system32\os2\dll;
>  185    9659 [main] null 61 environ_init: 0xA010578: OS=Windows_NT
>  185    9844 [main] null 61 environ_init: 0xA010590: OSTYPE=cygwin
>  187   10031 [main] null 61 getwinenv: can't set native for PATH= since no environ yet
>  195   10226 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\opt\sbin, keep-rel, no-add-slash)
>  122   10348 [main] null 61 normalize_win32_path: c:\cygwin-new\opt\sbin = normalize_win32_path (c:\cygwin-new\opt\sbin)
>  114   10462 [main] null 61 mount_info::conv_to_posix_path: /opt/sbin = conv_to_posix_path (c:\cygwin-new\opt\sbin)
>  108   10570 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\sbin, keep-rel, no-add-slash)
>  104   10674 [main] null 61 normalize_win32_path: c:\cygwin-new\sbin = normalize_win32_path (c:\cygwin-new\sbin)
>  104   10778 [main] null 61 mount_info::conv_to_posix_path: /sbin = conv_to_posix_path (c:\cygwin-new\sbin)
>  105   10883 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\usr\sbin, keep-rel, no-add-slash)
>  104   10987 [main] null 61 normalize_win32_path: c:\cygwin-new\usr\sbin = normalize_win32_path (c:\cygwin-new\usr\sbin)
>  105   11092 [main] null 61 mount_info::conv_to_posix_path: /usr/sbin = conv_to_posix_path (c:\cygwin-new\usr\sbin)
>  119   11211 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\usr\local\sbin, keep-rel, no-add-slash)
>  106   11317 [main] null 61 normalize_win32_path: c:\cygwin-new\usr\local\sbin = normalize_win32_path (c:\cygwin-new\usr\local\sbin)
>  106   11423 [main] null 61 mount_info::conv_to_posix_path: /usr/local/sbin = conv_to_posix_path (c:\cygwin-new\usr\local\sbin)
>  107   11530 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\usr\local\bin, keep-rel, no-add-slash)
>  104   11634 [main] null 61 normalize_win32_path: c:\cygwin-new\usr\local\bin = normalize_win32_path (c:\cygwin-new\usr\local\bin)
>  106   11740 [main] null 61 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (c:\cygwin-new\usr\local\bin)
>  107   11847 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\bin, keep-rel, no-add-slash)
>  104   11951 [main] null 61 normalize_win32_path: c:\cygwin-new\bin = normalize_win32_path (c:\cygwin-new\bin)
>  102   12053 [main] null 61 mount_info::conv_to_posix_path: /bin = conv_to_posix_path (c:\cygwin-new\bin)
>  105   12158 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\bin, keep-rel, no-add-slash)
>  104   12262 [main] null 61 normalize_win32_path: c:\cygwin-new\bin = normalize_win32_path (c:\cygwin-new\bin)
>  102   12364 [main] null 61 mount_info::conv_to_posix_path: /bin = conv_to_posix_path (c:\cygwin-new\bin)
>  104   12468 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\Microsoft Office\Office, keep-rel, no-add-slash)
>  105   12573 [main] null 61 normalize_win32_path: c:\Program Files\Microsoft Office\Office = normalize_win32_path (c:\Program Files\Microsoft Office\Office)
>  108   12681 [main] null 61 mount_info::conv_to_posix_path: /c/Program Files/Microsoft Office/Office = conv_to_posix_path (c:\Program Files\Microsoft Office\Office)
>  108   12789 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\system32, keep-rel, no-add-slash)
>  191   12980 [main] null 61 normalize_win32_path: c:\WINNT\system32 = normalize_win32_path (c:\WINNT\system32)
>  111   13091 [main] null 61 mount_info::conv_to_posix_path: /c/WINNT/system32 = conv_to_posix_path (c:\WINNT\system32)
>  106   13197 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT, keep-rel, no-add-slash)
>  104   13301 [main] null 61 normalize_win32_path: c:\WINNT = normalize_win32_path (c:\WINNT)
>  103   13404 [main] null 61 mount_info::conv_to_posix_path: /c/WINNT = conv_to_posix_path (c:\WINNT)
>  105   13509 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\cygwin-new\bin, keep-rel, no-add-slash)
>  104   13613 [main] null 61 normalize_win32_path: c:\cygwin-new\bin = normalize_win32_path (c:\cygwin-new\bin)
>  102   13715 [main] null 61 mount_info::conv_to_posix_path: /bin = conv_to_posix_path (c:\cygwin-new\bin)
>  279   13994 [main] null 61 win_env::add_cache: posix /opt/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/bin:/c/Program Files/Microsoft Office/Office:/c/WINNT/system32:/c/WINNT:/bin
>  105   14099 [main] null 61 win_env::add_cache: native PATH=c:\cygwin-new\opt\sbin;c:\cygwin-new\sbin;c:\cygwin-new\usr\sbin;c:\cygwin-new\usr\local\sbin;c:\cygwin-new\usr\local\bin;c:\cygwin-new\bin;c:\cygwin-new\bin;c:\Program Files\Microsoft Office\Office;c:\WINNT\system32;c:\WINNT;c:\cygwin-new\bin
>  113   14212 [main] null 61 posify: env var converted to PATH=/opt/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/bin:/c/Program Files/Microsoft Office/Office:/c/WINNT/system32:/c/WINNT:/bin
>  190   14402 [main] null 61 environ_init: 0xA0106A8: PATH=/opt/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/bin:/c/Program Files/Microsoft Office/Office:/c/WINNT/system32:/c/WINNT:/bin
>  196   14598 [main] null 61 environ_init: 0xA0105A8: PATHEXT=.COM;.EXE;.BAT;.CMD
>  188   14786 [main] null 61 environ_init: 0xA0105C8: PROCESSOR_ARCHITECTURE=x86
>  812   15598 [main] null 61 environ_init: 0xA0105E8: PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel
>  195   15793 [main] null 61 environ_init: 0xA010630: PROCESSOR_LEVEL=6
>  529   16322 [main] null 61 environ_init: 0xA010648: PROCESSOR_REVISION=0806
> 2382   18704 [main] null 61 environ_init: 0xA010668: PROMPT=$P$G
>  377   19081 [main] null 61 environ_init: 0xA010A20: PS1=\[\033]0;\w\007
>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>$ 
>  221   19302 [main] null 61 environ_init: 0xA010678: PWD=/prj/msys/adhoc/junk
>  446   19748 [main] null 61 environ_init: 0xA010A68: SHELL=/bin/sh
>  287   20035 [main] null 61 environ_init: 0xA010698: SHLVL=1
>  190   20225 [main] null 61 environ_init: 0xA010A80: SYSTEMDRIVE=C:
>  514   20739 [main] null 61 environ_init: 0xA010A98: SYSTEMROOT=C:\WINNT
>  201   20940 [main] null 61 getwinenv: can't set native for TEMP= since no environ yet
>  382   21322 [main] null 61 mount_info::conv_to_posix_path: conv_to_posix_path (c:\TEMP, no-keep-rel, no-add-slash)
>  112   21434 [main] null 61 normalize_win32_path: c:\TEMP = normalize_win32_path (c:\TEMP)
>  109   21543 [main] null 61 mount_info::conv_to_posix_path: /c/TEMP = conv_to_posix_path (c:\TEMP)
>  801   22344 [main] null 61 win_env::add_cache: posix /c/TEMP
>  133   22477 [main] null 61 win_env::add_cache: native TEMP=c:\TEMP
>  100   22577 [main] null 61 posify: env var converted to TEMP=/c/TEMP
>  188   22765 [main] null 61 environ_init: 0xA010AC8: TEMP=/c/TEMP
>  297   23062 [main] null 61 environ_init: 0xA010AB0: TERM=cygwin
>  191   23253 [main] null 61 environ_init: 0xA010C00: USER=BoydE
>  186   23439 [main] null 61 environ_init: 0xA010C10: USERDOMAIN=LCI
>  185   23624 [main] null 61 environ_init: 0xA010C28: USERNAME=BoydE
>  186   23810 [main] null 61 environ_init: 0xA010C40: USERPROFILE=C:\WINNT\Profiles\BoydE
>  188   23998 [main] null 61 environ_init: 0xA010C68: WINDIR=C:\WINNT
>  185   24183 [main] null 61 environ_init: 0xA010C80: WINDOWID=167837856
>  186   24369 [main] null 61 environ_init: 0xA010C98: _=/usr/bin/strace
>  253   24622 [main] null 61 pinfo_init: pid 61, pgid 61
>  177   24799 [main] null 61 dtable::extend: size 32, fds 0x1A020094
> 1011   25810 [main] null 61 internal_getlogin: GetUserName() = BoydE
>  192   26002 [main] null 61 internal_getlogin: Domain: LCI, Logon Server: DUBNTDC001
>  104   26106 [main] null 61 internal_getlogin: Cygwins Username: BoydE
>  269   26375 [main] null 61 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0)
>  106   26481 [main] null 61 _cygwin_istext_for_stdio:  _cifs: fd not open
>  101   26582 [main] null 61 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (1)
>   99   26681 [main] null 61 _cygwin_istext_for_stdio:  _cifs: fd not open
>   99   26780 [main] null 61 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (2)
>   99   26879 [main] null 61 _cygwin_istext_for_stdio:  _cifs: fd not open
>  338   27217 [main] null 61 _open: open (/etc/passwd, 0x20000)
> 1801   29018 [main] null 61 dtable::build_fhandler: some disk file - cb 60, fd 3, fh 0x1A0201DC
>  138   29156 [main] null 61 fhandler_disk_file::open: (/etc/passwd, 0x20000)
>  207   29363 [main] null 61 normalize_posix_path: src /etc/passwd
>  107   29470 [main] null 61 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)
>  104   29574 [main] null 61 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd)
> 3055   32629 [main] null 61 normalize_posix_path: src /etc/passwd
>  101   32730 [main] null 61 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)
>  109   32839 [main] null 61 mount_info::conv_to_win32_path: src_path /etc/passwd, dst c:\cygwin-new\etc\passwd, flags 0xA
>  614   33453 [main] null 61 symlink_info::check: GetFileAttributesA (c:\cygwin-new\etc\passwd) failed
>  154   33607 [main] null 61 geterrno_from_win_error: windows error 2 == errno 2
>  255   33862 [main] null 61 symlink_info::check: GetFileAttributesA (c:\cygwin-new\etc\passwd.lnk) failed
>  129   33991 [main] null 61 geterrno_from_win_error: windows error 2 == errno 2
>  119   34110 [main] null 61 symlink_info::check: 0 = symlink.check (c:\cygwin-new\etc\passwd, 0x240D140) (0xA)
>  109   34219 [main] null 61 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)
>  103   34322 [main] null 61 normalize_posix_path: src /etc
>  101   34423 [main] null 61 normalize_posix_path: /etc = normalize_posix_path (/etc)
>  106   34529 [main] null 61 mount_info::conv_to_win32_path: src_path /etc, dst c:\cygwin-new\etc, flags 0xA
>  178   34707 [main] null 61 symlink_info::check: not a symlink
>  107   34814 [main] null 61 symlink_info::check: 0 = symlink.check (c:\cygwin-new\etc, 0x240D140) (0xA)
>  289   35103 [main] null 61 path_conv::check: GetVolumeInformation(c:\) = OK, this->path(c:\cygwin-new\etc\passwd), set_has_acls(8)
>  138   35241 [main] null 61 fhandler_base::open: (c:\cygwin-new\etc\passwd, 0x20000)
>  404   35645 [main] null 61 fhandler_base::open: 0xFFFFFFFF = CreateFileA (c:\cygwin-new\etc\passwd, 0x80000000, 0x7, 0x610B3C30, 0x3, 0x80, 0)
>  153   35798 [main] null 61 seterrno_from_win_error: ../../../../src/winsup/cygwin/fhandler.cc:384 errno 2
>  106   35904 [main] null 61 geterrno_from_win_error: windows error 2 == errno 2
>  101   36005 [main] null 61 fhandler_base::open: 0 = fhandler_base::open (c:\cygwin-new\etc\passwd, 0x20000)
>  105   36110 [main] null 61 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\cygwin-new\etc\passwd, 0x20000)
>  109   36219 [main] null 61 _open: -1 = open (/etc/passwd, 0x20000)
>  114   36333 [main] null 61 read_etc_passwd: Emulating /etc/passwd
>  523   36856 [main] null 61 sigproc_init: process/signal handling enabled(1)
>  217   37073 [main] null 61 build_argv: argv[0] = './null'
>  100   37173 [main] null 61 build_argv: argc 1
>  183   37356 [main] null 61 dtable::build_fhandler: {stdin} - cb 60, fd 0, fh 0x1A0201DC
>  108   37464 [main] null 61 fhandler_base::init: created new fhandler_base for handle 0x1C0
>  103   37567 [main] null 61 dtable::init_std_file_from_handle: fd 0, handle 0x1C0
>  171   37738 [main] null 61 dtable::build_fhandler: {stdout} - cb 60, fd 1, fh 0x1A020A54
>  108   37846 [main] null 61 fhandler_base::init: created new fhandler_base for handle 0x1E4
>  100   37946 [main] null 61 dtable::init_std_file_from_handle: fd 1, handle 0x1E4
>  155   38101 [main] null 61 dtable::build_fhandler: {stderr} - cb 60, fd 2, fh 0x1A0212CC
>  104   38205 [main] null 61 fhandler_base::init: created new fhandler_base for handle 0x68
>  100   38305 [main] null 61 dtable::init_std_file_from_handle: fd 2, handle 0x68
>  161   38466 [main] null 61 open_shared: name (null), shared 0x1C520000 (wanted 0x0), h 0x1D0
>  123   38589 [main] null 61 tty_min::set_ctty: attached tty1073741824 sid 61, pid 61, tty->pgid 0, tty->sid 61
>  107   38696 [main] null 61 tty_min::set_ctty: resetting tty1073741824 sid.  Was 61, now 61.  pgid was 0, now 61.
>  106   38802 [main] null 61 dll_list::init: here
>   99   38901 [main] null 61 dll_crt0_1: user_data->main 0x401050
>  386   39287 [sig] null 61 wait_sig: sigcatch_nonmain 0x17C, sigcatch_main 0x3C
>  129   39416 [sig] null 61 wait_sig: Ready.  dwProcessid 61
>  122   39538 [main] null 61 sig_send: pid 61, signal -2, its_me 1
>  111   39649 [main] null 61 sig_send: Waiting for thiscomplete 0x168
>  108   39757 [sig] null 61 wait_sig: awake
>   98   39855 [sig] null 61 wait_sig: processing signal -2
>  104   39959 [sig] null 61 wait_sig: set main thread completion event
>   99   40058 [sig] null 61 wait_sig: looping
>  104   40162 [main] null 61 sig_send: returning 0 from sending signal -2
>  118   40280 [main] null 61 stat_worker: stat (/dev/null, 0x240F590)
>  112   40392 [main] null 61 normalize_posix_path: src /dev/null
>  103   40495 [main] null 61 normalize_posix_path: /dev/null = normalize_posix_path (/dev/null)
>  104   40599 [main] null 61 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/null)
>  103   40702 [main] null 61 normalize_posix_path: src /dev/null
>  100   40802 [main] null 61 normalize_posix_path: /dev/null = normalize_posix_path (/dev/null)
>  105   40907 [main] null 61 mount_info::conv_to_win32_path: src_path /dev/null, dst nul, flags 0x2
>  538   41445 [main] null 61 path_conv::check: GetVolumeInformation(nul) = ERR, this->path(nul), set_has_acls(FALSE)
>  133   41578 [main] ¶! 61 time: 994955350 = time (0)
>  114   41692 [main] ¶! 61 do_exit: do_exit (0)
>  103   41795 [main] ¶! 61 void: 0x0 = signal (20, 0x1)
>  100   41895 [main] ¶! 61 void: 0x0 = signal (1, 0x1)
>   97   41992 [main] ¶! 61 void: 0x0 = signal (2, 0x1)
>   96   42088 [main] ¶! 61 void: 0x0 = signal (3, 0x1)
>  100   42188 [main] ¶! 61 fhandler_base::close: handle 0x1C0
>  110   42298 [main] ¶! 61 fhandler_base::close: handle 0x1E4
>  104   42402 [main] ¶! 61 fhandler_base::close: handle 0x68
>  120   42522 [main] ¶! 61 proc_terminate: nchildren 0, nzombies 0
>  101   42623 [main] ¶! 61 proc_terminate: leaving
>   97   42720 [main] ¶! 61 sigproc_terminate: entering
>   99   42819 [main] ¶! 61 sigproc_terminate: done
>  319   43138 [main] ¶! 61 __to_clock_t: dwHighDateTime 0, dwLowDateTime 400576
>  103   43241 [main] ¶! 61 __to_clock_t: total 00000000 00000028
>  101   43342 [main] ¶! 61 __to_clock_t: dwHighDateTime 0, dwLowDateTime 200288
>  101   43443 [main] ¶! 61 __to_clock_t: total 00000000 00000014
>  100   43543 [main] ¶! 61 _pinfo::exit: Calling ExitProcess 0

>Exception: STATUS_ACCESS_VIOLATION at eip=610973EB
>eax=00000000 ebx=00000000 ecx=00000010 edx=00000000 esi=00401050 edi=00000000
>ebp=0240F624 esp=0240F61C program=c:\cygmnt\prj\msys\adhoc\junk\null.exe
>cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
>Stack trace:
>Frame     Function  Args
>0240F624  610973EB  (00000000, 00000000, 00000040, 61133584)
>0240FB44  61069B98  (6106A20E, 00401044, 00000000, 00000000)
>0240FB84  6106A244  (00401044, 00000000, 0240FBB4, 61004692)
>0240FBA4  6109891A  (00401044, 00000000, 0240FBD4, 0040105B)
>0240FBD4  0040106C  (00000001, 0A010FA8, 0A010008, 00400000)
>0240FC40  61004327  (00401050, 000000FF, 00000000, 00000000)
>0240FC70  61004561  (00401050, 000000FF, 00000000, 00000000)
>0240FC90  610045AD  (00000000, 00000000, 00000000, 00000000)
>0240FF90  004010D0  (00401050, 00000000, 00000030, 80A709E0)
>0240FFC0  0040103D  (000000FF, 0240F09C, 7FFDF000, 7FFDF000)
>0240FFF0  77E8B9E9  (00401000, 00000000, 000000B0, 00000100)
>End of stack trace

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/


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