On Aug 12 04:59, mku wrote: > I compared strace output between the 2.2 and 1.7.28 installation and it > seems, that loading the dll files before the cygheap_user log entry is > responsible for the time lag. > If I look to the strace output from 1.7.28 the following lines (without the > dll loads) are shown: > +++ 8< ------ > 31 9709 [main] ls 64316 pinfo_init: Set nice to 0 > 19 9728 [main] ls 64316 pinfo_init: pid 64316, pgid 64316, > process_state 0x41 > 17 9745 [main] ls 64316 App version: 1007.10, api: 0.259 > 19 9764 [main] ls 64316 DLL version: 1007.28, api: 0.271 > 17 9781 [main] ls 64316 DLL build: 2014-02-09 21:06 > 19 9800 [main] ls 64316 dtable::extend: size 32, fds 0x612AD6C4 > 319 10119 [main] ls 64316 pwdgrp::load: \etc\passwd curr_lines 8 > 30 10149 [main] ls 64316 pwdgrp::load: \etc\passwd load succeeded > 323 10472 [main] ls 64316 pwdgrp::load: \etc\group curr_lines 58 > 35 10507 [main] ls 64316 pwdgrp::load: \etc\group load succeeded > 26 10533 [main] ls 64316 cygheap_user::ontherange: what 2, pw > 0x8003A770 > 25 10558 [main] ls 64316 cygheap_user::ontherange: HOME is already in > the environment /home/ > 120 10678 [main] ls 64316 internal_setlocale: Cygwin charset changed > from UTF-8 to ISO-8859-1 > 62 10740 [main] ls 64316 build_argv: argv[0] = 'ls' > 19 10759 [main] ls 64316 build_argv: argv[1] = '-lrt' > --- 8< ------- > Yes, this Version has nsswitch.conf in the default configuration (with db > entries) so you see the pwdgrp log entries but it is very fast. > Perhaps this helps in finding the problem. Thanks, but I think this is a red herring. The strace from 1.7.28 didn't even print the dll loads. This is an extension to strace which has been added with Cygwin 2.1.0. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat