This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Strange delays - need to recompile bash for latest snapshot?
- To: cygwin at sourceware dot cygnus dot com
- Subject: Strange delays - need to recompile bash for latest snapshot?
- From: "Philip Aston" <philipa at parallax dot co dot uk>
- Date: Fri, 24 Sep 1999 17:59:19 +0100 (GMT+1:00)
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
<snip>
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
<snip>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com