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: Reproducible hang with unusual border conditions


Hi Larry,

Larry Hall (Cygwin) wrote:
On 04/26/2006, Volker Quetschke wrote:

1. It only hangs from rxvt. (Invoked with shortlink from desktop to:
C:\cygwin\bin\rxvt.exe -cr green -sl 1000 -tn linux -e /usr/bin/bash --login -i)
I guess the actual switches don't matter. Startting the following example from
the bash that is started from the cygwin icon (cygwin.bat) didn't show the problem
so far.

Will it reproduce from bash in a command prompt if you set 'tty' in your CYGWIN environment variable first?

I tried that already yesterday but didn't report back. No, even after several hours running in a bash from from a comand prompt with CYGWIN=tty set before starting bash I cannot reproduce that starnge hang.

Volker

P.S.: I'm actually not very interested in this 4nt hang, but I wonder if the
original problem is also related to the pipe problem
  <http://cygwin.com/ml/cygwin/2006-04/msg00899.html>
but I don't know if redirecting output with dup() also triggers
the pipe problem. That is at least where the hang in the OOo build seems
to occur. A process started posix_spawnp() or execvp() with it's output
redirected seems to hang sometimes.

P.P.S: I'd like to verify my theory, but it only hangs for other people
and works fine here.

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

Attachment: signature.asc
Description: OpenPGP digital signature


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