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: -clipboard on Test73


David,

I have made a new debugging release for you to try out:

http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test73-DEBUG-2.exe.bz2 (1201
KiB)


This new release has many more debug messages around the calls to
_XSetLocale. I have also made the MultiWindow WM call _XSetLocale instead of
setlocale, which could have been causing problems... I really have no idea.

In any case, the above release should help us to figure out when is going on
when you run with ``XWin.exe -clipboard -multiwindow''.

Thanks for testing,


Harold


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com
[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Fraser
Sent: Tuesday, January 21, 2003 4:01 AM
To: cygwin-xfree@cygwin.com
Subject: Re: -clipboard on Test73


David Fraser wrote:

> Sorry, should have said I tried that too. Tried again now,
> 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: cygwin-xfree-owner@cygwin.com
>> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Fraser
>> Sent: Monday, January 20, 2003 4:43 AM
>> To: cygwin-xfree@cygwin.com
>> 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
>>
>>
>>
>
>
Through the cunning technique of reading other people's posts I have
deduced (surprise!) that the log file is in /tmp
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


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