public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to destroy cygwin X server
@ 2014-01-31  8:58 l.wood
  2014-01-31 13:14 ` Marco Atzeri
  2014-01-31 13:58 ` How to destroy a cygwin terminal Jon TURNEY
  0 siblings, 2 replies; 7+ messages in thread
From: l.wood @ 2014-01-31  8:58 UTC (permalink / raw)
  To: cygwin

In cygwin X window, type:

cd /
ls */*/*


xinit: connection to X server lost

waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
winClipboardProc - XDestroyWindow succeeded.
winClipboardIOErrorHandler!
winMultiWindowXMsgProcIOErrorHandler!
winInitMultiWindowXMsgProc - Caught IO Error.  Exiting.
winDeinitMultiWindowWM - Noting shutdown in progress
(EE) Server terminated successfully (0). Closing log file.

I somehow feel this should be handled... more elegantly.


Lloyd Wood
http://about.me/lloydwood
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: How to destroy cygwin X server
  2014-01-31  8:58 How to destroy cygwin X server l.wood
@ 2014-01-31 13:14 ` Marco Atzeri
  2014-01-31 13:58 ` How to destroy a cygwin terminal Jon TURNEY
  1 sibling, 0 replies; 7+ messages in thread
From: Marco Atzeri @ 2014-01-31 13:14 UTC (permalink / raw)
  To: cygwin



On 31/01/2014 09:58, l.wood@surrey.ac.uk wrote:
> In cygwin X window, type:
>
> cd /
> ls */*/*
>
>
> xinit: connection to X server lost
>
> waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
> winClipboardProc - XDestroyWindow succeeded.
> winClipboardIOErrorHandler!
> winMultiWindowXMsgProcIOErrorHandler!
> winInitMultiWindowXMsgProc - Caught IO Error.  Exiting.
> winDeinitMultiWindowWM - Noting shutdown in progress
> (EE) Server terminated successfully (0). Closing log file.
>
> I somehow feel this should be handled... more elegantly.
>
>
> Lloyd Wood

for what I can see the xterm crash, not the Xserver

and I will bet when you are looking on /proc/*/*

Marco




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: How to destroy a cygwin terminal
  2014-01-31  8:58 How to destroy cygwin X server l.wood
  2014-01-31 13:14 ` Marco Atzeri
@ 2014-01-31 13:58 ` Jon TURNEY
  2014-01-31 18:16   ` Marco Atzeri
  1 sibling, 1 reply; 7+ messages in thread
From: Jon TURNEY @ 2014-01-31 13:58 UTC (permalink / raw)
  To: cygwin; +Cc: l.wood

On 31/01/2014 08:58, l.wood@surrey.ac.uk wrote:
> In cygwin X window, type:
> 
> cd /
> ls */*/*

Heh. What an interesting bug.

However, it doesn't seem to be an X server bug.  Typing the same commands into
a mintty causes that to exit as well.

> xinit: connection to X server lost
> 
> waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
> winClipboardProc - XDestroyWindow succeeded.
> winClipboardIOErrorHandler!
> winMultiWindowXMsgProcIOErrorHandler!
> winInitMultiWindowXMsgProc - Caught IO Error.  Exiting.
> winDeinitMultiWindowWM - Noting shutdown in progress
> (EE) Server terminated successfully (0). Closing log file.

On 31/01/2014 13:13, Marco Atzeri wrote:
>> for what I can see the xterm crash, not the Xserver

What is happening here is that the X server has been started with xinit or
startx, and the command is typed into the initial xterm.  When that exits, the
X server is shut down to.

>> and I will bet when you are looking on /proc/*/*

Wrong guess :)
'ls proc/*/*' doesn't seem to reproduce it, but 'ls dev/*/*' does.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: How to destroy a cygwin terminal
  2014-01-31 13:58 ` How to destroy a cygwin terminal Jon TURNEY
@ 2014-01-31 18:16   ` Marco Atzeri
  2014-01-31 19:04     ` Corinna Vinschen
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Atzeri @ 2014-01-31 18:16 UTC (permalink / raw)
  To: cygwin



On 31/01/2014 14:58, Jon TURNEY wrote:
> On 31/01/2014 08:58, l.wood@surrey.ac.uk wrote:

>
>>> and I will bet when you are looking on /proc/*/*
>
> Wrong guess :)
> 'ls proc/*/*' doesn't seem to reproduce it, but 'ls dev/*/*' does.

yeah, ls proc/*/* just freeze ls on my xterm

Cheers
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: How to destroy a cygwin terminal
  2014-01-31 18:16   ` Marco Atzeri
@ 2014-01-31 19:04     ` Corinna Vinschen
  2014-01-31 19:28       ` Corinna Vinschen
  0 siblings, 1 reply; 7+ messages in thread
From: Corinna Vinschen @ 2014-01-31 19:04 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

On Jan 31 19:16, Marco Atzeri wrote:
> 
> 
> On 31/01/2014 14:58, Jon TURNEY wrote:
> >On 31/01/2014 08:58, l.wood@surrey.ac.uk wrote:
> 
> >
> >>>and I will bet when you are looking on /proc/*/*
> >
> >Wrong guess :)
> >'ls proc/*/*' doesn't seem to reproduce it, but 'ls dev/*/*' does.

Looks like a bash problem.  I can reproduce this only in bash,
but not in dash or tcsh.


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: How to destroy a cygwin terminal
  2014-01-31 19:04     ` Corinna Vinschen
@ 2014-01-31 19:28       ` Corinna Vinschen
  2014-02-01 16:28         ` Corinna Vinschen
  0 siblings, 1 reply; 7+ messages in thread
From: Corinna Vinschen @ 2014-01-31 19:28 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

On Jan 31 20:04, Corinna Vinschen wrote:
> On Jan 31 19:16, Marco Atzeri wrote:
> > 
> > 
> > On 31/01/2014 14:58, Jon TURNEY wrote:
> > >On 31/01/2014 08:58, l.wood@surrey.ac.uk wrote:
> > 
> > >
> > >>>and I will bet when you are looking on /proc/*/*
> > >
> > >Wrong guess :)
> > >'ls proc/*/*' doesn't seem to reproduce it, but 'ls dev/*/*' does.
> 
> Looks like a bash problem.  I can reproduce this only in bash,
> but not in dash or tcsh.

Btw., I was referring to the /dev/*/* crash, I can not reproduce a
hang for /proc/*/*.

As far as the /dev/*/* crash is concerned, it should be fixed in CVS.


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: How to destroy a cygwin terminal
  2014-01-31 19:28       ` Corinna Vinschen
@ 2014-02-01 16:28         ` Corinna Vinschen
  0 siblings, 0 replies; 7+ messages in thread
From: Corinna Vinschen @ 2014-02-01 16:28 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

On Jan 31 20:28, Corinna Vinschen wrote:
> On Jan 31 20:04, Corinna Vinschen wrote:
> > On Jan 31 19:16, Marco Atzeri wrote:
> > > 
> > > 
> > > On 31/01/2014 14:58, Jon TURNEY wrote:
> > > >On 31/01/2014 08:58, l.wood@surrey.ac.uk wrote:
> > > 
> > > >
> > > >>>and I will bet when you are looking on /proc/*/*
> > > >
> > > >Wrong guess :)
> > > >'ls proc/*/*' doesn't seem to reproduce it, but 'ls dev/*/*' does.
> > 
> > Looks like a bash problem.  I can reproduce this only in bash,
> > but not in dash or tcsh.
> 
> Btw., I was referring to the /dev/*/* crash, I can not reproduce a
> hang for /proc/*/*.
> 
> As far as the /dev/*/* crash is concerned, it should be fixed in CVS.

I created a new snapshot with this patch:

  http://www.cygwin.com/snapshots/


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2014-02-01 16:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31  8:58 How to destroy cygwin X server l.wood
2014-01-31 13:14 ` Marco Atzeri
2014-01-31 13:58 ` How to destroy a cygwin terminal Jon TURNEY
2014-01-31 18:16   ` Marco Atzeri
2014-01-31 19:04     ` Corinna Vinschen
2014-01-31 19:28       ` Corinna Vinschen
2014-02-01 16:28         ` Corinna Vinschen

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).