Hang related to clipboard processing

2004-04-11 Thread David Arnstein
I am having a problem with the latest Cygwin/X11 software suite.  I'm 
using it with Windows 2000.

I use the program xfig to exercise the bug.  This program can be 
installed from the cygwin setup.exe program.

First case:
--
I invoke X11 as setsid XWin -multiwindow -clipboard .  I launch an 
xterm, and from there, I launch xfig.  Within xfig, I select the tool 
for drawing rectangles.  I launch the dialog box to select line color 
and fill color.  While working in this dialog box, the X11 pointer 
will eventually disappear.  I cannot do anything more at this point. 
I cannot change to focus to another X11 application.  I cannot see the 
pointer in any X11 application.  I have to kill XWin.

Second case:
---
I invoke X11 as setsid XWin -multiwindow .  I sleep for three 
seconds (my little trick for increasing stability).  Then I do setsid 
xwinclip .

I launch an xterm and xfig as in the first case.  I cause the X11 
pointer to disappear as in the first case.  Once again, all X11 
applications are unusable.  From a bash command window, I do a kill 
-hup on the running xwinclip process.  This causes the X11 pointer to 
reappear.  My X11 applications are now usable again.


Re: Hang related to clipboard processing

2004-04-11 Thread Harold L Hunt II
David Arnstein wrote:

I am having a problem with the latest Cygwin/X11 software suite.  I'm 
using it with Windows 2000.
Your problem is irrelavent until you tell us exactly what the latest 
means.  The best way to do this is to grab the top few lines from 
/tmp/XWin.log and send them in.  There are various things that could 
cause your version of the latest to in fact be quite old, so we need 
to get this information before your problem will be looked into further.

Harold


Re: Hang related to clipboard processing

2004-04-11 Thread David Arnstein
Harold L Hunt II writes:


Your problem is irrelavent until you tell us exactly what the
 latest means. The best way to do this is to grab the top few
 lines from /tmp/XWin.log and send them in.
Here you go:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-3
Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

XWin -multiwindow

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winValidateArgs - Returning.
(II) XF86Config is not supported. See 
http://x.cygwin.com/docs/faq/cygwin-xfree-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winScreenInit - dwWidth: 1600 dwHeight: 1200
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits 
per pixel
winCreateBoundingWindowWindowed - User w: 1600 h: 1200
winCreateBoundingWindowWindowed - Current w: 1600 h: 1200
winAdjustForAutoHide - Original WorkArea: 34 0 1200 1600
winAdjustForAutoHide - Adjusted WorkArea: 34 0 1200 1600
winCreateBoundingWindowWindowed - WindowClient w 1600 h 1166 r 1600 l 
0 b 1166 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1166 
depth: 32
winAllocateFBShadowGDI - Dibsection width: 1600 height: 1166 depth: 32 
size image: 7462400
winAllocateFBShadowGDI - Created shadow stride: 1600
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 
24 bpp 32
winRandRInit ()
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitWM - Returning.
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winFinishScreenInitFB - returning
winMultiWindowXMsgProc - Hello
winScreenInit - returning
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
InitOutput - Returning.
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=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(EE) Keyboardlayout US (0409) is unknown
Rules = xorg Model = pc101 Layout = us Variant = (null) 
Options = (null)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, 
removing from list!
winPointerWarpCursor - Discarding first warp: 800 583
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winInitMultiWindowWM - XOpenDisplay () returned and successfully 
opened the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully 
opened the display.
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window 
parameter)
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window 
parameter)
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window 
parameter)
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window 
parameter)
winMultiWindowGetWMHints - pWin or hints was NULL
winMultiWindowGetWMHints - pWin or hints was NULL
winDeinitMultiWindowWM - Noting shutdown in progress
ddxBeforeReset - Hello
winInitMultiWindowXMsgProc - Caught IO Error.  Exiting.
winDeinitMultiWindowWM - Noting shutdown in progress