Re: multiwindow + XDMCP + X0.hosts == crash
Kensuke Matsuzaki writes: > I can't reproduce that bug. > Please send /tmp/XWin.log I forgot to mention that this is on a CPU with hyperthreading enabled. I suspect SMP has something to do with the bug... Also, when I reproduced the problem from a Cygwin shell, I got a message I had not seen before: 3 [main] XWin 3440 pthread_conf::Signal: Released too many threads - 1 now 1 originally I probably missed this before because I was running XWin.exe from a .bat file. Anyway, the crash still happens. My /tmp/XWin.log file is appended. What can I do next to help fix this? Thanks! - Pat ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Multi Window => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - User w: 1024 h: 768 winCreateBoundingWindowWindowed - Current w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 738 1024 winAdjustForAutoHide - Adjusted WorkArea: 0 0 738 1024 winCreateBoundingWindowWindowed - WindowClient w 1024 h 738 r 1024 l 0 b 738 t 0 winCreateBoundingWindowWindowed - Returning winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 738 depth: 32 winAllocateFBShadowGDI - Dibsection width: 1024 height: 738 depth: 32 size image: 3022848 winAllocateFBShadowGDI - Created shadow stride: 1024 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 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. winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 512 369 winBlockHandler - Releasing pmServerStarted winBlockHandler - pthread_mutex_unlock () returned winInitMultiWindowWM - pthread_mutex_lock () returned. DetectUnicodeSupport - Windows NT/2000/XP winInitMultiWindowWM - Calling setlocale () winInitMultiWindowWM - setlocale () returned winInitMultiWindowWM - XInitThreads () returned. winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XInitThreads () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winMultiWindowWMErrorHandler - ERROR: BadWindow (invalid Window parameter) winMultiWindowWMErrorHandler - ERROR: BadWindow (invalid Window parameter) winMultiWindowWMErrorHandler - ERROR: BadWindow (invalid Window parameter)
Re: multiwindow + XDMCP + X0.hosts == crash
I can't reproduce that bug. Please send /tmp/XWin.log Kensuke Matsuzaki
multiwindow + XDMCP + X0.hosts == crash
This is with Cygwin 1.3.22, XFree86-base 4.2.0-1, and XFree86-xserv 4.2.0-42. The crash occurs both with Windows 2000 and XP. I downloaded Cygwin+XFree86 yesterday, and I am able to crash XWin.exe routinely. To reproduce on a fresh Cygwin+XFree86 installation, do: echo localhost > /etc/X0.hosts XWin -multiwindow -query ...where is a machine running an XDMCP server. Things appear to work at first. But within a few seconds, XWin.exe crashes with an access violation. This does not happen if I remove /etc/X0.hosts. (Are you wondering why I want to do this? I want to run xwinclip, which must run locally, but I also want to use XDMCP to connect to remote machines. When I start XWin with the -query, -indirect, or -broadcast options, it does not permit localhost to connect.) Any suggestions would be appreciated. Also, I would be glad to provide any additional information needed to reproduce and/or debug this problem. Thank you! - Pat