RE: Very strange rxvt problem - game hangs when it is running

2005-01-24 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Igor Pechtchanski
 Sent: 23 January 2005 02:33

   On Fri, 21 Jan 2005, Jonathan Arnold wrote:
  
1] Run Day of Defeat - connects and runs just fine.
   
2] Start rxvt.  Try DoD again. It gets about halfway
through its startup process, then hangs.
   
3] Quit rxvt and try again. DoD works fine.
   
I tried the same procedure with the regular Cygwin bash
shell, and it behaves the same way.
[snip]
Any ideas on what it could be?

 Seriously, though -- must be something in the Cygwin DLL 
 inner workings
 that's doing this, and it can't be the networking subsystem 
 (as 'sleep'
 doesn't use it, AFAIK).  One guess is that Cygwin interferes 

Igor -

  Remind me, what was the name of that really crappy PFW software that has
resource leak problems and is always messing up when cygwin apps come into the
picture?

Jonathan - 

  What PFW software are you using?

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today
 



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



RE: Very strange rxvt problem - game hangs when it is running

2005-01-24 Thread Igor Pechtchanski
On Mon, 24 Jan 2005, Dave Korn wrote:

  -Original Message-
  From: cygwin-owner On Behalf Of Igor Pechtchanski
  Sent: 23 January 2005 02:33

On Fri, 21 Jan 2005, Jonathan Arnold wrote:
   
 1] Run Day of Defeat - connects and runs just fine.

 2] Start rxvt.  Try DoD again. It gets about halfway
 through its startup process, then hangs.

 3] Quit rxvt and try again. DoD works fine.

 I tried the same procedure with the regular Cygwin bash
 shell, and it behaves the same way.
 [snip]
 Any ideas on what it could be?

  Seriously, though -- must be something in the Cygwin DLL
  inner workings
  that's doing this, and it can't be the networking subsystem
  (as 'sleep'
  doesn't use it, AFAIK).  One guess is that Cygwin interferes

 Igor -

   Remind me, what was the name of that really crappy PFW software that
 has resource leak problems and is always messing up when cygwin apps
 come into the picture?

Oh, that[*].  Yes, now that you mentioned it, I'm surprised nobody asked
that yet.  Good call -- could be just that.
Igor
[*] Don't recall the name, either.

 Jonathan -

   What PFW software are you using?

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



Re: Very strange rxvt problem - game hangs when it is running

2005-01-24 Thread Jonathan Arnold
Dave Korn wrote:
-Original Message-
From: cygwin-owner On Behalf Of Igor Pechtchanski
Sent: 23 January 2005 02:33

On Fri, 21 Jan 2005, Jonathan Arnold wrote:

1] Run Day of Defeat - connects and runs just fine.
2] Start rxvt.  Try DoD again. It gets about halfway
through its startup process, then hangs.
3] Quit rxvt and try again. DoD works fine.
I tried the same procedure with the regular Cygwin bash
shell, and it behaves the same way.
[snip]
Any ideas on what it could be?

Seriously, though -- must be something in the Cygwin DLL 
inner workings
that's doing this, and it can't be the networking subsystem 
(as 'sleep'
doesn't use it, AFAIK).  One guess is that Cygwin interferes 

Igor -
  Remind me, what was the name of that really crappy PFW software that has
resource leak problems and is always messing up when cygwin apps come into the
picture?
Jonathan - 

  What PFW software are you using?
I'm not exactly sure what PFW stands for, but if it means what firewall 
am I
using, then the answer would be I'm using a Netgear Firewall Router, and am
not using a software based solution.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
I feel like a fugitive from the law of averages. -
 William H. Mauldin

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


Re: Very strange rxvt problem - game hangs when it is running

2005-01-22 Thread Jonathan Arnold
Igor Pechtchanski wrote:
On Fri, 21 Jan 2005, Jonathan Arnold wrote:

Igor Pechtchanski wrote:
On Fri, 21 Jan 2005, Jonathan Arnold wrote:

Igor Pechtchanski wrote:

On Fri, 21 Jan 2005, Jonathan Arnold wrote:

1] Run Day of Defeat - connects and runs just fine.
2] Start rxvt.  Try DoD again. It gets about halfway through its
startup process, then hangs.
3] Quit rxvt and try again. DoD works fine.
I tried the same procedure with the regular Cygwin bash shell, and
it behaves the same way.
[snip]
Any ideas on what it could be?
A WAG, and I may be really off on this: Cygwin uses TCP/IP sockets
(which essentially require a TCP/IP port) to emulate Unix domain
sockets.  If rxvt reserves a Unix domain socket (even if it's not
using X), and DoD tries to access the same port, because it's
somehow predefined and it expects it to be free, there could be a
conflict.  I can't think of anything else in Cygwin that would
interfere with a (presumably) non-Cygwin application.
Well, unless the regular bash shell does it too, that probably isn't
correct. Like I said, it is very weird and it took me some time to
figure it out.
The regular bash that you tried is really a login shell.  That *can*
run X-related stuff, e.g., from /etc/profile.d scripts.  A real test would
be to try a non-login bash (just run c:\cygwin\bin\bash.exe -i from a
CMD prompt).  If that doesn't interfere with DoD, it would make my WAG
more probable.  Otherwise we'll have to look for other possible reasons.
Okay, I tried it this way too, and it still hangs DoD.  FWIW, running
MSYS (MinGW's bash), does not hang DoD.
Very Odd.

Yep.  Curiouser and curiouser...  Does *any* Cygwin process have that
effect?  Try running c:\cygwin\bin\sleep.exe 60 from a CMD prompt --
does *that* make DoD hang?
Strangely enough, yes that too does make DoD hang.
How very very strange.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
I feel like a fugitive from the law of averages. -
 William H. Mauldin
--
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/


Re: Very strange rxvt problem - game hangs when it is running

2005-01-22 Thread Igor Pechtchanski
On Sat, 22 Jan 2005, Jonathan Arnold wrote:

 Igor Pechtchanski wrote:
  On Fri, 21 Jan 2005, Jonathan Arnold wrote:
 
   1] Run Day of Defeat - connects and runs just fine.
  
   2] Start rxvt.  Try DoD again. It gets about halfway
   through its startup process, then hangs.
  
   3] Quit rxvt and try again. DoD works fine.
  
   I tried the same procedure with the regular Cygwin bash
   shell, and it behaves the same way.
   [snip]
   Any ideas on what it could be?
 
  A WAG, and I may be really off on this: Cygwin uses TCP/IP
  sockets (which essentially require a TCP/IP port) to emulate
  Unix domain sockets.  If rxvt reserves a Unix domain socket
  (even if it's not using X), and DoD tries to access the same
  port, because it's somehow predefined and it expects it to be
  free, there could be a conflict.  I can't think of anything
  else in Cygwin that would interfere with a (presumably)
  non-Cygwin application.

 Well, unless the regular bash shell does it too, that probably
 isn't correct. Like I said, it is very weird and it took me some
 time to figure it out.
   
The regular bash that you tried is really a login shell.  That
*can* run X-related stuff, e.g., from /etc/profile.d scripts.  A
real test would be to try a non-login bash (just run
c:\cygwin\bin\bash.exe -i from a CMD prompt).  If that doesn't
interfere with DoD, it would make my WAG more probable.
Otherwise we'll have to look for other possible reasons.
  
   Okay, I tried it this way too, and it still hangs DoD.  FWIW,
   running MSYS (MinGW's bash), does not hang DoD.
  
   Very Odd.
 
  Yep.  Curiouser and curiouser...  Does *any* Cygwin process have that
  effect?  Try running c:\cygwin\bin\sleep.exe 60 from a CMD prompt --
  does *that* make DoD hang?

 Strangely enough, yes that too does make DoD hang.

 How very very strange.

Well, I guess you found a reliable way to delay the startup of DoD on your
friends' computers for 20 seconds if you ever need to -- just install
Cygwin and run sleep 20. :-)

Seriously, though -- must be something in the Cygwin DLL inner workings
that's doing this, and it can't be the networking subsystem (as 'sleep'
doesn't use it, AFAIK).  One guess is that Cygwin interferes with one of
the DLLs that DoD needs to load, but that would result in a failure, not a
hang...  Other possibilities may be that Cygwin uses some Windows API call
that does something with the network on your system, and that freezes DoD
(in which case other applications may do this as well), or that the name
of some shared memory region coincides (I'm really grasping at straws
here, you know)...

See if the Windows Event Log contains any messages that could be connected
with this...  You might also want to try some of the system monitoring
tools at http://sysinternals.com/, to perhaps trace the DoD startup in
both cases and compare the traces...  In short, you'll probably have to
debug this yourself, sorry.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



Very strange rxvt problem - game hangs when it is running

2005-01-21 Thread Jonathan Arnold
This one is very specialized, and I don't expect to get it fixed, and
I have no idea why it should happen but I thought I'd throw it out
there anyway.
If I'm running rxvt, my online game Day of Defeat (a Half-Life
mod) hangs when finishing up connecting to a server.  It gets about
half way, and then just stops.  If I exit rxvt, it connects just
fine. Very strange.
And just to be sure, I tried it again now:
1] Run Day of Defeat - connects and runs just fine.
2] Start rxvt.  Try DoD again. It gets about halfway through its
startup process, then hangs.
3] Quit rxvt and try again. DoD works fine.
I tried the same procedure with the regular Cygwin bash shell, and
it behaves the same way.
I'm not sure exactly where in the connection process that DoD is
hanging; sometime after downloading the security module, for those of
you familiar with the game.
Any ideas on what it could be?
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
I feel like a fugitive from the law of averages. -
 William H. Mauldin
--
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/


Re: Very strange rxvt problem - game hangs when it is running

2005-01-21 Thread Igor Pechtchanski
On Fri, 21 Jan 2005, Jonathan Arnold wrote:

 This one is very specialized, and I don't expect to get it fixed, and
 I have no idea why it should happen but I thought I'd throw it out
 there anyway.

 If I'm running rxvt, my online game Day of Defeat (a Half-Life
 mod) hangs when finishing up connecting to a server.  It gets about
 half way, and then just stops.  If I exit rxvt, it connects just
 fine. Very strange.

 And just to be sure, I tried it again now:

 1] Run Day of Defeat - connects and runs just fine.

 2] Start rxvt.  Try DoD again. It gets about halfway through its
 startup process, then hangs.

 3] Quit rxvt and try again. DoD works fine.

 I tried the same procedure with the regular Cygwin bash shell, and
 it behaves the same way.

Do you mean that the regular Cygwin bash shell makes DoD hang too?  As in,
start a Command Prompt, run cygwin.bat from it, and DoD still hangs?

 I'm not sure exactly where in the connection process that DoD is
 hanging; sometime after downloading the security module, for those of
 you familiar with the game.

 Any ideas on what it could be?

A WAG, and I may be really off on this: Cygwin uses TCP/IP sockets (which
essentially require a TCP/IP port) to emulate Unix domain sockets.  If
rxvt reserves a Unix domain socket (even if it's not using X), and DoD
tries to access the same port, because it's somehow predefined and it
expects it to be free, there could be a conflict.  I can't think of
anything else in Cygwin that would interfere with a (presumably)
non-Cygwin application.

If my WAG pans out, it looks like a bug in DoD...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



Re: Very strange rxvt problem - game hangs when it is running

2005-01-21 Thread Jonathan Arnold
Igor Pechtchanski wrote:
On Fri, 21 Jan 2005, Jonathan Arnold wrote:
1] Run Day of Defeat - connects and runs just fine.
2] Start rxvt.  Try DoD again. It gets about halfway through its
startup process, then hangs.
3] Quit rxvt and try again. DoD works fine.
I tried the same procedure with the regular Cygwin bash shell, and
it behaves the same way.
Do you mean that the regular Cygwin bash shell makes DoD hang too?  As in,
start a Command Prompt, run cygwin.bat from it, and DoD still hangs?
More or less. I have a shortcut with the following:
D:\WINNT\system32\CMD.EXE /c D:\cygwin\cygwin.bat
And that makes DoD hang just like rxvt does.
Any ideas on what it could be?
A WAG, and I may be really off on this: Cygwin uses TCP/IP sockets (which
essentially require a TCP/IP port) to emulate Unix domain sockets.  If
rxvt reserves a Unix domain socket (even if it's not using X), and DoD
tries to access the same port, because it's somehow predefined and it
expects it to be free, there could be a conflict.  I can't think of
anything else in Cygwin that would interfere with a (presumably)
non-Cygwin application.
Well, unless the regular bash shell does it too, that probably isn't
correct. Like I said, it is very weird and it took me some time to
figure it out.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
I feel like a fugitive from the law of averages. -
 William H. Mauldin
--
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/


Re: Very strange rxvt problem - game hangs when it is running

2005-01-21 Thread Igor Pechtchanski
On Fri, 21 Jan 2005, Jonathan Arnold wrote:

 Igor Pechtchanski wrote:
  On Fri, 21 Jan 2005, Jonathan Arnold wrote:
 
   1] Run Day of Defeat - connects and runs just fine.
  
   2] Start rxvt.  Try DoD again. It gets about halfway through its
   startup process, then hangs.
  
   3] Quit rxvt and try again. DoD works fine.
  
   I tried the same procedure with the regular Cygwin bash shell, and
   it behaves the same way.
 
  Do you mean that the regular Cygwin bash shell makes DoD hang too?  As in,
  start a Command Prompt, run cygwin.bat from it, and DoD still hangs?

 More or less. I have a shortcut with the following:

 D:\WINNT\system32\CMD.EXE /c D:\cygwin\cygwin.bat

 And that makes DoD hang just like rxvt does.

   Any ideas on what it could be?
 
  A WAG, and I may be really off on this: Cygwin uses TCP/IP sockets (which
  essentially require a TCP/IP port) to emulate Unix domain sockets.  If
  rxvt reserves a Unix domain socket (even if it's not using X), and DoD
  tries to access the same port, because it's somehow predefined and it
  expects it to be free, there could be a conflict.  I can't think of
  anything else in Cygwin that would interfere with a (presumably)
  non-Cygwin application.

 Well, unless the regular bash shell does it too, that probably isn't
 correct. Like I said, it is very weird and it took me some time to
 figure it out.

The regular bash that you tried is really a login shell.  That *can*
run X-related stuff, e.g., from /etc/profile.d scripts.  A real test would
be to try a non-login bash (just run c:\cygwin\bin\bash.exe -i from a
CMD prompt).  If that doesn't interfere with DoD, it would make my WAG
more probable.  Otherwise we'll have to look for other possible reasons.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



Re: Very strange rxvt problem - game hangs when it is running

2005-01-21 Thread Jonathan Arnold
Igor Pechtchanski wrote:
On Fri, 21 Jan 2005, Jonathan Arnold wrote:
Igor Pechtchanski wrote:
On Fri, 21 Jan 2005, Jonathan Arnold wrote:
1] Run Day of Defeat - connects and runs just fine.
2] Start rxvt.  Try DoD again. It gets about halfway through its
startup process, then hangs.
3] Quit rxvt and try again. DoD works fine.
I tried the same procedure with the regular Cygwin bash shell, and
it behaves the same way.
Do you mean that the regular Cygwin bash shell makes DoD hang too?  As in,
start a Command Prompt, run cygwin.bat from it, and DoD still hangs?
More or less. I have a shortcut with the following:
D:\WINNT\system32\CMD.EXE /c D:\cygwin\cygwin.bat
And that makes DoD hang just like rxvt does.

Any ideas on what it could be?
A WAG, and I may be really off on this: Cygwin uses TCP/IP sockets (which
essentially require a TCP/IP port) to emulate Unix domain sockets.  If
rxvt reserves a Unix domain socket (even if it's not using X), and DoD
tries to access the same port, because it's somehow predefined and it
expects it to be free, there could be a conflict.  I can't think of
anything else in Cygwin that would interfere with a (presumably)
non-Cygwin application.
Well, unless the regular bash shell does it too, that probably isn't
correct. Like I said, it is very weird and it took me some time to
figure it out.

The regular bash that you tried is really a login shell.  That *can*
run X-related stuff, e.g., from /etc/profile.d scripts.  A real test would
be to try a non-login bash (just run c:\cygwin\bin\bash.exe -i from a
CMD prompt).  If that doesn't interfere with DoD, it would make my WAG
more probable.  Otherwise we'll have to look for other possible reasons.
Okay, I tried it this way too, and it still hangs DoD.  FWIW, running
MSYS (MinGW's bash), does not hang DoD.
Very Odd.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
I feel like a fugitive from the law of averages. -
 William H. Mauldin
--
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/


Re: Very strange rxvt problem - game hangs when it is running

2005-01-21 Thread Igor Pechtchanski
On Fri, 21 Jan 2005, Jonathan Arnold wrote:

 Igor Pechtchanski wrote:
  On Fri, 21 Jan 2005, Jonathan Arnold wrote:
 
   Igor Pechtchanski wrote:
  
On Fri, 21 Jan 2005, Jonathan Arnold wrote:
   
 1] Run Day of Defeat - connects and runs just fine.

 2] Start rxvt.  Try DoD again. It gets about halfway through its
 startup process, then hangs.

 3] Quit rxvt and try again. DoD works fine.

 I tried the same procedure with the regular Cygwin bash shell, and
 it behaves the same way.
 [snip]
 Any ideas on what it could be?
   
A WAG, and I may be really off on this: Cygwin uses TCP/IP sockets
(which essentially require a TCP/IP port) to emulate Unix domain
sockets.  If rxvt reserves a Unix domain socket (even if it's not
using X), and DoD tries to access the same port, because it's
somehow predefined and it expects it to be free, there could be a
conflict.  I can't think of anything else in Cygwin that would
interfere with a (presumably) non-Cygwin application.
  
   Well, unless the regular bash shell does it too, that probably isn't
   correct. Like I said, it is very weird and it took me some time to
   figure it out.
 
  The regular bash that you tried is really a login shell.  That *can*
  run X-related stuff, e.g., from /etc/profile.d scripts.  A real test would
  be to try a non-login bash (just run c:\cygwin\bin\bash.exe -i from a
  CMD prompt).  If that doesn't interfere with DoD, it would make my WAG
  more probable.  Otherwise we'll have to look for other possible reasons.

 Okay, I tried it this way too, and it still hangs DoD.  FWIW, running
 MSYS (MinGW's bash), does not hang DoD.

 Very Odd.

Yep.  Curiouser and curiouser...  Does *any* Cygwin process have that
effect?  Try running c:\cygwin\bin\sleep.exe 60 from a CMD prompt --
does *that* make DoD hang?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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