Re: Cygwin/X : display error with latest x-related packages

2015-03-31 Thread Ceuso
Ceuso https://www.cygwin.com/ml/cygwin-xfree-announce/2015-02/msg00014.html

NOTEWORTHY CHANGES IN 1.17
==

'-nolisten tcp' is now the default, so the server only accepts local 
connections on a unix domain socket. A '-listen' option has been added which 
can be used to restore the previous behaviour.




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



Re: Cygwin/X : display error with latest x-related packages

2015-03-31 Thread Ceuso
xflr6  orange.fr> writes:

> 
> Dear Cygwin/X users and developpers,
> 
> I recently experienced a problem with a program using the X window system.
> With the latest Cygwin release, the latter is not able to open the 
display, whereas with previous versions
> of cygwin (+ the x-window machinery, i.e the Cygwin/X installation as 
described in the installation
> notes, with xlaunch, xinit, xorg-server etc.) (prior to mid-February 
2015), it was working correctly.
> Other programs using the X window system, such as ghostview for example, 
is working correctly on my installation.
> I have seen on the Cygwin/X news that X server and X.Org X11 packages have 
been upgraded to newer versions,
> and I was wondering if there was a known loss of backward compatibility 
with these fresh versions (even a
> simple change, like in the DISPLAY variable or something like that) ?
> 
> Best regards,
> xflr6
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://x.cygwin.com/docs/
> FAQ:   http://x.cygwin.com/docs/faq/
> 
> 

seeing similar behavior here after upgrading to:
$ uname -a
CYGWIN_NT-6.1-WOW xxx 1.7.35(0.287/5/3) 2015-03-04 12:07 i686 Cygwin

It seems that the server is not opening the tcp/6000 port for remote 
connections.






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



Re: Cygwin XWin 1.17.1 crash at startup

2015-03-31 Thread Marco Atzeri

On 3/31/2015 8:36 PM, Michel Poirier wrote:

Dear Cygwin maintainer

Since last X-Cygwin update several of my X-Win applications are not
working properly.

Googling "cygwin xorg 1.17 crash" gave many posts reporting probably
similar issues but I couldn't find a fix for the error. I also looked at
the Cygwin-FAQ and mailing list without real success.


can you just run startxwin from mintty and report the outcome ?

There were several changes in the default

https://www.cygwin.com/ml/cygwin-xfree-announce/2015-02/msg0.html
https://www.cygwin.com/ml/cygwin-xfree-announce/2015-02/msg00014.html

may be you are hitting one of them.

Regards
Marco

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



Cygwin XWin 1.17.1 crash at startup

2015-03-31 Thread Michel Poirier

Dear Cygwin maintainer

Since last X-Cygwin update several of my X-Win applications are not 
working properly.


Googling "cygwin xorg 1.17 crash" gave many posts reporting probably 
similar issues but I couldn't find a fix for the error. I also looked at 
the Cygwin-FAQ and mailing list without real success.


The issue appeared using a long-time tested DOS script launching xmgrace 
which failed with a message telling "A fatal error has occurred and 
Cygwin/X will now exit." And other XWin programs were not working 
properly. So I tried to make a fresh install of X-Cygwin (32 bits) on 
another computer and went through the procedure explained on page


http://x.cygwin.com/devel/backtrace.html

which produced the debug info attached as "backtrace for X server 
crashing at startup.txt". The X Server crashed when the r command was 
launched and a copy of the Windows error message is provided at "Capture 
of Windows error message.txt". I checked that no other X Server was then 
running and clicked Ok button to finish the procedure.


The content of the file /var/log/xwin/XWin.0.log is listed at the end of 
the first attached file.


I also tried to install the most recent xlaunch program as suggested here

https://www.cygwin.com/ml/cygwin-xfree/2015-02/msg00089.html

but it did not solve the issue.

Sorry for asking something that might be FAQ but as I told I could not 
find a clear answer elsewhere and indeed xlaunch reproduced the error 
consistently.


Thanking you in advance for your assistance, and of course for providing 
this invaluable software that is cygwin.


Regards

--
Michel Poirier
CEA, IRAMIS
Laboratoire Interactions, Dynamique et Lasers
Centre d'Études de Saclay, bât. 522
F91191 Gif/Yvette (France)

Tél.  : +33 1 69 08 46 29
FAX   : +33 1 69 08 87 07
e-mail: michel.poir...@cea.fr

IRAM-FA-004439+admin-local@IRAM-FA-004439 ~
$ gdb --args /usr/bin/XWin -multiwindow
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/XWin...Reading symbols from /usr/lib/debug//usr/bi
n/XWin.exe.dbg...Can't read data for section '.debug_frame' in file '/usr/lib/de
bug/usr/bin/XWin.exe.dbg'
(gdb) handle SIGSYS nostop
SignalStop  Print   Pass to program Description
SIGSYSNoYes Yes Bad system call
(gdb) r
Starting program: /usr/bin/XWin -multiwindow
[New Thread 5852.0xc88]
[New Thread 5852.0x1a0c]
[New Thread 5852.0xcec]
[New Thread 5852.0x1548]
[New Thread 5852.0x50c]
[New Thread 5852.0x4e0]
[Thread 5852.0x4e0 exited with code 1]
[Thread 5852.0x1a0c exited with code 1]
[Thread 5852.0x50c exited with code 1]
[Thread 5852.0xcec exited with code 1]
[Inferior 1 (process 5852) exited with code 01]
(gdb) bt full
No stack.
(gdb) q

IRAM-FA-004439+admin-local@IRAM-FA-004439 ~
$ cat /var/log/xwin/XWin.0.log
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.17.1.0
OS: CYGWIN_NT-6.1-WOW IRAM-FA-004439 1.7.35(0.287/5/3) 2015-03-04 12:07 i686
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
Package: version 1.17.1-2 built 2015-02-23

XWin was started with the following command line:

/usr/bin/XWin -multiwindow

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1200
winInitializeScreenDefaults - native DPI x 96 y 96
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE) Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't alread
y running(EE)
[ 17451.691] (EE) Server terminated with error (1). Closing log file.A fatal error has occurred and Cygwin/X will now exit.



Cannot establish any listening sockets - Make sure an X server isn't already 
running



Please open /var/log/xwin/XWin.0.log for more information.



Vendor: The Cygwin/X Project
Release: 1.17.1.0

Contact: cygwin-xfree@cygwin.com

Package: version 1.17.1-2 built 2015-02-23



XWin was started with the following command-line:

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