This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: postinstall hang


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Popper, Samuel (US SSA) on 3/31/2008 2:48 PM:
|> I've tried to install cygwin now about 7 or 8 times but the
| postinstall
|> always hangs somewhere, in different scripts at different places.

Sounds like the classic symptoms of http://cygwin.com/acronyms/#BLODA

|
| I am still having this problem (as evidenced by previous messages).
| I've come up with a bash script "test case" that demonstrates the
| problem:
|
| $ NUM=1; while true ; do echo $NUM; NUM=$(( $NUM + 1 )); done
|
| will run indefinitely,

because it doesn't fork

|
| $ NUM=1; while true ; do echo `echo $NUM` ; NUM=$(( $NUM + 1 )); done
|
| Hangs pretty quickly,

because it forks a huge number of processes, and each fork is likely to be
tripped up by a BLODA

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfxmIAACgkQ84KuGfSFAYDrnQCg013LdKdLJLYMqGQrqHtSbNBc
HoUAnRVx0TOC0VpOLmK26SUtJ3NCWXrz
=Y5d3
-----END PGP SIGNATURE-----

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]