This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

X server hangs when pasting into Windows apps


A new clipboard hang: this time it is the X server which hangs.  I can
reproduce this every time:

- select some text in xemacs

- try to paste it into a dialogue box in a Windows application (an
  inhouse app which is built with MFC and Visual Studio .NET)

The X server hangs; if you expose the X server window it appears all
white and clicking in the window changes the title to 'Cygwin/X - 0:0
- Not Responding'.  Here are a couple of XWin.log files showing the
problem.  The first is when the hang happened at the end of a long
session (I hadn't tried to paste into the Windows app before then),
the second is from a deliberate attempt to trigger the problem soon
after starting the server.

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-7

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -clipboard -engine 1 -br 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1200 h 1600
winInitializeDefaultScreens - Returning
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winScreenInit - dwWidth: 1200 dwHeight: 1600
winSetEngine - Using user's preference: 1
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1194 height: 1547 depth: 32 size image: 7388472
winAllocateFBShadowGDI - Created shadow stride: 1194
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: "00000809" (00000809) 
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 597 773
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winScreenInit - dwWidth: 1194 dwHeight: 1547
winSetEngine - Using user's preference: 1
winClipboardProc - DISPLAY=127.0.0.1:0.0
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1194 height: 1547 depth: 32 size image: 7388472
winAllocateFBShadowGDI - Created shadow stride: 1194
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: "00000809" (00000809) 
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1


Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-7

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -clipboard -engine 1 -br 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1200 h 1600
winInitializeDefaultScreens - Returning
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winScreenInit - dwWidth: 1200 dwHeight: 1600
winSetEngine - Using user's preference: 1
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1194 height: 1547 depth: 32 size image: 7388472
winAllocateFBShadowGDI - Created shadow stride: 1194
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: "00000809" (00000809) 
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 597 773
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winScreenInit - dwWidth: 1194 dwHeight: 1547
winSetEngine - Using user's preference: 1
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1194 height: 1547 depth: 32 size image: 7388472
winAllocateFBShadowGDI - Created shadow stride: 1194
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
MIT-SHM extension disabled due to lack of kernel support
winClipboardProc - DISPLAY=127.0.0.1:0.0
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: "00000809" (00000809) 
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: 00002749
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1


-- 
Ed Avis <ed@membled.com>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]