Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <43677321.9070902@scytek.de> Date: Tue, 01 Nov 2005 08:52:33 -0500 From: Volker Quetschke User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Hang with 1.5.18, 1.5.19 snapshot 20051029 References: <34588B2E-B3B4-4B12-A1C2-7D0AD150E475 AT rehley DOT net> In-Reply-To: <34588B2E-B3B4-4B12-A1C2-7D0AD150E475@rehley.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1E1243F8ADFCF5C8C4630225" X-IsSubscribed: yes --------------enig1E1243F8ADFCF5C8C4630225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi! Peter Rehley wrote: > I have a problem where a configure script is hanging. I first saw the > behavior in 1.5.18, and it's still there in the latest snapshot. The > only machines that we are seeing it hang on are windows 2000 machines, > sp4, with duel pentinum 933 mhz processors, and using ssh to login to > the machine. I haven't been able to reproduce the problem on single > processor machines or when ssh is not used. > > Under 1.5.18, the hang occurred about 1 in ten times in the > test_configure script (provided in the bash_test.tar.bz2 file. Under > the latest snapshot it's about 1 in 900. > > When the hang happens it appears that a process is completed, but still > can be found in the process directory. The cmdline file says > , but the process still shows up in the process list (ps - > ef). If I try to clean up by killing the process, the kill command > says that the process doesn't exist. The only way that I can make the > hung process go away is by using the task manager to kill the process. Your symptoms look familiar to our OOo build hang. I'm curious if in your case a: $ ls /proc//fd also cures the hang. (Sometimes this has to be issued several times.) Volker > > The simplest test I've gotten down to is: > > ### Simple Test > #! /bin/sh > # Guess values for system-dependent variables and create Makefiles. > # Generated by GNU Autoconf 2.59 for expr-configure 1.5.11-1. > # > # Report bugs to . > # > # Copyright (C) 2003 Free Software Foundation, Inc. > # This configure script is free software; the Free Software Foundation > # gives unlimited permission to copy, distribute and modify it. > ## --------------------- ## > ## M4sh Initialization. ## > ## --------------------- ## > > set -xv > > count=0 > while [ ! -f stop ] ; do > as_var=LC_MONETARY > if (test -z "`(eval $as_var=C; export $as_var; echo ho) 2>&1`"); then > echo "hi" > eval $as_var=C; export $as_var > fi > count=`expr $count + 1` > echo $count > done > ### End simple test > > Someplace in the eval line the hang occurs. Unfortunately I haven't > had success when using strace. > > If I've missed anything or there are questions about the above, please > let me know. > Peter > > > > > > > > > > ------------------------------------------------------------------------ > > -- > 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/ -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D --------------enig1E1243F8ADFCF5C8C4630225 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDZ3MlPTXJup+KeF0RAtgSAJ981IT1xWejGCF73LRQ54gdxDxLsgCgnM2n 250z2uNjG8fwMgJ8gQWE93s= =qtv8 -----END PGP SIGNATURE----- --------------enig1E1243F8ADFCF5C8C4630225--