[1.7] Cygwin/X crashes with latest server, cygwin

Jon TURNEY jon.turney@dronecode.org.uk
Tue Nov 10 14:31:00 GMT 2009


On 09/11/2009 20:48, Jim Reisert AD1C wrote:
> I updated Cygwin 1.7 with Yakov's fix the LANG problem.  It's
> unstable, the first time I created an Xterm, the server crashed (seg
> fault):

Thanks for testing this.

Clearly I hadn't tested what happens if the X server has the change which is 
supposed to fix this, but the libX11 locale data hadn't been updated to 
include C.UTF-8.

I've written a patch to avoid this crash if the X server is operating in a 
locale unsupported by libX11, but really the locale needs to be supported if 
we are going to get useful strings out of the X server for window titles and 
clipboard integration.

Until there is a new libX11 package, you can update your locale data by 
downloading the locale.patch file from bugzilla [1] and applying it in 
/usr/share/X11/locale/

'wget -O- http://sourceware.org/bugzilla/attachment.cgi?id=4340 | patch -d 
/usr/share/X11/locale/' should do the trick :-)

[1] http://sourceware.org/bugzilla/show_bug.cgi?id=10870

> 2009-11-09 13:43:39 winClipboardProc - Warning: Locale not supported by X.
> 2009-11-09 13:43:39 winInitMultiWindowWM - XOpenDisplay () returned
> and successfully opened the display.
> 2009-11-09 13:43:39 winGetDisplay: DISPLAY=:0.0
> 2009-11-09 13:43:39 winClipboardProc - DISPLAY=:0.0
> 2009-11-09 13:43:39 winMultiWindowXMsgProc - XOpenDisplay () returned
> and successfully opened the display.
> 2009-11-09 13:43:39 winClipboardProc - XOpenDisplay () returned and
> successfully opened the display.
> 2009-11-09 13:43:49 Segmentation fault at address 0xb
> 2009-11-09 13:43:49
> Fatal server error:
> 2009-11-09 13:43:49 Caught signal 11 (Segmentation fault). Server aborting
> 2009-11-09 13:43:49

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



More information about the Cygwin-xfree mailing list