David Fraser wrote:
Sorry, should have said I tried that too. Tried again now,Through the cunning technique of reading other people's posts I have deduced (surprise!) that the log file is in /tmp
X -multiwindow works fine
X -clipboard works fine
X -multiwindow -clipboard crashes
X -rootless -clipboard works fine
There are no other options given (and I presume if you run X like this it
won't read any .xinitrc or .xserverrc).
I downloaded the debug build of Test73 and that gave me the following backtrace:
_libkernel32_a_iname
_libkernel32_a_iname
_size_of_stack_reserve__
_Xsetlocale
_libkernel32_a_iname
_libkernel32_a_iname
_libkernel32_a_iname
I'm guessing this is where the significant crash is as they are other segfaults, this is the
last one before the program crashes.
How do I make XWin produce a log file (XWinrl.log)? this build was supposed to have
more messages but I don't know where to find it
David
Harold L Hunt II wrote:
Check what happens if you give it just the -multiwindow flag.
Harold
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Fraser
Sent: Monday, January 20, 2003 4:43 AM
To: [EMAIL PROTECTED]
Subject: -clipboard on Test73
Hi
just some feedback on -clipboard
Running Cygwin xterm on it works really well (i.e. I can easily copy both ways)
Running kde-cygwin on it works really well.
Connecting using XDMCP to my Linux machine, works really well,
but sometimes it seems to disconnect (before any X window appears, or when I logon)
without an error.
If I try run X -multiwindow -clipboard, it crashes, tried gdb, seems to be in a _Xsetlocale call.
What should I test?
David
Anyway here is the output of diff -u1000 XWinrl-multiwindow.log XWinrl-multiwindow-clipboard.log
(in other words a diff between running with just the multiwindow option and running with the clipboard option too,
showing every single line of the files...)
This does indeed seem to show that the problem is in the way setlocale is called for with both of these options,
as Harold suggested.
David
--- XWinrl-multiwindow.log 2003-01-21 10:50:42.000000000 +0200 +++ XWinrl-multiwindow-clipboard.log 2003-01-21 10:44:39.000000000 +0200 @@ -1,48 +1,47 @@ 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 _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (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 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Multi Window => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 690 1024 winAdjustForAutoHide - Adjusted WorkArea: 0 0 690 1024 winCreateBoundingWindowWindowed - WindowClient w 1024 h 690 r 1024 l 0 b 690 t 0 winCreateBoundingWindowWindowed - Returning winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 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 - Calling winInitClipboard. +winInitClipboard () winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. -winInitMultiWindowWM - Hello. (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" +winInitMultiWindowWM - Hello. winBlockHandler - Signalling pcServerStarted winInitMultiWindowWM - pthread_mutex_lock () returned. +UnicodeSupport - Windows NT/2000/XP winInitMultiWindowWM - pthread_cond_wait () returned. winInitMultiWindowWM - pthread_mutex_unlock () returned. winInitMultiWindowWM - XInitThreads () returned. -winInitMultiWindowWM - setlocale () returned. -winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 -winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
