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]

Re: hangs and other pblms with 6.7.0.0-x continue...


Hi,

> Why don't you try some troubleshooting... try without -clipboard and
> without -multiwindow and see what happens.
> 
> Harold

OK, the result is that the hangs occur with -clipboard, whether 
or not -multiwindow is used.

I've done this check multiple times now, trying to keep up with 
ongoing releases (at xwin 6.7.0.0-3 now).  However the other 
upgrades do seem to have fixed the problem with emacs and xemacs 
not starting up...   

The current problems:

1. min/max buttons do not work in -multiwindow mode

2. when -clipboard is used, it takes only a few mouse button 
clicks to freeze the xterm window and XWin itself.  Have to kill 
with kill -9.

Under -multiwindow, the X tray icon is non-responsive in this 
state, or when not in -multiwindow (using twm), the X-Server 
does not respond to ALT-F4.  BTW, despite wording in the default 
startxwin.sh script, ALT-F4 does not affect Xserver in -
multiwindow even if not hungup.  

Sometimes the hangup propagates to a full windows freeze 
(win98SE) requiring a system reboot.  These problems do not seem 
to occur if -clipboard is absent.  They happen almost instantly 
with -clipboard.  I verified separately that am not somehow 
mysteriously running xwinclip.   

Am up to "current" Cygwin SW, meaning that brought everything 
current with setup as of about less than 2 hours ago:

> xorg-x11-base           6.7.0.0-6          OK
> xorg-x11-bin            6.7.0.0-4          OK
> xorg-x11-bin-dlls       6.7.0.0-4          OK
> xorg-x11-bin-lndir      6.7.0.0-2          OK
> xorg-x11-devel          6.7.0.0-4          OK
> xorg-x11-etc            6.7.0.0-1          OK
> xorg-x11-f100           6.7.0.0-1          OK
> xorg-x11-fenc           6.7.0.0-2          OK
> xorg-x11-fnts           6.7.0.0-1          OK
> xorg-x11-fscl           6.7.0.0-3          OK
> xorg-x11-fsrv           6.7.0.0-1          OK
> xorg-x11-libs-data      6.7.0.0-2          OK
> xorg-x11-man-pages      6.7.0.0-2          OK
> xorg-x11-nest           6.7.0.0-2          OK
> xorg-x11-xwin           6.7.0.0-3          OK

The full XWin.log is also added further below.  I can also 
attach a cygcheck -cvsr if that is useful.    

I attached to XWin using gdb - don't know if this is helpful, to 
see where it is at when XWin goes non-responsive. I get this in 
-multiwindow -clipboard mode:  

bt
[Switching to thread -727133.0xfff14ddf]
(gdb) bt
#0  0xbff768a1 in KERNEL32!CallNamedPipeW ()
#1  0xbff7a280 in KERNEL32!Heap32ListNext ()
(gdb) info threads
  12 thread -727133.0xffce373b  0xbff99b32 in 
SetThreadExecutionState ()
  11 thread -727133.0xffce350f  0xbff99af1 in KERNEL32!FT_Exit28 
()
  10 thread -727133.0xffcf0c57  0xbff88bba in 
KERNEL32!BuildCommDCBA ()
  9 thread -727133.0xffcf01db  0xbff88bba in 
KERNEL32!BuildCommDCBA ()
  8 thread -727133.0xfff10197  0xbff88bba in 
KERNEL32!BuildCommDCBA ()
  7 thread -727133.0xffcf2fab  0xbff99b32 in 
SetThreadExecutionState ()
  6 thread -727133.0xffcf2ce7  0x6108e707 in sigfillset ()
   from /usr/bin/cygwin1.dll
  5 thread -727133.0xffceeee3  0xbff99af1 in KERNEL32!FT_Exit28 
()
  4 thread -727133.0xffceeacf  0xbff99af1 in KERNEL32!FT_Exit28 
()
  3 thread -727133.0xfff4506f  0xbff99b32 in 
SetThreadExecutionState ()
  2 thread -727133.0xfa1752bf  0xbff99b32 in 
SetThreadExecutionState ()
* 1 thread -727133.0xfff14ddf  0xbff768a1 in 
KERNEL32!CallNamedPipeW ()

Here is the full XWin.log for this hangup.

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

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -multiwindow -clipboard 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
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 95/98/Me
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 
00000007
winScreenInit - dwWidth: 1280 dwHeight: 1024
winSetEngine - Multi Window or Rootless => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 
bits per pixel
winCreateBoundingWindowWindowed - User w: 1280 h: 1024
winCreateBoundingWindowWindowed - Current w: 1280 h: 1024
winAdjustForAutoHide - Original WorkArea: 0 0 1024 1280
winAdjustForAutoHide - Taskbar is auto hide
winAdjustForAutoHide - Found BOTTOM auto-hide taskbar
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1023 1280
winCreateBoundingWindowWindowed - WindowClient w 1280 h 1023 r 
1280 l 0 b 1023 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 
1023 depth: 16
winAllocateFBShadowGDI - Dibsection width: 1280 height: -1023 
depth: 16 size image: 2618880
winAllocateFBShadowGDI - WEIRDNESS - biHeight still negative: -
1023
winAllocateFBShadowGDI - WEIRDNESS - Flipping biHeight sign
winAllocateFBShadowGDI - Created shadow stride: 1280
winFinishScreenInitFB - Masks: 00007c00 000003e0 0000001f
winInitVisualsShadowGDI - Masks 00007c00 000003e0 0000001f BPRGB 
5 d 15 bpp 16
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
winInitWM - Returning.
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winFinishScreenInitFB - returning
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
winScreenInit - returning
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=250, rate=15
(--) winConfigKeyboard - Layout: "00000409" (00000409) 
(EE) Keyboardlayout "United States 101" (00000409) 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: 640 511
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows 95/98/Me
winClipboardProc - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - XOpenDisplay () returned and 
successfully opened the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully 
opened the display.
winClipboardProc - XOpenDisplay () returned and successfully 
opened the display.
winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - 
Returning.




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