public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin-1.7.0-3 problem (wet paint version)
@ 2008-04-20 12:10 Trevor Forbes
  2008-04-21  9:18 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Trevor Forbes @ 2008-04-20 12:10 UTC (permalink / raw)
  To: cygwin


I access my windows XP PC either via rdesktop or ssh on a Linux Gentoo 
PC. (Note I use using XPUnlimited to get multiple rdesktops)  Using 
Cygwin-1.7.0-3  I found I can run Cygwin application via ssh or rdesktop 
but not both at the same time.

In the rdesktop session I get the following error if I have a ssh 
session already running

Trimmed strace from rdesktop running "strace env":

 8729 1353365 [main] env 2140 init_cygheap::manage_console_count: 
fhandler_console::open: console_count 1, amount 1, ctty /dev/console, 
avoid_freeing_console 0
19739 1373104 [main] env 2140 fhandler_console::open: opened conin$ 0xF, 
conout$ 0x13
10200 1383304 [main] env 2140 fhandler_console::output_tcsetattr: 0 = 
tcsetattr (,60FE001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
10248 1393552 [main] env 2140 fhandler_console::input_tcsetattr: 0 = 
tcsetattr (,60FE001C) enable flags 0x18, c_lflag 0x0 iflag 0x0
 8875 1402427 [main] env 2140 init_cygheap::manage_console_count: 
fhandler_tty_master::init_console: console_count 0, amount -1, ctty 
/dev/console, av oid_freeing_console 1
17300 1419727 [main] env 2140 fhandler_console::output_tcsetattr: 0 = 
tcsetattr (,22CA70) (ENABLE FLAGS 3) (lflag 0 oflag 0)
 8949 1428676 [main] env 2140 fhandler_pipe::create_selectable: 
CreateNamedPipe: name \\.\pipe\cygwin-tty0-from-master, size 131072
 9257 1437933 [main] env 2140 fhandler_pipe::create_selectable: pipe 
busy, retrying
 8438 1446371 [main] env 2140 seterrno_from_win_error: 
/ext/build/netrel/src/cygwin-1.7.0-3/winsup/cygwin/fhandler_tty.cc:1449 
windows error 231
 8551 1454922 [main] env 2140 geterrno_from_win_error: windows error 231 
== errno 16
 9108 1464030 [main] env 2140 __set_errno: void 
seterrno_from_win_error(const char*, int, DWORD):313 val 16
 9068 1473098 [main] env 2140 fhandler_pty_master::setup: tty1628914200 
open failed - failed to create
1482243 [main] env 2140 E:\cygwin\bin\env.exe: *** fatal error - Can't 
create master tty
 9145 1482243 [main] env 2140 E:\cygwin\bin\env.exe: *** fatal error - 
Can't create master tty

trimmed output of plist on rdesktop (I had 2 ssh sessions running):

cygwin-0x314-0x1                                  1                1
cygwin-tty0-from-master                           1                1
cygwin-tty0-to-master                             1                1
Win32Pipes.0000077c.00000003                      1                1
Win32Pipes.000009b4.00000001                      1                1
Win32Pipes.00000734.00000005                      1                1
Win32Pipes.000002f0.00000001                      1                1
cygwin-0xBC0-0x1                                  1                1
cygwin-tty1-from-master                           1                1
cygwin-tty1-to-master                             1                1
Win32Pipes.000002f0.00000003                      1                1
Win32Pipes.00000e1c.00000001                      1                1

$ ps -ef
     UID     PID    PPID TTY     STIME COMMAND
SYSTEM    1504       1   ?  11:00:29 /usr/bin/cygrunsrv
SYSTEM    1636       1   ?  11:00:30 /usr/bin/cygrunsrv
SYSTEM    1552    1504   ?  11:00:29 /usr/sbin/cygserver
SYSTEM    1768    1636   ?  11:00:30 /usr/sbin/sshd
SYSTEM     788    1768   ?  11:08:43 /usr/sbin/sshd
trevor2    2496     788   0  11:08:51 /usr/bin/bash
SYSTEM    3008    1768   ?  11:22:31 /usr/sbin/sshd
trevor2    2972    3008   1  11:22:40 /usr/bin/bash
trevor2    1052    2972   1  14:13:14 /usr/bin/ps

I haven't looked at the code but it appears the rdesktop cygwin session 
is trying to create a named pipe that is already in use by ssh.


Regards Trevor



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cygwin-1.7.0-3 problem (wet paint version)
  2008-04-20 12:10 Cygwin-1.7.0-3 problem (wet paint version) Trevor Forbes
@ 2008-04-21  9:18 ` Corinna Vinschen
  2008-04-23 13:00   ` Trevor Forbes
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2008-04-21  9:18 UTC (permalink / raw)
  To: cygwin

On Apr 20 14:52, Trevor Forbes wrote:
>
> I access my windows XP PC either via rdesktop or ssh on a Linux Gentoo PC. 
> (Note I use using XPUnlimited to get multiple rdesktops)  Using 
> Cygwin-1.7.0-3  I found I can run Cygwin application via ssh or rdesktop 
> but not both at the same time.

Strange.  But I'm still heavily working on this stuff.  With my current
local code I can't reproduce this, neither on XP, nor on 2K8.  I guess
I'll check in my changes and create a 1.7.0-4 today, so you have
something new for testing.


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cygwin-1.7.0-3 problem (wet paint version)
  2008-04-21  9:18 ` Corinna Vinschen
@ 2008-04-23 13:00   ` Trevor Forbes
  0 siblings, 0 replies; 3+ messages in thread
From: Trevor Forbes @ 2008-04-23 13:00 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:
> On Apr 20 14:52, Trevor Forbes wrote:
>   
>> I access my windows XP PC either via rdesktop or ssh on a Linux Gentoo PC. 
>> (Note I use using XPUnlimited to get multiple rdesktops)  Using 
>> Cygwin-1.7.0-3  I found I can run Cygwin application via ssh or rdesktop 
>> but not both at the same time.
>>     
>
> Strange.  But I'm still heavily working on this stuff.  With my current
> local code I can't reproduce this, neither on XP, nor on 2K8.  I guess
> I'll check in my changes and create a 1.7.0-4 today, so you have
> something new for testing.
>
>
> Thanks for the report,
> Corinna
>
>   
That fixed the problem although I not sure why looking at the changes...

Thanks for all the great work...
Trevor

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-23 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-20 12:10 Cygwin-1.7.0-3 problem (wet paint version) Trevor Forbes
2008-04-21  9:18 ` Corinna Vinschen
2008-04-23 13:00   ` Trevor Forbes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).