[cygcheck] produces repeated output - 6 times!

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon May 4 15:18:00 GMT 2009


On Mon, May 04, 2009 at 03:11:02PM +0000, Greg Chicares wrote:
>On 2009-05-04 14:44Z, Thrall, Bryan wrote:
>> Corinna Vinschen wrote on Monday, May 04, 2009 3:25 AM:
>>> On Apr 28 11:47, Julio Costa wrote:
>>>> Bug in cygcheck? Or bug in user? :)
>>> 
>>> Bug in user as far as the position of the -v option is concerned.
>> 
>> I can reproduce it; some more details:
>> 
>> - 'cygcheck /bin/ash.exe -v' returns 127
>> - it doesn't happen if run from cmd.exe
>> - '/bin/ash.exe -v' from inside bash works just fine
>> 
>> Isn't there a feature of Cygwin where it tries 5 or 6 times to restart
>> Windows apps (such as cygcheck) if they fail in a certain way? That
>> could explain the repeated output (i.e. cygcheck is trying to do the
>> documented 'cygcheck [PROGRAM] -v' thing but there's a bug), but my
>> search fu wasn't able to bring up any results.
>
>Search for 'proc_retry' in the User's Guide.
>
>Try setting
>  CYGWIN=proc_retry:1
>to see whether that's what's happening in this case.

If it is, then cygcheck would be exiting with a bad status and bash
would be causing cygcheck to restart.  You wouldn't see the problem from
the windows command line.

cygcheck itself would not be redoing anything because 1) it isn't a true
cygwin program and 2) it isn't starting a process when it displays dll
information.

cgf

--
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