Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Mailer: 21.1 (patch 3) "Acadia" XEmacs Lucid (via feedmail 8 Q); VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid From: "Philip Aston" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14315.44519.82000.190716@parallax.co.uk> Date: Fri, 24 Sep 1999 17:59:19 +0100 (GMT+1:00) To: cygwin AT sourceware DOT cygnus DOT com Subject: Strange delays - need to recompile bash for latest snapshot? Hi, A few days ago someone reported random delays under the latest cygwin1.dll. I saw the same, and cgf's 'its fixed in the latest version' message - so I grabbed the cygwin1-1990917.dll and cygwin-inst-1990913.tar. This still appears to have some delays when access the file system [1]. Using strace bash, I see a large pause in several calls to lookup_name, followed by a Win32 error - see below. I guess this is down to the security changes. Do I need to recompile bash? I've succesfully dropped in snapshots before, and the I didn't bother with the cygwin-inst file. Am I wrong in thinking that cygwin1-1990917 and cygwin-inst-1990913 are all I need? BTW I made the first step at recompiling bash from the old user-src I have lying around, but failed at the first hurdle: PS02235:philipa% cd /usr/local/src/cygwin-distsrc/ /usr/local/src/cygwin-distsrc PS02235:philipa% ./configure Configuring for a i686-pc-cygwin32 host. Created "Makefile" in /usr/local/src/cygwin-distsrc using "mh-frag" /bin/ld: cannot open crt0.o: No such file or directory collect2: ld returned 1 exit status *** The command 'gcc -o conftest -g -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler. This and everything else works fine with an old dll - my train journey is coming to an end, so I've decided to give in and revert back to the earlier dll... Thanks, Phil Footnotes: [1] My file system is FAT 672 645215 [main] ls 1017 hinfo::de_linearize_fd_array: fd 1, name {stdout}, win32 name \dev\pipe, status 0x18008 501 646255 [main] ls 1017 hinfo::build_fhandler: - cb 64, fd 1, fh 0xA031148 494 655509 [main] ls 1017 fhandler_base::de_linearize: access_ 0x40000000, status 0x18008, io_handle 0xEC, output_handle 0xEC 539 656048 [main] ls 1017 hinfo::de_linearize_fd_array: len 83 12027 668075 [main] ls 1017 hinfo::de_linearize_fd_array: fd 2, name {stderr}, win32 name \dev\pipe, status 0x18008 622 669257 [main] ls 1017 hinfo::build_fhandler: - cb 64, fd 2, fh 0xA031250 493 670785 [main] ls 1017 fhandler_base::de_linearize: access_ 0x40000000, status 0x18008, io_handle 0x100, output_handle 0x100 541 671326 [main] ls 1017 hinfo::de_linearize_fd_array: len 83 649 671975 [main] ls 1017 pinfo_init: pid 1017, pgid 1014 2073 674048 [main] ls 1017 __get_signal_mutex: acquired for ../../../sdevo/winsup/debug.cc:71 696 674744 [main] ls 1017 __release_signal_mutex: released at ../../../sdevo/winsup/debug.cc:80 42722 717466 [main] ls 1017 sigproc_init: process/signal handling enabled(10C1) 1000 718466 [main] ls 1017 dll_crt0_1: Application CYGWIN version: 20.1, api: 0.0 723 719189 [main] ls 1017 dll_crt0_1: CYGWIN DLL version: 22.0, api: 0.15 561 720482 [main] ls 1017 build_argv: argv[0] = 'ls' 713 721195 [main] ls 1017 build_argv: argv[1] = '/usr/local/src' 710 721905 [main] ls 1017 build_argv: argv[2] = '(null)' 2191 724096 [main] ls 1017 DllList::initAll: call to DllList::initAll 744 724840 [main] ls 1017 dll_crt0_1: user_data->main 0x40167C 36170 761010 [sig] ls 1017 lookup_name: name: philipa ** Pause here! ** 11337 772347 [sig] ls 1017 lookup_name: LookupAccountName(philipa) Win32 error +1332 759 773106 [sig] ls 1017 ../../../sdevo/winsup/security.cc:183 seterrno: unknown error 1332 930 774036 [sig] ls 1017 wait_sig: sigcatch_nonmain 0x28 541 774577 [sig] ls 1017 wait_sig: subproc_ready 0x15C 873095 86546516 [main] ls 1017! spawn_guts: res = 20000 545 86547061 [main] ls 1017! my_parent_is_alive: parent still alive 957 86548018 [main] ls 1017! spawn_guts: parent = 0xA01C770 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com